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

107 lines
1.4 KiB
SCSS
Raw Normal View History

2023-02-27 23:28:37 +01:00
$black: #454545;
2023-10-24 07:19:37 +02:00
$max-width: 856px;
2023-02-27 23:28:37 +01:00
2023-10-22 02:17:41 +02:00
html[lang="en"] {
font-family: "Kanit Regular";
}
2023-10-22 02:17:41 +02:00
html[lang="ar"] {
font-family: "Amiri Quran Regular";
2023-10-13 21:05:46 +02:00
}
2023-02-27 23:28:37 +01:00
html {
height: 100%;
}
html body {
color: $black;
2023-10-26 14:39:20 +02:00
height: 100%;
2023-10-26 14:48:22 +02:00
margin: 0;
2023-02-27 23:28:37 +01:00
}
body .root {
height: 100%;
}
body .root .content {
margin: 0 auto;
2023-10-26 14:39:20 +02:00
height: 100%;
2023-10-20 22:39:09 +02:00
width: 80%;
max-width: $max-width;
2023-10-26 14:39:20 +02:00
.row.details {
height: 30px;
}
2023-02-27 23:28:37 +01:00
@media screen and (max-width: $max-width) {
2023-02-27 23:28:37 +01:00
width: 350px;
}
2023-10-25 08:11:54 +02:00
h1 {
2023-10-22 02:17:41 +02:00
display: flex;
2023-10-25 08:11:54 +02:00
align-items: center;
flex-direction: column;
font-size: xx-large;
2023-10-25 08:47:20 +02:00
margin: 0;
2023-10-25 09:25:42 +02:00
line-height: 1.5;
2023-10-25 08:11:54 +02:00
a {
text-decoration: none;
}
2023-10-22 02:17:41 +02:00
}
2023-02-27 23:28:37 +01:00
2023-10-22 02:17:41 +02:00
ul.body {
clear: both;
list-style-type: none;
padding: 0;
2023-10-26 14:39:20 +02:00
margin: 0;
overflow: auto;
height: 80%;
2023-10-21 22:47:46 +02:00
}
2023-10-26 14:39:20 +02:00
footer {
display: flex;
justify-content: space-between;
align-items: flex-end;
width: 100%;
}
2023-10-22 02:17:41 +02:00
.row {
2023-10-26 14:39:20 +02:00
height: 30px;
2023-10-22 02:17:41 +02:00
display: flex;
flex-direction: row;
justify-content: space-between;
direction: ltr;
}
2023-10-22 02:17:41 +02:00
.row.dropdown-row {
.react-select.theme {
width: 35px;
}
2023-10-22 02:17:41 +02:00
.react-select.language {
width: 70px;
text-align: right;
li { font-family: "Kanit Regular"; }
}
}
2023-10-22 02:17:41 +02:00
}
2023-10-25 09:25:42 +02:00
body .root .content.en {
h1 {
font-size: x-large;
}
}
2023-10-22 02:17:41 +02:00
body .root .content.ar {
2023-10-26 14:48:22 +02:00
ul.body {
height: 78%;
}
2023-10-26 14:39:20 +02:00
footer {
flex-direction: row-reverse;
}
}
.invisible {
display: none !important;
}