Repository navigation
Expand file tree
/
Copy pathskeleton-auto.css
More file actions
223 lines (189 loc) · 5.39 KB
/
Copy pathskeleton-auto.css
File metadata and controls
223 lines (189 loc) · 5.39 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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
/* Table of contents
––––––––––––––––––––––––––––––––––––––––––––––––––
- Grid
- Base Styles
- Typography
- Links
- Code
- Spacing
- Utilities
- Misc
- Credit footer
*/
/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */
:root {
--dhbw-red: #E2001A;
--dhbw-grey: #5C6971;
--dhbw-grey-40: #9aa3a9; /* approx 60% tint */
--dhbw-black: #000000;
--dhbw-body-bg: #FFFFFF;
--dhbw-link: var(--dhbw-red);
}
.container {
position: relative;
width: 100%;
max-width: 600px;
text-align: center;
margin: 0 auto;
box-sizing: border-box; }
.column {
position: center;
width: 100%;
float: center;
box-sizing: border-box; }
/* For devices larger than 400px */
@media (min-width: 400px) {
.container {
width: 85%;
padding: 0; }
}
/* For devices larger than 550px */
@media (min-width: 550px) {
.container {
width: 80%; }
.column,
.columns {
margin-left: 0; }
.column:first-child,
.columns:first-child {
margin-left: 0; }
}
/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* NOTE
html is set to 62.5% so that all the REM measurements throughout Skeleton
are based on 10px sizing. So basically 1.5rem = 15px :) */
html {
font-size: 100%; }
/* Fixed light layout per DHBW: viel Weißraum, klare Flächen */
body {
font-size: 18px;
line-height: 24px;
font-weight: 400;
background: var(--dhbw-body-bg);
font-family: "Generis Sans", Arial, "Helvetica Neue", Helvetica, sans-serif;
color: var(--dhbw-black);
}
/* Use this for a fixed background color instead of dark and light mode
body {
font-size: 18px;
line-height: 24px;
font-weight: 400;
font-family: "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial,
sans-serif;
}
*/
/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1 {
margin-top: 0;
margin-bottom: 16px;
font-weight: 800; }
h1 { font-size:24px; line-height: 64px; letter-spacing: 0; color: var(--dhbw-grey);}
/* Larger than phablet */
@media (min-width: 550px) {
h1 { font-size: 48px; line-height: 96px;}
}
p {
margin-top: 0; }
/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
color: var(--dhbw-link);
text-decoration: none;
}
a:hover {
color: var(--dhbw-link); }
.spacing {
padding: 0 10px;
}
.social-icon{color: var(--dhbw-grey);}
/* Code
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
padding: .2rem .5rem;
margin: 0 .2rem;
font-size: 90%;
white-space: nowrap;
background: #f5f7f8;
border: 1px solid #e6eaed;
border-radius: 4px; }
pre > code {
display: block;
padding: 1rem 1.5rem;
white-space: pre; }
/* Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
margin-bottom: 1rem; }
input,
textarea,
select,
fieldset {
margin-bottom: 1.5rem; }
pre,
blockquote,
dl,
figure,
p,
ol {
margin-bottom: 2.5rem; }
/* Utilities
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.u-full-width {
width: 100%;
box-sizing: border-box; }
.u-max-full-width {
max-width: 100%;
box-sizing: border-box; }
.u-pull-right {
float: right; }
.u-pull-left {
float: left; }
/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
margin-top: 3rem;
margin-bottom: 3.5rem;
border-width: 0;
border-top: 1px solid #e6eaed; }
/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
scrollbar-width: thin;
scrollbar-color: var(--dhbw-grey) #dbdbdb;
}
/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
width: 8px;
}
*::-webkit-scrollbar-track {
background: #dbdbdb;
}
*::-webkit-scrollbar-thumb {
background-color: var(--dhbw-grey);
border-radius: 30px;
border: 3px none #ffffff;
}
/* Credit footer
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* Styling for credit footer text */
.credit-txt {
font-weight: 700;
font-size: 15px;
text-decoration: none;
}
/* Some fonts shift the credit footer icon around
/* You can uncomment this to hide the icon and only display the text
.credit-icon {
display: none; }
.credit-footer {
position: relative;
right: 15px; }
*/
/* Footer color in fixed light design */
.credit-txt-clr{
color: var(--dhbw-grey) !important;
}