1
0
Fork 0

chore(css-theme): Style tweaks

This commit is contained in:
Joost De Cock 2020-01-03 11:59:09 +01:00
parent 3f41fbdaaf
commit 10278c892c
3 changed files with 7 additions and 8 deletions

View file

@ -12,13 +12,6 @@ button.fab {
button.fab.primary {
right: 1rem;
}
button.fab.secondary {
right: calc(1rem + 69px);
background: $fc-link-light!important;
}
.theme-wrapper.dark button.fab {
background: $fc-text-dark!important;
}
.theme-wrapper.dark button.fab.secondary {
background: $fc-link-dark!important;
}

View file

@ -1,7 +1,7 @@
blockquote {
width: calc(100% - 3rem);
border-radius: 4px;
margin: 2rem 0;
margin: 2rem auto;
padding: 1.5rem;
background: $oc-gray-1;
border: 1px solid $oc-gray-2;

View file

@ -22,6 +22,7 @@ div.gatsby-highlight pre {
padding: 1.5rem 1rem;
}
pre.language-yaml:before,
pre.language-js:before,
pre.language-jsx:before,
pre.language-mdx:before,
@ -40,6 +41,10 @@ pre.language-bash:before {
font-weight: bold;
text-shadow: none;
}
pre.language-yaml:before {
content: "yaml";
background: rgba(255, 255, 0, 0.9);
}
pre.language-js:before {
content: "js";
background: rgba(255, 255, 0, 0.9);
@ -82,6 +87,7 @@ pre[class*="language-"] {
border-radius: 0;
word-break: break-word;
}
pre.language-yaml:before,
pre.language-js:before,
pre.language-jsx:before,
pre.language-mdx:before,