code block now have styles

This commit is contained in:
leah 2021-08-26 00:39:18 +01:00
parent b79ff0b725
commit 2de23ee713
1 changed files with 30 additions and 1 deletions

View File

@ -1,4 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');
// hello if you are reading this please remind me to clean this up
body {
@ -136,4 +137,32 @@ a, a:focus {
.infobox-important {
background: #faecc0;
}
}
pre {
width: calc(100% - 72px);
margin: 24px;
padding: 4px 12px;
background: #423c63;
border: 1px #6a6391 solid;
border-radius: 4px;
box-shadow: 2px 2px 8px 1px rgba(0,0,0,0.25);
color: #d9d5f3;
font-family: 'Jetbrains Mono', monospace;
font-size: 0.8em;
}
code {
padding: 0 4px;
background: #423c63;
border: 1px #6a6391 solid;
border-radius: 4px;
color: #d9d5f3;
font-family: 'Jetbrains Mono', monospace;
font-size: 0.8em;
}