-
Notifications
You must be signed in to change notification settings - Fork 464
/
demo.css
167 lines (148 loc) · 3.09 KB
/
demo.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
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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
/**
* The CSS in this file is for styling the demo page,
* Meny's critical styles (such as transforms) are applied
* via JavaScript.
*
* See the documentation here: https://github.com/hakimel/meny#meny
*
* @author Hakim El Hattab | http://hakim.se
*/
* {
margin: 0;
padding: 0;
}
html,
body {
height: 100%;
overflow: hidden;
}
body {
background-color: #222;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAGklEQVQIW2NkYGD4D8SMQAwGcAY2AbBKDBUAVuYCBQPd34sAAAAASUVORK5CYII=);
background-repeat: repeat;
font-family: 'Lato', Helvetica, sans-serif;
font-size: 16px;
color: #222;
}
a {
color: #c2575b;
text-decoration: none;
-webkit-transition: 0.15s color ease;
-moz-transition: 0.15s color ease;
-ms-transition: 0.15s color ease;
-o-transition: 0.15s color ease;
transition: 0.15s color ease;
}
a:hover {
color: #f76f76;
}
h1,
h2 {
font-size: 24px;
}
.meny {
display: none;
padding: 20px;
overflow: auto;
background: #333;
color: #eee;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.meny ul {
margin-top: 10px;
}
.meny ul li {
display: inline-block;
width: 200px;
list-style: none;
font-size: 20px;
padding: 3px 10px;
}
.meny ul li:before {
content: '-';
margin-right: 5px;
color: rgba( 255, 255, 255, 0.2 );
}
/**
* Hint graphic that appears while menu is inactive
*/
.meny-arrow {
position: absolute;
z-index: 10;
border: 10px solid transparent;
-webkit-transition: opacity 0.4s ease 0.4s;
-moz-transition: opacity 0.4s ease 0.4s;
-ms-transition: opacity 0.4s ease 0.4s;
-o-transition: opacity 0.4s ease 0.4s;
transition: opacity 0.4s ease 0.4s;
}
.meny-left .meny-arrow {
left: 14px;
top: 50%;
margin-top: -16px;
border-left: 16px solid #333;
}
.meny-right .meny-arrow {
right: 14px;
top: 50%;
margin-top: -16px;
border-right: 16px solid #333;
}
.meny-top .meny-arrow {
left: 50%;
top: 14px;
margin-left: -16px;
border-top: 16px solid #333;
}
.meny-bottom .meny-arrow {
left: 50%;
bottom: 14px;
margin-left: -16px;
border-bottom: 16px solid #333;
}
.meny-active .meny-arrow {
opacity: 0;
-webkit-transition: opacity 0.2s ease;
-moz-transition: opacity 0.2s ease;
-ms-transition: opacity 0.2s ease;
-o-transition: opacity 0.2s ease;
transition: opacity 0.2s ease;
}
/**
* Main contents area
*/
.contents {
background: #eee;
padding: 20px 40px;
width: 100%;
height: 100%;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
-webkit-transform-style: preserve-3d;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.contents>article {
max-width: 400px;
}
.contents p {
margin: 10px 0 10px 0;
font-size: 16px;
line-height: 1.32;
}
.contents small {
display: block;
margin-top: 10px;
padding-top: 10px;
color: #333;
font-size: 0.85em;
border-top: 1px dashed #ccc;
-webkit-text-size-adjust: none;
}
.contents .sharing {
position: absolute;
bottom: 20px;
}