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

83 lines
1.3 KiB
SCSS
Raw Normal View History

2023-02-27 23:28:37 +01:00
$black: #454545;
2023-10-20 22:39:09 +02:00
$max-width: 728px;
2023-02-27 23:28:37 +01:00
[lang="en"] {
font-family: "Kanit Regular";
}
2023-10-13 21:05:46 +02:00
[lang="ar"] {
font-family: "Noto Sans Arabic Regular";
}
2023-02-27 23:28:37 +01:00
html {
height: 100%;
}
html body {
font-family: "Kanit Regular";
color: $black;
height: 85%;
}
body .root {
height: 100%;
}
body .root .content {
margin: 0 auto;
2023-10-20 22:39:09 +02:00
width: 80%;
max-width: $max-width;
2023-10-21 22:47:46 +02:00
height: 90%;
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;
}
}
body .root .content .row {
display: flex;
flex-direction: row;
justify-content: space-between;
direction: ltr;
}
body .root .content .row.title {
display: flex;
place-content: center;
2023-10-13 21:05:46 +02:00
text-decoration: none;
width: 100%;
2023-10-21 22:31:10 +02:00
font-size: large;
}
2023-10-21 22:47:46 +02:00
body .root .content.ar {
a.title {
font-family: "Amiri Quran Regular";
font-size: xx-large;
}
}
body .root .content .row.dropdown-row {
.react-select.language {
text-align: right;
2023-10-13 21:05:46 +02:00
li:first-child { font-family: "Noto Sans Arabic Regular"; }
li:last-child { font-family: "Kanit Regular"; }
}
}
body .root .content ul.body {
clear: both;
list-style-type: none;
2023-10-20 22:39:09 +02:00
height: 90%;
padding: 0;
/* Height of 625px, or less */
@media screen and (max-height: 625px) {
height: 330px;
}
/* Height of 595px, or less */
@media screen and (max-height: 595px) {
height: 310px;
}
}