Merge remote-tracking branch 'upstream/main'

This commit is contained in:
CDN18 2024-04-07 10:28:49 +08:00
commit cf323291b7
Signed by: CDN
GPG key ID: 0C656827F9F80080
16 changed files with 172 additions and 31 deletions

View file

@ -44,6 +44,16 @@ main p a:hover {
text-decoration: underline;
}
main .search > input {
width: 100%;
padding: .5em;
font-size: large;
border: 2px solid var(--grid);
border-radius: 2px;
background-color: transparent;
outline: none;
}
@keyframes showup {
from {
opacity: 0;

View file

@ -108,3 +108,11 @@ $heading: (h1, 2.25, 800), (h2, 2, 700), (h3, 1.75, 600), (h4, 1.5, 600),
.md p sup {
margin-left: 4px;
}
.md a {
color: var(--prime);
}
.md a:hover {
text-decoration: underline;
}

View file

@ -37,6 +37,9 @@
padding-left: .9em;
padding-right: 1em;
text-align: right;
user-select: none;
-moz-user-select: none;
-webkit-user-select: none;
}
.chroma .hl .lnt {
@ -141,4 +144,4 @@
.chroma .hl {
display: block;
background-color: var(--code-highlighted-line);
}
}

View file

@ -46,6 +46,7 @@
--prime: #3170a7;
--back: #e6dece;
--text: #434343;
--grid: #555;
--code-back: #dbd3c1be;
--code-text: #24292f;
@ -58,6 +59,7 @@
--prime: #3170a7;
--back: #ccc;
--text: #434343;
--grid: #555;
--code-back: #c1c1c1be;
--code-text: #24292f;