$black: #454545;
$max-width: 1024px;
html[lang="en"] {
font-family: "Kanit Regular";
}
html[lang="ar"] {
font-family: "Amiri Quran Regular";
}
html {
height: 100%;
}
html body {
color: $black;
height: 100%;
margin: 0;
}
body .root {
height: 100%;
}
body .root .content.theme {
margin: 0 auto;
height: 100%;
width: 85%;
max-width: $max-width;
header {
h1 {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
font-size: xx-large;
margin: 0;
line-height: 1.5;
min-height: 75px;
a {
text-decoration: none;
}
}
nav, div {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
nav {
.react-select {
display: flex;
flex-direction: row;
align-items: center;
}
.react-select.theme {
justify-content: flex-end;
}
.react-select.language {
justify-content: flex-start;
min-width: 50px;
text-align: right;
ul {
position:relative;
top: 15px;
li {
align-items: center;
font-family: "Kanit Regular";
span {
display: flex;
height: 100%;
align-items: center;
padding-right: 7px;
}
&:hover {
text-decoration: none;
}
}
li.en {
font-size: medium;
}
}
}
.br {
width: 100%;
}
}
}
ul.body {
clear: both;
list-style-type: none;
padding: 0;
margin: 0;
overflow: auto;
height: 73%;
}
footer {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: flex-end;
width: 100%;
.br {
width: 100%;
}
}
}
body .root .content.en {
h1 {
font-size: x-large;
}
header {
nav, div {
.react-select.language {
ul {
position: relative;
top: 5px;
li.ar span {
position: relative;
bottom: 8px;
}
}
}
}
}
}
body .root .content.ar {
header {
nav, div {
direction: ltr;
.localized-name {
display: flex;
font-size: x-large;
justify-content: flex-end;
align-items: flex-end;
width: 100%;
}
.transliterated-name {
display: none;
}
.react-select.language {
.selected-option.ar {
font-size: x-large;
position: relative;
bottom: 3px;
}
}
}
}
footer {
flex-direction: row-reverse;
}
}
.invisible {
display: none !important;
}