-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
96 lines (75 loc) · 1.57 KB
/
style.css
File metadata and controls
96 lines (75 loc) · 1.57 KB
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
/*
Author: Tashley Toocaram
Email: tashleyvivesh@gmail.com
Website: https://codenametashley.github.io
Repository: https://github.com/CodenameTashley/codenametashley.github.io
*/
/* CSS reset */
* {
margin: 0;
padding: 0;
}
/* Variables */
:root {
--dark-blue: #2A3A47;
--grey-background: #D1D1D1;
--light-grey-background: #E3E3E3;
}
body {
font: 600 20px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
background-color: var(--grey-background);
margin: 0;
}
/* *** HEADER *** */
header {
height: 10vh;
width: 100vw;
background-color: var(--dark-blue);
color: var(--grey-background);
text-align: center;
}
header img {
margin-top: 1vh;
margin-left: 1vh;
float: left;
height: 8vh;
width: 8vh;
}
header h1 {
margin: 0;
line-height: 10vh;
font-size: x-large;
}
/* *** END OF HEADER *** */
/* *** FOOTER *** */
footer {
text-align: center;
}
/* *** END OF FOOTER *** */
main {
height: 80vh;
width: 100vw;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
}
/* width */
::-webkit-scrollbar {
width: 10px;
}
/* Track */
::-webkit-scrollbar-track {
box-shadow: inset 0 0 5px var(--light-grey-background);
border-radius: 10px;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: var(--grey-background);
border-radius: 10px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
cursor: pointer;
background: var(--dark-blue);
}