Skip to content

Commit 9dce73f

Browse files
authored
Merge pull request #4 from CodeHimBlog/CodeHimBlog-patch-2-2
Update demo-only.css
2 parents 4891aa2 + 47b0e28 commit 9dce73f

File tree

1 file changed

+57
-42
lines changed

1 file changed

+57
-42
lines changed

docs/demo-only.css

Lines changed: 57 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
/* Project: Night Mode
2-
* Author: Asif Mughal
1+
/* Author: Asif Mughal
32
* URL: www.codehim.com
43
* License: MIT License
5-
* Copyright (c) 2018 - Asif Mughal
4+
* Copyright (c) 2019 - Asif Mughal
65
*/
76
/* 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');
89
*{ 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-
}
1210
body{
13-
font-family: 'Helvetica Neue';
11+
font-family: 'Montserrat', sans-serif;
1412
font-style: normal;
1513
font-weight: 300;
1614
font-smoothing: antialiased;
@@ -57,12 +55,12 @@ a.btn:hover{
5755
}
5856
.github:before,
5957
.down:before{
60-
font-family: 'Material-Design-Iconic-Font';
58+
font-family: FontAwesome;
6159
font-weight: normal;
6260
margin-right: 10px;
6361
}
64-
.github:before{content: '\f345';}
65-
.down:before{content: '\f220';}
62+
.github:before{content: "\f09b"}
63+
.down:before{content: "\f019"}
6664
.credit{
6765
background: #fff;
6866
padding: 12px;
@@ -73,9 +71,9 @@ a.btn:hover{
7371

7472
}
7573
.credit span:before{
76-
font-family: Material-Design-Iconic-Font;
74+
font-family: FontAwesome;
7775
color: #e41b17;
78-
content: "\f13b";
76+
content: "\f004";
7977

8078

8179
}
@@ -87,8 +85,8 @@ a.btn:hover{
8785
color: #e41b17;
8886
}
8987
.credit a:hover:after{
90-
font-family: Material-Design-Iconic-Font;
91-
content: "\f18e";
88+
font-family: FontAwesome;
89+
content: "\f08e";
9290
font-size: 9pt;
9391
position: absolute;
9492
margin: 3px;
@@ -130,13 +128,55 @@ article p{
130128

131129
}
132130

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+
}
133173

134174

135175
/* Syntax Highlighter*/
136176

137177
pre.prettyprint {
138-
margin: 10px;
139178
padding: 10px;
179+
margin: 10px;
140180
border: 0;
141181
background: #f2f2f2;
142182
overflow: auto;
@@ -187,34 +227,9 @@ pre.prettyprint {
187227
position: relative;
188228
text-align: center;
189229
}
190-
.ok{
191-
background: #347C2C;
192-
color: #fff;
193-
padding: 10px;
194-
cursor: pointer;
195-
display: none;
196-
197-
}
198-
article {
199-
margin: 20px;
200230

201-
}
202-
h1, h2, h3, h4 {
203-
margin: 10px 0;
204-
205-
}
206231
code{
207232
border:1px solid #ddd;
208-
padding: 1px;
209-
border-radius: 1px;
233+
padding: 2px;
234+
border-radius: 2px;
210235
}
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

Comments
 (0)