-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
81 lines (73 loc) · 1.32 KB
/
index.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
/* li.selected {
border-bottom: 4px solid rgb(58, 127, 255);
} */
.the-menu {
position: relative;
font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
font-size: 24px;
margin: 50px auto 0;
display: flex;
justify-content: center;
}
.the-menu > ul {
display: flex;
margin: 0;
padding: 0;
}
.the-menu > ul > li {
display: block;
margin-left: 40px;
cursor: pointer;
opacity: 0.3;
font-weight: bold;
transition: opacity 0.2s;
padding-bottom: 10px;
}
.the-menu > ul > li:first-child {
margin-left: 0;
}
.the-menu > ul > li:hover,
.the-menu > ul > li.selected {
opacity: 1;
}
.the-marker {
display: block;
position: absolute;
height: 4px;
background-color: rgb(58, 127, 255);
left: 0;
transition: all 0.4s;
}
.the-marker.off {
transition: none;
}
button {
padding: 6px 16px;
background: rgb(22, 80, 187);
color: #fff;
font-size: 16px;
border: none;
border-radius: 5px;
outline: none;
cursor: pointer;
transition: all 0.2s;
box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}
button:hover,
button:active {
background-color: rgb(12, 54, 133);
}
button:active {
box-shadow: none;
}
.actions {
margin-top: 50px;
display: flex;
justify-content: center;
}
.actions > button {
margin-left: 20px;
}
.actions > button:first-child {
margin-left: 0;
}