al-quran.reflectslight.io/src/css/_layout.scss

165 lines
2.6 KiB
SCSS

$black: #454545;
$max-width: 1024px;
* {
line-height: 1.5;
}
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%;
height: 80%;
max-width: $max-width;
header {
h1 {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
font-size: xx-large;
margin: 0;
height: 75px;
a {
text-decoration: none;
}
}
nav, div {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
nav {
height: 40px;
.react-select {
display: flex;
flex-direction: row;
align-items: center;
}
.react-select.theme {
justify-content: flex-end;
}
.react-select.language {
min-width: 50px;
text-align: right;
ul {
position:relative;
right: 82px;
li {
align-items: center;
font-family: "Kanit Regular";
border-radius: 15px;
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: scroll;
height: 100%;
}
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.theme.ar {
header {
nav, div {
direction: ltr;
.react-select.language {
ul {
top: 15px;
right: 65px;
}
.selected-option.ar {
font-size: x-large;
position: relative;
bottom: 3px;
}
}
}
}
footer {
flex-direction: row-reverse;
}
}
.invisible {
display: none !important;
}