generated from fhdsl/OTTR_Quarto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
executable file
·170 lines (141 loc) · 3.43 KB
/
style.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
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
/* Imports fonts from Google Fonts (Abril Fatface, Karla, and Lora) with different weights and styles */
@import url('https://fonts.googleapis.com/css?family=Abril+Fatface|Karla:400,400i,700,700i|Lora:400,400i,700,700i&display=swap');
/* Styles for paragraph captions, setting their color and margin */
p.caption {
color: #777;
margin-top: 10px;
} /* TODO What is this? */
/* Styles for paragraph code, which inherit white-space property */
p code {
white-space: inherit;
}
/* Styles for pre elements to prevent words from breaking unnaturally */
pre {
word-break: normal;
word-wrap: normal;
}
/* Inherits the white-space property for consistent code formatting */
pre code {
white-space: inherit;
}
/*------------- Header text---------------- */
h1, h2, h3, h4 {
font-family: 'Lora', arial, sans-serif;
}
.title {
font-family: 'Lora';
font-size: 4em !important;
color: #012d72;
margin-top: 0.275em !important;
margin-bottom: 0.35em !important;
}
.subtitle {
font-family: 'Lora';
color: #0b8d96;
}
/* Sidebar Logo */
.sidebar-logo {}
/* Stylized boxes */
div.notice, div.warning, div.github, div.dictionary, div.reflection, div.wip {
padding: 1em;
margin: 1em 0;
padding-left: 100px;
min-height: 120px;
background-repeat: no-repeat;
}
div.notice{
border: 4px #68ace5;
border-style: solid;
background-size: 70px;
background-position: 15px center;
background-color: #e8ebee;
background-image: url("/img/box-images/note.png");
}
div.warning{
border: 4px #e0471c;
border-style: solid;
background-size: 70px;
background-position: 15px center;
background-color: #e8ebee;
background-image: url("/img/box-images/warning.png");
}
div.github{
border: 4px #000000;
border-style: solid;
background-size: 70px;
background-position: 15px center;
background-color: #e8ebee;
background-image: url("/img/box-images/github.png");
}
div.dictionary{
border: 4px #68ace5;
border-style: solid;
background-size: 70px;
background-position: 15px center;
background-color: #e8ebee;
background-image: url("/img/box-images/dictionary.png");
}
div.reflection{
border: 4px #68ace5;
border-style: solid;
background-size: 90px;
background-position: 15px center;
background-color: #e8ebee;
background-image: url("/img/box-images/thinking_face.png");
}
div.wip{
border: 4px #000000;
border-style: solid;
background-size: 70px;
background-position: 15px center;
background-color: #f4d03f;
background-image: url("/img/box-images/under_construction.png");
}
/* Navbar */
.chapter-title {
text-transform: none;
}
.menu-text {
text-transform: uppercase;
}
/* iframes */
iframe {
-moz-transform-origin: top left;
-webkit-transform-origin: top left;
-o-transform-origin: top left;
-ms-transform-origin: top left;
transform-origin: top left;
}
.iframe-container {
overflow: auto;
-webkit-overflow-scrolling: touch;
border: #ddd 2px solid;
box-shadow: #888 0px 5px 8px;
margin-bottom: 1em;
}
.iframe-container > iframe {
border: none;
}
/* Footer */
.footer {
font-family: "Lora", serif;
font-size: 1em;
color: #193a5c;
}
/* Navbar Header */
.navbar-logo {
max-height: 33px;
}
/* Navbar Footer */
.nav-footer {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
align-items: baseline;
text-align: center;
padding-top: .5rem;
padding-bottom: .5rem;
background-color: #1B365D;
color: #fff !important;
}