aboutsummaryrefslogtreecommitdiffhomepage
path: root/static/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'static/style.css')
-rw-r--r--static/style.css53
1 files changed, 53 insertions, 0 deletions
diff --git a/static/style.css b/static/style.css
new file mode 100644
index 0000000..3ea07c0
--- /dev/null
+++ b/static/style.css
@@ -0,0 +1,53 @@
+html,
+body {
+ background: white;
+ color: black;
+ margin: 0;
+ padding: 0;
+ font-family: sans-serif;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+}
+
+header {
+ background: #3b005e;
+ color: white;
+ padding: 16px;
+ margin-bottom: 8px;
+ display: flex;
+ width: 100vw;
+ box-sizing: border-box;
+
+ *:not(:last-child) {
+ margin-right: 8px;
+ }
+}
+
+#siteTitle {
+ font-weight: bold;
+}
+
+main {
+ width: min(800px, 100vw);
+}
+
+article.note {
+ background: #eee;
+ color: black;
+ border-radius: 16px;
+ margin: 16px;
+ padding: 16px;
+ display: grid;
+ grid-template-columns: max-content 1fr;
+ gap: 8px;
+
+ img.authorAvatar {
+ width: 64px;
+ aspect-ratio: 1;
+ }
+
+ .authorName {
+ font-weight: bold;
+ }
+}