diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2014-05-18 22:22:25 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2014-05-18 22:23:31 +0200 |
commit | 133b15b260bd83bbee9ff7aa5958a9ad16b80607 (patch) | |
tree | 64b5a57dfb9fbf1054d7ae5edbeb8554bd9b3928 | |
parent | b00616b2dcc44a59cf89c0980d4e8233b944da50 (diff) | |
download | mutti-web-133b15b260bd83bbee9ff7aa5958a9ad16b80607.tar.gz mutti-web-133b15b260bd83bbee9ff7aa5958a9ad16b80607.tar.bz2 mutti-web-133b15b260bd83bbee9ff7aa5958a9ad16b80607.zip |
Use :before and :after instead of a hr at end/start of the container
Also use box-sizing border box for the content to align with the menu.
-rw-r--r-- | style/style.css | 16 | ||||
-rw-r--r-- | xsl/layout.xsl | 2 |
2 files changed, 12 insertions, 6 deletions
diff --git a/style/style.css b/style/style.css index 79fb98e..62eb969 100644 --- a/style/style.css +++ b/style/style.css @@ -197,11 +197,19 @@ ul#navi { color: white; } -#container > hr { +#container { + box-sizing: border-box; +} + +#container:before, +#container:after { + /* background: #BBB082; */ + background: #d2c592; + content: ''; + + display: block; + width: 100%; height: 20px; - background: #BBB082; - color: #FFFFFF; - border: none; /* Used to clear the infobar float */ clear: both; diff --git a/xsl/layout.xsl b/xsl/layout.xsl index 1437054..bdac066 100644 --- a/xsl/layout.xsl +++ b/xsl/layout.xsl @@ -30,7 +30,6 @@ <li style="display: none"><a href="#page" accesskey="S" /></li> </ul> <div id="container"> - <hr /> <div id="page"> <div id="info"> <strong> @@ -75,7 +74,6 @@ </div> <xsl:apply-templates mode="html" /> </div> - <hr /> </div> <div id="footer"> <p> |