From 48d01810c4629341d9481632fc7f769dcffe0bd7 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Thu, 23 Dec 2021 22:40:59 +0000
Subject: [PATCH] fix config setting, fix font size for h1 in article
---
assets/base.scss | 33 +++++++++++++++++++++------------
1 files changed, 21 insertions(+), 12 deletions(-)
diff --git a/assets/base.scss b/assets/base.scss
index 9811259..c38263f 100644
--- a/assets/base.scss
+++ b/assets/base.scss
@@ -8,13 +8,19 @@
h1, h2, h3, h4, ol, ul, thead {
font-family: Inter;
- color: var(--dark)
+ color: var(--dark);
+ font-weight: revert;
+ margin: revert;
+ padding: revert;
}
p, ul, text {
font-family: 'Source Sans Pro', sans-serif;
color: var(--gray);
fill: var(--gray);
+ font-weight: revert;
+ margin: revert;
+ padding: revert;
}
a {
@@ -122,9 +128,6 @@
article a {
font-family: Source Sans Pro;
font-weight: 600;
- text-decoration: underline;
- text-decoration-color: var(--tertiary);
- text-decoration-thickness: .15em;
}
sup > a {
@@ -185,10 +188,11 @@
}
// internal link
-a[href^="/"] {
+a[href^="./"] {
text-decoration: none;
- background-color: #afbfc922;
+ background-color: #afbfc933;
padding: 0 0.2em;
+ font-weight: 600;
border-radius: 3px;
}
@@ -229,7 +233,7 @@
& #graph-container {
border: var(--outlinegray) 1px solid;
- border-radius: 5px
+ border-radius: 5px;
}
}
@@ -237,19 +241,23 @@
margin-top: 30vh;
}
+article > h1 {
+ font-size: 2em;
+}
+
header {
display: flex;
flex-direction: row;
align-items: center;
+ & > h1 {
+ font-size: 2em;
+ }
+
& > nav {
@media all and (max-width: 600px) {
display: none;
}
-
- & > a {
- margin-left: 2em;
- }
}
& > .spacer {
@@ -324,6 +332,7 @@
transition: background 0.2s ease;
border: 1px solid var(--outlinegray);
border-bottom: none;
+ width: 100%;
// normalize button props
font-family: inherit;
@@ -363,4 +372,4 @@
}
}
}
-}
\ No newline at end of file
+}
--
Gitblit v1.10.0