mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-04 09:15:58 +02:00
40 lines
718 B
SCSS
40 lines
718 B
SCSS
// TODO: refactor this into styled components
|
|
|
|
html {
|
|
font-family: 'Lato';
|
|
-ms-text-size-adjust: 100%;
|
|
-webkit-text-size-adjust: 100%;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
/**
|
|
* If you already use line highlighting
|
|
*/
|
|
|
|
/* Adjust the position of the line numbers */
|
|
.gatsby-highlight pre[class*="language-"].line-numbers {
|
|
padding-left: 2.8em;
|
|
}
|
|
|
|
/**
|
|
* If you only want to use line numbering
|
|
*/
|
|
|
|
.gatsby-highlight {
|
|
background-color: #fdf6e3;
|
|
border-radius: 0.3em;
|
|
margin: 0.5em 0;
|
|
padding: 1em;
|
|
overflow: auto;
|
|
}
|
|
|
|
.gatsby-highlight pre[class*="language-"].line-numbers {
|
|
padding: 0;
|
|
padding-left: 2.8em;
|
|
overflow: initial;
|
|
} |