From 882fc5e323c7aed7da95142354029dd781b86e95 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Mon, 1 Jul 2019 21:43:19 +0200 Subject: [PATCH] tags list for phone, top bar and small fixes --- liquet/css/home.css | 8 ++------ liquet/css/singular.css | 30 ++++++++++++++++++++++++++---- liquet/logos.php | 2 +- liquet/singular.php | 28 ++++++++++++++++++++++++---- liquet/style.css | 27 ++++++++++++++++++++++++++- liquet/vendor/fonts/import.css | 5 +++++ liquet/vendor/icons/contrast.svg | 1 + liquet/vendor/icons/left.svg | 1 + 8 files changed, 86 insertions(+), 16 deletions(-) create mode 100644 liquet/vendor/icons/contrast.svg create mode 100644 liquet/vendor/icons/left.svg diff --git a/liquet/css/home.css b/liquet/css/home.css index 49a4265..a54b31e 100644 --- a/liquet/css/home.css +++ b/liquet/css/home.css @@ -1,7 +1,7 @@ #home #header { text-align: center; - margin-top: 8vw; - margin-bottom: 8vw; + margin-top: 8vmin; + margin-bottom: 16vmin; padding: 0 2em; } @@ -27,19 +27,15 @@ } #home #list-container { - /*background: var(--clr-primary);*/ } #home #list-header { - /*background: var(--clr-primary);*/ - /*box-shadow: 0 0 1em -0.5em hsla(0, 0%, 0%, 0.1);*/ } #home #list { text-align: left; width: 100%; padding: 0 2em; - margin-bottom: 16vh; } @media only screen and (min-width: 40em) { diff --git a/liquet/css/singular.css b/liquet/css/singular.css index 44ea3d7..9116859 100644 --- a/liquet/css/singular.css +++ b/liquet/css/singular.css @@ -1,10 +1,28 @@ +#singular #top img { + margin: .25em .25em; + vertical-align: middle; + transition: var(--animation); +} + +#singular #top img:hover { + transform: scale(1.5); +} + +#singular #top #left img { + width: 1.5em; +} + +#singular #top #right img { + width: 1em; +} + #singular #main { padding-top: 8vw; overflow-y: auto; overflow-wrap: break-word; } -#singular #main:after{ +#singular #main:after { content: ''; height: 16vh; display: block; @@ -93,13 +111,17 @@ line-height: 1em; } +#singular .links > div:hover { + transform: rotate(180deg) scale(1.5); +} + @media only screen and (min-width: 40em) { #singular .links > div { padding: 1em; width: 3em; } -} -#singular .links > div:hover { - transform: rotate(180deg) scale(1.5); + #singular #top img { + margin: .25em 1em; + } } \ No newline at end of file diff --git a/liquet/logos.php b/liquet/logos.php index d998fc3..5f29890 100644 --- a/liquet/logos.php +++ b/liquet/logos.php @@ -20,7 +20,7 @@ function render_links( $expanded = false ) { if ( $saved ) { ?> <?= $link; ?> + alt="" rel="noopener"/>
-
- - - +
+
+
+ + arrow back + +
+
+ + + +
+ +
@@ -64,6 +82,8 @@ $dates = getDates();

+
+
diff --git a/liquet/style.css b/liquet/style.css index a6f2b88..9bf98b7 100644 --- a/liquet/style.css +++ b/liquet/style.css @@ -2,7 +2,7 @@ Theme Name: Liquet Author: Niccolo Borgioli Description: Minimalistic clean theme -Version: 0.7 +Version: 0.8 License: MIT Tags: minimal, simple, typography, clean Author URI: https://nicco.io @@ -89,6 +89,31 @@ hr { margin-top: -.25em; } + +@media only screen and (max-width: 40em) { + .tags::-webkit-scrollbar { + width: 2px; + background: transparent; + height: 2px; + } + + .tags::-webkit-scrollbar-thumb { + background: var(--clr-dark); + border-radius: 2px; + } + + .tags { + display: flex; + flex-direction: row; + overflow: auto; + } + + .tags > a.tag { + margin: .25em; + flex: 1 0 auto; + } +} + .tags > a.tag { padding: .25em; background: #eee; diff --git a/liquet/vendor/fonts/import.css b/liquet/vendor/fonts/import.css index b7d5d70..033fe4c 100644 --- a/liquet/vendor/fonts/import.css +++ b/liquet/vendor/fonts/import.css @@ -2,6 +2,7 @@ font-family: 'Raleway'; font-style: normal; font-weight: normal; + font-display: swap; src: url('./Raleway/Raleway-Regular.woff2') format('woff2') } @@ -9,6 +10,7 @@ font-family: 'Raleway'; font-style: italic; font-weight: normal; + font-display: swap; src: url('./Raleway/Raleway-Italic.woff2') format('woff2') } @@ -16,6 +18,7 @@ font-family: 'Raleway'; font-style: normal; font-weight: bold; + font-display: swap; src: url('./Raleway/Raleway-Bold.woff2') format('woff2') } @@ -23,6 +26,7 @@ font-family: 'Raleway'; font-style: italic; font-weight: bold; + font-display: swap; src: url('./Raleway/Raleway-BoldItalic.woff2') format('woff2') } @@ -30,5 +34,6 @@ font-family: 'Abril Fatface'; font-style: normal; font-weight: normal; + font-display: swap; src: url('./Abril/AbrilFatface-Regular.woff2') format('woff2') } \ No newline at end of file diff --git a/liquet/vendor/icons/contrast.svg b/liquet/vendor/icons/contrast.svg new file mode 100644 index 0000000..d591047 --- /dev/null +++ b/liquet/vendor/icons/contrast.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/liquet/vendor/icons/left.svg b/liquet/vendor/icons/left.svg new file mode 100644 index 0000000..87e4da7 --- /dev/null +++ b/liquet/vendor/icons/left.svg @@ -0,0 +1 @@ + \ No newline at end of file