Code should now no longer widen the website on smaller screens and still be readable.
This commit is contained in:
parent
bd1e2bae3a
commit
fdb19f6dcf
1 changed files with 4 additions and 2 deletions
|
@ -47,14 +47,15 @@ a {
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
padding: 6px;
|
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
background: var(--border);
|
background: var(--border);
|
||||||
|
padding: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre.chroma {
|
pre {
|
||||||
background: var(--border);
|
background: var(--border);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
overflow: scroll;
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -113,6 +114,7 @@ footer {
|
||||||
main {
|
main {
|
||||||
margin: 20px auto;
|
margin: 20px auto;
|
||||||
max-width: 720px;
|
max-width: 720px;
|
||||||
|
overflow: hidden;
|
||||||
padding: 30px;
|
padding: 30px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
span { font-size: .8em; }
|
span { font-size: .8em; }
|
||||||
|
|
Loading…
Reference in a new issue