source: branches/rsr.v5.1.dev/web/punbb/theme/style/vgn2.css @ 8

Last change on this file since 8 was 1, checked in by dj3c1t, 13 years ago

import initial

  • Property svn:executable set to *
File size: 7.0 KB
RevLine 
[1]1/****************************************************************/
2/* 1. IMPORTED STYLESHEETS */
3/****************************************************************/
4
5/* Import the basic setup styles */
6@import url(imports/base.css);
7/* Import the colour scheme */
8@import url(imports/vgn2_cs.css);
9
10/****************************************************************/
11/* 2. TEXT SETTINGS */
12/****************************************************************/
13
14/* 2.1 This sets the default Font Group */
15
16.pun, .pun INPUT, .pun SELECT, .pun TEXTAREA, .pun OPTGROUP {
17        FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
18}
19
20.pun {FONT-SIZE: 11px; LINE-HEIGHT: normal}
21
22/* IEWin Font Size only - to allow IEWin to zoom. Do not remove comments \*/
23* HTML .pun {FONT-SIZE: 68.75%}
24/* End IE Win Font Size */
25
26/* Set font size for tables because IE requires it */
27.pun TABLE, .pun INPUT, .pun SELECT, .pun OPTGROUP, .pun TEXTAREA, DIV.postmsg P.postedit {FONT-SIZE: 1em}
28
29/* 2.2 Set the font-size for preformatted text i.e in code boxes */
30
31.pun PRE {FONT-FAMILY: monaco, "Bitstream Vera Sans Mono", "Courier New", courier, monospace}
32
33/* 2.3 Font size for headers */
34
35.pun H2, .pun H4 {FONT-SIZE: 1em}
36.pun H3 {FONT-SIZE: 1.1em}
37#brdtitle H1 {FONT-SIZE: 1.4em}
38
39/* 2.4 Larger text for particular items */
40
41DIV.postmsg P {LINE-HEIGHT: 1.4}
42DIV.postleft DT {FONT-SIZE: 1.1em}
43.pun PRE {FONT-SIZE: 1.2em}
44
45/* 2.5 Bold text */
46
47DIV.postleft DT, DIV.postmsg H4, TD.tcl H3, DIV.forminfo H3, P.postlink, DIV.linkst LI,
48DIV.linksb LI, DIV.postlinksb LI, .blockmenu LI, #brdtitle H1, .pun SPAN.warntext, .pun P.warntext {FONT-WEIGHT: bold}
49
50/****************************************************************/
51/* 3. LINKS */
52/****************************************************************/
53
54.pun A:link, .pun A:visited {
55text-decoration: none;
56border-bottom: 1px solid #888888 }
57.pun A:hover {
58text-decoration: none;
59border-bottom: 1px solid #000000 }
60
61/* 3.1 Remove underlining for main menu, post header links, post links and vertical menus */
62
63#brdmenu A:link, #brdmenu A:visited, .blockpost DT A:link, .blockpost DT A:visited, .blockpost H2 A:link,
64.blockpost H2 A:visited, .postlink A:link, .postlink A:visited, .postfootright A:link, .postfootright A:visited,
65.blockmenu A:link, .blockmenu A:visited {
66text-decoration: none }
67
68/* 3.2 Underline on hover for links in headers and main menu */
69
70#brdmenu A:hover, .blockpost H2 A:hover {
71text-decoration: none;
72border-bottom: 1px solid #000000 }
73
74/****************************************************************/
75/* 4. BORDER WIDTH AND STYLE */
76/****************************************************************/
77
78/* 4.1 By default borders are 1px solid */
79
80DIV.box, .pun TD, .pun TH, .pun BLOCKQUOTE, DIV.codebox, DIV.forminfo, DIV.blockpost LABEL {
81        BORDER-STYLE: solid;
82        BORDER-WIDTH: 1px
83}
84
85/* 4.2 Special settings for the board header. */
86
87#brdheader DIV.box {BORDER-TOP-WIDTH: 4px}
88
89/* 4.3 Borders for table cells */
90
91.pun TD, .pun TH {
92        BORDER-BOTTOM: none;
93        BORDER-RIGHT: none
94}
95
96.pun .tcl {BORDER-LEFT: none}
97
98/* 4.4 Special setting for fieldsets to preserve IE defaults */
99
100DIV>FIELDSET {
101        BORDER-STYLE: solid;
102        BORDER-WIDTH: 1px
103}
104
105/****************************************************************/
106/* 5. VERTICAL AND PAGE SPACING */
107/****************************************************************/
108
109/* 5.1 Page margins */
110
111HTML, BODY {MARGIN: 0; PADDING: 0}
112#punwrap {margin:12px 75px}
113
114/* 5.2 Creates vertical space between main board elements (Margins) */
115
116DIV.blocktable, DIV.block, DIV.blockform, DIV.block2col, #postreview {MARGIN-BOTTOM: 12px}
117#punindex DIV.blocktable, DIV.blockpost {MARGIN-BOTTOM: 6px}
118DIV.block2col DIV.blockform, DIV.block2col DIV.block {MARGIN-BOTTOM: 0px}
119
120/* 5.3 Remove space above breadcrumbs, postlinks and pagelinks with a negative top margin */
121
122DIV.linkst, DIV.linksb {MARGIN-TOP: -12px}
123DIV.postlinksb {MARGIN-TOP: -6px}
124
125/* 5.4 Put a 12px gap above the board information box in index because the category tables only
126have a 6px space beneath them */
127
128#brdstats {MARGIN-TOP: 12px}
129
130/****************************************************************/
131/* 6. SPACING AROUND CONTENT */
132/****************************************************************/
133
134/* 6.1 Default padding for main items */
135
136DIV.block DIV.inbox, DIV.blockmenu DIV.inbox {PADDING: 3px 6px}
137.pun P, .pun UL, .pun DL, DIV.blockmenu LI, .pun LABEL, #announce DIV.inbox DIV {PADDING: 3px 0}
138.pun H2 {PADDING: 4px 6px}
139
140/* 6.2 Special spacing for various elements */
141
142.pun H1 {PADDING: 3px 0px 0px 0}
143#brdtitle P {PADDING-TOP: 0px}
144DIV.linkst {PADDING: 8px 6px 3px 6px}
145DIV.linksb, DIV.postlinksb {PADDING: 3px 6px 8px 6px}
146#brdwelcome, #brdfooter DL A, DIV.blockmenu LI, DIV.rbox INPUT  {LINE-HEIGHT: 1.4em}
147#viewprofile DT, #viewprofile DD {PADDING: 0 3px; LINE-HEIGHT: 2em}
148
149/* 6.4 Create some horizontal spacing for various elements */
150
151#brdmenu LI, DIV.rbox INPUT, DIV.blockform P INPUT  {MARGIN-RIGHT: 12px}
152
153/****************************************************************/
154/* 7. SPACING FOR TABLES */
155/****************************************************************/
156
157.pun TH, .pun TD {PADDING: 4px 6px}
158.pun TD P {PADDING: 5px 0 0 0}
159
160/****************************************************************/
161/* 8. SPACING FOR POSTS */
162/****************************************************************/
163
164/* 8.1 Padding around left and right columns in viewtopic */
165
166DIV.postleft DL, DIV.postright {PADDING: 6px}
167
168/* 8.2 Extra spacing for poster contact details and avatar */
169
170DD.usercontacts, DD.postavatar {MARGIN-TOP: 5px}
171DD.postavatar {MARGIN-BOTTOM: 5px}
172
173/* 8.3 Extra top spacing for signatures and edited by */
174
175DIV.postsignature, DIV.postmsg P.postedit {PADDING-TOP: 15px}
176
177/* 8.4 Spacing for code and quote boxes */
178
179DIV.postmsg H4 {MARGIN-BOTTOM: 10px}
180.pun BLOCKQUOTE, DIV.codebox {MARGIN: 5px 15px 15px 15px; PADDING: 8px}
181
182/* 8.5 Padding for the action links and online indicator in viewtopic */
183
184DIV.postfootleft P, DIV.postfootright UL, DIV.postfootright DIV {PADDING: 10px 6px 5px 6px}
185
186/* 8.6 This is the input on moderators multi-delete view */
187
188DIV.blockpost INPUT, DIV.blockpost LABEL {
189        PADDING: 3px;
190        DISPLAY: inline
191}
192
193P.multidelete {
194        PADDING-TOP: 15px;
195        PADDING-BOTTOM: 5px
196}
197
198/* 8.7 Make sure paragraphs in posts don't get any padding */
199
200DIV.postmsg P {PADDING: 0}
201
202/****************************************************************/
203/* 9. SPECIAL SPACING FOR FORMS */
204/****************************************************************/
205
206/* 9.1 Padding around fieldsets */
207
208DIV.blockform FORM, DIV.fakeform {PADDING: 20px 20px 15px 20px}
209DIV.inform {PADDING-BOTTOM: 12px}
210
211/* 9.2 Padding inside fieldsets */
212
213.pun FIELDSET {PADDING: 0px 12px 0px 12px}
214DIV.infldset {PADDING: 9px 0px 12px 0}
215.pun LEGEND {PADDING: 0px 6px}
216
217/* 9.3 The information box at the top of the registration form and elsewhere */
218
219DIV.forminfo {
220        MARGIN-BOTTOM: 12px;
221        PADDING: 9px 10px
222}
223
224/* 9.4 BBCode help links in post forms */
225
226UL.bblinks LI {PADDING-RIGHT: 20px}
227
228UL.bblinks {PADDING-BOTTOM: 10px; PADDING-LEFT: 4px}
229
230/* 9.5 Horizontal positioning for the submit button on forms */
231
232DIV.blockform P INPUT {MARGIN-LEFT: 12px}
233
Note: See TracBrowser for help on using the repository browser.