forked from cmda-minor-web/human-centered-design-2021
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
84 lines (66 loc) · 1.16 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--red: #D42D42;
--darkblue: #2C4774;
--darkorange: #d48002;
--darkgray: #333;
--lightgray: #ebebeb;
--darkmode: #121212;
--fontRoboto: 'Roboto', sans-serif;
--fontPlayFair: 'Playfair Display', serif;
--fontGloria: 'FriendsFont', cursive;
}
html {
font-family: var(--fontRoboto);
}
header {
width: 100vw;
}
h1 {
text-align: center;
padding: 3rem;
}
nav {
width: 100vw;
}
.final {
background: var(--red);
padding: 1rem;
margin: 1rem;
color: white;
border-radius: .3rem;
border: 1px solid var(--red);
transition: all .5s ease;
}
.final:hover {
background: white;
color: var(--red);
}
nav ul {
display: flex;
justify-content: center;
flex-direction: column;
flex-wrap: wrap;
align-items: center;
}
li {
list-style: none;
padding: 1rem;
}
li a {
text-decoration: none;
color: #333;
transition: all .5s ease;
}
li a:hover {
text-decoration: underline;
color: var(--red);
}
.activeEnvironment {
color: var(--red);
border-bottom: 1px solid var(--red);
}