about summary refs log tree commit diff
path: root/src/frontend/style.css
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2021-12-05 22:55:32 +0300
committerVika <vika@fireburn.ru>2021-12-05 22:55:32 +0300
commitc0b552318cb08872c7deae82a10122b0e16b7ae8 (patch)
treeec372ac488be069c0897338ca15ea08b7abca683 /src/frontend/style.css
parent24b109448bc8f1d30c88bbb9d01a05eec74b3d51 (diff)
downloadkittybox-c0b552318cb08872c7deae82a10122b0e16b7ae8.tar.zst
Added author mini-cards on h-entries
Diffstat (limited to 'src/frontend/style.css')
-rw-r--r--src/frontend/style.css24
1 files changed, 20 insertions, 4 deletions
diff --git a/src/frontend/style.css b/src/frontend/style.css
index 1d6586b..a0add44 100644
--- a/src/frontend/style.css
+++ b/src/frontend/style.css
@@ -26,9 +26,9 @@ h1, .xxxlarge {
     margin-bottom: 0;
     font-size: 3.052rem;
 }
-h2 .xxlarge {font-size: 2.441rem;}
-h3 .xlarge {font-size: 1.953rem;}
-h4 .larger {font-size: 1.563rem;}  
+h2, .xxlarge {font-size: 2.441rem;}
+h3, .xlarge {font-size: 1.953rem;}
+h4, .larger {font-size: 1.563rem;}
 h5, .large {font-size: 1.25rem;}
 h6, .normal {font-size: 1rem;}
 small, .small { font-size: 0.8em; }
@@ -159,4 +159,20 @@ article.h-card img.u-photo {
     height: 8rem;
     border: 1px solid gray;
     margin-right: .75em;
-}
\ No newline at end of file
+}
+
+.mini-h-card img {
+    height: 2em;
+    display: inline-block;
+    border: 2px solid gray;
+    border-radius: 100%;
+    margin-right: 0.5rem;
+}
+
+.mini-h-card * {
+    vertical-align: middle;
+}
+
+.mini-h-card a {
+    text-decoration: none;
+}