diff options
author | Zack Scholl <zack.scholl@gmail.com> | 2017-12-05 15:00:52 +0300 |
---|---|---|
committer | Zack Scholl <zack.scholl@gmail.com> | 2017-12-05 15:00:52 +0300 |
commit | ad9bdf524604c3fff0c32bccd847f9f8045dc93f (patch) | |
tree | b1d31f918ae7ec5bdef57913a5c1854f5234d5a0 | |
parent | 4b9b9f5d6faf8c1159230552c2e513a23d524db0 (diff) |
iUpdate wq
-rw-r--r-- | static/css/style.css | 112 |
1 files changed, 54 insertions, 58 deletions
diff --git a/static/css/style.css b/static/css/style.css index 8eea909..3432a17 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,82 +1,78 @@ body { - font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif; - line-height: 1.15; - - } +font-family:0 next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif; +line-height:1.15; +max-width:30em; +padding:4rem; +} h1 { -font-size: 2.25rem +font-size:2.25rem; } - aside { -letter-spacing: .05em; -text-transform: uppercase; -font-size: 0.875rem; -color: #777; +letter-spacing:.05em; +text-transform:uppercase; +font-size:.875rem; +color:#777; } - - - code { - -moz-hyphens: none; - -webkit-hyphens: none; - -o-hyphens: none; - -ms-hyphens: none; - hyphens: none; - } - +-moz-hyphens:none; +-webkit-hyphens:none; +-o-hyphens:none; +-ms-hyphens:none; +hyphens:none; +} - pre { - background: #f5f7f9; - padding: 1em; - margin-bottom:20px; - vertical-align: text-bottom; - white-space: pre-wrap; /* css-3 */ - white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ - white-space: -pre-wrap; /* Opera 4-6 */ - white-space: -o-pre-wrap; /* Opera 7 */ - word-wrap: break-word; /* Internet Explorer 5.5+ */ - } +pre { +background:#f5f7f9; +margin-bottom:20px; +vertical-align:text-bottom; +white-space:0; +word-wrap:break-word; +padding:1em; +} a { -text-decoration: none; -} -body { - max-width: 30em; - padding: 4rem; +text-decoration:none; } img { - max-width:30em; - text-align: center; +width:100%; +text-align:center; } figcaption { - color: #777; - font-style: italic; - text-align: center; +color:#777; +font-style:italic; +text-align:center; } + figure { - display: block; - -webkit-margin-before: 1em; - -webkit-margin-after: 1em; - -webkit-margin-start: 0px; - -webkit-margin-end: 0px; +display:block; +-webkit-margin-before:1em; +-webkit-margin-after:1em; +-webkit-margin-start:0; +-webkit-margin-end:0; } + ol,ul,li { - line-height: 1.3; +line-height:1.3; } + p { - max-width: 30em; - display: block; - -webkit-margin-before: 1em; - -webkit-margin-after: 1em; - -webkit-margin-start: 0px; - -webkit-margin-end: 0px; - line-height: 1.5; - } -@media and (max-width: 30em) { - body { padding: 1rem; } - } +max-width:30em; +display:block; +-webkit-margin-before:1em; +-webkit-margin-after:1em; +-webkit-margin-start:0; +-webkit-margin-end:0; +line-height:1.5; + font-size: 1.25rem; +} + +@media all and (max-width: 30em) { +body { +padding:1rem; +} +} |