-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path_init.global.scss
108 lines (93 loc) · 1.86 KB
/
_init.global.scss
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
// *! this is an opionionated (especially based on "enhancing" normalize.css) version of minireset.css v0.0.4 | MIT License | github.com/jgthms/minireset.css
html,
body {
margin: 0;
padding: 0;
}
body {
min-height: 100vh;
font-size: 1rem;
}
// adapted from https://github.com/jgthms/bulma/blob/0.7.5/sass/base/generic.sass
html {
background-color: #fdfdfd; // TODO: This would need to get replaced by the correct (semantic) color
// font-size: 16px; // We need to deactivate this due to accessibility problems, as even also reported with https://github.com/jgthms/bulma/issues/3588
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
min-width: 300px;
overflow-x: hidden;
overflow-y: scroll;
text-rendering: optimizeLegibility;
text-size-adjust: 100%;
text-size-adjust: 100%;
}
body,
button,
input,
optgroup,
select,
textarea {
font-family: $db-font-family-base;
}
code,
pre {
-moz-osx-font-smoothing: auto;
-webkit-font-smoothing: auto;
}
body {
color: $db-color-cool-gray-700;
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
}
// Inline
a {
color: $db-color-cool-gray-700;
strong {
color: currentColor;
}
&:hover {
color: #5d616a; // TODO: Identify correct color variable
}
}
code {
background-color: #f5f5f5;
color: darken($db-color-red, 2%);
font-size: 0.875em;
font-weight: normal;
padding: 0.25em 0.5em;
}
hr {
background-color: #f5f5f5;
border: none;
display: block;
height: 2px;
margin: 1.5rem 0;
}
img {
height: auto;
max-width: 100%;
}
small {
font-size: to-em($pxValue: 14);
}
// Block
fieldset {
border: none;
}
pre {
background-color: #f5f5f5;
color: #282d37;
font-size: 0.875em;
-webkit-overflow-scrolling: touch;
overflow-x: auto;
padding: 1.25rem 1.5rem;
white-space: pre;
word-wrap: normal;
code {
background-color: transparent;
color: currentColor;
font-size: 1em;
padding: 0;
}
}