about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-15 13:08:31 +0100
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-01-15 13:08:31 +0100
commit2bb7413dd855930167ae53dc87fc9067ea7ad314 (patch)
tree10d70ef832ca226a3efbc1cc62d51f2a52134d09
parent9e710675b5505e4f212201f69387cc9f775f2137 (diff)
downloadgal-2bb7413dd855930167ae53dc87fc9067ea7ad314.tar.gz
gal-2bb7413dd855930167ae53dc87fc9067ea7ad314.zip
Update style
-rwxr-xr-xgal3
-rw-r--r--style.css13
2 files changed, 13 insertions, 3 deletions
diff --git a/gal b/gal
index 8667376..aa60b50 100755
--- a/gal
+++ b/gal
@@ -47,6 +47,9 @@ done
 
 cat >> $OUTPUT/index.html <<EOF
     </div>
+    <footer>
+      <p>This page is <a href="https://jeffhuang.com/designed_to_last/">designed to last</a>.</p>
+    </footer>
   </body>
 </html>
 EOF
diff --git a/style.css b/style.css
index 5f01a57..9dc80d8 100644
--- a/style.css
+++ b/style.css
@@ -4,7 +4,14 @@ body {
   padding: 0;
   width: 100%;
   height: 100vh;
+  font-family: sans-serif;
 }
+
+footer {
+  text-align: center;
+  padding: 10px;
+}
+
 .tiles {
   padding: 6vh 16vw;
   display: flex;
@@ -34,14 +41,14 @@ body {
   transform: scale(1.1);
 }
 
-@media only screen and (max-width: 420px) {
+@media only screen and (max-width: 442px) {
   .tiles {
     padding: 6vh 4vw;
   }
 
   .tile {
     margin: 5px;
-    width: 44vw;
-    height: 44vw;
+    width: 100%;
+    height: 100%;
   }
 }