From 7285aca748d1cc6e5af8bd6f1bfe1a7547fa1ffe Mon Sep 17 00:00:00 2001 From: bruno Date: Thu, 29 Feb 2024 09:27:44 +0100 Subject: [PATCH] Test --- assets/style.css | 41 ++++++++++++------- pages/{home/account.php => account/index.php} | 0 pages/{home => account}/settings.php | 0 pages/rozvrh/prvac.html | 23 +++++++++++ templates/footer.html | 4 +- templates/nav.html | 24 +++++------ templates/skeleton.html | 14 +++---- 7 files changed, 69 insertions(+), 37 deletions(-) rename pages/{home/account.php => account/index.php} (100%) rename pages/{home => account}/settings.php (100%) create mode 100644 pages/rozvrh/prvac.html diff --git a/assets/style.css b/assets/style.css index 9fb23b7..a897989 100644 --- a/assets/style.css +++ b/assets/style.css @@ -18,11 +18,17 @@ } body { + display: grid; + width: 100%; + grid-template-areas: "nav nav nav nav" + "main main main main" + "foot foot foot foot"; + grid-template-rows: 2fr 1fr 2fr 1fr; + grid-template-columns: 1fr 1fr 1fr 1fr; align-items: center; background: linear-gradient(127deg, var(--secondary-bg), var(--primary-bg)) no-repeat fixed; background-size: cover; color: var(--primary-text); - display: flex; flex-direction: column; font-family: \'Poppins\', sans-serif; height: 100%; @@ -30,7 +36,20 @@ body { min-height: 100vh; min-width: 100vw; padding: 0; - width: 100%; +} + +body > nav { + display: flex; + flex-direction: row; + justify-content: space-between; + height: 55px; + position: relative; + z-index: 500; + grid-area: nav; +} + +body > footer { + grid-area: foot; } header h1 { @@ -86,13 +105,6 @@ li.navpage_item { padding-right: 20px; } -nav { - display: flex; - flex-direction: row; - justify-content: space-between; - height: 55px; -} - nav, footer { -moz-box-shadow: 0 20px 28px 0 rgba(0, 0, 0, 0.6); @@ -208,6 +220,12 @@ ul.navpage_list { } @media (max-width: 1050px) { + + div#articleslist { + width: 100vw !important; + left: 0 !important; + } + #toggle_button { display: flex; } @@ -306,11 +324,6 @@ ul.navpage_list { text-align: center; } -#navbar_container { - position: relative; - z-index: 500; -} - #navbar_container, #page_container, #footer_container { diff --git a/pages/home/account.php b/pages/account/index.php similarity index 100% rename from pages/home/account.php rename to pages/account/index.php diff --git a/pages/home/settings.php b/pages/account/settings.php similarity index 100% rename from pages/home/settings.php rename to pages/account/settings.php diff --git a/pages/rozvrh/prvac.html b/pages/rozvrh/prvac.html new file mode 100644 index 0000000..b040265 --- /dev/null +++ b/pages/rozvrh/prvac.html @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + MAT + ELK + SJL + ZER + MAT + ANJ + +
0 (7:10 - 7:55)1 (8:00 - 8:45)2 (8:50 - 9:35)3 (9:45 - 10:30)4 (10:50 - 11:35)5 (11:45 - 12:30)6 (12:40 - 13:25)7 (13:30 - 14:15)
\ No newline at end of file diff --git a/templates/footer.html b/templates/footer.html index ab09b37..b98413c 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -1,3 +1 @@ - \ No newline at end of file +

Toto nie je oficiálna stránka Adlerky, jedná sa o neoficiálnu študentskú stránku

\ No newline at end of file diff --git a/templates/nav.html b/templates/nav.html index 5ae78c2..593e9ef 100644 --- a/templates/nav.html +++ b/templates/nav.html @@ -1,13 +1,11 @@ - \ No newline at end of file + + + \ No newline at end of file diff --git a/templates/skeleton.html b/templates/skeleton.html index daa5b57..1d8037b 100644 --- a/templates/skeleton.html +++ b/templates/skeleton.html @@ -5,7 +5,7 @@ - + __TEMPLATE__DYNAMIC__SCRIPT__ __TEMPLATE__DYNAMIC__STYLE__ @@ -14,15 +14,15 @@ __TEMPLATE_SEO_STUFF__ - +
-
+ __TEMPLATE__PAGE__ -
- + \ No newline at end of file