Updates to pre/code config

This ensures that code blocks look good at all screen sizes.
This commit is contained in:
Edward Loveall 2022-10-11 20:33:18 -04:00
parent eca9eb7f13
commit d7ea1174ff
No known key found for this signature in database
3 changed files with 16 additions and 14 deletions

View File

@ -1,3 +1,7 @@
2022-10-11
* Don't clip gist contents (CSS fix)
2022-09-24
* Replace Redirector extension with LibRedirect

View File

@ -7,17 +7,22 @@ p.meta {
line-height: 1;
}
.gist {
width: 55%;
pre {
background-color: rgba(127, 127, 127, 0.1);
margin-right: 1em;
padding: 1em;
padding-left: 2em;
overflow-x: scroll;
}
.gist > code {
width: 100% !important;
pre > code {
margin-left: 0;
width: 100%;
}
@media (max-width: 760px) {
.gist {
width: 100%;
pre {
margin-right: 0;
}
}
@ -38,10 +43,3 @@ figure iframe {
footer p span {
margin-right: 1em;
}
pre {
background-color: rgba(127, 127, 127, 0.1);
padding: 1em;
overflow-x: scroll;
width: 100%;
}

View File

@ -1,3 +1,3 @@
module Scribe
VERSION = "2022-09-24"
VERSION = "2022-10-11"
end