Skip to content
Permalink
Browse files

Picture caption and tweaks

  • Loading branch information...
Depado committed Sep 3, 2019
1 parent bee2386 commit af43b14e5254ca8aaf30b48299b819fc5be6a66b
Showing with 17 additions and 7 deletions.
  1. +4 −0 assets/sass/_admonition.scss
  2. +11 −5 assets/sass/style.scss
  3. +1 −1 assets/style.min.css
  4. +1 −1 assets/style.min.css.map
@@ -49,6 +49,10 @@ $icons: (
font-size: 0.8rem;
overflow: auto;

code {
font-size: 0.75rem;
}

&-title {
margin: 0 -0.6rem;
padding: 0.4rem 0.6rem;
@@ -185,18 +185,24 @@ pre {
code {
font-family: "Roboto Mono";
background-color: rgba(0, 0, 0, 0.08);
padding: 0.2em;
padding-left: 0.3em;
padding-right: 0.3em;
padding-top: 0.3em;
font-size: 14px;
padding: 0 .3rem 0 .3rem;
border-radius: 0.3em;
font-size: 15px;

code[class*="language-"] & {
font-family: "Roboto Mono";
}
}

// Image caption
img + em {
display: flex;
align-items: center;
justify-content: center;
margin-top: -30px;
font-size: 16px;
}

.title {
margin-bottom: 0;
margin-top: 0;

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

0 comments on commit af43b14

Please sign in to comment.
You can’t perform that action at this time.