-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
81 lines (63 loc) · 1.55 KB
/
style.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
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;700;900&display=swap");
/* ========== VARIABLES ========== */
:root {
/* COLORS */
--primary-color: rgb(199, 199, 199);
--secondary-color: rgb(157, 157, 157);
--paragraph-color: rgb(150, 145, 145);
--scrollbar-background-color: #909090;
--scrollbar-hover-color: #606060;
--background-color: #212123;
/* TypoGraphy */
--body-font: 'Poppins', sans-serif;
}
/* ========== BASE ========== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
text-align: center;
font-family: var(--body-font);
}
html {
scroll-behavior: smooth;
}
body {
background: var(--background-color);
}
/* ========== LAYOUT ========== */
h1 {
margin-top: 10px;
color: var(--primary-color);
font-size: 50px;
}
h3 {
color: var(--secondary-color);
padding: .2em;
}
p {
text-align: center;
width: 50%;
margin: auto;
padding: 1em;
color: var(--paragraph-color);
}
/* ========== SCROLL-BAR (YouTube) ========== */
/* SCROLLBAR */
::-webkit-scrollbar {
width: 10px;
}
/* SCROLLBAR THUMB */
::-webkit-scrollbar-thumb {
background: var(--scrollbar-background-color);
background-repeat: no-repeat;
border-radius: 10px;
}
/* SCROLLBAR TRACK */
::-webkit-scrollbar-track {
background: var(--background-color);
}
/* SCROLLBAR THUMB : HOVER */
::-webkit-scrollbar-thumb:hover {
background: var(--scrollbar-hover-color);
}