aboutsummaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2025-09-07 14:55:39 +0000
committerAnhgelus Morhtuuzh <william@herges.fr>2025-09-07 14:55:39 +0000
commit3a809d2571f8df178c436f463c9aade25a34c96e (patch)
tree6a4a0485b5650320afe5c1c2e61e9a8987db83a3 /scss
parente8da79df02b9045146e2a0cb9e035f14a68537c6 (diff)
parent14f30577f9b5f76d288abce6ba19bf6150936401 (diff)
Merge pull request '[Feat] Change tags in now' (#1) from feat/change-tags into main
Reviewed-on: https://git.anhgelus.world/anhgelus/now/pulls/1
Diffstat (limited to 'scss')
-rw-r--r--scss/main.scss7
-rw-r--r--scss/tag.scss8
2 files changed, 5 insertions, 10 deletions
diff --git a/scss/main.scss b/scss/main.scss
index 8723941..2b3c2b7 100644
--- a/scss/main.scss
+++ b/scss/main.scss
@@ -72,7 +72,7 @@ main {
margin-top: 10vh;
margin-bottom: 10vh;
max-width: 800px;
- & h1, h2, h3 {
+ & h1 {
margin: 0;
}
@media only screen and (max-width: vars.$bp-mid) {
@@ -92,6 +92,7 @@ main {
h1, h2, h3 {
margin-bottom: 1rem;
margin-top: 2rem;
+ font-weight: bold;
}
p {
@@ -116,6 +117,8 @@ h3 {
h4 {
font-size: 1.25rem;
+ font-weight: bold;
+ margin-bottom: 0.5rem;
}
ul, ol {
@@ -141,7 +144,6 @@ em {
.header {
display: flex;
- align-items: center;
justify-content: space-between;
@media only screen and (max-width: vars.$bp-little) {
flex-direction: column;
@@ -224,6 +226,7 @@ em {
width: 100%;
column-gap: 1rem;
row-gap: 0.5rem;
+ justify-items: center;
@media only screen and (max-width: vars.$bp-little) {
grid-template-columns: 1fr;
column-gap: 0.5rem;
diff --git a/scss/tag.scss b/scss/tag.scss
index 5134f27..516ecdb 100644
--- a/scss/tag.scss
+++ b/scss/tag.scss
@@ -17,12 +17,10 @@
}
& p {
display: block;
- margin-top: 0.5rem;
}
}
.tag {
- cursor: pointer;
padding: 0.5rem;
margin: -0.5rem;
border-radius: 8px;
@@ -37,10 +35,4 @@
display: block;
}
}
- &:hover {
- background: var(--tag-hover);
- & h4 {
- font-weight: bold;
- }
- }
}