change prism highlighting

This commit is contained in:
Philipp Kühn
2020-04-17 23:35:07 +02:00
parent 7a17adcc84
commit 71e1e20e01
7 changed files with 228 additions and 15 deletions

View File

@@ -14,17 +14,17 @@
}
&__source {
background-color: $colorLightGrey;
background-color: $colorBlack;
}
&__tabs {
padding: 0 1.5rem;
border-bottom: 1px solid rgba($colorBlack, 0.05);
border-bottom: 2px solid rgba($colorWhite, 0.1);
}
&__tab {
position: relative;
color: rgba($colorBlack, 0.5);
color: rgba($colorWhite, 0.5);
font: inherit;
font-weight: 500;
padding: 0.75rem 0;
@@ -34,16 +34,16 @@
margin-right: 1rem;
&.is-active {
color: $colorBlack;
color: $colorWhite;
&::after {
content: '';
position: absolute;
bottom: -1px;
bottom: -2px;
left: 0;
width: 100%;
height: 2px;
background-color: $colorBlack;
background-color: $colorWhite;
}
}
}
@@ -54,11 +54,5 @@
code, pre {
padding: 0;
}
[class*="language-"] {
background: none;
border: none;
box-shadow: none;
}
}
}