-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtutorial.css
More file actions
95 lines (76 loc) · 1.35 KB
/
tutorial.css
File metadata and controls
95 lines (76 loc) · 1.35 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
/*Global*/
html, body {
width: 100%;
margin: 0;
padding: 0;
font-family: helvetica, sans-serif;
}
/*Func*/
.multi-level, .item ul, .nav input[type="checkbox"] {
display: none;
}
#menu:checked ~ .multi-level, .item input:checked ~ ul {
display: block;
}
/*Arrow*/
.arrow {
width: 12px;
height: 12px;
vertical-align: middle;
float: left;
z-index: 0;
margin: 17px 1em 0 2em;
}
.item input + .arrow {
transform: rotate(-90deg);
transition: 0.1s;
}
.item input:checked + .arrow {
transform: rotate(0deg);
transition: 0.1s;
}
/*Styles*/
label:hover {
cursor: pointer;
}
label {
width: 100%;
display: block;
z-index: 3;
position: relative;
}
.nav {
width: 100%;
background-color: white;
overflow-x: hidden;
border-bottom: 1px solid #CFD8DC;
}
#nav-icon {
font-size: 28px;
line-height: 50px;
padding-left: 1em;
color: white;
background-color: #F44336;
}
.nav ul, .nav li, label {
line-height: 50px;
margin: 0;
padding: 0 2em;
list-style: none;
text-decoration: none;
color: #90A4AE;
font-weight: 100;
width: 100%;
}
.item ul {
padding: 0 0.25em;
}
.nav li a {
line-height: 50px;
margin: 0;
padding: 0 4em;
list-style: none;
text-decoration: none;
color: #90A4AE;
font-weight: 100;
}