1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,166 +0,0 @@ |
1 |
-/** |
|
2 |
- * The CSS in this file is for styling the demo page, |
|
3 |
- * Meny's critical styles (such as transforms) are applied |
|
4 |
- * via JavaScript. |
|
5 |
- * |
|
6 |
- * See the documentation here: https://github.com/hakimel/meny#meny |
|
7 |
- * |
|
8 |
- * @author Hakim El Hattab | http://hakim.se |
|
9 |
- */ |
|
10 |
- |
|
11 |
-* { |
|
12 |
- margin: 0; |
|
13 |
- padding: 0; |
|
14 |
-} |
|
15 |
- |
|
16 |
-html, |
|
17 |
-body { |
|
18 |
- height: 100%; |
|
19 |
- overflow: hidden; |
|
20 |
-} |
|
21 |
- |
|
22 |
-body { |
|
23 |
- background-color: #222; |
|
24 |
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAGklEQVQIW2NkYGD4D8SMQAwGcAY2AbBKDBUAVuYCBQPd34sAAAAASUVORK5CYII=); |
|
25 |
- background-repeat: repeat; |
|
26 |
- |
|
27 |
- font-family: 'Lato', Helvetica, sans-serif; |
|
28 |
- font-size: 16px; |
|
29 |
- color: #222; |
|
30 |
-} |
|
31 |
- |
|
32 |
-a { |
|
33 |
- color: #bfb451; |
|
34 |
- text-decoration: none; |
|
35 |
- |
|
36 |
- -webkit-transition: 0.15s color ease; |
|
37 |
- -moz-transition: 0.15s color ease; |
|
38 |
- -ms-transition: 0.15s color ease; |
|
39 |
- -o-transition: 0.15s color ease; |
|
40 |
- transition: 0.15s color ease; |
|
41 |
-} |
|
42 |
- a:hover { |
|
43 |
- color: #dbd055; |
|
44 |
- } |
|
45 |
- |
|
46 |
-/*h3{ |
|
47 |
- font-size: 24px; |
|
48 |
-}*/ |
|
49 |
- |
|
50 |
-.meny { |
|
51 |
- display: none; |
|
52 |
- padding: 20px; |
|
53 |
- overflow: auto; |
|
54 |
- background: #333; |
|
55 |
- color: #eee; |
|
56 |
- |
|
57 |
- -webkit-box-sizing: border-box; |
|
58 |
- -moz-box-sizing: border-box; |
|
59 |
- box-sizing: border-box; |
|
60 |
-} |
|
61 |
- .meny ul { |
|
62 |
- margin-top: 10px; |
|
63 |
- } |
|
64 |
- .meny ul li { |
|
65 |
- display: inline-block; |
|
66 |
- width: 350px; |
|
67 |
- list-style: none; |
|
68 |
- font-size: 20px; |
|
69 |
- padding: 3px 10px; |
|
70 |
- } |
|
71 |
- .meny ul li:before { |
|
72 |
- content: '-'; |
|
73 |
- margin-right: 5px; |
|
74 |
- color: rgba( 255, 255, 255, 0.2 ); |
|
75 |
- } |
|
76 |
- |
|
77 |
-/** |
|
78 |
- * Hint graphic that appears while menu is inactive |
|
79 |
- */ |
|
80 |
-.meny-arrow { |
|
81 |
- position: absolute; |
|
82 |
- z-index: 10; |
|
83 |
- |
|
84 |
- border: 10px solid transparent; |
|
85 |
- |
|
86 |
- -webkit-transition: opacity 0.4s ease 0.4s; |
|
87 |
- -moz-transition: opacity 0.4s ease 0.4s; |
|
88 |
- -ms-transition: opacity 0.4s ease 0.4s; |
|
89 |
- -o-transition: opacity 0.4s ease 0.4s; |
|
90 |
- transition: opacity 0.4s ease 0.4s; |
|
91 |
-} |
|
92 |
- .meny-left .meny-arrow { |
|
93 |
- left: 14px; |
|
94 |
- top: 50%; |
|
95 |
- margin-top: -16px; |
|
96 |
- border-left: 16px solid #333; |
|
97 |
- } |
|
98 |
- .meny-right .meny-arrow { |
|
99 |
- right: 14px; |
|
100 |
- top: 50%; |
|
101 |
- margin-top: -16px; |
|
102 |
- border-right: 16px solid #333; |
|
103 |
- } |
|
104 |
- .meny-top .meny-arrow { |
|
105 |
- left: 50%; |
|
106 |
- top: 14px; |
|
107 |
- margin-left: -16px; |
|
108 |
- border-top: 16px solid #333; |
|
109 |
- } |
|
110 |
- .meny-bottom .meny-arrow { |
|
111 |
- left: 50%; |
|
112 |
- bottom: 14px; |
|
113 |
- margin-left: -16px; |
|
114 |
- border-bottom: 16px solid #333; |
|
115 |
- } |
|
116 |
- .meny-active .meny-arrow { |
|
117 |
- opacity: 0; |
|
118 |
- |
|
119 |
- -webkit-transition: opacity 0.2s ease; |
|
120 |
- -moz-transition: opacity 0.2s ease; |
|
121 |
- -ms-transition: opacity 0.2s ease; |
|
122 |
- -o-transition: opacity 0.2s ease; |
|
123 |
- transition: opacity 0.2s ease; |
|
124 |
- } |
|
125 |
- |
|
126 |
-/** |
|
127 |
- * Main contents area |
|
128 |
- */ |
|
129 |
-.contents { |
|
130 |
- background: #eee; |
|
131 |
- padding: 20px 40px; |
|
132 |
- width: 100%; |
|
133 |
- height: 100%; |
|
134 |
- overflow-y: auto; |
|
135 |
- |
|
136 |
- -webkit-overflow-scrolling: touch; |
|
137 |
- -webkit-transform-style: preserve-3d; |
|
138 |
- |
|
139 |
- -webkit-box-sizing: border-box; |
|
140 |
- -moz-box-sizing: border-box; |
|
141 |
- box-sizing: border-box; |
|
142 |
-} |
|
143 |
- .contents>article { |
|
144 |
- max-width: 400px; |
|
145 |
- } |
|
146 |
- .contents p { |
|
147 |
- margin: 10px 0 10px 0; |
|
148 |
- font-size: 16px; |
|
149 |
- line-height: 1.32; |
|
150 |
- } |
|
151 |
- .contents small { |
|
152 |
- display: block; |
|
153 |
- margin-top: 10px; |
|
154 |
- padding-top: 10px; |
|
155 |
- color: #333; |
|
156 |
- font-size: 0.85em; |
|
157 |
- border-top: 1px dashed #ccc; |
|
158 |
- |
|
159 |
- -webkit-text-size-adjust: none; |
|
160 |
- } |
|
161 |
- .contents .sharing { |
|
162 |
- position: absolute; |
|
163 |
- bottom: 20px; |
|
164 |
- } |
|
165 |
- |
|
166 |
- |
... | ... |
@@ -30,7 +30,7 @@ body { |
30 | 30 |
} |
31 | 31 |
|
32 | 32 |
a { |
33 |
- color: #c2575b; |
|
33 |
+ color: #bfb451; |
|
34 | 34 |
text-decoration: none; |
35 | 35 |
|
36 | 36 |
-webkit-transition: 0.15s color ease; |
... | ... |
@@ -40,7 +40,7 @@ a { |
40 | 40 |
transition: 0.15s color ease; |
41 | 41 |
} |
42 | 42 |
a:hover { |
43 |
- color: #f76f76; |
|
43 |
+ color: #dbd055; |
|
44 | 44 |
} |
45 | 45 |
|
46 | 46 |
h1, |
... | ... |
@@ -64,7 +64,7 @@ h2 { |
64 | 64 |
} |
65 | 65 |
.meny ul li { |
66 | 66 |
display: inline-block; |
67 |
- width: 200px; |
|
67 |
+ width: 350px; |
|
68 | 68 |
list-style: none; |
69 | 69 |
font-size: 20px; |
70 | 70 |
padding: 3px 10px; |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,167 @@ |
1 |
+/** |
|
2 |
+ * The CSS in this file is for styling the demo page, |
|
3 |
+ * Meny's critical styles (such as transforms) are applied |
|
4 |
+ * via JavaScript. |
|
5 |
+ * |
|
6 |
+ * See the documentation here: https://github.com/hakimel/meny#meny |
|
7 |
+ * |
|
8 |
+ * @author Hakim El Hattab | http://hakim.se |
|
9 |
+ */ |
|
10 |
+ |
|
11 |
+* { |
|
12 |
+ margin: 0; |
|
13 |
+ padding: 0; |
|
14 |
+} |
|
15 |
+ |
|
16 |
+html, |
|
17 |
+body { |
|
18 |
+ height: 100%; |
|
19 |
+ overflow: hidden; |
|
20 |
+} |
|
21 |
+ |
|
22 |
+body { |
|
23 |
+ background-color: #222; |
|
24 |
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAGklEQVQIW2NkYGD4D8SMQAwGcAY2AbBKDBUAVuYCBQPd34sAAAAASUVORK5CYII=); |
|
25 |
+ background-repeat: repeat; |
|
26 |
+ |
|
27 |
+ font-family: 'Lato', Helvetica, sans-serif; |
|
28 |
+ font-size: 16px; |
|
29 |
+ color: #222; |
|
30 |
+} |
|
31 |
+ |
|
32 |
+a { |
|
33 |
+ color: #c2575b; |
|
34 |
+ text-decoration: none; |
|
35 |
+ |
|
36 |
+ -webkit-transition: 0.15s color ease; |
|
37 |
+ -moz-transition: 0.15s color ease; |
|
38 |
+ -ms-transition: 0.15s color ease; |
|
39 |
+ -o-transition: 0.15s color ease; |
|
40 |
+ transition: 0.15s color ease; |
|
41 |
+} |
|
42 |
+ a:hover { |
|
43 |
+ color: #f76f76; |
|
44 |
+ } |
|
45 |
+ |
|
46 |
+h1, |
|
47 |
+h2 { |
|
48 |
+ font-size: 24px; |
|
49 |
+} |
|
50 |
+ |
|
51 |
+.meny { |
|
52 |
+ display: none; |
|
53 |
+ padding: 20px; |
|
54 |
+ overflow: auto; |
|
55 |
+ background: #333; |
|
56 |
+ color: #eee; |
|
57 |
+ |
|
58 |
+ -webkit-box-sizing: border-box; |
|
59 |
+ -moz-box-sizing: border-box; |
|
60 |
+ box-sizing: border-box; |
|
61 |
+} |
|
62 |
+ .meny ul { |
|
63 |
+ margin-top: 10px; |
|
64 |
+ } |
|
65 |
+ .meny ul li { |
|
66 |
+ display: inline-block; |
|
67 |
+ width: 200px; |
|
68 |
+ list-style: none; |
|
69 |
+ font-size: 20px; |
|
70 |
+ padding: 3px 10px; |
|
71 |
+ } |
|
72 |
+ .meny ul li:before { |
|
73 |
+ content: '-'; |
|
74 |
+ margin-right: 5px; |
|
75 |
+ color: rgba( 255, 255, 255, 0.2 ); |
|
76 |
+ } |
|
77 |
+ |
|
78 |
+/** |
|
79 |
+ * Hint graphic that appears while menu is inactive |
|
80 |
+ */ |
|
81 |
+.meny-arrow { |
|
82 |
+ position: absolute; |
|
83 |
+ z-index: 10; |
|
84 |
+ |
|
85 |
+ border: 10px solid transparent; |
|
86 |
+ |
|
87 |
+ -webkit-transition: opacity 0.4s ease 0.4s; |
|
88 |
+ -moz-transition: opacity 0.4s ease 0.4s; |
|
89 |
+ -ms-transition: opacity 0.4s ease 0.4s; |
|
90 |
+ -o-transition: opacity 0.4s ease 0.4s; |
|
91 |
+ transition: opacity 0.4s ease 0.4s; |
|
92 |
+} |
|
93 |
+ .meny-left .meny-arrow { |
|
94 |
+ left: 14px; |
|
95 |
+ top: 50%; |
|
96 |
+ margin-top: -16px; |
|
97 |
+ border-left: 16px solid #333; |
|
98 |
+ } |
|
99 |
+ .meny-right .meny-arrow { |
|
100 |
+ right: 14px; |
|
101 |
+ top: 50%; |
|
102 |
+ margin-top: -16px; |
|
103 |
+ border-right: 16px solid #333; |
|
104 |
+ } |
|
105 |
+ .meny-top .meny-arrow { |
|
106 |
+ left: 50%; |
|
107 |
+ top: 14px; |
|
108 |
+ margin-left: -16px; |
|
109 |
+ border-top: 16px solid #333; |
|
110 |
+ } |
|
111 |
+ .meny-bottom .meny-arrow { |
|
112 |
+ left: 50%; |
|
113 |
+ bottom: 14px; |
|
114 |
+ margin-left: -16px; |
|
115 |
+ border-bottom: 16px solid #333; |
|
116 |
+ } |
|
117 |
+ .meny-active .meny-arrow { |
|
118 |
+ opacity: 0; |
|
119 |
+ |
|
120 |
+ -webkit-transition: opacity 0.2s ease; |
|
121 |
+ -moz-transition: opacity 0.2s ease; |
|
122 |
+ -ms-transition: opacity 0.2s ease; |
|
123 |
+ -o-transition: opacity 0.2s ease; |
|
124 |
+ transition: opacity 0.2s ease; |
|
125 |
+ } |
|
126 |
+ |
|
127 |
+/** |
|
128 |
+ * Main contents area |
|
129 |
+ */ |
|
130 |
+.contents { |
|
131 |
+ background: #eee; |
|
132 |
+ padding: 20px 40px; |
|
133 |
+ width: 100%; |
|
134 |
+ height: 100%; |
|
135 |
+ overflow-y: auto; |
|
136 |
+ |
|
137 |
+ -webkit-overflow-scrolling: touch; |
|
138 |
+ -webkit-transform-style: preserve-3d; |
|
139 |
+ |
|
140 |
+ -webkit-box-sizing: border-box; |
|
141 |
+ -moz-box-sizing: border-box; |
|
142 |
+ box-sizing: border-box; |
|
143 |
+} |
|
144 |
+ .contents>article { |
|
145 |
+ max-width: 400px; |
|
146 |
+ } |
|
147 |
+ .contents p { |
|
148 |
+ margin: 10px 0 10px 0; |
|
149 |
+ font-size: 16px; |
|
150 |
+ line-height: 1.32; |
|
151 |
+ } |
|
152 |
+ .contents small { |
|
153 |
+ display: block; |
|
154 |
+ margin-top: 10px; |
|
155 |
+ padding-top: 10px; |
|
156 |
+ color: #333; |
|
157 |
+ font-size: 0.85em; |
|
158 |
+ border-top: 1px dashed #ccc; |
|
159 |
+ |
|
160 |
+ -webkit-text-size-adjust: none; |
|
161 |
+ } |
|
162 |
+ .contents .sharing { |
|
163 |
+ position: absolute; |
|
164 |
+ bottom: 20px; |
|
165 |
+ } |
|
166 |
+ |
|
167 |
+ |