-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
69 lines (68 loc) · 1.3 KB
/
style.css
File metadata and controls
69 lines (68 loc) · 1.3 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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body{
background-color: black;
margin: 0;
}
header{
background-color: black;
height: 5em;
display: flex;
align-items: center;
justify-content: space-between;
padding: 30px 0 30px;
position: sticky;
top: 0;
transition: background-color 0.4s ease-in-out;
}
header.scrolled{
background-color: whitesmoke;
opacity: 0.98;
}
header .logo h2 a{
display: block;
font-size: 30px;
font-weight: 600;
text-decoration: none;
color: whitesmoke;
margin: 1em;
}
header.scrolled .logo h2 a{
color: black;
}
header nav{
padding: 1.5em 0 1.5em 6em;
}
header nav a{
text-decoration: none;
color: whitesmoke;
font-size: 1.3em;
font-weight: 300;
margin: 1em;
transition: color 0.4s ease-in-out;
border-bottom: 2px solid transparent;
transition: .3s;
}
header nav a:hover{
border-bottom: 2px solid whitesmoke;
}
header.scrolled nav a{
color: black;
}
header.scrolled nav a:hover{
color: #f00;
}
.main-body{
margin-top: 60px;
height: 1000px;
padding: 2em 6em 2em 6em;
}
p{
font-size: 1.5em;
color: whitesmoke;
text-align: center;
}