1 /* Style Sheet Tweaks |
|
2 |
|
3 These style definitions are mainly IE specific |
|
4 tweaks required due to its poor CSS support. |
|
5 -------------------------------------------------*/ |
|
6 |
|
7 * html table, * html select, * html input { font-size: 100%; } |
|
8 * html hr { margin: 0; } |
|
9 * html span.corners-top, * html span.corners-bottom { background-image: url("{T_THEME_PATH}/images/corners_left.gif"); } |
|
10 * html span.corners-top span, * html span.corners-bottom span { background-image: url("{T_THEME_PATH}/images/corners_right.gif"); } |
|
11 |
|
12 table.table1 { |
|
13 width: 99%; /* IE < 6 browsers */ |
|
14 /* Tantek hack */ |
|
15 voice-family: "\"}\""; |
|
16 voice-family: inherit; |
|
17 width: 100%; |
|
18 } |
|
19 html>body table.table1 { width: 100%; } /* Reset 100% for opera */ |
|
20 |
|
21 * html ul.topiclist li { position: relative; } |
|
22 * html .postbody h3 img { vertical-align: middle; } |
|
23 |
|
24 /* Form styles */ |
|
25 html>body dd label input { vertical-align: text-bottom; } /* Align checkboxes/radio buttons nicely */ |
|
26 |
|
27 * html input.button1, * html input.button2 { |
|
28 padding-bottom: 0; |
|
29 margin-bottom: 1px; |
|
30 } |
|
31 |
|
32 /* Misc layout styles */ |
|
33 * html .column1, * html .column2 { width: 45%; } |
|
34 |
|
35 /* Nice method for clearing floated blocks without having to insert any extra markup (like spacer above) |
|
36 From http://www.positioniseverything.net/easyclearing.html |
|
37 #tabs:after, #minitabs:after, .post:after, .navbar:after, fieldset dl:after, ul.topiclist dl:after, ul.linklist:after, dl.polls:after { |
|
38 content: "."; |
|
39 display: block; |
|
40 height: 0; |
|
41 clear: both; |
|
42 visibility: hidden; |
|
43 }*/ |
|
44 |
|
45 .clearfix, #tabs, #minitabs, fieldset dl, ul.topiclist dl, dl.polls { |
|
46 height: 1%; |
|
47 overflow: hidden; |
|
48 } |
|
49 |
|
50 /* viewtopic fix */ |
|
51 * html .post { |
|
52 height: 25%; |
|
53 overflow: hidden; |
|
54 } |
|
55 |
|
56 /* navbar fix */ |
|
57 * html .clearfix, * html .navbar, ul.linklist { |
|
58 height: 4%; |
|
59 overflow: hidden; |
|
60 } |
|
61 |
|
62 /* Simple fix so forum and topic lists always have a min-height set, even in IE6 |
|
63 From http://www.dustindiaz.com/min-height-fast-hack */ |
|
64 dl.icon { |
|
65 min-height: 35px; |
|
66 height: auto !important; |
|
67 height: 35px; |
|
68 } |
|
69 |
|
70 * html li.row dl.icon dt { |
|
71 height: 35px; |
|
72 overflow: visible; |
|
73 } |
|
74 |
|
75 * html #search-box { |
|
76 width: 25%; |
|
77 } |
|
78 |
|
79 /* Correctly clear floating for details on profile view */ |
|
80 *:first-child+html dl.details dd { |
|
81 margin-left: 30%; |
|
82 float: none; |
|
83 } |
|
84 |
|
85 * html dl.details dd { |
|
86 margin-left: 30%; |
|
87 float: none; |
|
88 } |
|
89 |
|
90 * html .forumbg table.table1 { |
|
91 margin: 0 -2px 0px -1px; |
|
92 } |
|
93 |
|
94 /* Headerbar height fix for IE7 and below */ |
|
95 * html #site-description p { |
|
96 margin-bottom: 1.0em; |
|
97 } |
|
98 |
|
99 *:first-child+html #site-description p { |
|
100 margin-bottom: 1.0em; |
|
101 } |
|