@charset 'UTF-8'; .markdown__heading { font-weight: 700; line-height: 1.5; } .markdown__paragraph-inline { display: inline; + .markdown__paragraph-inline { margin-left: 4px; } } #post-list { .markdown-inline-img { -moz-force-broken-image-icon: 1; height: 500px; max-height: 500px; } } .post-code { overflow-x: auto; overflow-y: hidden; position: relative; code { border: 1px solid rgba(221,221,221,1); border-radius: .25em; font-size: 13px; margin: 5px 0; padding: 6.5px; text-align: left; white-space: pre; } td { padding: 0 .5em; vertical-align: top; } &:hover .post-code__language { @include opacity(1); } &--wrap code { white-space: pre-wrap; } .hljs { position: relative; } } .post-code__language { @include opacity(0); @include transition(opacity, .6s); background: #21586d; border-radius: 0 0 0 2px; color: $white; padding: 4px 10px 5px; position: absolute; right: 0; top: 0; z-index: 5; } .post-code__lineno { border-right: 1px solid #aaa; color: #aaa; margin-right: .5em; text-align: right; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none; } .post-code__search-highlighting { color: transparent; right: 6.5px; left: 6.5px; pointer-events: none; position: absolute; @include user-select(none); } .post__body { hr { @include opacity(.2); background-color: #e7e7e7; border: 0 none; height: 4px; margin: 15px 0 16px; padding: 0; } .codespan__pre-wrap { code { white-space: pre-wrap; } } } .markdown__table { background: $white; margin: 5px 0 10px; th, td { border: 1px solid #ddd; padding: 6px 13px; } tbody tr { background: $white; &:nth-child(2n) { background-color: #f8f8f8; } } } blockquote { border: none; font-size: 16px; margin-bottom: 0; padding: 10px 10px 10px 38px; position: relative; &:before { @include opacity(.6); content: '\f10d'; display: inline-block; font-family: FontAwesome; font-size: 20px; font-style: normal; font-weight: normal; left: 8px; position: absolute; text-decoration: inherit; top: 5px; } } pre { color: inherit; margin: 5px 0; padding: 0; } code { background: $white; color: inherit; } .help { code { background: rgba(51,51,51,0.1); } .hljs { display: block; overflow-x: auto; padding: 0.5em; color: #333; background: #f8f8f8; } .container { margin-bottom: 40px; } .links { margin-top: 30px; font-size: 1.2em; } }