forked from folio-org/stripes-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobal.css
169 lines (146 loc) · 2.57 KB
/
global.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
@import "fonts.css";
@import "normalize.css";
@import "variables";
* {
box-sizing: border-box;
}
html {
font-size: 87.5%;
}
body,
html {
height: 100%;
margin: 0;
font-family:
'Source Sans Pro',
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Noto,
DroidSans,
Roboto,
Oxygen,
Ubuntu,
Cantarell,
"Open Sans",
"Helvetica Neue",
Helvetica,
Arial,
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
"Adobe Arabic",
"Myriad abic",
"ヒラギノ角ゴ Pro W3",
"Hiragino Kaku Gothic Pro",
メイリオ Meiryo,
"MS Pゴシック",
sans-serif;
color: var(--color-text);
letter-spacing: 0.04em;
-webkit-font-smoothing: antialiased;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
body,
html {
font-family:
'Source Sans Pro',
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Noto,
DroidSans,
Roboto,
Oxygen,
Ubuntu,
Cantarell,
"Open Sans",
"Helvetica Neue",
Helvetica,
Arial,
"Apple Color Emoji",
"Segoe UI Emoji",
"Segoe UI Symbol",
"Adobe Arabic",
"Myriad abic",
"ヒラギノ角ゴ Pro W3",
"Hiragino Kaku Gothic Pro",
メイリオ Meiryo,
"MS Pゴシック",
sans-serif;
}
}
a {
color: var(--color-link);
text-decoration: none;
&:visited {
color: var(--color-link-visited);
}
}
strong {
font-weight: var(--text-weight-bold);
}
fieldset {
border: none;
padding: 0;
}
ul {
margin: 0 0 14px;
}
hr {
border: 1px solid var(--color-border-p2);
border-width: 0 0 1px;
}
button,
input,
textarea,
select {
font-size: inherit;
font-family: inherit;
letter-spacing: inherit;
}
button {
padding: 0;
background-color: transparent;
border: none;
&:hover {
cursor: pointer;
}
}
:global(.fullWidth) {
width: 100% !important;
}
:global(.marginTop0) {
margin-top: 0 !important;
}
:global(.marginBottom0) {
margin-bottom: 0 !important;
}
:global(.marginBottomHalf) {
margin-bottom: 0.5rem !important;
}
:global(.marginTopHalf) {
margin-top: 0.5rem !important;
}
:global(.floatEnd) {
float: right !important;
}
:global(.sr-only) {
position: fixed;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
clip-path: inset(50%);
border: 0;
height: 0;
width: 0;
}
:global(.tether-element) {
z-index: 9999;
}
:global(.editor-preview *) {
margin: 0;
}
:global(body[dir="rtl"] .floatEnd),
:global(html[dir="rtl"] .floatEnd) {
float: left !important;
}