// Place all the styles related to the Entries controller here. // They will automatically be included in application.css. // You can use Sass (SCSS) here: http://sass-lang.com/ .blog-post { font-size: 16px; line-height: 24px; margin: 0 1em 1em; .blog-title { flex-grow: 1; h2 { margin-left: 10px; margin-top: 0; margin-bottom: 0; margin-right: 10px; color: #59770e; border-bottom: 1px dotted #CCCCCC; padding-bottom: 3px; font-family: "Trebuchet MS", sans-serif; a { text-decoration: none; color: #59770e; &:visited { color: #59770e; } &:hover { text-decoration: underline; } } } } header { display: flex; .post-calendar { width: 45px; height: 49px; &.post-date-1 { background: image-url("date-bg-1.gif") no-repeat; } &.post-date-2 { background: image-url("date-bg-2.gif") no-repeat; } &.post-date-3 { background: image-url("date-bg-3.gif") no-repeat; } &.post-date-4 { background: image-url("date-bg-4.gif") no-repeat; } .post-month { font-size: 11px; color: white; text-align: center; display: block; line-height: 11px; padding-top: 2px; margin-left: -3px; } .post-day { font-size: 18px; color: #999999; text-align: center; display: block; line-height: 18px; padding-top: 7px; margin-left: -3px; } } .post-author { background: image-url("Hatkirby.ico") no-repeat; padding-left: 20px; margin-left: 10px; float: left; font-size: 95%; font: 75%/150% sans-serif; color: #999; } .post-tag-3 { background: image-url("tag.png") no-repeat; padding-left: 20px; margin: 0 0 0 3em; float: left; font-size: 95%; color: #999999; font: 75%/150% sans-serif; display: block; li { display: inline-block; margin-right: 0.5em; a { text-decoration: none; &:hover { text-decoration: underline; } } } } } } #blog-footer { background-color: #f8f8f8; border-width: 1px 0 1px 0; border-style: solid; border-color: #DDD; color: #777; padding: .75em 1em; font-size: 0.9em; margin-bottom: 1em; time { border-bottom: 1px dotted #777; } } #stream-post { h2 { background-color: #98FB98; display: block; font-size: 20px; font-family: 'Roboto', sans-serif; padding: 0.5em 20px; border-top: 1px solid #7BCC70; border-bottom: 1px solid #7BCC70; } #stream-intro { font-size: 16px; margin: 0 20px; } .stream-update { font-size: 16px; padding: 0 20px; .update-posted { display: block; font-style: italic; background-color: #EAADEA; font-size: 16px; margin: .5em -20px; padding: .5em 20px; border-width: 1px 0 1px 0; border-style: solid; border-color: #DB70DB; } } } .entry-content { hyphens: auto; word-wrap: break-word; font-family: 'Roboto', sans-serif; a { text-decoration: none; font-weight: bold; &, &:visited { color: #ee2c2c; } &:hover { text-decoration: underline; color: #9ea1ad; } } li { & + li { margin-top: 1em; } } img { max-width: 100%; box-sizing: border-box; } figure { background-color: #eee; border: 1px solid #bbb; padding: 0.25em 0.25em 0 0.25em; font-size: 0.75em; line-height: 24px; img { display: block; border: 1px solid #bbb; } figcaption { font-style: italic; text-align: center; margin: 0.25em; } } .footnotes { font-size: small; } } #blog-archive { margin-left: 1em; h2, h3 { font-family: "Trebuchet MS", sans-serif; } } .archive-link { margin-left: 1em; a { text-decoration: none; font-weight: bold; &, &:visited { color: #ee2c2c; } &:hover { text-decoration: underline; color: #9ea1ad; } } small { margin-left: 1.5em; } } .blog-comment { margin: 0 1em; .comment-avatar { float: right; margin-top: 1em; } .comment-reply-to { float: right; margin-right: 0.5em; img { display: block; } } } #comment-form { #comment-reply-msg { display: none; margin-top: 1em; margin-bottom: 0; margin-left: 0; .comment-reply-author { font-weight: bold; } } fieldset { border: 0; &#comment-body-field { label { display: none; } textarea { margin-top: 1em; width: 99%; height: 6em; resize: none; } } &#comment-other-fields { display: table; padding: 1em; width: 75%; margin: 0 auto; .comment-field { display: table-row; .comment-field-label { text-align: right; display: table-cell; padding-right: 1em; padding-bottom: 1em; width: 50%; label:after { content: ":"; } } .field_with_errors { label { color: red; } } .comment-field-input { display: table-cell; width: 50%; } } } } } .pagination { text-align: center; padding: 0.3em; cursor: default; margin-bottom: 1em; a, span, em { padding: 0.2em 0.5em; } .disabled { color: #aaaaaa; } .current { font-style: normal; font-weight: bold; color: #ff0084; } a { border: 1px solid #dddddd; color: #0063dc; text-decoration: none; &:hover, &:focus { border-color: #003366; background: #0063dc; color: white; } } .page_info { color: #aaaaaa; padding-top: 0.8em; } .previous_page, .next_page { border-width: 2px; } .previous_page { margin-right: 1em; } .next_page { margin-left: 1em; } } #tag-cloud { width: 75%; margin: 0 auto; text-align: center; a { display: inline-block; margin-right: 0.5em; text-decoration: none; &:hover { text-decoration: underline; } &:visited { color: blue; } } .xs { font-size: 0.75em; } .m { font-size: 2em; } .l { font-size: 3em; } .xl { font-size: 3em; font-weight: bold; } } .post-vote { float: right; position: relative; right: 0.5em; a { text-decoration: none; } } .back-post, .next-post { margin-left: 1em; margin-bottom: 1em; margin-right: 1em; a, a:visited { color: #555d66; text-decoration: none; font-size: .75em; } a:hover { text-decoration: underline; } } .back-post { float: left; } .next-post { float: right; }