-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobal.css
100 lines (80 loc) · 1.33 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
:root {
--blue: hsl(207, 78%, 44%);
--blue-gray: hsl(229, 19%, 18%);
--dark-purple: hsl(249, 19%, 14%);
--red: hsl(9, 75%, 66%);
}
nav ul {
margin: 0;
padding: 0;
list-style: none;
background-color: var(--dark-purple);
display: flex;
justify-content: space-evenly;
}
nav ul li {
display: inline-block;
}
nav ul li.active img {
filter: brightness(0) invert(1);
}
nav ul li a {
width: 70px;
height: 70px;
display: grid;
place-items: center;
}
nav ul li.active a {
background-color: var(--red);
}
header > div {
display: flex;
gap: 1rem;
}
header img {
padding-bottom: 1rem;
}
header h1 {
font-size: 2rem;
margin: 0;
}
header p {
padding-bottom: 1rem;
margin: 0;
color: hsla(0, 0%, 100%, 0.6);
}
header hr {
border-color: hsla(0, 0%, 100%, 0.2);
margin-bottom: 1rem;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
padding: 0;
margin: 0;
background-color: var(--blue-gray);
color: white;
height: 100vh;
overflow-y: auto;
}
main {
padding: 1rem;
}
/* width */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
/* Track */
::-webkit-scrollbar-track {
background: #f1f1f1;
display: none;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: #888;
border-radius: 1rem;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #555;
}