blob: 5aa9a55f6c4311973f81187b44a41562ad6939b0 (
plain)
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
/*
colorscheme derived from #EAE0C8, see https://en.wikipedia.org/wiki/Pearl_(color)
using http://colormind.io/bootstrap/
*/
:root {
--light-shades: #EAE0C8;
--light-accent: #689CA9;
--main-brand: #A48A4E;
--dark-accent: #79796D;
--dark-shades: #1D251E;
}
@font-face {
font-family: 'IBM Plex Arabic';
font-style: normal;
font-weight: 100;
src: local('IBM Plex Arabic Thin'), local('IBM Plex Arabic-Thin'), url('fonts/IBMPlexArabic-Thin.woff2') format('woff2');
}
@font-face {
font-family: 'IBM Plex Arabic';
font-style: normal;
font-weight: 400;
src: local('IBM Plex Arabic Regular'), local('IBM Plex Arabic-Regular'), url('fonts/IBMPlexArabic-Regular.woff2') format('woff2');
}
body {
font-size: 14pt;
background-color: var(--light-shades);
color: var(--dark-shades);
}
/* is there a better way to select _both_ fonts at the same time? */
:lang(ar) {
direction: rtl;
font-family: "IBM Plex Arabic";
}
/* inside ltr text */
:lang(ar)[dir=ltr] {
direction: ltr;
}
:lang(en) {
direction: ltr;
font-family: "IBM Plex Sans";
}
h1, h2, h3 {
font-weight: 100;
}
h1 {
font-size: 4em;
}
h2 {
font-size: 2.5em;
}
figure {
max-width: 70em;
margin: 1.3em auto;
}
img {
width: 100%;
}
code {
font-family: "IBM Plex Mono", monospace !important; /* override :lang(*) font setting */
}
a:link, a:visited {
color: var(--light-accent);
text-decoration: none;
}
a:focus, a:hover {
background-color: var(--light-accent);
color: var(--light-shades);
border-radius: 0.1em;
}
div.title-card {
background-color: var(--dark-accent);
color: var(--light-shades);
}
div.title-card .lbox {
margin: 2vw;
}
div.title-card h1 {
margin: 0;
padding: 0.2em;
}
div.title-card img.logo {
max-width: 20em;
display: block;
margin: 0 auto;
}
div.title-card .subtitle {
padding: 0 0.5em;
font-size: 1.5em;
}
div.title-card .layout img {
display: block;
margin: 0 auto;
}
div.indepth-card {
padding: 10vh 0;
margin: 1em 0;
background-color: var(--dark-accent);
color: var(--light-shades);
}
.flexreverse {
flex-direction: row-reverse;
}
.lbox {
margin: 0 5vw;
}
|