-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
70 lines (67 loc) · 1.27 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
.placeholder {
display: flex;
align-items:center;
justify-content: center;
font-size: 100px;
height:100vh;
font-family: 'Oswald', sans-serif;
text-transform: uppercase;
color:white;
}
.wrapper {
display: table;
table-layout: fixed;
width:100%;
}
.wrapper > div {
display: table-cell;
width: 100%;
background-color:#454d66;
}
div.sticky {
position: -webkit-sticky; /* Safari */
position: sticky;
top: 0;
}
@media only screen and (max-width: 768px) {
.wrapper > div {
display: table-row;
}
.wrapper.collapsed >div>.content:not(.active) {
display:none
}
}
.wrapper > div>.active{
background-color:#fab95b;
}
.wrapper > div >.content{
display: flex;
align-items:center;
justify-content: center;
height:50px;
box-shadow: 0 4px 8px 0 rgba(240, 231, 231, 0.2);
margin: 1px;
padding: 5px;
color: white;
font-size: 25px;
font-family: 'Oswald', sans-serif;
text-transform: uppercase;
cursor: pointer;
}
.underline {
position: relative;
margin: 3px;
}
.active.underline::after, .underline:hover:after, .underline:focus:after, .underline:active:after {
width: 100%;
}
.underline:after {
content: '';
position: absolute;
left: 0;
bottom: 2px;
height: 4px;
background-color: #fff;
width: 0;
transition: width 0.25s;
}