Add default css
This commit is contained in:
parent
16115be468
commit
9b8db9e377
71
assets/css/styles.css
Normal file
71
assets/css/styles.css
Normal file
@ -0,0 +1,71 @@
|
||||
body {
|
||||
font-family: system-ui;
|
||||
margin: 2% 10%;
|
||||
}
|
||||
|
||||
pre, code {
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4 {
|
||||
padding-left: 1rem;
|
||||
}
|
||||
h1, h2 {
|
||||
border-bottom: lightgray 1px solid;
|
||||
padding-bottom: 0.25rem;
|
||||
}
|
||||
h1 {
|
||||
font-size: 1.8rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
h2 {
|
||||
font-size: 1.4rem;
|
||||
font-weight: 400;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
h3 {
|
||||
font-size: 1.2rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
figure {
|
||||
background-color: black;
|
||||
border: 1px solid lightgray;
|
||||
border-radius: 0.2rem;
|
||||
margin: 0;
|
||||
}
|
||||
pre {
|
||||
font-size: 0.85rem;
|
||||
line-height: 1.3rem;
|
||||
margin: 0;
|
||||
padding: 0.5rem;
|
||||
}
|
||||
pre > code {
|
||||
background-color: black;
|
||||
color: #ffc61e;
|
||||
}
|
||||
pre > code.language-bash {
|
||||
background-color: black;
|
||||
color: #00d700;
|
||||
}
|
||||
code {
|
||||
background-color: #9f54aa;
|
||||
border-radius: 0.2rem;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
padding: 0.15rem 0.4rem;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #3c93c2;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 0.25rem;
|
||||
}
|
||||
|
||||
em {
|
||||
color: #505050;
|
||||
font-size: 0.9rem;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user