Merge pull request #1952 from lifehackerhansol/patch

Use some better colouring on links in notices, also fix table borders
This commit is contained in:
Lily 2022-01-11 16:13:53 -08:00 committed by GitHub
commit 2e543f0dcf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View file

@ -47,10 +47,11 @@
}
a {
color: mix(#000, $notice-color, 10%);
// guide specific linking
color: mix(#fff, $notice-color, 30%);
&:hover {
color: mix(#000, $notice-color, 50%);
color: mix(#fff, $notice-color, 70%);
}
}

View file

@ -9,6 +9,7 @@ table {
font-family: $global-font-family;
font-size: $type-size-6;
border-collapse: collapse;
border: 1px solid $light-gray; // guide-specific
overflow-x: auto;
& + table {
@ -18,18 +19,24 @@ table {
thead {
background-color: $border-color;
border-bottom: 2px solid mix(#000, $border-color, 25%);
// border-bottom: 2px solid mix(#000, $border-color, 25%);
// guide-specific
border-bottom: 1px solid $light-gray;
}
th {
padding: 0.5em;
font-weight: bold;
text-align: left;
border-right: 1px solid $light-gray; // guide-specific
}
td {
padding: 0.5em;
border-bottom: 1px solid mix(#000, $border-color, 25%);
// border-bottom: 1px solid mix(#000, $border-color, 25%);
// guide-specific
border-bottom: 1px solid $light-gray;
border-right: 1px solid $light-gray;
}
tr,