add stylesheet grooming

This commit is contained in:
Koen Lageveen 2017-02-08 23:30:59 +01:00
parent 1107c27c60
commit 46db0f1f69
2 changed files with 43 additions and 6 deletions

25
.csscomb.json Normal file
View File

@ -0,0 +1,25 @@
{
"remove-empty-rulesets": true,
"always-semicolon": true,
"color-case": "lower",
"block-indent": "\t",
"color-shorthand": true,
"element-case": "lower",
"eof-newline": true,
"leading-zero": false,
"quotes": "double",
"sort-order-fallback": "abc",
"space-before-colon": "",
"space-after-colon": " ",
"space-before-combinator": " ",
"space-after-combinator": " ",
"space-between-declarations": "\n",
"space-before-opening-brace": " ",
"space-after-opening-brace": "\n",
"space-after-selector-delimiter": "\n",
"space-before-selector-delimiter": "",
"space-before-closing-brace": "\n",
"strip-spaces": true,
"unitless-zero": true,
"vendor-prefix-align": true
}

View File

@ -1,7 +1,7 @@
html {
height: 100%;
min-height: 100%;
background: #F5F0E6;
background: #f5f0e6;
}
body {
color: #fff;
@ -110,15 +110,27 @@ label + .nav-button {
}
.CodeMirror.no-smooth {
font-smooth: never;
-webkit-font-smoothing : none;
-webkit-font-smoothing: none;
}
.CodeMirror .cm-atom {
font-style: italic;
}
.CodeMirror .cm-atom { font-style: italic; }
.CodeMirror-gutters {
background: transparent;
}
@media (max-width: 560px) {
article, form, .CodeMirror { height: auto; min-height: 0; }
article { float: none; text-align: left; }
article,
form,
.CodeMirror {
height: auto;
min-height: 0;
}
article {
float: none;
text-align: left;
}
h1 + p,
footer { display: none; }
footer {
display: none;
}
}