From 6e001a303cb9e2269e1e284cf8d3d51575b00892 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Tue, 21 May 2019 16:41:08 +0200 Subject: [PATCH] extended logos for sharing and discussion in singular --- liquet/css/logos.css | 15 ++++++++++++--- liquet/css/singular.css | 4 ++-- liquet/logos.php | 35 +++++++++++++++++++++++------------ liquet/singular.php | 3 +-- liquet/vendor/icons/down.svg | 1 + liquet/vendor/icons/share.svg | 1 + 6 files changed, 40 insertions(+), 19 deletions(-) create mode 100644 liquet/vendor/icons/down.svg create mode 100644 liquet/vendor/icons/share.svg diff --git a/liquet/css/logos.css b/liquet/css/logos.css index 51aaf3a..73ae752 100644 --- a/liquet/css/logos.css +++ b/liquet/css/logos.css @@ -1,14 +1,23 @@ #logos { - margin: 1.5em 0 0 0; + margin-top: 1.5em; } -#logos img { +#logos #title { + margin: 2em; + text-align: center; +} + +#logos #title img { + height: 1.5em; +} + +#logos #list img { height: 2em; width: 2em; margin: 0 .5em; transition: var(--animation); } -#logos img:hover { +#logos #list img:hover { transform: scale(1.15); } \ No newline at end of file diff --git a/liquet/css/singular.css b/liquet/css/singular.css index 12f35b3..7015f09 100644 --- a/liquet/css/singular.css +++ b/liquet/css/singular.css @@ -4,8 +4,8 @@ overflow-wrap: break-word; } -#singular #main a { - text-decoration: underline; +#singular #main p a { + border-bottom: 2px solid var(--clr-black); } #singular #header { diff --git a/liquet/logos.php b/liquet/logos.php index 9d3ce29..6319775 100644 --- a/liquet/logos.php +++ b/liquet/logos.php @@ -2,18 +2,29 @@ $links = [ 'medium', 'github', 'twitter', 'website' ]; -function render_links() { +function render_links( $expanded = false ) { global $links; ?> -
- - <?= $link; ?> - -
+ +
+ discuss & share +
+ arrow down +
+ +
+ + + <?= $link; ?> + +
+
-
- + diff --git a/liquet/vendor/icons/down.svg b/liquet/vendor/icons/down.svg new file mode 100644 index 0000000..c25cb46 --- /dev/null +++ b/liquet/vendor/icons/down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/liquet/vendor/icons/share.svg b/liquet/vendor/icons/share.svg new file mode 100644 index 0000000..dda0a5f --- /dev/null +++ b/liquet/vendor/icons/share.svg @@ -0,0 +1 @@ + \ No newline at end of file