about summary refs log tree commit diff homepage
path: root/_css
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-12-20 23:42:32 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-12-21 12:41:36 +0700
commit3fae5dd37c658eb185fec2ad99dd11cacf97b7bb (patch)
tree80e44fb2a0f7e5f62f7dd2db7d15cce144618398 /_css
parent822a8410c29cf37be4ff5f288e9292db9b873497 (diff)
downloadsite-3fae5dd37c658eb185fec2ad99dd11cacf97b7bb.tar.gz
Add openring
Diffstat (limited to '_css')
-rw-r--r--_css/style.css21
1 files changed, 21 insertions, 0 deletions
diff --git a/_css/style.css b/_css/style.css
index 5185744..990a1ab 100644
--- a/_css/style.css
+++ b/_css/style.css
@@ -232,3 +232,24 @@ code, .hljs {
 .hljs-subst, .hljs-symbol, .hljs-selector-id, .hljs-selector-attr,
 .hljs-selector-pseudo, .hljs-template-tag, .hljs-template-variable,
 .hljs-addition { color: var(--red) }
+
+.openring {
+    display: flex;
+    flex-wrap: wrap;
+    margin: -0.5rem;
+}
+.openring .title, .openring .source { margin: 0 }
+.openring .article {
+    background: var(--block-bg);
+    display: flex;
+    flex-direction: column;
+    flex: 1 1 0;
+    margin: 1ex;
+    min-width: 15rem;
+    padding: 1ex;
+}
+.right {
+    color: var(--fade-fg);
+    font-size: 80%;
+    text-align: right;
+}