-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththeme.css
More file actions
194 lines (154 loc) · 5.14 KB
/
Copy paththeme.css
File metadata and controls
194 lines (154 loc) · 5.14 KB
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
/*********************
Diese CSS Datei dient als Gestaltungstheme für LiaScript Ressourcen.
Das Theme ist an die Kernfarben von SODa - Sammlungen, Objekte, Datenkompetenzen angepasst.
Auf diese Datei kann verwiesen werden (https://cdn.jsdelivr.net/gh/soda-collections-objects-data-literacy/OpenRefine-Beginner-Tutorial@main/theme.css)
oder sie kann in das eigene directory kopiert und angepasst werden
*********************/
/*
TABLE OF CONTENTS
- font import
- root / Globale css variablen
- Schriftart
- Seitenleiste / Sidebar
- Buttons
- Progressbar
- Links
- LiaScript Color Modes / LiaScript eigene Farbthemen
*/
/* Noto Sans importieren */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@300;400;600;700&display=swap');
/* Globale CSS Einstellungen
LiaScript eigene Farbwerte werden hier durch SODa Farbewerte ersetzt*/
:root {
--color-highlight-dark: 89, 115, 163 !important;
--color-highlight-menu: 89, 115, 163 !important;
--color-highlight: 255, 169, 51 !important;
--color-soda: 255, 169, 51 !important;
}
/* Noto Sans als Font festlegen für Text allgemein und Überschriften */
body {
font-family: 'Noto Sans', sans-serif !important;
}
.h1, .h2, .h3 {
font-family: 'Noto Sans', sans-serif !important;
}
/* Sidebar
Asugewählte Kapitel in der Seitenleiste werden mit der gewählten Farbe hervorgehoben*/
.lia-active {
color: #FFA933 !important;
}
/* Felder */
/* Definition für Felder (e.g. Quotes etc.) */
.lia-quote {
background-color: rgba(var(--color-soda),.15);
padding: 2.4rem;
}
/* Circles, Bulletpoints, Code, Headers and more */
.lia-effect__circle {
background-color: rgb(var(--color-soda));
color: rgb(var(--lia-white));
height: 2rem;
text-align: center;
width: 2rem;
border-radius: 50%;
font-size: 1.5rem;
font-weight: 400;
line-height: 1.3;
display: inline-block;
position: absolute;
transform: translate(-124%);
}
.lia-code--inline {
border: 1px solid rgb(var(--color-soda));
color: rgb(var(--color-soda));
word-break: break-word;
margin-block-end: 0;
padding: 0 .5rem;
}
.lia-list--unordered > li::marker {
color: rgb(var(--color-soda));
}
.lia-accordion__header {
background-color: rgb(var(--color-soda));
align-items: center;
display: flex;
}
/* Buttons */
/* Definition für Buttons in der Kopfzeile (e.g. Seitenleiste auf/zu, Einstellungen, etc.) */
.lia-btn {
background: transparent !important;
padding: 8px 14px !important;
cursor: pointer !important;
box-shadow: 0 4px 8px rgba(0,0,0,0.06) !important;
}
.lia-support-menu__item {
color: rgb(var(--color-soda)) !important;
}
/* Definition für Buttons im Footer um die LiaScript "Seiten/Folien" zu blättern */
.lia-pagination__content {
background: #FFA933!important;
}
/* Progress Bar, definiert die Farbe des Progress Bar in der Kopfzeile */
.lia-progress {
height: .15rem !important;
background: #FFA933 !important;
}
/* Links, definiert die Farbe, mit der Links hinterlegt sind und ob sich die Farbe ändert, wenn der Link besucht wurde */
.lia-link {
color: #3939ac !important;
}
.lia-link:visited {
color: #6666cc !important;
}
/*
LiaScript erlaubt im Light oder Dark Modus neben der Standard Einstellung auch weitere Color Themes.
Diese wurden für dieses SODa Theme überschrieben und durch folgendes CSS überschrieben.
*/
/* Änderungen um die LiaScript eigenen Color-Themes der Seitenleiste im Light und Dark Modus zu überschreiben */
/* Sidebar (TOC = Table of Contents) Farbe festlegen */
html:not([class*="lia-theme-default"]) .lia-toc {
background: transparent !important;
}
/* Sidebar (TOC = Table of Contents) Text Farbe festlegen */
html:not([class*="lia-theme-default"]) .lia-toc {
color: rgb(var(--color-text))!important;
}
/* Sidebar (TOC = Table of Contents) Suchfeld Text Farbe festlegen */
html:not([class*="lia-theme-default"]) .lia-toc__search input {
color: rgb(var(--color-text))!important;
}
/* Sidebar (TOC = Table of Contents) Farbe des gewählten Kapitels festlegen */
html:not([class*="lia-theme-default"]) .lia-toc__content a.lia-active {
background-color: transparent !important;
border-radius: .3rem;
font-weight: 700;
}
/* Änderungen um die LiaScript eigenen Color-Themes im Dark Modus zu überschreiben
hier waren von LiaScript selbst die Farben in höherem Kontrast definiert, was in diesem Fall nicht nötig ist */
/* Button Farbe anpassen für Dark Modus */
html.lia-variant-dark .lia-btn--transparent {
filter: contrast(1.1)!important;
}
/* Text Farbe anpassen in den Einstellungen (Menü in der Kopfzeile) */
html.lia-variant-dark .lia-label {
color: rgb(var(--color-soda))!important;
}
/* Button Farbe anpassen Menü in der Kopfzeile */
html.lia-variant-dark .lia-support-menu__item {
color: rgb(var(--color-soda))!important;
}
/* Code Farbe anpassen */
html.lia-variant-dark .lia-code--inline {
border-color: rgb(var(--color-soda))!important;
color: rgb(var(--color-soda))!important;
}
/* Bullet Point Farbe anpassen */
html.lia-variant-dark .lia-list--unordered > li::marker {
color: rgb(var(--color-soda));
}
html.lia-variant-dark .lia-link {
color: #c5c5ec !important;
}
html.lia-variant-dark .lia-link:visited {
color: #6666cc !important;
}