diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-03-01 18:39:26 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-08-07 12:17:36 +0200 |
commit | fe1c966605fe3c0b9bf8357ec094d52273686e78 (patch) | |
tree | 6c4ad01b68da32cb136eeeb8a17c7fa4fb11ecf1 /tpl/default/css | |
parent | b74d833d6f129297a3353275e4d6823f57eaceb5 (diff) | |
download | Shaarli-fe1c966605fe3c0b9bf8357ec094d52273686e78.tar.gz Shaarli-fe1c966605fe3c0b9bf8357ec094d52273686e78.tar.zst Shaarli-fe1c966605fe3c0b9bf8357ec094d52273686e78.zip |
Linklist improvements
Diffstat (limited to 'tpl/default/css')
-rw-r--r-- | tpl/default/css/shaarli.css | 17 |
1 files changed, 10 insertions, 7 deletions
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 @@ | |||
2 | * General | 2 | * General |
3 | */ | 3 | */ |
4 | body { | 4 | body { |
5 | 5 | background: url(../img/noise.png) #979797; | |
6 | } | 6 | } |
7 | 7 | ||
8 | .strong { | 8 | .strong { |
@@ -44,19 +44,19 @@ body { | |||
44 | .pure-u-0 { display: none !important; } | 44 | .pure-u-0 { display: none !important; } |
45 | @media screen and (min-width: 35.5em) { | 45 | @media screen and (min-width: 35.5em) { |
46 | .pure-u-sm-0 { display: none !important; } | 46 | .pure-u-sm-0 { display: none !important; } |
47 | .pure-u-sm-visible { display: inherit !important; } | 47 | .pure-u-sm-visible { display: inline-block !important; } |
48 | } | 48 | } |
49 | @media screen and (min-width: 48em) { | 49 | @media screen and (min-width: 48em) { |
50 | .pure-u-md-0 { display: none !important; } | 50 | .pure-u-md-0 { display: none !important; } |
51 | .pure-u-md-visible { display: inherit !important; } | 51 | .pure-u-md-visible { display: inline-block !important; } |
52 | } | 52 | } |
53 | @media screen and (min-width: 64em) { | 53 | @media screen and (min-width: 64em) { |
54 | .pure-u-lg-0 { display: none !important; } | 54 | .pure-u-lg-0 { display: none !important; } |
55 | .pure-u-lg-visible { display: inherit !important; } | 55 | .pure-u-lg-visible { display: inline-block !important; } |
56 | } | 56 | } |
57 | @media screen and (min-width: 80em) { | 57 | @media screen and (min-width: 80em) { |
58 | .pure-u-xl-0 { display: none !important; } | 58 | .pure-u-xl-0 { display: none !important; } |
59 | .pure-u-xl-visible { display: inherit !important; } | 59 | .pure-u-xl-visible { display: inline-block !important; } |
60 | } | 60 | } |
61 | 61 | ||
62 | /** | 62 | /** |
@@ -223,7 +223,10 @@ body { | |||
223 | */ | 223 | */ |
224 | #content { | 224 | #content { |
225 | position: relative; | 225 | position: relative; |
226 | box-shadow: 0 -2px 1em #797979; | 226 | /* https://css-tricks.com/fighting-the-space-between-inline-block-elements/ */ |
227 | margin-top: -4px; | ||
228 | /* Hack-ish way to only shadow the top part. */ | ||
229 | box-shadow: 0 -20px 20px -20px #797979; | ||
227 | z-index: 2; | 230 | z-index: 2; |
228 | background: url(../img/noise.png) #979797; | 231 | background: url(../img/noise.png) #979797; |
229 | } | 232 | } |
@@ -231,7 +234,7 @@ body { | |||
231 | /** | 234 | /** |
232 | * CONTENT - LINKLIST PAGING | 235 | * CONTENT - LINKLIST PAGING |
233 | */ | 236 | */ |
234 | @media screen and (min-width: 35.5em) { | 237 | @media screen and (max-width: 64em) { |
235 | .linklist-paging { | 238 | .linklist-paging { |
236 | margin: 2.1em 0 0 0; | 239 | margin: 2.1em 0 0 0; |
237 | } | 240 | } |