improve styling

This commit is contained in:
Philipp Kühn
2021-02-03 09:17:41 +01:00
committed by Hans Pagel
parent bc4bfe3744
commit 0a9d3088b0
2 changed files with 8 additions and 12 deletions

View File

@@ -11,11 +11,10 @@
max-height: unquote("max(300px, 60vh)"); max-height: unquote("max(300px, 60vh)");
overflow: auto; overflow: auto;
scroll-behavior: smooth; scroll-behavior: smooth;
border: 1px solid rgba($colorBlack, 0.1); border: 3px solid $colorBlack;
} }
&__source { &__source {
border: 1px solid rgba($colorBlack, 0.1);
background-color: $colorBlack; background-color: $colorBlack;
} }

View File

@@ -199,10 +199,6 @@ code {
margin-bottom: 0; margin-bottom: 0;
} }
> pre {
border: 1px solid rgba($colorBlack, 0.1);
}
> p code, > p code,
> ul code, > ul code,
> ol code, > ol code,
@@ -300,9 +296,9 @@ code {
justify-content: center; justify-content: center;
height: 1.5rem; height: 1.5rem;
width: 1.5rem; width: 1.5rem;
background-color: rgba($colorBlack, 0.05); background-color: $colorBlack;
border-radius: 9999px; border-radius: 9999px;
color: $colorBlack; color: $colorWhite;
font-size: 0.75rem; font-size: 0.75rem;
font-weight: 700; font-weight: 700;
content: counter(item); content: counter(item);
@@ -340,12 +336,13 @@ code {
th { th {
white-space: nowrap; white-space: nowrap;
color: $colorBlack; color: $colorBlack;
font-size: 0.9rem;
font-weight: 700; font-weight: 700;
border-bottom: 2px solid $colorBlack; border-bottom: 3px solid $colorBlack;
} }
td { td {
border-bottom: 1px solid rgba($colorBlack, 0.1); border-bottom: 1px solid $colorBlack;
} }
tr:last-child td { tr:last-child td {
@@ -358,7 +355,7 @@ code {
} }
&:hover { &:hover {
background: rgba($colorBlack, 0.02); background: rgba($colorBlack, 0.03);
} }
} }
} }
@@ -388,7 +385,7 @@ code {
.remark-container-title { .remark-container-title {
font-size: 1.1rem; font-size: 1.1rem;
font-weight: 600; font-weight: 700;
margin-bottom: 0.25rem; margin-bottom: 0.25rem;
} }
} }