From fe1c966605fe3c0b9bf8357ec094d52273686e78 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Tue, 1 Mar 2016 18:39:26 +0100 Subject: [PATCH] Linklist improvements --- plugins/markdown/markdown.css | 2 +- tpl/default/css/shaarli.css | 17 ++++++++++------- tpl/default/linklist.paging.html | 15 ++++++++------- tpl/default/page.header.html | 24 +++++++++++------------- 4 files changed, 30 insertions(+), 28 deletions(-) diff --git a/plugins/markdown/markdown.css b/plugins/markdown/markdown.css index 6789ce84..e012b864 100644 --- a/plugins/markdown/markdown.css +++ b/plugins/markdown/markdown.css @@ -29,7 +29,7 @@ .markdown blockquote{ color:#666666; padding-left: 3em; - border-left: 0.5em #EEE solid; + border-left: 0.5em #DDD solid; margin:0.75em 0; } .markdown hr { display: block; height: 2px; border: 0; border-top: 1px solid #aaa;border-bottom: 1px solid #eee; margin: 1em 0; padding: 0; } diff --git a/tpl/default/css/shaarli.css b/tpl/default/css/shaarli.css index e3961fc3..d9a48239 100644 --- a/tpl/default/css/shaarli.css +++ b/tpl/default/css/shaarli.css @@ -2,7 +2,7 @@ * General */ body { - + background: url(../img/noise.png) #979797; } .strong { @@ -44,19 +44,19 @@ body { .pure-u-0 { display: none !important; } @media screen and (min-width: 35.5em) { .pure-u-sm-0 { display: none !important; } - .pure-u-sm-visible { display: inherit !important; } + .pure-u-sm-visible { display: inline-block !important; } } @media screen and (min-width: 48em) { .pure-u-md-0 { display: none !important; } - .pure-u-md-visible { display: inherit !important; } + .pure-u-md-visible { display: inline-block !important; } } @media screen and (min-width: 64em) { .pure-u-lg-0 { display: none !important; } - .pure-u-lg-visible { display: inherit !important; } + .pure-u-lg-visible { display: inline-block !important; } } @media screen and (min-width: 80em) { .pure-u-xl-0 { display: none !important; } - .pure-u-xl-visible { display: inherit !important; } + .pure-u-xl-visible { display: inline-block !important; } } /** @@ -223,7 +223,10 @@ body { */ #content { position: relative; - box-shadow: 0 -2px 1em #797979; + /* https://css-tricks.com/fighting-the-space-between-inline-block-elements/ */ + margin-top: -4px; + /* Hack-ish way to only shadow the top part. */ + box-shadow: 0 -20px 20px -20px #797979; z-index: 2; background: url(../img/noise.png) #979797; } @@ -231,7 +234,7 @@ body { /** * CONTENT - LINKLIST PAGING */ -@media screen and (min-width: 35.5em) { +@media screen and (max-width: 64em) { .linklist-paging { margin: 2.1em 0 0 0; } diff --git a/tpl/default/linklist.paging.html b/tpl/default/linklist.paging.html index c8c13fe0..1a8256f3 100644 --- a/tpl/default/linklist.paging.html +++ b/tpl/default/linklist.paging.html @@ -25,17 +25,18 @@
diff --git a/tpl/default/page.header.html b/tpl/default/page.header.html index 3f2075c1..7a67fb2a 100644 --- a/tpl/default/page.header.html +++ b/tpl/default/page.header.html @@ -5,13 +5,14 @@ + {$GLOBALS['title']}
-
-- 2.41.0