From cb994d8a5bad90bc79f8142b514e0b89a8f41eda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Z=C3=A1ri=C5=A1?= Date: Wed, 5 Jun 2024 20:57:51 +0200 Subject: [PATCH] first --- bambus.jpg => assets/bambus.jpg | Bin assets/favicon.png | Bin 0 -> 102 bytes assets/script.js | 0 assets/style.css | 110 ++++++++++++++++++++++++++++++++ index.php | 37 +++++++++++ old/bambus.jpg | 1 + index.html => old/index.html | 22 +++---- old/ponozka.png | 1 + stranky/drahe.html | 6 ++ stranky/formular.html | 49 ++++++++++++++ stranky/index.html | 2 + stranky/kontakt.html | 5 ++ stranky/lacne.html | 6 ++ stranky/specialne.html | 6 ++ stranky/stredne.html | 6 ++ templates/404.html | 1 + templates/footer.html | 1 + templates/header.html | 18 ++++++ templates/skeleton.html | 30 +++++++++ 19 files changed, 290 insertions(+), 11 deletions(-) rename bambus.jpg => assets/bambus.jpg (100%) create mode 100644 assets/favicon.png create mode 100644 assets/script.js create mode 100644 assets/style.css create mode 100644 index.php create mode 100644 old/bambus.jpg rename index.html => old/index.html (90%) create mode 100644 old/ponozka.png create mode 100644 stranky/drahe.html create mode 100644 stranky/formular.html create mode 100644 stranky/index.html create mode 100644 stranky/kontakt.html create mode 100644 stranky/lacne.html create mode 100644 stranky/specialne.html create mode 100644 stranky/stredne.html create mode 100644 templates/404.html create mode 100644 templates/footer.html create mode 100644 templates/header.html create mode 100644 templates/skeleton.html diff --git a/bambus.jpg b/assets/bambus.jpg similarity index 100% rename from bambus.jpg rename to assets/bambus.jpg diff --git a/assets/favicon.png b/assets/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..6e8fbc6456e07c829917b27832f16282cb1adbfb GIT binary patch literal 102 zcmcDy*db$*Ci8y(ULX<%;`$qlydy(_40aocU?z}a&{qMHZsMsBAs}fD#HKnBuD=A7 ShENcarvOOv6ovpvKUn~B7C&kL literal 0 HcmV?d00001 diff --git a/assets/script.js b/assets/script.js new file mode 100644 index 0000000..e69de29 diff --git a/assets/style.css b/assets/style.css new file mode 100644 index 0000000..a1c461b --- /dev/null +++ b/assets/style.css @@ -0,0 +1,110 @@ +body, html { + margin: 0; + padding: 0; + font-family: Arial, sans-serif; + display: flex; + flex-direction: column; + min-height: 100vh; + align-items: center; + background-color: #b9b9b9; +} + +header #top { + background-image: url(/assets/bambus.jpg); + color: #fff; + text-shadow: #363636 5px 4px; + padding: 20px; + text-align: center; +} + +header nav { + display: flex; + align-items: center; + flex-grow: 1; + background-color: #444444b7; + padding: 10px; + text-align: center; +} + +header nav > * { + display: flex; + align-items: center; + flex-direction: row; + list-style: none; + padding: 0; + justify-content: center; + width: 100%; + color: #dfd07a; + text-decoration: none; + margin: 0 10px; +} + +nav a:hover { + color: rgb(189, 189, 42); +} + +.dropdown { + position: relative; + display: inline-block; +} + +.dropdown-content { + display: none; + position: absolute; + background-color: #585a59; + min-width: 100px; + z-index: 1; +} + +.dropdown:hover .dropdown-content { + display: block; +} + +.dropdown-content a { + color: #fff; + padding: 12px 16px; + text-decoration: none; + display: block; +} + +.dropdown-content a:hover { + background-color: #363636; +} + +section { + padding: 20px; +} + +footer { + background-color: #333333c7; + color: #fff; + text-align: center; + padding: 10px 0; + position: fixed; + width: 100%; + bottom: 0; +} + +footer, header { + text-align: center; + padding: 10px 0; + display: flex; + align-items: center; + width: 100%; +} + +footer > * { + display: inline; + flex: 1; +} + +main { + display: flex; + flex-grow: 1; + align-items: center; + flex-direction: column; +} + +h1, h2, h3, h4, h5, h6 { + text-align: center; +} \ No newline at end of file diff --git a/index.php b/index.php new file mode 100644 index 0000000..ce544dc --- /dev/null +++ b/index.php @@ -0,0 +1,37 @@ +"; +if (!file_exists($cesta_k_skriptu)){ + $script_obsah = ''; +} +$out = str_replace('__TEMPLATE_SCRIPT__', $script_obsah, $out); + +$cesta_k_stylu = "styly/$nazov_stranky.css"; +$style_obsah = ""; +if (!file_exists($cesta_k_stylu)){ + $style_obsah = ''; +} +$out = str_replace('__TEMPLATE_STYLE__', $style_obsah, $out); + +echo $out; +?> \ No newline at end of file diff --git a/old/bambus.jpg b/old/bambus.jpg new file mode 100644 index 0000000..7d8f75a --- /dev/null +++ b/old/bambus.jpg @@ -0,0 +1 @@ +$R�0���h�v��>-��h�$�Z)ݣ 6�]4�}6ӎ��M��Mt�m5�N��m8�N��1�$R#�� �j�Qoz��Pj�����o�PM���ג�J��f��ԯ���4�1K����aDC6O���m;��~-�'N� \ No newline at end of file diff --git a/index.html b/old/index.html similarity index 90% rename from index.html rename to old/index.html index 9baaaa1..d47bc7e 100644 --- a/index.html +++ b/old/index.html @@ -2,7 +2,7 @@ Bambusové ponožky - +