-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
119 lines (100 loc) · 1.88 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
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
/* styling for all pages */
html {
scroll-behavior: smooth;
}
body {
margin: 0 1.5vw 1.5vw 1.5vw;
overflow: overlay;
}
::selection {
background-color: #444;
color: #fff;
}
::-webkit-scrollbar {
width: 1.5vw;
height: 1.5vh;
}
::-webkit-scrollbar-track {
background-color: #fff;
margin-top: 7.5vw;
margin-bottom: 5vw;
}
::-webkit-scrollbar-thumb {
background-color: #888;
border-radius: 100vw;
}
::-webkit-scrollbar-thumb:hover {
background-color: #666;
}
#logo > img {
width: 3vw;
}
#home {
margin-left: auto;
margin-right: auto;
font-size: 4.5vw
}
.nav {
background-color: white;
width: 100%;
display: flex;
}
nav > div > div {
margin-top: auto;
margin-bottom: auto;
font-weight: bold;
font-size: 3vw;
}
.nav a,
.container a {
color: black;
text-decoration: none;
position: relative;
outline: none;
}
.nav a::after,
.container a::after {
content: '';
position: absolute;
background-color: blue;
height: .15em;
left: 0;
bottom: -5px;
width: 100%;
transform: scaleX(0);
transform-origin: left;
transition: 0.3s;
}
.nav a:hover::after,
.container a:hover::after,
.nav a:focus-within::after,
.container a:focus-within::after {
transform: scaleX(100%);
}
.nav a:visited,
.container a:visited {
color: black;
}
.nav a:hover,
.container a:hover,
.container li:hover,
.nav a:focus-within,
.container a:focus-within,
.container li:focus-within {
color: blue;
}
#logo, #about {
padding: 1vw;
}
.main {
width: 100%;
overflow: auto;
border-radius: 25px;
background-image: linear-gradient(45deg, #ccc, #000, #ccc)
}
.foot {
text-align: center;
font-weight: bold;
font-size: 1.5vw;
padding-top: 1vw;
}