From a290ab34e226ebb941d31358a242072807c98875 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Mon, 6 May 2019 21:35:35 +0200 Subject: [PATCH] reusable logos snippets --- liquet/css/logos.css | 14 ++++++++++++++ liquet/index.php | 44 +++++++++++++++++--------------------------- liquet/logos.php | 19 +++++++++++++++++++ liquet/singular.php | 10 +++++++--- 4 files changed, 57 insertions(+), 30 deletions(-) create mode 100644 liquet/css/logos.css create mode 100644 liquet/logos.php diff --git a/liquet/css/logos.css b/liquet/css/logos.css new file mode 100644 index 0000000..51aaf3a --- /dev/null +++ b/liquet/css/logos.css @@ -0,0 +1,14 @@ +#logos { + margin: 1.5em 0 0 0; +} + +#logos img { + height: 2em; + width: 2em; + margin: 0 .5em; + transition: var(--animation); +} + +#logos img:hover { + transform: scale(1.15); +} \ No newline at end of file diff --git a/liquet/index.php b/liquet/index.php index 51992e3..6ea420a 100644 --- a/liquet/index.php +++ b/liquet/index.php @@ -1,41 +1,31 @@ - 'count', 'order' => 'desc']); -//$tags = array_map(function ($tag) { -// return [ -// 'name' => $tag->name, -// 'slug' => $tag->slug, -// 'count' => $tag->count, -// ]; -//}, $tags) +get_header(); + +$tags = get_tags( [ 'orderby' => 'count', 'order' => 'desc' ] ); ?>
- - - - - +


- +
diff --git a/liquet/logos.php b/liquet/logos.php new file mode 100644 index 0000000..9d3ce29 --- /dev/null +++ b/liquet/logos.php @@ -0,0 +1,19 @@ + +
+ + <?= $link; ?> + +
@@ -43,7 +45,9 @@ $dates = getDates();


- + +
+