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

89 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
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;
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;
}
2023-10-22 02:17:41 +02:00
a.title {
display: flex;
place-content: center;
text-decoration: none;
width: 100%;
font-size: large;
2023-10-23 07:07:28 +02:00
line-height: 38px;
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;
height: 90%;
padding: 0;
2023-10-22 02:17:41 +02:00
/* 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;
}
2023-10-21 22:47:46 +02:00
}
2023-10-22 02:17:41 +02:00
.row {
display: flex;
flex-direction: row;
justify-content: space-between;
direction: ltr;
}
2023-10-22 02:17:41 +02:00
.row.dropdown-row {
align-items: flex-end;
line-height: 30px;
.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-22 02:17:41 +02:00
body .root .content.ar {
a.title {
font-size: xx-large;
}
}