From bf54af597796fa9f93d1886814989b7fb468fd41 Mon Sep 17 00:00:00 2001 From: trendschau Date: Fri, 6 Aug 2021 16:40:17 +0200 Subject: [PATCH] Version 1.4.7: Fix download buttons and headline-hyphenation --- themes/cyanine/css/style.css | 26 +++++++++++++++----------- themes/cyanine/cyanine.yaml | 2 +- themes/cyanine/layout.twig | 30 +++++++++++++++--------------- 3 files changed, 31 insertions(+), 27 deletions(-) diff --git a/themes/cyanine/css/style.css b/themes/cyanine/css/style.css index 0891ca4..19c6f1a 100644 --- a/themes/cyanine/css/style.css +++ b/themes/cyanine/css/style.css @@ -284,20 +284,20 @@ a.tm-download:hover::before{ */ /* style the typemill download-button for files */ -a.tm-download -{ - margin-left: 35px; -} +a.tm-download{} a.tm-download::before{ - content: "_"; -/* mask-image: url("data:image/svg+xml; utf8, "); */ - mask-image: url("data:image/svg+xml; utf8, "); - mask-repeat: no-repeat; + content: "\2193"; + -webkit-mask: url("data:image/svg+xml; utf8, ") no-repeat 50% 50%; + mask: url("data:image/svg+xml; utf8, ") no-repeat 50% 50%; + -webkit-mask-size: cover; + mask-size: cover; background-color: currentColor; - position: absolute; - margin-left: -35px; - width: 30px; + display: inline-block; + margin-right: 5px; + width: 24px; + height: 24px; text-decoration: none; + vertical-align: middle; } a.tm-download:hover::before{ text-decoration: none; @@ -487,6 +487,10 @@ button.play-video::after { background: #333; } +@media screen and (min-width:30em){ + h1,h2,h3,h4,h5,h6{ hyphens: manual; } +} + @media screen and (min-width:50em) { .grid-container{ display: grid; diff --git a/themes/cyanine/cyanine.yaml b/themes/cyanine/cyanine.yaml index bb6f42d..d66bcc0 100644 --- a/themes/cyanine/cyanine.yaml +++ b/themes/cyanine/cyanine.yaml @@ -1,5 +1,5 @@ name: Cyanine Theme -version: 1.1.6 +version: 1.1.7 description: Cyanine is a modern and flexible multi-purpose theme and the standard theme for typemill. author: Trendschau homepage: https://trendschau.net diff --git a/themes/cyanine/layout.twig b/themes/cyanine/layout.twig index c96cac6..938a6b5 100644 --- a/themes/cyanine/layout.twig +++ b/themes/cyanine/layout.twig @@ -36,7 +36,7 @@ {% block stylesheets %} - +