[ticket/12562] Add max-width to proSilver

PHPBB3-12562
This commit is contained in:
PayBas 2014-07-01 18:41:56 +02:00
parent 54a143c968
commit 3568eec4df
4 changed files with 35 additions and 5 deletions

View file

@ -5,7 +5,7 @@ Colours and backgrounds for common.css
html, body { html, body {
color: #536482; color: #536482;
background-color: #FFFFFF; background-color: #DDDDE0;
} }
h1 { h1 {
@ -43,6 +43,12 @@ hr {
/* Round cornered boxes and backgrounds /* Round cornered boxes and backgrounds
---------------------------------------- */ ---------------------------------------- */
#wrap {
background-color: #FFF;
border-color: #FFF;
box-shadow: 0 0 10px rgba(16, 82, 137, 0.12), inset 0 0 10px rgba(16, 82, 137, 0.08);
}
.headerbar { .headerbar {
background-color: #12A3EB; background-color: #12A3EB;
background-image: url("./images/bg_header.gif"); background-image: url("./images/bg_header.gif");

View file

@ -175,8 +175,24 @@ ol ol ul, ol ul ul, ul ol ul, ul ul ul {
/* Main blocks /* Main blocks
---------------------------------------- */ ---------------------------------------- */
#wrap { #wrap {
padding: 0 20px; border: 1px solid transparent;
border-radius: 12px;
margin: 0 auto;
max-width: 1152px;
min-width: 650px; min-width: 650px;
padding: 12px 20px;
}
@media only screen and (max-width: 1192px), only screen and (max-device-width: 1192px)
{
body {
padding: 0;
}
#wrap {
border: none;
border-radius: 0;
}
} }
#simple-wrap { #simple-wrap {

View file

@ -13,12 +13,15 @@ html {
} }
body { body {
padding: 0 5px; padding: 0;
} }
#wrap { #wrap {
min-width: 300px; border: none;
padding: 0; border-radius: 0;
box-shadow: none;
min-width: 290px;
padding: 0 5px;
} }
/* Common block wrappers /* Common block wrappers

View file

@ -4,6 +4,11 @@ These style definitions are IE 7 and 8 specific
tweaks required due to its poor CSS support. tweaks required due to its poor CSS support.
-------------------------------------------------*/ -------------------------------------------------*/
/* No body padding since IE8 doesn't support media-queries */
body {
padding: 0;
}
/* Clear float fix for IE7 */ /* Clear float fix for IE7 */
.inner { .inner {
zoom: 1; zoom: 1;