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

125 lines
1.7 KiB
SCSS
Raw Normal View History

2023-02-27 23:28:37 +01:00
$black: #454545;
$max-width: 1024px;
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"] {
2024-02-28 06:13:19 +01:00
font-family: "Mada 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.theme {
2023-02-27 23:28:37 +01:00
margin: 0 auto;
width: 85%;
2023-10-20 22:39:09 +02:00
max-width: $max-width;
2023-10-26 14:39:20 +02:00
header {
2024-02-28 06:13:19 +01:00
.br {
width: 100%;
}
2024-02-28 06:13:19 +01:00
.react-select.theme {
2024-04-30 06:46:22 +02:00
.selected {
display: flex;
2023-10-30 06:33:06 +01:00
justify-content: flex-end;
}
2023-10-25 08:11:54 +02:00
}
.react-select.language {
ul {
position: relative;
top: 15px;
right: 0px;
}
}
2023-10-22 02:17:41 +02:00
}
2023-02-27 23:28:37 +01:00
2023-10-26 14:39:20 +02:00
footer {
2023-10-28 11:08:37 +02:00
.br {
width: 100%;
}
2023-10-26 14:39:20 +02:00
}
2024-02-24 01:47:33 +01:00
.scroll-y {
2024-02-28 23:40:41 +01:00
overflow-y: auto !important;
2024-02-24 01:47:33 +01:00
}
2023-10-22 02:17:41 +02:00
}
2024-02-28 06:13:19 +01:00
/* English-specific rules */
2023-10-25 09:25:42 +02:00
body .root .content.en {
h1 {
font-size: x-large;
}
header {
nav, div {
2024-01-04 03:53:54 +01:00
font-size: large;
}
.react-select.language {
ul {
li.ar span {
2023-10-30 06:33:06 +01:00
position: relative;
bottom: 3px;
2023-10-30 06:33:06 +01:00
}
}
}
}
2024-01-04 03:53:54 +01:00
ul.body {
font-size: large;
}
2024-01-04 03:59:30 +01:00
footer {
font-size: large;
}
2023-10-25 09:25:42 +02:00
}
2024-02-28 06:13:19 +01:00
/* Arabic-specific rules */
body .root .content.theme.ar {
header {
2024-03-25 05:12:31 +01:00
h1 {
font-size: xx-large;
}
nav, div {
direction: ltr;
.react-select.language {
ul {
position: relative;
top: 7.5px;
}
li.en span {
position: relative;
right: 3px;
}
}
2024-04-30 06:46:22 +02:00
.selected {
font-size: x-large;
}
}
}
2023-10-26 14:39:20 +02:00
footer {
2024-01-04 04:01:33 +01:00
font-size: larger;
2023-10-26 14:39:20 +02:00
flex-direction: row-reverse;
}
}
.invisible {
display: none !important;
}
2024-04-30 04:30:30 +02:00
@import "vendor/tail";
@import "base/breakpoints";
@import "base/icon";
@import "base/select";