-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
149 lines (119 loc) · 2.19 KB
/
style.css
File metadata and controls
149 lines (119 loc) · 2.19 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
/* font-family: 'Lato', sans-serif; */
* {
margin: 0;
padding: 0;
}
.wrap {
margin: 0 auto;
max-width: 1366px;
background: #F1F1F1;
font: 400 20px 'Lato', sans-serif;
}
.aside {
width: 314px;
background: #293744;
}
.title {
text-transform: uppercase;
color: #bed1e4;
line-height: 57px;
background: #33414E;
padding-left: 29px;
}
.nav {
list-style-type: none;
}
.nav > li {
}
.nav > li > a {
text-decoration: none;
display: block;
padding: 21px 0 22px 80px;
color: #ededec;
border-left: 8px solid transparent;
background: #33414E;
position: relative;
cursor: pointer;
}
.nav > li > a::before {
content: "";
position: absolute;
width: 25px;
height: 22px;
left: 23px;
top: 0;
bottom: 0;
margin: auto;
background-image: url(snippet.png);
}
.nav > li .dash::before {
background-position: 0 0;
}
.nav > li .lay::before {
background-position: -30px 0;
}
.nav > li .page::before {
background-position: -60px 0;
}
.nav > li > a::after {
content: "";
position: absolute;
width: 8px;
height: 14px;
right: 23px;
top: 0;
bottom: 0;
margin: auto;
background-image: url(snippet.png);
background-position: -90px 0;
transition: transform 0.5s;
}
.subnav {
list-style-type: none;
}
.subnav li {
height: 0;
overflow: hidden;
transition: height 0.5s;
}
.subnav a {
text-decoration: none;
display: block;
padding: 21px 0 21px 115px;
color: #ededec;
border: 8px solid transparent;
background: #293744;
position: relative;
cursor: pointer;
}
.subnav a::before {
content: "";
position: absolute;
width: 15px;
height: 15px;
left: 86px;
top: 0;
bottom: 0;
margin: auto;
border: 3px solid transparent;
border-radius: 50%;
}
.subnav li:nth-of-type(1) a::before {
border-color: #85c875;
}
.subnav li:nth-of-type(2) a::before {
border-color: #0bc4df;
}
.subnav li:nth-of-type(3) a::before {
border-color: #f1a80a;
}
.nav .active::after {
transform: rotate(90deg);
}
.nav .active {
border-color: #85C875;
background: #253340;
}
.nav > li > .active + .subnav li {
height: 67px;
}