From 775900e27fcd2641e9ea59be600e5a1c6b50e107 Mon Sep 17 00:00:00 2001 From: fr34k Date: Sun, 1 Nov 2020 00:13:03 +0100 Subject: [PATCH] width adaption, jewellery site construction --- header.tpl | 2 +- jewellery.php | 53 +++++++++++++++++++++------------------------------ tmp | 23 ++++++++++++++++++++++ 3 files changed, 46 insertions(+), 32 deletions(-) create mode 100644 tmp diff --git a/header.tpl b/header.tpl index 6b91bec..1731613 100644 --- a/header.tpl +++ b/header.tpl @@ -25,7 +25,7 @@ '); + print(''); } ?> \ No newline at end of file diff --git a/jewellery.php b/jewellery.php index 42baadc..e2963d1 100644 --- a/jewellery.php +++ b/jewellery.php @@ -7,43 +7,34 @@ include('header.tpl');
- Button1 + Rings
- Button2 + Cufflinks
- Button3 + Amulets +
+
+ Necklace +
+
+ Pins +
+
+ Earrings +
+
+ Objects +
+
+ Oak +
+
+ Other
+ -
-
-
- Button4 -
-
- Button5 -
-
- Button6 -
-
-
- -
-
-
- Button7 -
-
- Button8 -
-
- Button9 -
-
-
- diff --git a/tmp b/tmp new file mode 100644 index 0000000..9c7e356 --- /dev/null +++ b/tmp @@ -0,0 +1,23 @@ +@media only screen and (min-width: 1000px) { + header { + z-index: 1; + position: absolute; + top: 0px; + width: 100%; + } +} + +@media only screen and (max-width: 500px) { + .nav li { + margin-left: 2px !important; + margin-right: 2px !important; + width: 20vw; + } +} +@media only screen and (min-width: 501px) and (max-width: 999px) { + .nav li { + margin-left: 2px !important; + margin-right: 2px !important; + width: 100px; + } +}