-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.css
119 lines (101 loc) · 2.21 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
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css");
@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;600;800&display=swap");
:root {
/* (Light Mode Text) */
--col-text: hsl(200, 15%, 8%);
/* (Light Mode Input) */
--col-input: hsl(0, 0%, 52%);
/* (Light Mode Background) */
--col-bg: hsl(0, 0%, 98%);
/* & Light Mode Elements */
--col-ele: white;
--font-size: 16px;
--shadow: 0 5px 30px -7px #1112;
--shadow-intense: 0 2px 10px -1px #1113;
--Family: "Nunito Sans", sans-serif;
/* --Weights: 300, 600, 800 */
}
html.is_dark {
/* (Dark Mode Elements) */
--col-ele: hsl(209, 23%, 22%);
/* (Dark Mode Background) */
--col-bg: hsl(207, 26%, 17%);
/* (Dark Mode Text) */
--col-text: white;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
user-select: none;
}
html,
body {
font-family: var(--Family);
font-size: var(--font-size);
background-color: var(--col-bg);
color: var(--col-text);
}
h1 {
font-size: 2.2rem;
}
.label_value {
line-height: 0.5;
font-weight: 300;
}
p {
font-size: 1.1rem;
margin-top: 0.5rem;
}
.label {
line-height: 0.5;
font-weight: 600;
}
a {
text-decoration: none;
color: var(--col-text);
cursor: pointer;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
.navbar {
box-shadow: var(--shadow);
background-color: var(--col-ele);
}
.navbar .nav_container {
width: 90vw;
margin: auto;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
padding: 2rem 0;
}
.btn {
display: inline-block;
cursor: pointer;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
.btn_fill {
padding: 0.5rem;
min-width: 7rem;
border-radius: 0.2rem;
box-shadow: var(--shadow-intense);
background: var(--col-ele);
text-align: center;
transition: all 0.05s ease-in-out;
}
.btn_fill:hover {
transform: scale(1.06);
}