File: style.css

package info (click to toggle)
megaglest-data 3.13.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 494,652 kB
  • sloc: xml: 34,142; sh: 33; makefile: 16
file content (305 lines) | stat: -rw-r--r-- 5,793 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
body {
    margin: 0 auto;
    width: 1016px;

    background-color: #161616;
    font-size: 0.8em;
    color: #fff6c0;
    font-family: "Lucida Sans Unicode","Lucida Grande","Lucida Sans", sans-serif;
}

/*
 * Structure
 */

/* Header */
#header {
    width: 1016px;
    height: 175px;
    margin: 0 auto;
    background: url("header/header.jpg") no-repeat;
}

/* Horizontal menu */
#menu {
    background-image: url("menu.jpg");
    background-repeat: no-repeat;
    height: 65px;
}

/* Side menus */
#menu #first { float: left }
#menu #second { float: right }

/* Main content */
#content {
    width: 1024px;
    margin: 0 auto;
    background: url("wood_panel.jpg") repeat;
}
img {
    padding-right: 3px;
    padding-bottom: 1px;
}

/* Article (core text of the page) */
#article {
    font-size: 1.1em;
    line-height: 1.5em;
    padding: 2em;
    text-align: justify;
}

/* end of article has to be below side modules */
#end_article {
    clear: both;
}

/* Side modules */
#aside_left {
    float: left;
    width: 420px;
    margin-left: -168px;
}
#aside_left ul {
    padding: 0 17px 0 168px;
    margin: 0 2em 2em 2em;
}

#aside_right {
    float: right;
    width: 420px;
    margin-right: -168px;
}
#aside_right ul {
    padding: 0 140px 0 25px;
    margin: 0 2em;
}

.aside .up_image {
    width: 420px;
    height: 278px;
}
.aside .down_image {
    width: 420px;
    height: 191px;
}

/* fill .up_image and .down_image with content */
.aside .content {
    margin-top: -210px;
    margin-bottom: -80px;
}

/* Footer */
#footer {
    width: 1016px;
    height: 143px;
    margin: 0 auto;
    background-image: url("footer/footer.jpg");
}


/*
 * Text display: side, colors, etc.
 */
p { text-indent: 2em }
a { color: #ecc72d }
a:link { text-decoration: none }
a:hover { text-decoration: underline }
a img { border: 0; }
img.right {
    float: right;
    margin: 0 0 10px 10px;
}
img.left {
    float: left;
    margin: 0 10px 10px 0;
}

/* news dates, scores: gold */
.info, .date, #content h3 { color: #ecc72d; }
#content h3 { font-weight: normal; text-indent: 3em }

/* Logo */
#header #logo {
    width: 365px;
    margin: 0 auto;
	margin-top: 1em;
}

/* Download image */
h2#download {
    margin: 0 auto;
    margin-top: -2em;
    text-align: center;
}

/* Module titles */
.aside h3 { display: block; }

.aside h3#news { margin-left: 240px; }
.aside h3#servers { margin-left: 50px; }
.aside h3.forums { margin-left: 230px; }
.aside h3#links { margin-left: 110px; }

/* Menu links */
#menu ul { margin: 0; padding: 0}
#menu li { display: inline; }
/* left horizontal menu should not "touch" the wood */
#menu #second li:first-child { margin-left: 10px; }

#menu a {
    /* fixed available space: fixed size */
    font-size: 14px;
    color: #b5dbb5;
    font-variant: small-caps;
    margin: 0 8px;
}

/* 
 * Modules
 */
#aside_left { background: url("modules/l_repeat.jpg") repeat-y }
#aside_left .up_image {   background: url("modules/l_up.jpg") }
#aside_left .down_image { background: url("modules/l_down.jpg") }

#aside_right {background: url("modules/r_repeat.jpg") repeat-y}
#aside_right .up_image {background: url("modules/r_up.jpg")}
#aside_right .down_image {background: url("modules/r_down.jpg")}

.aside ul li {
    list-style-image: url("modules/star.png");
    clear: right;
}

/* News module */
.date {
    display: block;
    float: right;
    margin-top: 1em;
    margin-bottom: 1.5em;
    /* Font */
    font-family: "DejaVu Serif Condensed", serif;
    font-style: italic;
    font-size: 0.9em;
}

/* Servers module */
.aside table {
    width: 200px;
    margin-left: 50px;
    text-align:center;
}

.aside table td:first-child {
    text-align: left;
}



/* Forums module */
.forums .date {
    margin-top: 3px;
    font-size: 1em;
}

/* Footer */
#footer ul {
    margin: 0 auto;
    padding-top: 90px;
    width: 25em;
}
#footer li {
    list-style-type: none;
    display: inline;
    margin: 0 1em;
}
/* links in the dark space, images above */
#footer img {
    vertical-align: -20%;
}

/*
 * Additional background images
 */
#header_left {
    float: left;
    width: 140px;
    height: 882px;

    background-image: url("header/left.jpg");
    background-repeat: no-repeat;
    margin-left: -140px;
}

#header_right {
    float: right;
    height: 843px;
    width: 143px;

    background-image: url("header/right.jpg");
    background-repeat: no-repeat;
    margin-right: -143px;
}

#footer_left {
    float: left;
    height: 143px;
    width: 101px;
    margin-left: -101px;
    background: url("footer/footer_left.jpg") no-repeat;
}

#footer_right {
    float: right;
    height: 143px;
    width: 106px;
    margin-right: -106px;
    background: url("footer/footer_right.jpg") no-repeat;

}


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * DataTables sorting
 */

.sorting_asc {
        background-image: url('images/datatables/sort_asc.png');
        background-repeat: no-repeat;
        background-position: center right;
}

.sorting_desc {
        background-image: url('images/datatables/sort_desc.png');
        background-repeat: no-repeat;
        background-position: center right;
}

.sorting {
        background-image: url('images/datatables/sort_both.png');
        background-repeat: no-repeat;
        background-position: center right;
}

.sorting_asc_disabled {
        background-image: url('images/datatables/sort_asc_disabled.png')  ;
        background-repeat: no-repeat;
        background-position: center right;
}

.sorting_desc_disabled {
        background-image: url('images/datatables/sort_desc_disabled.png')  ;
        background-repeat: no-repeat;
        background-position: center right;
}

tr.odd {
	background-color: #7E2217;
}

tr.even {
	background-color: #7F462C;
}