// 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; } } } #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-form { 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%; } } } } }