-
Notifications
You must be signed in to change notification settings - Fork 157
Expand file tree
/
Copy pathreset.css
More file actions
49 lines (43 loc) · 1.26 KB
/
reset.css
File metadata and controls
49 lines (43 loc) · 1.26 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
/* stylelint-disable at-rule-no-unknown */
@import-normalize;
@import-sanitize;
@import-sanitize 'reduce-motion';
/* stylelint-enable at-rule-no-unknown */
/******************************************************************************
* Reset: build on top of normalized+sanitized base, adding common styles for
* Kitsu which apply based on HTML element.
******************************************************************************/
body {
/* Get rid of the margins because this isn't 1994 */
/* Ensure our body is always at least the height of the screen */
min-height: 100vh;
/* Apply our base colors and typography */
background-color: var(--page-background);
color: var(--page-text-color);
font-weight: var(--font-regular);
font-size: var(--font-me);
font-family: var(--font-family-body);
}
/* allow locking the body scroll with a class */
body.scroll-lock {
overflow: hidden;
}
/* apply our heading font stack to all h1-6 elements */
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-family-headings);
}
/* Make the app container full height and a column flexbox */
#app {
display: flex;
flex-direction: column;
min-height: 100vh;
}
/* Provide a focus ring based on our theme */
*:focus-visible {
outline: 3px solid var(--focus-outline-color);
}