X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/8e82784fa2fe21d9c3828adbf43178a39c7cdea6..370b43bc681fec1d643887d6c3693d6e10ca27ad:/prawokultury/static/css/entry.scss diff --git a/prawokultury/static/css/entry.scss b/prawokultury/static/css/entry.scss old mode 100755 new mode 100644 index 4c54530..aae0302 --- a/prawokultury/static/css/entry.scss +++ b/prawokultury/static/css/entry.scss @@ -1,25 +1,36 @@ -.avatar { +.entry-wrapped img.avatar { float: left; - margin-left: -7.5em; - margin-top: .8em; + margin: 0 0 0 -8em; } .entry-short { - border-top: 1px solid #8b8b87; + border-bottom: 1px solid #8b8b87; + + .entry-wrapped { + padding-top: .7em; + } } .entry-wrapped { margin-left: 8em; - padding-top: .7em; + line-height: 1.8em; - h2 { + h1, h2 { margin: 0; - font-size: 1.2em; color: #01519a; + font-size: 1.4em; + + a { + color: #01519a; + } + } + + h2.section { + margin: 2em 0; } .entry-data { - font-size: 1.1em; + font-size: 1.4em; margin-top: 1.4em; margin-bottom: 1.4em; .date { @@ -37,19 +48,42 @@ } .lead { - font-size: 1.1em; + font-size: 1.4em; } .body { - font-size: 1.1em; + font-size: 1.4em; + } + + .lead h2, + .body h2 { + font-size: 1em; + font-weight: normal; + } + + blockquote { + position:relative; + left:1em; + font-style:italic; + margin-left: 1em; + } + + .toolbar { + font-size: 1.3em; + margin-top: 1.4em; + margin-bottom: 1.8em; + + .social a { + margin-right: .6em; + img { + vertical-align: middle; + } + } } .more { float: right; - font-size: 1.1em; font-style: italic; - margin-top: .6em; - margin-bottom: 1.8em; a { color: #acacac; @@ -66,26 +100,80 @@ margin-left: .7em; } } + + img { + margin: 1em; + } } +.entry-info .entry-wrapped, +.entry-publications .entry-wrapped { + margin-left: 0; + h1 { + font-size: 2em; + } -.entry-picture { + img.entry-picture { + margin-top: 1.5em; + } +} + +.entry-wrapped img.entry-picture { float: left; - margin-right: 1.5em; + margin: 0 1.5em 1em 0; +} + +.entry-wrapped .lead ul { + overflow: hidden; + padding-left: 16px; } .submit-link { margin-top: 1em; - margin-bottom: 1em; + padding-bottom: 1em; height: 1.7em; + border-bottom: 1px solid #8b8b87; a { color: black; - font-size: 1.1em; + font-size: 1.3em; } a:before { content: url("/static/img/plus.png"); vertical-align: top; margin-right: 1em; } -} \ No newline at end of file +} + + +.comments { + margin-left: 8em; + + .comment-form { + border-top: 1px solid #494948; + } + + .comment-data { + font-size: 1.3em; + margin-top: 1.4em; + margin-bottom: 1.4em; + .comment-date { + color: #acacac; + } + .comment-author { + font-weight: bold; + } + } + + .body { + font-size: 1.3em; + } +} + +table.borders { + border-collapse: collapse; + td { + border: 1px solid #777; + padding: .3em; + } +}