fix: small styling fixes and prism.js fixes
This commit is contained in:
parent
d874542ce0
commit
442df35368
2 changed files with 27 additions and 21 deletions
|
@ -50,6 +50,7 @@ html {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
font-family: "Fira Sans", sans-serif;
|
font-family: "Fira Sans", sans-serif;
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
|
line-height: 1.3;
|
||||||
color: #222;
|
color: #222;
|
||||||
-moz-hyphens: auto;
|
-moz-hyphens: auto;
|
||||||
-webkit-hyphens: auto;
|
-webkit-hyphens: auto;
|
||||||
|
@ -119,7 +120,7 @@ blockquote:last-child {
|
||||||
pre {
|
pre {
|
||||||
margin: 0 -2.6% 2rem;
|
margin: 0 -2.6% 2rem;
|
||||||
max-width: 105.2%;
|
max-width: 105.2%;
|
||||||
padding: 5%;
|
padding: 2.5%;
|
||||||
background-color: #f5f5f5;
|
background-color: #f5f5f5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -166,6 +167,7 @@ code {
|
||||||
h1 {
|
h1 {
|
||||||
font-family: "Montserrat", serif;
|
font-family: "Montserrat", serif;
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
|
font-weight: 400;
|
||||||
border: none !important;
|
border: none !important;
|
||||||
margin-bottom: .5rem;
|
margin-bottom: .5rem;
|
||||||
}
|
}
|
||||||
|
@ -173,18 +175,21 @@ h1 {
|
||||||
h2 {
|
h2 {
|
||||||
font-family: "Montserrat", serif;
|
font-family: "Montserrat", serif;
|
||||||
font-size: 1.6em;
|
font-size: 1.6em;
|
||||||
|
font-weight: 400;
|
||||||
margin-bottom: .5rem;
|
margin-bottom: .5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
font-family: "Montserrat", serif;
|
font-family: "Montserrat", serif;
|
||||||
font-size: 1.3em;
|
font-size: 1.3em;
|
||||||
|
font-weight: 400;
|
||||||
margin-bottom: .5rem;
|
margin-bottom: .5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
font-family: "Montserrat", serif;
|
font-family: "Montserrat", serif;
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
|
font-weight: 400;
|
||||||
color: #888;
|
color: #888;
|
||||||
margin-bottom: .5rem;
|
margin-bottom: .5rem;
|
||||||
}
|
}
|
||||||
|
@ -194,6 +199,7 @@ h5 {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
color: #888;
|
color: #888;
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
|
font-weight: 400;
|
||||||
margin-bottom: .5rem;
|
margin-bottom: .5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
</footer>
|
</footer>
|
||||||
<?php echo js('assets/js/prism.js')?>
|
<?php echo js('assets/js/prism.js')?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
Prism.plugins.autoloader.languages_path='assets/js/components/';
|
Prism.plugins.autoloader.languages_path='<?php echo kirby()->urls()->index() ?>/assets/js/components/';
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in a new issue