1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/styles/cubometry-style/theme/tweaks.css Thu Mar 08 01:28:49 2012 +0400
1.3 @@ -0,0 +1,101 @@
1.4 +/* Style Sheet Tweaks
1.5 +
1.6 +These style definitions are mainly IE specific
1.7 +tweaks required due to its poor CSS support.
1.8 +-------------------------------------------------*/
1.9 +
1.10 +* html table, * html select, * html input { font-size: 100%; }
1.11 +* html hr { margin: 0; }
1.12 +* html span.corners-top, * html span.corners-bottom { background-image: url("{T_THEME_PATH}/images/corners_left.gif"); }
1.13 +* html span.corners-top span, * html span.corners-bottom span { background-image: url("{T_THEME_PATH}/images/corners_right.gif"); }
1.14 +
1.15 +table.table1 {
1.16 + width: 99%; /* IE < 6 browsers */
1.17 + /* Tantek hack */
1.18 + voice-family: "\"}\"";
1.19 + voice-family: inherit;
1.20 + width: 100%;
1.21 +}
1.22 +html>body table.table1 { width: 100%; } /* Reset 100% for opera */
1.23 +
1.24 +* html ul.topiclist li { position: relative; }
1.25 +* html .postbody h3 img { vertical-align: middle; }
1.26 +
1.27 +/* Form styles */
1.28 +html>body dd label input { vertical-align: text-bottom; } /* Align checkboxes/radio buttons nicely */
1.29 +
1.30 +* html input.button1, * html input.button2 {
1.31 + padding-bottom: 0;
1.32 + margin-bottom: 1px;
1.33 +}
1.34 +
1.35 +/* Misc layout styles */
1.36 +* html .column1, * html .column2 { width: 45%; }
1.37 +
1.38 +/* Nice method for clearing floated blocks without having to insert any extra markup (like spacer above)
1.39 + From http://www.positioniseverything.net/easyclearing.html
1.40 +#tabs:after, #minitabs:after, .post:after, .navbar:after, fieldset dl:after, ul.topiclist dl:after, ul.linklist:after, dl.polls:after {
1.41 + content: ".";
1.42 + display: block;
1.43 + height: 0;
1.44 + clear: both;
1.45 + visibility: hidden;
1.46 +}*/
1.47 +
1.48 +.clearfix, #tabs, #minitabs, fieldset dl, ul.topiclist dl, dl.polls {
1.49 + height: 1%;
1.50 + overflow: hidden;
1.51 +}
1.52 +
1.53 +/* viewtopic fix */
1.54 +* html .post {
1.55 + height: 25%;
1.56 + overflow: hidden;
1.57 +}
1.58 +
1.59 +/* navbar fix */
1.60 +* html .clearfix, * html .navbar, ul.linklist {
1.61 + height: 4%;
1.62 + overflow: hidden;
1.63 +}
1.64 +
1.65 +/* Simple fix so forum and topic lists always have a min-height set, even in IE6
1.66 + From http://www.dustindiaz.com/min-height-fast-hack */
1.67 +dl.icon {
1.68 + min-height: 35px;
1.69 + height: auto !important;
1.70 + height: 35px;
1.71 +}
1.72 +
1.73 +* html li.row dl.icon dt {
1.74 + height: 35px;
1.75 + overflow: visible;
1.76 +}
1.77 +
1.78 +* html #search-box {
1.79 + width: 25%;
1.80 +}
1.81 +
1.82 +/* Correctly clear floating for details on profile view */
1.83 +*:first-child+html dl.details dd {
1.84 + margin-left: 30%;
1.85 + float: none;
1.86 +}
1.87 +
1.88 +* html dl.details dd {
1.89 + margin-left: 30%;
1.90 + float: none;
1.91 +}
1.92 +
1.93 +* html .forumbg table.table1 {
1.94 + margin: 0 -2px 0px -1px;
1.95 +}
1.96 +
1.97 +/* Headerbar height fix for IE7 and below */
1.98 +* html #site-description p {
1.99 + margin-bottom: 1.0em;
1.100 +}
1.101 +
1.102 +*:first-child+html #site-description p {
1.103 + margin-bottom: 1.0em;
1.104 +}
1.105 \ No newline at end of file