From 3e62f5b8d542df8492ce70765007cf265ffa5e23 Mon Sep 17 00:00:00 2001
From: "Lucian I. Last"
Date: Sat, 17 Nov 2018 14:01:34 +0100
Subject: [PATCH] Add javascript version #4
---
common/css/main.css | 14 ++++-----
index.html | 75 +++++++++++++++++++++++++++++++++++++++++++++
index.php | 2 +-
3 files changed, 83 insertions(+), 8 deletions(-)
create mode 100644 index.html
diff --git a/common/css/main.css b/common/css/main.css
index 8ef6d27..dd1c409 100644
--- a/common/css/main.css
+++ b/common/css/main.css
@@ -20,28 +20,28 @@ body {
height: 100%;
display: grid;
}
-.itemlist {
+#itemlist {
display: inline-grid;
grid-template-columns: repeat(2, 1fr);
margin: auto;
}
@media only screen and (min-width: 600px) {
- .itemlist {
+ #itemlist {
grid-template-columns: repeat(3, 1fr);
}
}
@media only screen and (min-width: 800px) {
- .itemlist {
+ #itemlist {
grid-template-columns: repeat(6, 1fr);
}
}
-.itemlist {
+#itemlist {
border-radius: 6px;
background-color: rgba(0, 0, 0, .4);
font-size: 4em;
}
-.itemlist>* {
+#itemlist>* {
padding: 15px;
margin: 0 auto;
}
@@ -50,9 +50,9 @@ body {
/* link colors */
-.itemlist a {
+#itemlist a {
color: #fff;
}
-.itemlist a:hover {
+#itemlist a:hover {
color: #c4c4c4;
}
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..f66c3d3
--- /dev/null
+++ b/index.html
@@ -0,0 +1,75 @@
+
+
+
+ Loading...
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/index.php b/index.php
index 9c0a68f..1dcdd01 100644
--- a/index.php
+++ b/index.php
@@ -22,7 +22,7 @@