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