diff options
Diffstat (limited to 'static/css/layout.css')
-rw-r--r-- | static/css/layout.css | 465 |
1 files changed, 465 insertions, 0 deletions
diff --git a/static/css/layout.css b/static/css/layout.css new file mode 100644 index 0000000..2498cc1 --- /dev/null +++ b/static/css/layout.css @@ -0,0 +1,465 @@ +body { + font-family: "Arial", Gadget, sans-serif; + counter-reset: heading; + margin: 0; + padding: 1em 0.5em 0.5em 0.5em; + +} + +.main { + margin: 0 auto; + max-width: 42em; +} + +img { + max-width: 42em; + display: block; + margin-left: auto; + margin-right: auto; +} + +figure { + margin: 0em; +} + +figcaption { + text-align: center; + font-size: 0.9em; + font-weight: bold; +} + +iframe { + max-width: 42em; + display: block; + margin-left: auto; + margin-right: auto; +} + +li { + margin-top: 0.5em; +} + +p { + padding-top: 0.5em; + padding-bottom: 0.5em; +} + +h1 { font-size: 2em; + font-weight: normal; +} +h2 { font-size: 1.5em; + font-weight: normal; +} +h3 { font-size: 1.17em; + font-weight: normal; +} +h4 { font-size: 1.12em; + font-weight: normal; +} +h5 { font-size: .83em; + font-weight: normal; +} +h6 { font-size: .75em; + font-weight: normal; +} + +a:hover, a:active, a:focus { + outline: 0; +} + +header { + justify-content: space-around; + flex-direction: column; +} + +/* navigation */ +nav { + text-align: center; + display: -webkit-flex; + -webkit-justify-content: space-between; + -webkit-flex-flow: column; + display: flex; + justify-content: space-between; + flex-flow: column; +} + +.nav-item { + font-size: 1.2em; + text-decoration: none; + font-weight: bold; +} + +.nav-item-title { + padding: 0.2em; +} + +.nav-item-title:hover { + text-decoration: underline; +} + +pre { + margin: 1em 0em 1em; + padding: 0.5em 0.5em 0.5em; +} + +code { + white-space: pre-wrap; /* Since CSS 2.1 */ + 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+ */ + + line-height: 1.4em; +} + +blockquote { + padding: 0.5em; + padding-left: 1em; +} + +th, td { + padding: 0.5em; +} + + +/* site title */ +.siteTitle { + font-size: 2.5em; + margin-bottom: 0.2em; +} + +.siteTitle a { + text-decoration: none; +} + +.articleheader_data { + display: -webkit-flex; + -webkit-justify-content: space-between; + -webkit-flex-flow: row wrap; + display: flex; + justify-content: space-between; + flex-flow: row wrap; +} + +.post .title { + text-align: center; +} + +.post .date { + text-align: center; +} + +.post .content h1{ + margin: 1em 0em; +} + +.post .content h2{ + margin: 1em 0em; +} + +.post .content h3{ + margin: 1em 0em; +} + +.post .content h4{ + margin: 1em 0em; +} + +.post .content h5{ + margin: 1em 0em; +} + +.post .content p{ + margin: 0em 0em; +} + +.post-footer-data { + display: -webkit-flex; + -webkit-flex-direction: column; + -webkit-align-items: flex-end; + display: flex; + flex-direction: column; + align-items: flex-end; + + margin: 1em; +} + +.post-footer-data .date { + font-weight: bold; + font-size: 0.9em; +} + +.post-footer-data .tags { + font-weight: bold; + font-size: 0.9em; +} + +.content-item .tags { + margin-bottom: 0.2em; + font-size: 0.7em; +} + +.content-item .date { + font-size: 0.7em; + font-weight: bold; + white-space: nowrap; +} + +.post-footer-menu { + display: -webkit-flex; + -webkit-justify-content: space-between; + display: flex; + justify-content: space-between; + + font-size: 0.8em; + margin: 0.5em 4em; +} + +.post-prev a { + text-decoration: none; + font-weight: bold; +} + +.post-next a { + text-decoration: none; + font-weight: bold; +} + +.post-home a { + text-decoration: none; + font-weight: bold; +} + +.copyright { + font-size: smaller; + text-align: center; + margin-top: 1em; +} + +.poweredby { + font-size: smaller; + text-align: center; +} + +.poweredby a { + text-decoration: none; + text-decoration: underline; +} + +.err-404 { + margin: 3em; + text-align: center; +} + +.social-links-header { + display: -webkit-flex; + -webkit-justify-content: center; + -webkit-flex-flow: row wrap; + display: flex; + justify-content: center; + flex-flow: row wrap; +} + +.social-links-header a { + text-decoration: none; +} + +.social-links-footer { + text-align: center; + display: -webkit-flex; + -webkit-justify-content: center; + -webkit-flex-flow: row wrap; + display: flex; + justify-content: center; + flex-flow: row wrap; + + margin-top: 0.5em; +} + +.social-links-footer a { + text-decoration: none; +} + +.social-link { + margin: 0.2em; + font-size: 1.2em; +} + +.social-link:hover { + text-decoration: underline; +} + +.content-list { + font-size: 1.2em; +} + +.content-item a { + text-decoration: none; +} + +.content-list-date { + font-size: 1.2em; + margin-top: 0.5em; + text-align: center; +} + +.post-list { + display: -webkit-flex; + -webkit-justify-content: center; + display: flex; + justify-content: space-between; +} + +.post-list .title { + margin-bottom: 0em; +} + +.tag { + display: inline-block; +} + +.tag a { + text-decoration: none; +} + +/* summary list on main page */ + +.post-preview { + text-decoration: none; +} + +.post-preview .title { + margin-bottom: 0.3em; +} + +.post-preview a { + text-decoration: none; +} + +.post-preview .summary { + margin-top: 0.2em; + line-height: 1.4em; +} + +.post-preview .meta { + font-size: 0.8em; + font-weight: bold; + padding-bottom: 0.3em; + padding-top: 0.3em; + text-align: left; +} + +.post-preview .tags { + font-size: 0.8em; + font-weight: bold; + text-align: left; +} + +.rmore { + text-align: right; +} + +.rmore a { + display: inline-block; + padding: 0.1em; + text-decoration: none; +} + +.rmore a:hover { + text-decoration: underline; +} + +/* terms list */ +.terms a { + font-size: 1.2em; + text-decoration: none; +} + +.terms .term { + padding: 0.5em; +} + +.page-nav { + display: -webkit-flex; + -webkit-justify-content: center; + -webkit-flex-flow: row wrap; + display: flex; + justify-content: center; + flex-flow: row wrap; + + padding: 1em; + font-weight: bold; +} + +.page-nav a { + text-decoration: none; +} + +.page-num { + text-align: center; + margin-left: 1em; + margin-right: 1em; +} + +.content-list-title { + text-align: center; + margin-bottom: 0em; +} + +.content-list-title a { + text-decoration: none; +} + +.term-list-title { + text-align: center; +} + +.term-list-title a { + text-decoration: none; +} + +.sitemap { + margin: auto; + width: 50%; +} + +@media only screen and (min-width: 400px) { + + nav { + flex-flow: row wrap; + } + + .siteTitle { + flex-grow: 2; + text-align: left; + flex-basis: 0; + } + + .nav-item-title { + font-size: 0.85em; + font-weight: bold; + } + + .social-links-header { + font-size: 0.75em; + -webkit-justify-content: left; + -webkit-flex-flow: row wrap; + justify-content: left; + flex-flow: row wrap; + } + + .social-link { + font-weight: bold; + } + + .social-links-footer { + text-align: center; + -webkit-justify-content: center; + -webkit-flex-flow: row wrap; + justify-content: center; + flex-flow: row wrap; + + font-size: 0.75em; + } +} + |