Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fd47674

Browse files
authored
Merge pull request #168 from Rotzbua/chore_cleanup_css
chore: cleanup css
2 parents f92d17d + be30243 commit fd47674

File tree

1 file changed

+6
-41
lines changed

1 file changed

+6
-41
lines changed

assets/css/style.css

Lines changed: 6 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ blockquote, q {quotes: none;}
3333
blockquote:before,
3434
blockquote:after,
3535
q:before,
36-
q:after {content: ''; content: none;}
36+
q:after {
37+
content: none;
38+
}
3739

3840
a {margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent; text-decoration:none;}
3941
a:hover {text-decoration:underline;}
@@ -59,20 +61,15 @@ pre {
5961
line-height: 20px;
6062
word-break: break-all;
6163
word-wrap: break-word;
62-
white-space: pre;
63-
white-space: pre-wrap;
64-
white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
64+
white-space: pre-line;
6565
background-color: light-dark(#f5f5f5, #151515);
6666
border: 1px solid light-dark(#ccc, #222);
6767
border: 1px solid rgba(0, 0, 0, 0.15);
68-
-webkit-border-radius: 4px;
69-
-moz-border-radius: 4px;
7068
border-radius: 4px;
7169
}
7270

7371
input[type="radio"] {vertical-align: text-bottom;}
7472
input[type="checkbox"] {vertical-align: bottom; *vertical-align: baseline;}
75-
.ie6 input {vertical-align: text-bottom;}
7673

7774
select, input, textarea {font: 99% sans-serif;}
7875

@@ -109,12 +106,6 @@ button, input, select, textarea {margin: 0;}
109106

110107
/* make buttons play nice in IE */
111108
button {width: auto; overflow: visible;}
112-
113-
/* scale images in IE7 more attractively */
114-
.ie7 img {-ms-interpolation-mode: bicubic;}
115-
116-
/* prevent BG image flicker upon hover */
117-
.ie6 html {filter: expression(document.execCommand("BackgroundImageCache", false, true));}
118109

119110
/* let's clear some floats */
120111
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
@@ -139,8 +130,6 @@ body {
139130
#page-wrap {width:1000px; margin:0px auto; border:1px solid light-dark(#fff, #111); padding:20px;}
140131

141132
header {background:light-dark(#fff, #171717); padding:10px 20px 12px 20px; position:relative;
142-
-moz-box-shadow: 1px 1px 12px 2px light-dark(#aaa, #222);
143-
-webkit-box-shadow: 1px 1px 12px 2px light-dark(#aaa, #222);
144133
box-shadow: 1px 1px 12px 2px light-dark(#aaa, #222);
145134
border-radius:12px 12px 0px 0px;
146135
}
@@ -169,7 +158,7 @@ opacity:0.8;
169158
#page-content {
170159
background:light-dark(#ffffe5,#141400); /* #FFFFE5 BACKGROUND_COLOR - pale yellow/cream from colormap.cc */
171160
position:relative; padding:20px 20px 0px 20px;
172-
-moz-box-shadow: 1px 1px 12px 2px light-dark(#aaa, #222); -webkit-box-shadow: 1px 1px 12px 2px light-dark(#aaa, #222); box-shadow: 1px 1px 12px 2px light-dark(#aaa, #222);
161+
box-shadow: 1px 1px 12px 2px light-dark(#aaa, #222);
173162
border-radius:0px 0px 12px 12px;
174163
}
175164

@@ -202,8 +191,7 @@ section {margin-bottom:20px; background:light-dark(#fff, #1b1b1b); border-radius
202191
.github-ribbon {float: right; position: relative; top: -10px; right: -20px; border: 0; z-index: 0;}
203192

204193
/* Custom text-selection colors (remove any text shadows: twitter.com/miketaylr/status/12228805301) */
205-
::-moz-selection {background: #000; color: light-dark(#fff, #1b1b1b); text-shadow: none;}
206-
::selection {background: #000; color: light-dark(#fff, #1b1b1b); text-shadow: none;}
194+
::selection {background: #000; color: light-dark(#fff, #1b1b1b); text-shadow: none;}
207195

208196
/* j.mp/webkit-tap-highlight-color */
209197
a:link {-webkit-tap-highlight-color: #1b2f01;}
@@ -417,29 +405,6 @@ span.link {cursor:pointer;}
417405
span.link:hover {text-decoration:underline;}
418406
.tutorial-links .current {text-decoration:underline;}
419407

420-
421-
/* Print styles!
422-
-------------------------------------------------------------------------------*/
423-
@media print {
424-
425-
}
426-
427-
/* Media queries!
428-
-------------------------------------------------------------------------------*/
429-
430-
/* Consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
431-
@media screen and (max-device-width: 480px) {
432-
433-
}
434-
435-
@media all and (orientation: portrait) {
436-
437-
}
438-
439-
@media all and (orientation: landscape) {
440-
441-
}
442-
443408
/* Social media icons */
444409

445410
i.fab {

0 commit comments

Comments
 (0)