From f124114eb1e08c1349396de70abdabfa99f445ca Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Fri, 17 Jan 2020 18:19:41 +0100 Subject: css cleaning --- app/view/templates/media.php | 56 ++++++++++++++++++++++++-------------------- assets/css/home.css | 25 ++++---------------- 2 files changed, 34 insertions(+), 47 deletions(-) diff --git a/app/view/templates/media.php b/app/view/templates/media.php index 7b2fbc1..0d5847e 100644 --- a/app/view/templates/media.php +++ b/app/view/templates/media.php @@ -12,7 +12,9 @@
-
+
+ -
+
+

@@ -105,7 +108,7 @@ foreach ($medialist as $media) { extension() ?> - type() == 'image' ? 'image 👁' : '⧉ ' . $media->type() ?> + type() == 'image' ? 'image 👁' : $media->type() . '⧉' ?> size('hr') ?> width() ?> height() ?> @@ -123,6 +126,7 @@ foreach ($medialist as $media) {
+
diff --git a/assets/css/home.css b/assets/css/home.css index 89076ef..a51fbb7 100644 --- a/assets/css/home.css +++ b/assets/css/home.css @@ -18,7 +18,7 @@ div#options, article#main { -main.home { +main { display: flex; height: 100%; /* width: 100%; */ @@ -143,7 +143,7 @@ h1, h2 { -main.media div, main.home div#options, main.info nav, main article { +main.info nav, main article { border: solid 1px dimgrey; margin: 1%; background-color: lightgrey; @@ -238,10 +238,6 @@ main.font table#fontlist { max-width: 500px; } -main.media table#medialist { - width: 100%; - max-width: 960px; -} #topbar a.actualpage { text-decoration: underline; @@ -258,13 +254,6 @@ a:hover img.icon { } - - -main.media table#faviconlist { - width: 100%; - max-width: 640px; -} - main.info ul i { color: grey; } @@ -355,13 +344,7 @@ main.media table#medialist .thumbnail:hover img { } -main.media form { - margin: 0.5%; -} -main.media div#tree, main.media div#explorer { - display: inline-grid; -} main.media code { color: #9cbfe8; @@ -465,13 +448,13 @@ main.timeline li.event { -section.pages { +main section { display: flex; flex-direction: column; max-width: calc(100% - 160px); } -.home nav { +main nav { display: flex; flex-direction: column; height: 100%; -- cgit v1.2.3