Merge pull request #12 from Crissov/patch-1

display source and rendition side-by-side in large viewports
pull/17/head
Alexandre Mutel 6 years ago committed by GitHub
commit 93db8ad809
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -151,3 +151,22 @@ code .result-lang
.title { font-size: 7.0rem; } .title { font-size: 7.0rem; }
.logo { width: 64px; } .logo { width: 64px; }
} }
/* show source and rendition side-by-side */
@media (min-width: 1000px) {
pre.language-html.line-numbers,
div.preview.markdown-body {
margin: 0.5em 4% 1em 0; /* 4% like .columns */
width: 48%; /* like .six.columns */
float: left; /* like .columns */ box-sizing: border-box; /* like .columns */
}
pre.language-html.line-numbers {
max-width: 80ch; /* improve legibility */
}
div.preview.markdown-body {
margin-left: 0; /* like .colums:first-child */
}
.markdown-body::before, .markdown-body::after {
display: none;
}
}

Loading…
Cancel
Save