@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; pre { border: 1px solid rgba(221,221,221,0.2); border-radius: .25em; margin: 0; padding: 0px; text-align: left; } code { border: none; white-space: pre; } td { padding: 0 .5em; vertical-align: top; } &:hover .post-code__language { @include opacity(1); } &--wrap code { white-space: pre-wrap; } } .post-code__language { @include opacity(0); @include translate3d(0, 0, 0); background: #21586d; border-radius: 0 .25em; color: $white; padding: 4px 10px 5px; position: absolute; right: 0; top: 0; -webkit-transition: opacity 0.6s; -moz-transition: opacity 0.6s; -o-transition: opacity 0.6s; transition: opacity 0.6s; 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__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; }