| 1 | package Miril::Theme::Flashyweb::Stylesheet; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | use autodie; | ||
| 6 | |||
| 7 | sub get { | ||
| 8 | |||
| 9 | return <<EndOfHTML; | ||
| 10 | |||
| 11 | /* | ||
| 12 | Design by Free CSS Templates | ||
| 13 | http://www.freecsstemplates.org | ||
| 14 | Released for free under a Creative Commons Attribution 2.5 License | ||
| 15 | */ | ||
| 16 | |||
| 17 | body { | ||
| 18 | margin-top: 20px; | ||
| 19 | padding: 0; | ||
| 20 | background: #FDF9EE; | ||
| 21 | font-family: Arial, Helvetica, sans-serif; | ||
| 22 | font-size: 12px; | ||
| 23 | color: #6D6D6D; | ||
| 24 | } | ||
| 25 | |||
| 26 | h1, h2, h3 { | ||
| 27 | margin: 0; | ||
| 28 | font-family: Georgia, "Times New Roman", Times, serif; | ||
| 29 | font-weight: normal; | ||
| 30 | color: #006EA6; | ||
| 31 | } | ||
| 32 | |||
| 33 | h1, h2 { | ||
| 34 | text-transform: lowercase; | ||
| 35 | } | ||
| 36 | |||
| 37 | h1 { | ||
| 38 | letter-spacing: -1px; | ||
| 39 | font-size: 35px; | ||
| 40 | } | ||
| 41 | |||
| 42 | h2 { | ||
| 43 | font-size: 26px; | ||
| 44 | } | ||
| 45 | |||
| 46 | p, ul, ol { | ||
| 47 | margin: 0 0 1.5em 0; | ||
| 48 | text-align: justify; | ||
| 49 | line-height: 26px; | ||
| 50 | } | ||
| 51 | |||
| 52 | a:link { | ||
| 53 | color: #0094E0; | ||
| 54 | } | ||
| 55 | |||
| 56 | a:hover, a:active { | ||
| 57 | text-decoration: none; | ||
| 58 | color: #0094E0; | ||
| 59 | } | ||
| 60 | |||
| 61 | a:visited { | ||
| 62 | color: #0094E0; | ||
| 63 | } | ||
| 64 | |||
| 65 | img { | ||
| 66 | border: none; | ||
| 67 | } | ||
| 68 | |||
| 69 | img.left { | ||
| 70 | float: left; | ||
| 71 | margin: 7px 15px 0 0; | ||
| 72 | } | ||
| 73 | |||
| 74 | img.right { | ||
| 75 | float: right; | ||
| 76 | margin: 7px 0 0 15px; | ||
| 77 | } | ||
| 78 | |||
| 79 | /* Form */ | ||
| 80 | |||
| 81 | form { | ||
| 82 | margin: 0; | ||
| 83 | padding: 0; | ||
| 84 | } | ||
| 85 | |||
| 86 | fieldset { | ||
| 87 | margin: 0; | ||
| 88 | padding: 0; | ||
| 89 | border: none; | ||
| 90 | } | ||
| 91 | |||
| 92 | legend { | ||
| 93 | display: none; | ||
| 94 | } | ||
| 95 | |||
| 96 | input, textarea, select, button { | ||
| 97 | font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; | ||
| 98 | font-size: 13px; | ||
| 99 | color: #333333; | ||
| 100 | } | ||
| 101 | |||
| 102 | #wrapper { | ||
| 103 | } | ||
| 104 | |||
| 105 | /* Header */ | ||
| 106 | |||
| 107 | #header { | ||
| 108 | width: 900px; | ||
| 109 | min-height: 40px; | ||
| 110 | margin: 0 auto 20px auto; | ||
| 111 | padding-top: 10px; | ||
| 112 | } | ||
| 113 | |||
| 114 | #logo { | ||
| 115 | float: left; | ||
| 116 | height: 40px; | ||
| 117 | margin-left: 10px; | ||
| 118 | } | ||
| 119 | |||
| 120 | #logo h1 { | ||
| 121 | float: left; | ||
| 122 | margin: 0; | ||
| 123 | font-size: 38px; | ||
| 124 | color: #0099E8; | ||
| 125 | } | ||
| 126 | |||
| 127 | #logo h1 sup { | ||
| 128 | vertical-align: text-top; | ||
| 129 | font-size: 24px; | ||
| 130 | } | ||
| 131 | |||
| 132 | #logo h1 a { | ||
| 133 | color: #0099E8; | ||
| 134 | } | ||
| 135 | |||
| 136 | #logo h2 { | ||
| 137 | float: left; | ||
| 138 | margin: 0; | ||
| 139 | padding: 20px 0 0 10px; | ||
| 140 | text-transform: uppercase; | ||
| 141 | font-family: Arial, Helvetica, sans-serif; | ||
| 142 | font-size: 10px; | ||
| 143 | color: #6D6D6D; | ||
| 144 | } | ||
| 145 | |||
| 146 | #logo a { | ||
| 147 | text-decoration: none; | ||
| 148 | color: #FFFFFF; | ||
| 149 | } | ||
| 150 | |||
| 151 | /* Menu */ | ||
| 152 | |||
| 153 | #menu { | ||
| 154 | float: right; | ||
| 155 | } | ||
| 156 | |||
| 157 | #menu ul { | ||
| 158 | margin: 0; | ||
| 159 | padding: 0; | ||
| 160 | list-style: none; | ||
| 161 | } | ||
| 162 | |||
| 163 | #menu li { | ||
| 164 | display: inline; | ||
| 165 | } | ||
| 166 | |||
| 167 | #menu a { | ||
| 168 | display: block; | ||
| 169 | float: left; | ||
| 170 | margin-left: 5px; | ||
| 171 | background: #0094E0; | ||
| 172 | border: 1px dashed #FFFFFF; | ||
| 173 | padding: 1px 10px; | ||
| 174 | text-decoration: none; | ||
| 175 | font-size: 12px; | ||
| 176 | color: #FFFFFF; | ||
| 177 | } | ||
| 178 | |||
| 179 | #menu a:hover { | ||
| 180 | text-decoration: underline; | ||
| 181 | } | ||
| 182 | |||
| 183 | #menu .active a { | ||
| 184 | } | ||
| 185 | |||
| 186 | /* Page */ | ||
| 187 | |||
| 188 | #page { | ||
| 189 | width: 900px; | ||
| 190 | margin: 0 auto; | ||
| 191 | background: #FFFFFF; | ||
| 192 | border: 1px #F0E9D6 solid; | ||
| 193 | padding: 20px 20px; | ||
| 194 | } | ||
| 195 | |||
| 196 | /* Content */ | ||
| 197 | |||
| 198 | #content { | ||
| 199 | float: left; | ||
| 200 | width: 600px; | ||
| 201 | padding-left: 10px; | ||
| 202 | } | ||
| 203 | |||
| 204 | /* Post */ | ||
| 205 | |||
| 206 | .post { | ||
| 207 | } | ||
| 208 | |||
| 209 | .post .title { | ||
| 210 | margin-bottom: 20px; | ||
| 211 | padding-bottom: 5px; | ||
| 212 | /* padding-left: 40px; */ | ||
| 213 | border-bottom: 1px dashed #D1D1D1; | ||
| 214 | color: #8BCB2F; | ||
| 215 | } | ||
| 216 | |||
| 217 | .post .title b { | ||
| 218 | font-weight: normal; | ||
| 219 | color: #0094E0; | ||
| 220 | } | ||
| 221 | |||
| 222 | .post .entry { | ||
| 223 | } | ||
| 224 | |||
| 225 | .post .meta { | ||
| 226 | margin: 0; | ||
| 227 | padding: 15px 0 60px 0; | ||
| 228 | } | ||
| 229 | |||
| 230 | .post .meta p { | ||
| 231 | margin: 0; | ||
| 232 | line-height: normal; | ||
| 233 | } | ||
| 234 | |||
| 235 | .post .meta .byline { | ||
| 236 | float: left; | ||
| 237 | color: #0000FF; | ||
| 238 | } | ||
| 239 | |||
| 240 | .post .meta .links { | ||
| 241 | float: left; | ||
| 242 | } | ||
| 243 | |||
| 244 | .post .meta .more { | ||
| 245 | width: 185px; | ||
| 246 | height: 35px; | ||
| 247 | padding: 5px 10px; | ||
| 248 | background: #8BCB2F; | ||
| 249 | border: 1px dashed #FFFFFF; | ||
| 250 | text-transform: uppercase; | ||
| 251 | text-decoration: none; | ||
| 252 | font-size: 9px; | ||
| 253 | } | ||
| 254 | |||
| 255 | .post .meta .comments { | ||
| 256 | padding: 5px 10px; | ||
| 257 | text-transform: uppercase; | ||
| 258 | text-decoration: none; | ||
| 259 | background: #0094E0; | ||
| 260 | border: 1px dashed #FFFFFF; | ||
| 261 | font-size: 9px; | ||
| 262 | } | ||
| 263 | |||
| 264 | .post .meta b { | ||
| 265 | display: none; | ||
| 266 | } | ||
| 267 | |||
| 268 | .post .meta a { | ||
| 269 | color: #FFFFFF; | ||
| 270 | } | ||
| 271 | /* Sidebar */ | ||
| 272 | |||
| 273 | #sidebar { | ||
| 274 | float: right; | ||
| 275 | width: 230px; | ||
| 276 | padding-right: 10px; | ||
| 277 | } | ||
| 278 | |||
| 279 | #sidebar ul { | ||
| 280 | margin: 0; | ||
| 281 | padding: 10px 0 0 0; | ||
| 282 | list-style: none; | ||
| 283 | } | ||
| 284 | |||
| 285 | #sidebar li { | ||
| 286 | margin-bottom: 40px; | ||
| 287 | } | ||
| 288 | |||
| 289 | #sidebar li ul { | ||
| 290 | } | ||
| 291 | |||
| 292 | #sidebar li li { | ||
| 293 | margin: 0; | ||
| 294 | padding: 6px 0; | ||
| 295 | border-bottom: 1px dashed #D1D1D1; | ||
| 296 | display: block; | ||
| 297 | } | ||
| 298 | |||
| 299 | #sidebar li li a { | ||
| 300 | margin: 0; | ||
| 301 | padding-left: 1.5em; | ||
| 302 | display: block; | ||
| 303 | line-height: 20px; | ||
| 304 | } | ||
| 305 | |||
| 306 | #sidebar h2 { | ||
| 307 | padding-bottom: 5px; | ||
| 308 | font-size: 18px; | ||
| 309 | font-weight: normal; | ||
| 310 | color: #0094E0; | ||
| 311 | } | ||
| 312 | |||
| 313 | #sidebar strong, #sidebar b { | ||
| 314 | color: #8BCB2F; | ||
| 315 | } | ||
| 316 | |||
| 317 | #sidebar a { | ||
| 318 | text-decoration: none; | ||
| 319 | color: #6D6D6D; | ||
| 320 | } | ||
| 321 | |||
| 322 | /* Search */ | ||
| 323 | |||
| 324 | #search { | ||
| 325 | } | ||
| 326 | |||
| 327 | #search h2 { | ||
| 328 | } | ||
| 329 | |||
| 330 | #s { | ||
| 331 | width: 80%; | ||
| 332 | margin-right: 5px; | ||
| 333 | padding: 3px; | ||
| 334 | border: 1px solid #F0F0F0; | ||
| 335 | } | ||
| 336 | |||
| 337 | #x { | ||
| 338 | padding: 3px; | ||
| 339 | background: #ECECEC repeat-x left bottom; | ||
| 340 | border: none; | ||
| 341 | text-transform: lowercase; | ||
| 342 | font-size: 11px; | ||
| 343 | color: #4F4F4F; | ||
| 344 | } | ||
| 345 | |||
| 346 | /* Boxes */ | ||
| 347 | |||
| 348 | .box1 { | ||
| 349 | padding: 20px; | ||
| 350 | } | ||
| 351 | |||
| 352 | .box2 { | ||
| 353 | color: #BABABA; | ||
| 354 | } | ||
| 355 | |||
| 356 | .box2 h2 { | ||
| 357 | margin-bottom: 15px; | ||
| 358 | font-size: 16px; | ||
| 359 | color: #FFFFFF; | ||
| 360 | } | ||
| 361 | |||
| 362 | .box2 ul { | ||
| 363 | margin: 0; | ||
| 364 | padding: 0; | ||
| 365 | list-style: none; | ||
| 366 | } | ||
| 367 | |||
| 368 | .box2 a:link, .box2 a:hover, .box2 a:active, .box2 a:visited { | ||
| 369 | color: #EDEDED; | ||
| 370 | } | ||
| 371 | |||
| 372 | /* Footer */ | ||
| 373 | |||
| 374 | #footer { | ||
| 375 | width: 880px; | ||
| 376 | margin: 0 auto; | ||
| 377 | padding: 10px 0 0 0; | ||
| 378 | color: #353535; | ||
| 379 | } | ||
| 380 | |||
| 381 | html>body #footer { | ||
| 382 | height: auto; | ||
| 383 | } | ||
| 384 | |||
| 385 | #footer-menu { | ||
| 386 | } | ||
| 387 | |||
| 388 | #legal { | ||
| 389 | clear: both; | ||
| 390 | font-size: 11px; | ||
| 391 | color: #6D6D6D; | ||
| 392 | } | ||
| 393 | |||
| 394 | #legal a { | ||
| 395 | color: #0094E0; | ||
| 396 | } | ||
| 397 | |||
| 398 | #footer-menu { | ||
| 399 | float: left; | ||
| 400 | color: #353535; | ||
| 401 | text-transform: capitalize; | ||
| 402 | } | ||
| 403 | |||
| 404 | #footer-menu ul { | ||
| 405 | margin: 0; | ||
| 406 | padding: 0; | ||
| 407 | list-style: none; | ||
| 408 | } | ||
| 409 | |||
| 410 | #footer-menu li { | ||
| 411 | display: inline; | ||
| 412 | } | ||
| 413 | |||
| 414 | #footer-menu a { | ||
| 415 | display: block; | ||
| 416 | float: left; | ||
| 417 | padding: 1px 15px 1px 15px; | ||
| 418 | text-decoration: none; | ||
| 419 | font-size: 11px; | ||
| 420 | color: #6D6D6D; | ||
| 421 | } | ||
| 422 | |||
| 423 | #footer-menu a:hover { | ||
| 424 | text-decoration: underline; | ||
| 425 | } | ||
| 426 | |||
| 427 | #footer-menu .active a { | ||
| 428 | padding-left: 0; | ||
| 429 | } | ||
| 430 | |||
| 431 | /* Petar's additions! */ | ||
| 432 | |||
| 433 | .edit input.textbox { | ||
| 434 | width: 50%; | ||
| 435 | } | ||
| 436 | |||
| 437 | .edit textarea { | ||
| 438 | width: 100%; | ||
| 439 | height: 250px; | ||
| 440 | } | ||
| 441 | |||
| 442 | .edit p.edit { | ||
| 443 | margin-top: 5px; | ||
| 444 | margin-bottom: 5px; | ||
| 445 | } | ||
| 446 | |||
| 447 | .post h2 { | ||
| 448 | text-transform: none; | ||
| 449 | } | ||
| 450 | |||
| 451 | .dingbat { | ||
| 452 | color: #006EA6; | ||
| 453 | } | ||
| 454 | |||
| 455 | #sidebar h2.bold { | ||
| 456 | font-weight: bold; | ||
| 457 | } | ||
| 458 | |||
| 459 | div.entry * { | ||
| 460 | color: #6D6D6D; | ||
| 461 | } | ||
| 462 | |||
| 463 | span.required { | ||
| 464 | color: red; | ||
| 465 | } | ||
| 466 | |||
| 467 | p.item-desc { | ||
| 468 | font-family: Georgia,"Times New Roman",Times,serif; | ||
| 469 | } | ||
| 470 | |||
| 471 | h3 .dingbat { | ||
| 472 | margin-right: 10px; | ||
| 473 | } | ||
| 474 | |||
| 475 | div#error { | ||
| 476 | border: 1px solid #F0E9D6; | ||
| 477 | margin-bottom: 10px; | ||
| 478 | } | ||
| 479 | |||
| 480 | #error ul { | ||
| 481 | margin: 1em 0 1em; | ||
| 482 | } | ||
| 483 | |||
| 484 | #error ul li pre { | ||
| 485 | margin: 0; | ||
| 486 | color: #6D6D6D; | ||
| 487 | } | ||
| 488 | |||
| 489 | #error h2 { | ||
| 490 | margin-top: 0.5em; | ||
| 491 | margin-left: 1em; | ||
| 492 | color: red; | ||
| 493 | font-size: 18px; | ||
| 494 | font-weight: bold; | ||
| 495 | } | ||
| 496 | |||
| 497 | .more { | ||
| 498 | margin-right: 5px; | ||
| 499 | } | ||
| 500 | |||
| 501 | div.entry p { | ||
| 502 | line-height: 1.8em; | ||
| 503 | font-family: Georgia,"Times New Roman",Times,serif; | ||
| 504 | text-align: left; | ||
| 505 | } | ||
| 506 | |||
| 507 | div.entry li { | ||
| 508 | line-height: 1.8em; | ||
| 509 | font-family: Georgia,"Times New Roman",Times,serif; | ||
| 510 | text-align: left; | ||
| 511 | } | ||
| 512 | |||
| 513 | div.entry h1, h2, h3 { | ||
| 514 | margin-top: 0.7em; | ||
| 515 | margin-bottom: 0.3em; | ||
| 516 | } | ||
| 517 | |||
| 518 | div.pager { | ||
| 519 | text-align: center; | ||
| 520 | } | ||
| 521 | |||
| 522 | div.dingbat { | ||
| 523 | float: left; | ||
| 524 | width: 1.5em; | ||
| 525 | } | ||
| 526 | |||
| 527 | .invalid { | ||
| 528 | outline: red solid medium; | ||
| 529 | } | ||
| 530 | |||
| 531 | li.warning { | ||
| 532 | color: #8BCB2F; | ||
| 533 | } | ||
| 534 | |||
| 535 | li.fatal { | ||
| 536 | color: #FF0000; | ||
| 537 | } | ||
| 538 | |||
| 539 | |||
| 540 | EndOfHTML | ||
| 541 | |||
| 542 | } | ||
| 543 | |||
| 544 | 1; |