-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstyles.css
56 lines (52 loc) · 1.15 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
@font-face {
font-family: "hafs";
src: url("https://fonts.hassaanmv.com/fonts/UthmanicHafs1 Ver14.woff2")
format("woff2"),
url("https://fonts.hassaanmv.com/fonts/UthmanicHafs1 Ver14.woff")
format("woff");
font-display: block;
}
body {
direction: rtl;
/* font-size: 16px; */
}
.main {
margin: 1em auto;
max-width: 50em;
min-width: 20em;
}
.ayahbox {
font-family: hafs;
font-size: 1.6em;
text-align: justify;
border-style: solid; /*for chromium*/
margin: 0.5em; /* to allow for background color by extending border transparent parts*/
padding: 0 1.2em;
border-image-slice: 30% 30.5%;
border-image-width: 2em;
border-image-repeat: round round;
border-image-source: url("image/ayahbox-orig.svg");
border-image-outset: 0.6em; /* margin + .1em for optical alignment*/
background-color: beige;
}
.footer {
padding-top: 1em;
text-align: center;
direction: ltr;
}
a {
color: inherit;
}
@media (prefers-color-scheme: dark) {
body {
background-color: black;
color: #ccc;
}
.ayahbox {
border-image-source: url("image/ayahbox-dark.svg");
background-color: #222;
}
.footer {
color: #ccc;
}
}