diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2012-02-21 01:08:04 +0100 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2012-02-27 16:32:29 +0100 |
| commit | d3091da5eade90aac1b13244d04bd1fb342bcc59 (patch) | |
| tree | 346d0b8ffc3bd8d7255f42ad5487a59638b21f50 /phpBB/styles/prosilver/theme | |
| parent | 4b2690f792d330622fd5409ded5f163db1b97bd9 (diff) | |
| download | forums-d3091da5eade90aac1b13244d04bd1fb342bcc59.tar forums-d3091da5eade90aac1b13244d04bd1fb342bcc59.tar.gz forums-d3091da5eade90aac1b13244d04bd1fb342bcc59.tar.bz2 forums-d3091da5eade90aac1b13244d04bd1fb342bcc59.tar.xz forums-d3091da5eade90aac1b13244d04bd1fb342bcc59.zip | |
[ticket/9220] Remove margin on table.table1 so it's centered in the blue box.
The problem here was, that we use width: 100% in combination with the negative
margin. This causes the element to be just moved to the side, so it's not
centered anymore. width: auto would fix this, but it causes strange behaviour
on IE and looks even more ugly. So I decided to just remove the margin at all.
The border is now 1px thicker for all sides.
PHPBB3-9220
Diffstat (limited to 'phpBB/styles/prosilver/theme')
| -rw-r--r-- | phpBB/styles/prosilver/theme/common.css | 14 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/theme/tweaks.css | 4 |
2 files changed, 13 insertions, 5 deletions
diff --git a/phpBB/styles/prosilver/theme/common.css b/phpBB/styles/prosilver/theme/common.css index 8b5e09297e..7eb00bd808 100644 --- a/phpBB/styles/prosilver/theme/common.css +++ b/phpBB/styles/prosilver/theme/common.css @@ -418,7 +418,19 @@ table.info tbody th { } .forumbg table.table1 { - margin: 0 -2px -1px -1px; + margin: 0; +} + +.forumbg-table > .inner { + margin: 0 -1px; +} + +.forumbg-table > .inner > span.corners-top { + margin: 0 -4px -1px -4px; +} + +.forumbg-table > .inner > span.corners-bottom { + margin: -1px -4px 0 -4px; } /* Misc layout styles diff --git a/phpBB/styles/prosilver/theme/tweaks.css b/phpBB/styles/prosilver/theme/tweaks.css index f7322c2cce..5e11b2122b 100644 --- a/phpBB/styles/prosilver/theme/tweaks.css +++ b/phpBB/styles/prosilver/theme/tweaks.css @@ -87,10 +87,6 @@ dl.icon { float: none; } -* html .forumbg table.table1 { - margin: 0 -2px 0px -1px; -} - /* Headerbar height fix for IE7 and below */ * html #site-description p { margin-bottom: 1.0em; |
