svg.escobar.life

A simple SVG markup editor for the web

Commit
374c1d42e4f70d9c81bf4e89959dbc45e5581cf7
Parent
47ca67495cbf35521738bae70019bc1334f08c68
Author
Pablo Emilio Escobar Gaviria <pablo-escobar@riseup.net>
Date

Styled the content of the <noscript> tag

Diffstat

2 files changed, 18 insertions, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified css/styles.css 13 13 0
Modified index.html 6 5 1
diff --git a/css/styles.css b/css/styles.css
@@ -175,6 +175,18 @@ body {
     background: var(--selection);
 }
 
+noscript {
+  display: flex;
+  width: 100%;
+  height: 100%;
+
+  text-align: center;
+}
+
+noscript span {
+  margin: auto 0;
+}
+
 .elmsh-comm {
     font-style: italic;
     color: var(--comm);
@@ -184,3 +196,4 @@ body {
 .elmsh1, .elmsh2, .elmsh6 { color: var(--string); }
 .elmsh3, .elmsh4 { color: var(--tag); }
 .elmsh5 { color: var(--attribute); }
+
diff --git a/index.html b/index.html
@@ -27,7 +27,11 @@
           window.addEventListener('load', load);
   </script>
   <noscript>
-    This site (unfortunatelly) require JS T_T
+    <span>
+      This site (unfortunatelly) require JS 
+      <br>
+      T_T
+    <span>
   </noscript>
 </body>
 </html>