various font and colour fixes

This commit is contained in:
Jacky Zhao 2021-12-26 00:09:15 -05:00
parent 43837f9e2e
commit 6fbfa7170b
3 changed files with 11 additions and 7 deletions

View File

@ -119,14 +119,18 @@ article a {
// internal link // internal link
&[href^="./"], &[href^="/"] { &[href^="./"], &[href^="/"] {
text-decoration: none; text-decoration: none;
background-color: #afbfc933; background-color: transparentize(#8f9fa9, 0.85);
padding: 0 0.2em; padding: 0 0.1em;
margin-right: -0.2em; margin: auto -0.1em;
font-weight: 600;
border-radius: 3px; border-radius: 3px;
} }
} }
.backlinks a {
font-weight: 600;
font-size: 0.9rem;
}
sup > a { sup > a {
text-decoration: none; text-decoration: none;
padding: 0 0.1em 0 0.2em; padding: 0 0.1em 0 0.2em;
@ -134,8 +138,8 @@ sup > a {
a { a {
font-family: Inter, sans-serif; font-family: Inter, sans-serif;
font-weight: 700;
font-size: 1em; font-size: 1em;
font-weight: 700;
text-decoration: none; text-decoration: none;
transition: all 0.2s ease; transition: all 0.2s ease;
color: var(--secondary); color: var(--secondary);

View File

@ -14,7 +14,7 @@
[saved-theme="dark"] { [saved-theme="dark"] {
--light: #1e1e21 !important; --light: #1e1e21 !important;
--dark: #fbfffe !important; --dark: #fbfffe !important;
--secondary: #5b778a !important; --secondary: #6b879a !important;
--visited: #4a575e !important; --visited: #4a575e !important;
--tertiary: #84a59d !important; --tertiary: #84a59d !important;
--primary: #f58382 !important; --primary: #f58382 !important;

View File

@ -7,7 +7,7 @@
<link rel="shortcut icon" type="image/png" href="/icon.png" /> <link rel="shortcut icon" type="image/png" href="/icon.png" />
<!-- CSS Stylesheets and Fonts --> <!-- CSS Stylesheets and Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Source+Sans+Pro:wght@400;700&family=Fira+Code:wght@400;700&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Source+Sans+Pro:wght@400;600;700&family=Fira+Code:wght@400;700&display=swap" rel="stylesheet">
{{ $css := slice "custom.scss" "base.scss" "darkmode.scss" "syntax.scss"}} {{ $css := slice "custom.scss" "base.scss" "darkmode.scss" "syntax.scss"}}
{{range $css}} {{range $css}}
{{$sass := resources.Get . | resources.ToCSS }} {{$sass := resources.Get . | resources.ToCSS }}