svg.escobar.life

A simple SVG markup editor for the web

Commit
a0c0d390cc709cc6e6c4a1e79c693dc5881d8f32
Parent
288277125a567163c0fdf299350649855d76d55e
Author
Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
Date

Fixed the styling of the <noscript> text

Diffstat

2 files changed, 10 insertions, 10 deletions

Status File Name N° Changes Insertions Deletions
Modified css/styles.css 8 3 5
Modified index.html 12 7 5
diff --git a/css/styles.css b/css/styles.css
@@ -175,16 +175,14 @@ body {
     background: var(--selection);
 }
 
-noscript {
+#noscript {
   display: flex;
   width: 100%;
   height: 100%;
-
-  text-align: center;
 }
 
-noscript span {
-  margin: auto 0;
+#noscript > * {
+  margin: auto;
 }
 
 .elmsh-comm {
diff --git a/index.html b/index.html
@@ -27,11 +27,13 @@
           window.addEventListener('load', load);
   </script>
   <noscript>
-    <span>
-      This site (unfortunatelly) require JS 
-      <br>
-      T_T
-    <span>
+    <header id="noscript">
+      <span>
+        This site (unfortunatelly) requires JS 
+        <br>
+        T_T
+      </span>
+    </header>
   </noscript>
 </body>
 </html>