-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
127 lines (108 loc) · 2.34 KB
/
style.css
File metadata and controls
127 lines (108 loc) · 2.34 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
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
120
121
122
123
124
125
126
127
.txt-c-black {
color: #383838;
}
.txt-c-black-light {
color: #6b6b6b;
}
.txt-c-black-dark {
color: #050505;
}
.txt-c-grey {
color: #e9edf4;
}
.txt-c-grey-light {
color: white;
}
.txt-c-grey-dark {
color: #a5b5d2;
}
.txt-c-blue {
color: #2cb1fe;
}
.txt-c-blue-light {
color: #92d7fe;
}
.txt-c-blue-dark {
color: #017cc3;
}
.grid-col-3 {
display: -ms-grid;
display: grid;
-ms-grid-columns: (1fr)[3];
grid-template-columns: repeat(3, 1fr);
}
body {
margin: 0;
padding: 0;
font-family: 'Lato', sans-serif;
-webkit-box-sizing: border-box;
box-sizing: border-box;
border: 1em #ffa96b solid;
width: 100%;
height: 100vh;
}
.grid {
--items: 16;
grid-auto-rows: calc(100vh / var(--items));
grid-auto-columns: calc(100% / var(--items));
}
h1 {
margin: 0;
}
nav {
position: fixed;
top: 0px;
right: 0px;
display: block;
height: 100%;
z-index: 2;
-webkit-transform: translate3d(calc(100% - 100px), 0px, 0px);
transform: translate3d(calc(100% - 100px), 0px, 0px);
-webkit-transition: -webkit-transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) 0.05s;
transition: -webkit-transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) 0.05s;
transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) 0.05s;
transition: transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) 0.05s, -webkit-transform 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) 0.05s;
overflow: hidden;
}
nav ul {
list-style: none;
margin: 25rem 0;
}
nav ul li a {
text-decoration: none;
display: block;
-webkit-transition: -webkit-transform 1s;
transition: -webkit-transform 1s;
transition: transform 1s;
transition: transform 1s, -webkit-transform 1s;
}
nav ul li a::after {
display: block;
position: relative;
width: 100%;
top: -.5em;
right: -1em;
content: "";
border-bottom: #ff8b38 3px solid;
z-index: -1;
opacity: .4;
-webkit-transition: 0.4s opacity;
transition: 0.4s opacity;
}
nav ul li a:hover {
-webkit-transform: scale(2, 2);
transform: scale(2, 2);
-webkit-transition: -webkit-transform 1s;
transition: -webkit-transform 1s;
transition: transform 1s;
transition: transform 1s, -webkit-transform 1s;
}
nav ul li a:hover::after {
opacity: 0;
-webkit-transition: 0.4s opacity;
transition: 0.4s opacity;
}
.wrapper {
padding: 2em;
}
/*# sourceMappingURL=style.css.map */