aboutsummaryrefslogtreecommitdiff
path: root/www/assets/real-home.css
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-02-24 02:18:20 +0800
committerYuqian Yang <crupest@crupest.life>2025-02-26 02:21:41 +0800
commit0c885ba1bf30ce8308880f926be85b6f5a499fa6 (patch)
tree25f42a9386f760c9d7d47d9b154e4a0089e49dff /www/assets/real-home.css
parentdc7b27c713351066e20947ea6d1adb80aeb68d9f (diff)
downloadcrupest-0c885ba1bf30ce8308880f926be85b6f5a499fa6.tar.gz
crupest-0c885ba1bf30ce8308880f926be85b6f5a499fa6.tar.bz2
crupest-0c885ba1bf30ce8308880f926be85b6f5a499fa6.zip
feat(www): YEAH!
Diffstat (limited to 'www/assets/real-home.css')
-rw-r--r--www/assets/real-home.css61
1 files changed, 61 insertions, 0 deletions
diff --git a/www/assets/real-home.css b/www/assets/real-home.css
new file mode 100644
index 0000000..c1355b5
--- /dev/null
+++ b/www/assets/real-home.css
@@ -0,0 +1,61 @@
+#slogan {
+ position: sticky;
+ z-index: 1;
+ top: 0;
+}
+
+#title-name {
+ font-family: monospace;
+ color: var(--bg-color);
+ background-color: var(--fg-color);
+}
+
+#avatar {
+ float: right;
+}
+
+#recent-posts {
+ margin-block-end: 1.5em;
+}
+
+#friends-container {
+ display: flex;
+ gap: 1em;
+}
+
+.friend {
+ flex-grow: 0;
+ text-align: center;
+}
+
+.friend a {
+ font-family: unset;
+}
+
+.friend-avatar {
+ object-fit: cover;
+}
+
+.friend-github {
+ width: 1em;
+ vertical-align: middle;
+ margin-right: -0.5em;
+}
+
+.friend-tag {
+ font-size: 0.8em;
+}
+
+.citation {
+ margin: auto;
+}
+
+.citation figcaption {
+ text-align: right;
+}
+
+body[data-theme="dark"] {
+ & .friend-github {
+ filter: invert(1);
+ }
+}