forked from playcanvas/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
128 lines (119 loc) · 2.03 KB
/
style.css
File metadata and controls
128 lines (119 loc) · 2.03 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
body {
background-color: #fff;
color: #cccfcf;
font-family: "Proxima Nova", Helvetica, arial, sans-serif;
font-size: 16px;
margin: 0;
overscroll-behavior: none;
}
/* Sidebar menu */
.sidenav {
height: 100%;
width: 240px;
position: fixed;
/* Fixed Sidebar (stay in place on scroll) */
z-index: 1;
/* Stay on top */
top: 0;
left: 0;
overflow-x: hidden;
/* Disable horizontal scroll */
padding-top: 0px;
display: flex;
flex-direction: column;
background: #364346;
transition: all 240ms ease-in-out;
}
@media screen and (max-width: 1024px) {
.sidenav {
background: rgba(54, 67, 70, 0.98);
width: 100%;
}
.sidenav.closed {
left: -100%;
}
}
.sidenav-toggle {
position: absolute;
right: 12px;
top: 12px;
height: 32px;
width: 32px;
padding: 12px;
color: white;
z-index: 100;
display: none;
background: #20292b;
border-radius: 300px;
cursor: pointer;
}
.sidenav-toggle:hover {
background: black;
}
@media screen and (max-width: 1024px) {
.sidenav-toggle {
display: block;
}
}
/* Navigation menu links */
.sidenav a,
p {
text-decoration: none;
display: block;
}
.sidenav a {
padding: 6px 8px 6px 32px;
font-size: 1rem;
color: #b1b8ba;
cursor: pointer;
}
.sidenav a:hover {
color: #ffffff;
}
.sidenav a.active {
color: #f60;
}
@media screen and (max-width: 1024px) {
.sidenav a {
font-size: 1.2rem;
padding: 6px 8px 12px 32px;
}
}
.sidenav p {
padding: 24px 8px 8px 24px;
margin: 0;
font-size: 1.4rem;
font-weight: bold;
color: #ffffff;
}
/* Go to GitHub source button area */
.sourcenav {
position: fixed;
right: 24px;
bottom: 24px;
}
.sourcenav .btn {
padding: 15px;
background-color: #f60;
color: #ffffff;
cursor: pointer;
}
#example,
iframe {
position: fixed;
border: 0px;
left: 0;
right: 0;
padding-left: 240px;
width: calc(100% - 240px);
height: 100%;
overflow: auto;
}
@media screen and (max-width: 1024px) {
#example,
iframe {
padding-left: 0;
width: 100%;
}
}
/*# sourceMappingURL=style.css.map */