From a04d85a1e891426db8f2a210c7feb386911b391b Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Sat, 31 Dec 2016 14:23:03 -0500 Subject: [PATCH] css: Move rules intended for bigscreen to the dedicated stylesheet. --- .../static/css/conservancy-bigscreen.css | 47 +++++++++++++++++++ www/conservancy/static/css/conservancy.css | 46 ------------------ 2 files changed, 47 insertions(+), 46 deletions(-) diff --git a/www/conservancy/static/css/conservancy-bigscreen.css b/www/conservancy/static/css/conservancy-bigscreen.css index 635b4f52..70c5c99d 100644 --- a/www/conservancy/static/css/conservancy-bigscreen.css +++ b/www/conservancy/static/css/conservancy-bigscreen.css @@ -27,6 +27,53 @@ padding: .75em; } +dl { + border: 3px double #ccc; + padding: 0.5em; +} + +dt { + float: left; + text-align: center; + width: 10em; + margin: 0em 1em 0.5em 0.5em; + font-weight: bold; + color: green; +} + +dt:after { + content: ":"; +} + +dd { + margin: 0 0 2.5em 11.5em; +} + +video.small-right { + float: right; + height: auto; + width: 25%; + margin-left: .7em; + margin-bottom: .4em; +} + +video.medium-right { + float: right; + height: auto; + width: 50%; + margin-left: .7em; + margin-bottom: .7em; +} + +img.blog-right { + float: right; + padding-left: 1em; + margin: .25em; + min-width: 8%; + max-width: 30%; + width: auto; +} + #contractpatch-follow { float: left; width: 30em; diff --git a/www/conservancy/static/css/conservancy.css b/www/conservancy/static/css/conservancy.css index f2795740..933280ec 100644 --- a/www/conservancy/static/css/conservancy.css +++ b/www/conservancy/static/css/conservancy.css @@ -445,25 +445,6 @@ dd { margin: 0 0 1.5em 2em; } -@media only screen and (min-width: 685px) { -dl { - border: 3px double #ccc; - padding: 0.5em; -} -dt { - float: left; - text-align: center; - width: 10em; - margin: 0em 1em 0.5em 0.5em; - font-weight: bold; - color: green; } -dt:after { - content: ":"; -} -dd { - margin: 0 0 2.5em 11.5em; -} -} .fundraiser-top-text { background: #F0FFB8; padding: .7em .7em .7em .7em; @@ -471,30 +452,3 @@ dd { .fundraiser-top-text em { font-size: 110%; } - -video.small-right { - float: right; - height: auto !important; - width: 25% !important; - max-width:50%; - margin-left: .7em; - margin-bottom: .4em; -} - -video.medium-right { - float: right; - height: auto !important; - width: 50% !important; - max-width: 75%; - margin-left: .7em; - margin-bottom: .7em; -} - -img.blog-right { - float: right; - padding-left: 1em; - margin: .25em; - min-width: 8%; - max-width: 30%; - width: auto; -}