-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbase.css
135 lines (120 loc) · 2.42 KB
/
base.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
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
:root
{
line-height: 1.5;
/* color-scheme: light dark; */
/* color: hsl(0, 0%, 0%); */
font-synthesis: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
/* Variables */
--body-color: #F1FAFF;
--accent-color: #4c4caf;
--accent-color-hover: #3c3c86;
--white: #FFF;
--black: #222;
/* --text-color-dark: #292929; */
/* --text-color: #e6e6e6; */
/* --accent-primary: #6B71F2; */
/* --accent-secondary: #0FF2B2; */
/* --deep-blue: #6C2EF2; */
/* --accent-white: #d1d1d1; */
/* --monospace-font: "Raleway"; */
/* --navbar-height: 6rem; */
}
body
{
margin: 0;
background-color: var(--body-color);
/* filter: url(#noiseFilter) brightness(100%) contrast(125%); */
font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
text-wrap: balance;
}
code
{
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}
/* Box sizing rules */
*,
*::before,
*::after
{
margin: 0;
padding: 0;
box-sizing: border-box;
/* outline: 2px solid #00A10055; */
}
/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd
{
margin: 0;
}
/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list']
{
list-style: none;
}
/* Set core root defaults */
html
{
scroll-behavior: smooth;
scroll-padding-top: 7rem;
}
/* Set core body defaults */
body
{
min-height: 100vh;
min-height: 100svh;
text-rendering: optimizeSpeed;
line-height: 1.5;
}
/* A elements that don't have a class get default styles */
a:not([class])
{
text-decoration-skip-ink: auto;
}
/* Make images easier to work with */
img,
picture
{
max-width: 100%;
display: block;
user-select: none;
}
/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select
{
font: inherit;
}
/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce)
{
html:focus-within
{
scroll-behavior: auto;
}
*,
*::before,
*::after
{
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}