/* Post styles */ /* ----------------------------------------------------------*/ .post-header { margin: 10px 0 30px; } .post-header h1 { font-size: 2em; line-height: 1.4; font-weight: 600; } @media screen and (max-width: 600px) { .post-header h1 { font-size: 1.5em; } } .post-header .meta { font-size: 15px; color: #818181; margin-top: 5px; } .post-header .pause { padding: 0 5px; } .post-header .label { color: #777; background: #FFF5DE; padding: 1px 5px; margin: 0 0 0 4px; border-radius: 2px; border: 1px solid #aaa; cursor: pointer; font-size: 0.8em; text-decoration: none; display: inline-block; } .post-content { margin: 0 0 30px; } .post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 { font-weight: 600; margin-bottom:0.4em; line-height:1.5; } .post-content h1{ font-size: 1.8em; margin: 2em 0 0; } .post-content h2{ font-size: 1.6em; border-bottom: 1px solid #ccc; margin: 1.6em 0 0; } .post-content h3{ font-size: 1.4em; } .post-content h4, .post-content h5, .post-content h6{ font-size: 1.2em; } .post-content blockquote { border-left: 10px solid #D6DBDF; padding: 10px 15px; font-size: 1em; margin: 1.8em 0; background: none repeat scroll 0 0 rgba(102,128,153,.05); } .post-content blockquote p { text-indent: 0; } .post-content ul, .post-content ol { padding-left: 20px; margin-left: 1.35em; } .post-content p { text-indent: 2em; } .post-content img { /* img generated by jekyll will wrapped in a

element */ margin: 0.5em 2em 0.5em 0; max-width: 90%; max-width: calc(100% - 4em); } @media screen and (max-width: 600px) { .post-content img { max-width: 100%; margin: 0.5em 0 0.5em -2em; } } .post-content table { margin: 0.7em 0; } .post-content table, .post-content td, .post-content th{ border:1px solid #ddd; padding:0.5em 1em; color:#666; } @media screen and (max-width: 600px) { .post-content table { overflow-x: auto; display: block; border: 0; } } .post-content th{ background:#f1f1f1; } .post-content .formula { text-align: center; } /* Syntax highlighting styles */ /* ----------------------------------------------------------*/ .post-content .highlight { -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; max-width: 90%; max-width: calc(100% - 4em); margin: 0.8em 2em; border: 1px solid #ccc; } @media screen and (max-width: 600px) { .post-content .highlight { max-width: 100%; margin: 0.8em 0; } } .post-content .highlight pre { overflow: auto; font-size: 12px; margin: 0; padding: 8px 12px; } .post-content .highlight code { padding: 0; } .post-content code { padding: 0 0.25em; color: #c7254e; border: none; } /* terminal */ .post-content pre.terminal { background-color: #333; color: #FFF; } .post-content pre.terminal code { background-color: #333; }