[0] | 1 | /* |
---|
| 2 | # -- BEGIN LICENSE BLOCK --------------------------------------- |
---|
| 3 | # |
---|
| 4 | # This file is part of Dotclear 2. |
---|
| 5 | # |
---|
| 6 | # Copyright (c) 2003-2010 Olivier Meunier & Association Dotclear |
---|
| 7 | # Licensed under the GPL version 2.0 license. |
---|
| 8 | # See LICENSE file or |
---|
| 9 | # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html |
---|
| 10 | # |
---|
| 11 | # -- END LICENSE BLOCK ----------------------------------------- |
---|
| 12 | */ |
---|
| 13 | body { |
---|
| 14 | margin: 0; |
---|
| 15 | padding: 0; |
---|
| 16 | background: #e0e0e0 url(img/body-bg.png) repeat-x top; |
---|
| 17 | color: #6b6b6b; |
---|
| 18 | font: 62.5% "Lucida Grande",Arial,sans-serif; |
---|
| 19 | } |
---|
| 20 | |
---|
| 21 | a { |
---|
| 22 | color: #279ac4; |
---|
| 23 | text-decoration: none; |
---|
| 24 | } |
---|
| 25 | a:hover, a:active, a:focus { |
---|
| 26 | color:#6d8824; |
---|
| 27 | text-decoration: underline; |
---|
| 28 | } |
---|
| 29 | |
---|
| 30 | a img { |
---|
| 31 | border: none; |
---|
| 32 | } |
---|
| 33 | |
---|
| 34 | pre { |
---|
| 35 | white-space: pre; |
---|
| 36 | white-space: -moz-pre-wrap; |
---|
| 37 | white-space: -hp-pre-wrap; |
---|
| 38 | white-space: -o-pre-wrap; |
---|
| 39 | white-space: -pre-wrap; |
---|
| 40 | white-space: pre-wrap; |
---|
| 41 | white-space: pre-line; |
---|
| 42 | word-wrap: break-word; |
---|
| 43 | } |
---|
| 44 | |
---|
| 45 | sup { |
---|
| 46 | font-size:80%; |
---|
| 47 | line-height:50%; |
---|
| 48 | } |
---|
| 49 | |
---|
| 50 | .left { |
---|
| 51 | float: left; |
---|
| 52 | } |
---|
| 53 | |
---|
| 54 | .right { |
---|
| 55 | float: right; |
---|
| 56 | } |
---|
| 57 | |
---|
| 58 | /* Layout |
---|
| 59 | -------------------------------------------------------- */ |
---|
| 60 | #page { |
---|
| 61 | font-size: 1.2em; |
---|
| 62 | } |
---|
| 63 | |
---|
| 64 | #top { |
---|
| 65 | position: relative; |
---|
| 66 | height: 180px; |
---|
| 67 | width: 800px; |
---|
| 68 | padding: 0; |
---|
| 69 | margin: 50px auto 0 auto; |
---|
| 70 | background: transparent url(img/page-t.png) no-repeat bottom left; |
---|
| 71 | } |
---|
| 72 | #top h1 { |
---|
| 73 | position: absolute; |
---|
| 74 | top: 25px; |
---|
| 75 | width: 100%; |
---|
| 76 | margin: 0; |
---|
| 77 | text-align: center; |
---|
| 78 | font-size: 3.5em; |
---|
| 79 | } |
---|
| 80 | #top h1 a { |
---|
| 81 | color: #9ac528; |
---|
| 82 | text-decoration: none; |
---|
| 83 | } |
---|
| 84 | |
---|
| 85 | #prelude { |
---|
| 86 | position: absolute; |
---|
| 87 | top: 7px; |
---|
| 88 | right: 7px; |
---|
| 89 | margin: 0; |
---|
| 90 | padding: 0; |
---|
| 91 | color: #ededed; |
---|
| 92 | } |
---|
| 93 | #prelude a { |
---|
| 94 | color: #ededed; |
---|
| 95 | } |
---|
| 96 | #prelude a:focus, #prelude a:hover { |
---|
| 97 | background: yellow; |
---|
| 98 | color: red; |
---|
| 99 | text-decoration: none; |
---|
| 100 | } |
---|
| 101 | |
---|
| 102 | #wrapper { |
---|
| 103 | width: 800px; |
---|
| 104 | overflow: hidden; |
---|
| 105 | margin: 0 auto 0 auto; |
---|
| 106 | padding: 20px 0; |
---|
| 107 | background: #fff url(img/page-bg.png) repeat-y top left; |
---|
| 108 | } |
---|
| 109 | |
---|
| 110 | #main { |
---|
| 111 | width: 550px; |
---|
| 112 | float: left; |
---|
| 113 | } |
---|
| 114 | |
---|
| 115 | #content { |
---|
| 116 | padding: 0 25px; |
---|
| 117 | } |
---|
| 118 | |
---|
| 119 | #sidebar { |
---|
| 120 | width: 250px; |
---|
| 121 | float: right; |
---|
| 122 | } |
---|
| 123 | #blognav, #blogextra { |
---|
| 124 | padding: 1px 25px; |
---|
| 125 | } |
---|
| 126 | |
---|
| 127 | #footer { |
---|
| 128 | clear: both; |
---|
| 129 | padding: 30px 0 0 0; |
---|
| 130 | background: transparent url(img/page-b.png) no-repeat top center; |
---|
| 131 | } |
---|
| 132 | #footer p { |
---|
| 133 | margin: 0 auto; |
---|
| 134 | padding: 10px 0 20px; |
---|
| 135 | background: #e0e0e0; |
---|
| 136 | color: #9ac528; |
---|
| 137 | text-align: center; |
---|
| 138 | font-size: 1.2em; |
---|
| 139 | } |
---|
| 140 | #footer p a { |
---|
| 141 | color: #6d8824; |
---|
| 142 | } |
---|
| 143 | |
---|
| 144 | |
---|
| 145 | /* Sidebar styles |
---|
| 146 | -------------------------------------------------------- */ |
---|
| 147 | #sidebar h2 { |
---|
| 148 | margin: 0; |
---|
| 149 | color: #8fb22f; |
---|
| 150 | } |
---|
| 151 | #sidebar h3 { |
---|
| 152 | margin: 1em 0 0.5em; |
---|
| 153 | color: #279ac4; |
---|
| 154 | } |
---|
| 155 | |
---|
| 156 | #sidebar div div { |
---|
| 157 | margin-bottom: 2em; |
---|
| 158 | } |
---|
| 159 | #sidebar div div div { |
---|
| 160 | margin-bottom: 0; |
---|
| 161 | } |
---|
| 162 | |
---|
| 163 | #sidebar ul { |
---|
| 164 | list-style: none; |
---|
| 165 | margin: 1em 0; |
---|
| 166 | padding: 0; |
---|
| 167 | border-top: 1px solid #ffd02c; |
---|
| 168 | } |
---|
| 169 | #sidebar li { |
---|
| 170 | display: block; |
---|
| 171 | margin: 0; |
---|
| 172 | padding: 4px 0; |
---|
| 173 | border-bottom: 1px solid #FFD02C; |
---|
| 174 | } |
---|
| 175 | #sidebar li a { |
---|
| 176 | color: #6B6B6B; |
---|
| 177 | text-decoration: none; |
---|
| 178 | } |
---|
| 179 | #sidebar li a:hover, #sidebar li a:focus, #sidebar li a:active { |
---|
| 180 | color: #9ac528; |
---|
| 181 | } |
---|
| 182 | #sidebar ul ul { |
---|
| 183 | list-style: disc; |
---|
| 184 | margin: 0; |
---|
| 185 | padding: 0 0 0 15px; |
---|
| 186 | border: none; |
---|
| 187 | } |
---|
| 188 | #sidebar li li { |
---|
| 189 | display: list-item; |
---|
| 190 | margin: 0.5em 0 0 0; |
---|
| 191 | padding: 0 0; |
---|
| 192 | border: none; |
---|
| 193 | } |
---|
| 194 | |
---|
| 195 | |
---|
| 196 | #search fieldset { |
---|
| 197 | border: none; |
---|
| 198 | margin: 0; |
---|
| 199 | padding: 0; |
---|
| 200 | } |
---|
| 201 | #q { |
---|
| 202 | border: 1px solid #bfbfbf; |
---|
| 203 | width: 150px; |
---|
| 204 | color: #6b6b6b; |
---|
| 205 | } |
---|
| 206 | #search .submit { |
---|
| 207 | padding: 0; |
---|
| 208 | border: 1px solid #fff; |
---|
| 209 | background: none; |
---|
| 210 | font-weight: bold; |
---|
| 211 | color: #6b6b6b; |
---|
| 212 | text-transform: uppercase; |
---|
| 213 | } |
---|
| 214 | #search .submit:hover { |
---|
| 215 | background: #9ac528; |
---|
| 216 | color: #fff; |
---|
| 217 | border: 1px solid #9ac528; |
---|
| 218 | } |
---|
| 219 | |
---|
| 220 | #topnav ul { |
---|
| 221 | border-bottom: 1px solid #ffd02c; |
---|
| 222 | padding: 4px 0; |
---|
| 223 | } |
---|
| 224 | #topnav li { |
---|
| 225 | display: inline; |
---|
| 226 | border-bottom: none; |
---|
| 227 | } |
---|
| 228 | |
---|
| 229 | #sidebar .syndicate ul { |
---|
| 230 | border-top: none; |
---|
| 231 | } |
---|
| 232 | #sidebar .syndicate li { |
---|
| 233 | border-bottom: none; |
---|
| 234 | } |
---|
| 235 | |
---|
| 236 | #sidebar .categories li.category-current { |
---|
| 237 | font-weight: bold; |
---|
| 238 | } |
---|
| 239 | #sidebar .categories li.category-current li { |
---|
| 240 | font-weight: normal; |
---|
| 241 | } |
---|
| 242 | |
---|
| 243 | #sidebar .tags ul { |
---|
| 244 | border-top: none; |
---|
| 245 | font-size: 1.1em; |
---|
| 246 | text-align: justify; |
---|
| 247 | } |
---|
| 248 | #sidebar .tags ul li { |
---|
| 249 | display: inline; |
---|
| 250 | background: none; |
---|
| 251 | margin: 0; |
---|
| 252 | padding: 0; |
---|
| 253 | border: none; |
---|
| 254 | line-height: 1.8em; |
---|
| 255 | } |
---|
| 256 | |
---|
| 257 | .tag0 { font-size: 75%; } |
---|
| 258 | .tag10 { font-size: 80%; } |
---|
| 259 | .tag20 { font-size: 90%; } |
---|
| 260 | .tag30 { font-size: 100%; } |
---|
| 261 | .tag40 { font-size: 110%; } |
---|
| 262 | .tag50 { font-size: 120%; } |
---|
| 263 | .tag60 { font-size: 140%; } |
---|
| 264 | .tag70 { font-size: 150%; } |
---|
| 265 | .tag80 { font-size: 160%; } |
---|
| 266 | .tag90 { font-size: 170%; } |
---|
| 267 | .tag100 { font-size: 180%; } |
---|
| 268 | |
---|
| 269 | ul.tags { |
---|
| 270 | list-style: none; |
---|
| 271 | margin: 1em 0; |
---|
| 272 | padding: 0; |
---|
| 273 | font-size: 1.3em; |
---|
| 274 | text-align: justify; |
---|
| 275 | } |
---|
| 276 | ul.tags li { |
---|
| 277 | display: inline; |
---|
| 278 | margin: 0; |
---|
| 279 | padding: 0; |
---|
| 280 | line-height: 1.8em; |
---|
| 281 | } |
---|
| 282 | |
---|
| 283 | |
---|
| 284 | /* Main content styles |
---|
| 285 | -------------------------------------------------------- */ |
---|
| 286 | h2, h3, h4 { |
---|
| 287 | margin: 1em 0 0 0; |
---|
| 288 | padding: 0; |
---|
| 289 | } |
---|
| 290 | |
---|
| 291 | h2 { |
---|
| 292 | font-size: 1.4em; |
---|
| 293 | } |
---|
| 294 | h3 { |
---|
| 295 | font-size: 1.2em; |
---|
| 296 | } |
---|
| 297 | h4 { |
---|
| 298 | font-size: 1em; |
---|
| 299 | } |
---|
| 300 | |
---|
| 301 | #subcategories { |
---|
| 302 | background: #fbfbfb; |
---|
| 303 | border-color: #BFBFBF; |
---|
| 304 | border-style: solid; |
---|
| 305 | border-width: 1px 0; |
---|
| 306 | margin: 1em 0; |
---|
| 307 | padding: 0.5em; |
---|
| 308 | } |
---|
| 309 | #subcategories h3 { |
---|
| 310 | margin: 0; |
---|
| 311 | } |
---|
| 312 | #subcategories ul { |
---|
| 313 | margin: 0.5em 0 0 0; |
---|
| 314 | padding: 0 0 0 20px; |
---|
| 315 | line-height: 1.4; |
---|
| 316 | } |
---|
| 317 | |
---|
| 318 | .day-date { |
---|
| 319 | font-size: 1em; |
---|
| 320 | margin: 0 0 0.5em; |
---|
| 321 | text-align: right; |
---|
| 322 | color: #279ac4; |
---|
| 323 | } |
---|
| 324 | |
---|
| 325 | .post { |
---|
| 326 | margin: 0 0 2em 0; |
---|
| 327 | } |
---|
| 328 | .post-title { |
---|
| 329 | color:#9ac528; |
---|
| 330 | font-size:1.7em; |
---|
| 331 | } |
---|
| 332 | .post-title a { |
---|
| 333 | color:#9ac528; |
---|
| 334 | } |
---|
| 335 | .post-info { |
---|
| 336 | margin: 0 0 0 0; |
---|
| 337 | } |
---|
| 338 | |
---|
| 339 | .post-tags { |
---|
| 340 | list-style: none; |
---|
| 341 | margin: 1em 0 1em; |
---|
| 342 | padding: 3px 0; |
---|
| 343 | } |
---|
| 344 | .post-tags li { |
---|
| 345 | display: inline; |
---|
| 346 | margin-right: 8px; |
---|
| 347 | padding: 5px 0 5px 22px; |
---|
| 348 | background: transparent url(img/tag.png) no-repeat 0 70%; |
---|
| 349 | } |
---|
| 350 | .post-tags li a { |
---|
| 351 | color: #6b6b6b; |
---|
| 352 | } |
---|
| 353 | |
---|
| 354 | .post-info-co { |
---|
| 355 | clear: left; |
---|
| 356 | padding: 3px 0 3px 0.5em; |
---|
| 357 | border-width: 1px 0; |
---|
| 358 | border-style: solid; |
---|
| 359 | border-color: #bfbfbf; |
---|
| 360 | background: #fbfbfb; |
---|
| 361 | } |
---|
| 362 | .post-info-co a { |
---|
| 363 | color: #2b2b2b; |
---|
| 364 | padding: 2px 10px 2px 18px; |
---|
| 365 | } |
---|
| 366 | |
---|
| 367 | .comment_count { |
---|
| 368 | background: transparent url(img/comment.png) no-repeat 0 50%; |
---|
| 369 | } |
---|
| 370 | .ping_count { |
---|
| 371 | background: transparent url(img/trackback.png) no-repeat 0 50%; |
---|
| 372 | } |
---|
| 373 | .attach_count { |
---|
| 374 | background: transparent url(img/attach.png) no-repeat 0 50%; |
---|
| 375 | } |
---|
| 376 | |
---|
| 377 | .read-it { |
---|
| 378 | font-weight: bold; |
---|
| 379 | clear: left; |
---|
| 380 | } |
---|
| 381 | |
---|
| 382 | a.feed { |
---|
| 383 | background: transparent url(img/feed.png) no-repeat 0 0.25em; |
---|
| 384 | padding: 5px 0 5px 22px; |
---|
| 385 | } |
---|
| 386 | |
---|
| 387 | /* Post content |
---|
| 388 | -------------------------------------------------------- */ |
---|
| 389 | .post-content, .post-excerpt, #comments dd, #pings dd, dd.comment-preview { |
---|
| 390 | line-height:1.4em; |
---|
| 391 | } |
---|
| 392 | .post-content acronym, .post-excerpt acronym { |
---|
| 393 | cursor: help; |
---|
| 394 | border-bottom: 1px dotted #666; |
---|
| 395 | } |
---|
| 396 | |
---|
| 397 | .post-content pre, .post-excerpt pre { |
---|
| 398 | padding: 10px ; |
---|
| 399 | font: 1.1em 'courier new', courier, monospace; |
---|
| 400 | } |
---|
| 401 | |
---|
| 402 | .post-content ul, .post-excerpt ul, .post-content ol, .post-excerpt ol { |
---|
| 403 | margin: 0 0 0.5em 0; |
---|
| 404 | padding: 0 0 0 15px; |
---|
| 405 | } |
---|
| 406 | |
---|
| 407 | .post-content li, .post-excerpt li { |
---|
| 408 | margin: 0; |
---|
| 409 | padding: 0; |
---|
| 410 | } |
---|
| 411 | |
---|
| 412 | .post-content blockquote, .post-excerpt blockquote { |
---|
| 413 | margin: 4px 0 4px 0; |
---|
| 414 | padding: 0 5px; |
---|
| 415 | border-left: 4px solid #bfbfbf; |
---|
| 416 | } |
---|
| 417 | |
---|
| 418 | |
---|
| 419 | #attachments h3 { |
---|
| 420 | font-size: 1.2em; |
---|
| 421 | } |
---|
| 422 | |
---|
| 423 | #attachments ul { |
---|
| 424 | list-style: none; |
---|
| 425 | margin: 0; |
---|
| 426 | padding: 4px 0; |
---|
| 427 | } |
---|
| 428 | |
---|
| 429 | #attachments li { |
---|
| 430 | margin: 0 0 0.6em; |
---|
| 431 | padding: 2px 10px 2px 18px; |
---|
| 432 | background: transparent url(img/attach.png) no-repeat 0 50%; |
---|
| 433 | } |
---|
| 434 | |
---|
| 435 | #attachments li object { |
---|
| 436 | display: inline; |
---|
| 437 | margin: 0; |
---|
| 438 | padding: 0; |
---|
| 439 | vertical-align: bottom; |
---|
| 440 | } |
---|
| 441 | |
---|
| 442 | /* Comments and trackbacks |
---|
| 443 | -------------------------------------------------------- */ |
---|
| 444 | #comments { |
---|
| 445 | clear: both; |
---|
| 446 | } |
---|
| 447 | #comments h3, #comment-form h3, #pings h3 { |
---|
| 448 | border-width: 1px 0; |
---|
| 449 | border-style: solid; |
---|
| 450 | border-color: #bfbfbf; |
---|
| 451 | background: #fbfbfb; |
---|
| 452 | padding: 5px; |
---|
| 453 | margin: 20px 0 8px 0; |
---|
| 454 | font-size: 1.2em; |
---|
| 455 | } |
---|
| 456 | |
---|
| 457 | #comments dt { |
---|
| 458 | margin: 1.5em 0 0 0; |
---|
| 459 | padding: 5px 0 16px 0; |
---|
| 460 | background: transparent url(img/comment-t.png) no-repeat bottom left; |
---|
| 461 | } |
---|
| 462 | #comments dt.me { |
---|
| 463 | background-image: url(img/commentmy-t.png); |
---|
| 464 | } |
---|
| 465 | #comments a.comment-number { |
---|
| 466 | display: block; |
---|
| 467 | float: left; |
---|
| 468 | width: 30px; |
---|
| 469 | margin-right: 40px; |
---|
| 470 | font-size: 1.2em; |
---|
| 471 | } |
---|
| 472 | #comments dd { |
---|
| 473 | margin: 0; |
---|
| 474 | padding: 1px 1em 0.5em 1em; |
---|
| 475 | background: #fffad1 url(img/comment-b.png) no-repeat bottom left; |
---|
| 476 | color:#6b6b6b; |
---|
| 477 | } |
---|
| 478 | #comments dd.me { |
---|
| 479 | background-color:#f5f9d9; |
---|
| 480 | color:#6b6b6b; |
---|
| 481 | background-image:url(img/commentmy-b.png); |
---|
| 482 | } |
---|
| 483 | #comments dd p { |
---|
| 484 | margin: 0.5em 0; |
---|
| 485 | line-height: 1.5em; |
---|
| 486 | } |
---|
| 487 | |
---|
| 488 | .error { |
---|
| 489 | margin: 20px 0 0; |
---|
| 490 | padding: 10px 5px; |
---|
| 491 | background: #ffcccc; |
---|
| 492 | border: 2px solid red; |
---|
| 493 | font-weight: bold; |
---|
| 494 | } |
---|
| 495 | |
---|
| 496 | /* Forms |
---|
| 497 | -------------------------------------------------------- */ |
---|
| 498 | #comment-form { |
---|
| 499 | padding-top: 10px; |
---|
| 500 | } |
---|
| 501 | |
---|
| 502 | #comment-form fieldset { |
---|
| 503 | border: none; |
---|
| 504 | } |
---|
| 505 | #comment-form fieldset p { |
---|
| 506 | padding: 5px 0; |
---|
| 507 | } |
---|
| 508 | #comment-form fieldset p.field { |
---|
| 509 | padding: 5px 0; |
---|
| 510 | width: auto; |
---|
| 511 | margin: 0; |
---|
| 512 | clear: left; |
---|
| 513 | } |
---|
| 514 | #comment-form p.form-help { |
---|
| 515 | width: 60%; |
---|
| 516 | margin: 0 0 0 30%; |
---|
| 517 | font-style: italic; |
---|
| 518 | } |
---|
| 519 | |
---|
| 520 | #comment-form p label { |
---|
| 521 | width: auto; |
---|
| 522 | } |
---|
| 523 | #comment-form p.field label { |
---|
| 524 | font-weight: bold; |
---|
| 525 | display: block; |
---|
| 526 | padding: 0 1% 0 0; |
---|
| 527 | width: 29%; |
---|
| 528 | float: left; |
---|
| 529 | text-align: right; |
---|
| 530 | } |
---|
| 531 | #comment-form input, #comment-form textarea { |
---|
| 532 | font: 1em "Lucida Grande",Arial,sans-serif; |
---|
| 533 | color: #279ac4; |
---|
| 534 | border: 1px solid #cdcdcd; |
---|
| 535 | padding: 1px 2px; |
---|
| 536 | width: 68%; |
---|
| 537 | } |
---|
| 538 | |
---|
| 539 | #comment-form p.remember { |
---|
| 540 | margin: 0; |
---|
| 541 | } |
---|
| 542 | #comment-form input#c_remember { |
---|
| 543 | width: auto; |
---|
| 544 | border: 0; |
---|
| 545 | margin: 0 5px 0 30%; |
---|
| 546 | } |
---|
| 547 | #comment-form input.preview { |
---|
| 548 | margin-left: 30%; |
---|
| 549 | } |
---|
| 550 | |
---|
| 551 | #comment-form input.preview, #comment-form input.submit { |
---|
| 552 | width: auto; |
---|
| 553 | color: #279ac4; |
---|
| 554 | background: #fff; |
---|
| 555 | font-size: 1em; |
---|
| 556 | font-weight: bold; |
---|
| 557 | text-transform: uppercase; |
---|
| 558 | border: 1px solid #fff; |
---|
| 559 | } |
---|
| 560 | #comment-form input.preview:hover, #comment-form input.submit:hover { |
---|
| 561 | background: #6d8824; |
---|
| 562 | color: #fff; |
---|
| 563 | border: 1px solid #6d8824; |
---|
| 564 | } |
---|