1
- /* Project: Night Mode
2
- * Author: Asif Mughal
1
+ /* Author: Asif Mughal
3
2
* URL: www.codehim.com
4
3
* License: MIT License
5
- * Copyright (c) 2018 - Asif Mughal
4
+ * Copyright (c) 2019 - Asif Mughal
6
5
*/
7
6
/* FILE : demo-only.css */
7
+ @import url ('https://fonts.googleapis.com/css?family=Montserrat&display=swap' );
8
+ @import url ('https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css' );
8
9
* { margin : 0 ; padding : 0 ;}
9
- @font-face {
10
- src : local ('Helvetica Neue' ), local ('HelveticaNeue' ), url (http://themes.googleusercontent.com/licensed/font?kit=Lx1xfUTR4qFjwg0Z_pb900DGSpWewu0sZH-jqLz8Q00) format ('truetype' );
11
- }
12
10
body {
13
- font-family : 'Helvetica Neue' ;
11
+ font-family : 'Montserrat' , sans-serif ;
14
12
font-style : normal;
15
13
font-weight : 300 ;
16
14
font-smoothing : antialiased;
@@ -57,12 +55,12 @@ a.btn:hover{
57
55
}
58
56
.github : before ,
59
57
.down : before {
60
- font-family : 'Material-Design-Iconic-Font' ;
58
+ font-family : FontAwesome ;
61
59
font-weight : normal;
62
60
margin-right : 10px ;
63
61
}
64
- .github : before {content : '\f345' ; }
65
- .down : before {content : '\f220' ; }
62
+ .github : before {content : "\f09b" }
63
+ .down : before {content : "\f019" }
66
64
.credit {
67
65
background : # fff ;
68
66
padding : 12px ;
@@ -73,9 +71,9 @@ a.btn:hover{
73
71
74
72
}
75
73
.credit span : before {
76
- font-family : Material-Design-Iconic-Font ;
74
+ font-family : FontAwesome ;
77
75
color : # e41b17 ;
78
- content : "\f13b " ;
76
+ content : "\f004 " ;
79
77
80
78
81
79
}
@@ -87,8 +85,8 @@ a.btn:hover{
87
85
color : # e41b17 ;
88
86
}
89
87
.credit a : hover : after {
90
- font-family : Material-Design-Iconic-Font ;
91
- content : "\f18e " ;
88
+ font-family : FontAwesome ;
89
+ content : "\f08e " ;
92
90
font-size : 9pt ;
93
91
position : absolute;
94
92
margin : 3px ;
@@ -130,13 +128,55 @@ article p{
130
128
131
129
}
132
130
131
+ .set-overlayer ,
132
+ .set-glass ,
133
+ .set-sticky {
134
+ cursor : pointer;
135
+ height : 45px ;
136
+ line-height : 45px ;
137
+ padding : 0 15px ;
138
+ color : # 333 ;
139
+ font-size : 16px ;
140
+ }
141
+ .set-overlayer : after ,
142
+ .set-glass : after ,
143
+ .to-active : after ,
144
+ .set-sticky : after {
145
+ font-family : FontAwesome;
146
+ font-size : 18pt ;
147
+ position : relative;
148
+ float : right;
149
+ }
150
+ .set-overlayer : after ,
151
+ .set-glass : after ,
152
+ .set-sticky : after {
153
+ content : "\f204" ;
154
+ transition : .6s ;
155
+ }
156
+
157
+ .to-active : after {
158
+ content : "\f205" ;
159
+ color : # 008080 ;
160
+ transition : .6s ;
161
+ }
162
+ .set-overlayer ,
163
+ .set-glass ,
164
+ .set-sticky ,
165
+ .source ,
166
+ .theme-tray {
167
+ margin : 10px ;
168
+ background : # f2f2f2 ;
169
+ border-radius : 5px ;
170
+ border : 2px solid # f1f1f1 ;
171
+ box-sizing : border-box;
172
+ }
133
173
134
174
135
175
/* Syntax Highlighter*/
136
176
137
177
pre .prettyprint {
138
- margin : 10px ;
139
178
padding : 10px ;
179
+ margin : 10px ;
140
180
border : 0 ;
141
181
background : # f2f2f2 ;
142
182
overflow : auto;
@@ -187,34 +227,9 @@ pre.prettyprint {
187
227
position : relative;
188
228
text-align : center;
189
229
}
190
- .ok {
191
- background : # 347C2C ;
192
- color : # fff ;
193
- padding : 10px ;
194
- cursor : pointer;
195
- display : none;
196
-
197
- }
198
- article {
199
- margin : 20px ;
200
230
201
- }
202
- h1 , h2 , h3 , h4 {
203
- margin : 10px 0 ;
204
-
205
- }
206
231
code {
207
232
border : 1px solid # ddd ;
208
- padding : 1 px ;
209
- border-radius : 1 px ;
233
+ padding : 2 px ;
234
+ border-radius : 2 px ;
210
235
}
211
-
212
- /* Docs */
213
- article img {
214
- width : 100% ;
215
- margin : 10px ;
216
- height : auto;
217
- box-sizing : border-box;
218
-
219
- }
220
-
0 commit comments