aboutsummaryrefslogtreecommitdiff
path: root/docker/nginx/sites/www/src
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-01-31 22:15:27 +0800
committerYuqian Yang <crupest@crupest.life>2025-01-31 22:15:27 +0800
commita18e3e6c1cad47ac6c1ca3fe028592b9f63acd58 (patch)
treefebfc9173af9fd4cf078d713a0684b20aa5ac75d /docker/nginx/sites/www/src
parent67427a6ba1e7dc91bbf63d8e570d39807000f4a5 (diff)
downloadcrupest-a18e3e6c1cad47ac6c1ca3fe028592b9f63acd58.tar.gz
crupest-a18e3e6c1cad47ac6c1ca3fe028592b9f63acd58.tar.bz2
crupest-a18e3e6c1cad47ac6c1ca3fe028592b9f63acd58.zip
feat(www): add friends' github links and refactor code.
Diffstat (limited to 'docker/nginx/sites/www/src')
-rw-r--r--docker/nginx/sites/www/src/style.css23
1 files changed, 13 insertions, 10 deletions
diff --git a/docker/nginx/sites/www/src/style.css b/docker/nginx/sites/www/src/style.css
index 64757a6..05c98a0 100644
--- a/docker/nginx/sites/www/src/style.css
+++ b/docker/nginx/sites/www/src/style.css
@@ -1,10 +1,3 @@
-:root {
- --im-happy: dodgerblue;
- --im-angry: orangered;
- --im-good: hsl(120, 85%, 85%);
- --im-active: hsl(20, 85%, 85%);
-}
-
html {
width: 100%;
}
@@ -20,6 +13,10 @@ a {
font-family: monospace;
}
+.fake-link {
+ font-family: monospace;
+}
+
#main-article {
max-width: 880px;
margin-top: 1em;
@@ -84,11 +81,11 @@ a {
}
.slogan.happy {
- background-color: var(--im-happy);
+ background-color: dodgerblue;
}
.slogan.angry {
- background-color: var(--im-angry);
+ background-color: orangered;
}
body[data-emotion="happy"] .slogan.happy {
@@ -113,10 +110,16 @@ body[data-emotion="angry"] .slogan.angry {
font-family: unset;
}
-.friend-img {
+.friend-avatar {
object-fit: cover;
}
+.friend-github {
+ width: 1em;
+ vertical-align: middle;
+ margin-right: -0.5em;
+}
+
.friend-tag {
font-size: 0.8em;
}