diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-05-07 12:09:21 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-05-07 12:09:21 -0700 |
commit | f12906fd1286fb133017dd02c36fc2de8a80bf30 (patch) | |
tree | d146e0226a874abdc6ce9605efeb5db2a8bbc1ea /prosilver/theme/tweaks.css | |
download | forum-themes-f12906fd1286fb133017dd02c36fc2de8a80bf30.tar.gz forum-themes-f12906fd1286fb133017dd02c36fc2de8a80bf30.tar.bz2 forum-themes-f12906fd1286fb133017dd02c36fc2de8a80bf30.tar.xz forum-themes-f12906fd1286fb133017dd02c36fc2de8a80bf30.zip |
Import vanilla styles from phpBB 3.0.9
Diffstat (limited to 'prosilver/theme/tweaks.css')
-rw-r--r-- | prosilver/theme/tweaks.css | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/prosilver/theme/tweaks.css b/prosilver/theme/tweaks.css new file mode 100644 index 0000000..30fe5fb --- /dev/null +++ b/prosilver/theme/tweaks.css @@ -0,0 +1,101 @@ +/* proSilver Style Sheet Tweaks + +These style definitions are mainly IE specific +tweaks required due to its poor CSS support. +-------------------------------------------------*/ + +* html table, * html select, * html input { font-size: 100%; } +* html hr { margin: 0; } +* html span.corners-top, * html span.corners-bottom { background-image: url("{T_THEME_PATH}/images/corners_left.gif"); } +* html span.corners-top span, * html span.corners-bottom span { background-image: url("{T_THEME_PATH}/images/corners_right.gif"); } + +table.table1 { + width: 99%; /* IE < 6 browsers */ + /* Tantek hack */ + voice-family: "\"}\""; + voice-family: inherit; + width: 100%; +} +html>body table.table1 { width: 100%; } /* Reset 100% for opera */ + +* html ul.topiclist li { position: relative; } +* html .postbody h3 img { vertical-align: middle; } + +/* Form styles */ +html>body dd label input { vertical-align: text-bottom; } /* Align checkboxes/radio buttons nicely */ + +* html input.button1, * html input.button2 { + padding-bottom: 0; + margin-bottom: 1px; +} + +/* Misc layout styles */ +* html .column1, * html .column2 { width: 45%; } + +/* Nice method for clearing floated blocks without having to insert any extra markup (like spacer above) + From http://www.positioniseverything.net/easyclearing.html +#tabs:after, #minitabs:after, .post:after, .navbar:after, fieldset dl:after, ul.topiclist dl:after, ul.linklist:after, dl.polls:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; +}*/ + +.clearfix, #tabs, #minitabs, fieldset dl, ul.topiclist dl, dl.polls { + height: 1%; + overflow: hidden; +} + +/* viewtopic fix */ +* html .post { + height: 25%; + overflow: hidden; +} + +/* navbar fix */ +* html .clearfix, * html .navbar, ul.linklist { + height: 4%; + overflow: hidden; +} + +/* Simple fix so forum and topic lists always have a min-height set, even in IE6 + From http://www.dustindiaz.com/min-height-fast-hack */ +dl.icon { + min-height: 35px; + height: auto !important; + height: 35px; +} + +* html li.row dl.icon dt { + height: 35px; + overflow: visible; +} + +* html #search-box { + width: 25%; +} + +/* Correctly clear floating for details on profile view */ +*:first-child+html dl.details dd { + margin-left: 30%; + float: none; +} + +* html dl.details dd { + margin-left: 30%; + 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; +} + +*:first-child+html #site-description p { + margin-bottom: 1.0em; +}
\ No newline at end of file |