-
Notifications
You must be signed in to change notification settings - Fork 0
/
reset.css
109 lines (86 loc) · 2.26 KB
/
reset.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
/*
=================================================
RESET.CSS
=================================================
- This stylesheet serves to reset browser defaults.
- Global CSS variables are defined in the :root for easy theming and consistency.
- This file is loaded before other stylesheets to correctly apply variables and resets.
=================================================
*/
/*
=================================================
UNIVERSAL STYLING
=================================================
*/
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
/*
=================================================
BASE STYLING
=================================================
*/
html,
body {
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
line-height: 1.6;
font-size: 1rem;
color: black;
scroll-behavior: smooth;
}
a {
text-decoration: none;
}
a:focus,
a:hover {
text-decoration: underline;
outline: 2px solid #ffffff;
}
img {
max-width: 100%;
display: block;
}
.menuBar {
list-style-type: none;
padding: 0;
}
.text-content ul {
list-style-type: none;
}
/*
=================================================
GLOBAL CSS VARIABLES
=================================================
- These variables help keep our design consistent.
- Change values here to update them across the whole site.
=================================================
*/
:root {
/* Colors */
--primary-color: deepskyblue;
--background-color: #f9f9f9;
--text-color: #000;
--text-inverse-color: #fff;
--secondary-bg-color: rgba(0, 51, 0, 0.3);
--modal-bg-color: rgba(0, 0, 0, 0.7);
--shadow-color: rgba(133, 190, 225, 0.927);
--button-bg-color: #333;
--button-bg-hover-color: #555;
--hover-color: rgba(200, 218, 209, 0.287);
/* Font sizes */
--main-font-size: 1rem;
--h1-font-size: 2.5rem;
--h2-font-size: 1.75rem;
--h3-font-size: 1rem;
/* Spacings */
--main-padding: 15px 20px;
--main-gap: 20px;
--modal-padding: 2rem;
--button-padding: 0.75rem 1rem;
--main-margin: 1rem;
/* Other values */
--border-radius: 5px;
--main-transition: all 0.3s;
}