« get me outta code hell

Tweak <h1> styling (on user pages) - scratchrlol - Simple HTML-based Scratch client
summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-11-20 01:44:11 -0400
committerFlorrie <towerofnix@gmail.com>2018-11-20 01:44:11 -0400
commitc8a83d7905327281654932bd41f7f5d21334b35e (patch)
treec21b477a0ce624c1c7efc9935589b3e41c7ac320
parent8ffeb7a147cd5648b960ddc89edc619af38d2d0d (diff)
Tweak <h1> styling (on user pages) HEAD master
-rw-r--r--style.css12
1 files changed, 12 insertions, 0 deletions
diff --git a/style.css b/style.css
index 953c17e..5082897 100644
--- a/style.css
+++ b/style.css
@@ -18,6 +18,18 @@ header, h1 {
   text-align: center;
 }
 
+h1 {
+  display: flex;
+  flex-direction: row;
+  align-items: center;
+  justify-content: center;
+}
+
+h1 img {
+  margin-right: 0.5em;
+  margin-left: -0.65em;
+}
+
 h2 + ul {
   /* Evil hack - this makes the list appear slightly closer to the heading. */
   margin-top: -0.75em;