This commit is contained in:
Rico Sta. Cruz 2017-08-24 12:33:24 +08:00
parent 1d60548f99
commit cad133190f
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
3 changed files with 27 additions and 3 deletions

View File

@ -10,7 +10,7 @@
<script src="https://unpkg.com/prismjs@1.6.0"></script>
<script src="https://unpkg.com/prismjs@1.6.0/components/prism-jsx.min.js"></script>
<script src="https://unpkg.com/prismjs@1.6.0/components/prism-bash.min.js"></script>
<link rel='stylesheet' href='https://unpkg.com/prismjs@1.6.0/themes/prism-solarizedlight.css' />
<link rel='stylesheet' href='https://unpkg.com/prismjs@1.6.0/themes/prism.css' />
<!-- 2017 layout -->
<link href='{{base}}/assets/2017/style.css?t={{ timestamp }}' rel='stylesheet' />

View File

@ -7,8 +7,6 @@
margin: 0;
padding: 16px;
font-size: 12px;
overflow: auto;
background: white;
}
& {

View File

@ -55,3 +55,29 @@
width: 100%;
}
}
.MarkdownBody code {
color: $gray-text;
font-size: 0.86em;
}
/*
* Undo prism theme crap
*/
.MarkdownBody pre {
box-shadow: none;
border-left: 0;
overflow: hidden;
overflow-x: auto;
background: white;
}
.MarkdownBody pre > code {
color: $text-color;
max-height: auto;
padding: 0;
background: transparent;
overflow: visible;
font-size: 1em;
}