|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80664 - website/public_html/beta/style-v2/css_0
From: dnljms_at_[hidden]
Date: 2012-09-23 07:30:13
Author: danieljames
Date: 2012-09-23 07:30:12 EDT (Sun, 23 Sep 2012)
New Revision: 80664
URL: http://svn.boost.org/trac/boost/changeset/80664
Log:
Website: Only use absolute position for wide windows.
Won't work for older browsers, but it will be adequate for them.
Text files modified:
website/public_html/beta/style-v2/css_0/header.css | 19 ++++++++++++-------
1 files changed, 12 insertions(+), 7 deletions(-)
Modified: website/public_html/beta/style-v2/css_0/header.css
==============================================================================
--- website/public_html/beta/style-v2/css_0/header.css (original)
+++ website/public_html/beta/style-v2/css_0/header.css 2012-09-23 07:30:12 EDT (Sun, 23 Sep 2012)
@@ -106,20 +106,25 @@
.boost-common-header-notice {
font-family: sans-serif;
font-size: 13px;
- position: absolute;
- top: 10px;
- left: 300px;
- max-width: 400px;
- max-height: 66px;
- overflow: hidden;
border: 1px solid #aa5;
background: #ffc;
color: #000;
padding: 10px 13px;
- box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
}
.boost-common-header-notice a {
text-decoration: underline;
color: #005a9c;
}
+
+@media all and (min-width: 550px) {
+ .boost-common-header-notice {
+ position: absolute;
+ top: 10px;
+ left: 300px;
+ max-width: 400px;
+ max-height: 66px;
+ overflow: hidden;
+ box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
+ }
+}
\ No newline at end of file
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk