From de53fc452a22beedf28a92defe19168153e078cd Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Sun, 15 Nov 2009 11:52:07 -0500 Subject: Added holidays to Layouts 4.5 and 6.2 --- theme/css.php | 1 - theme/css/blog.php | 8 +++ theme/css/holiday.php | 139 --------------------------------------- theme/layouts/4.5/holiday.php | 4 +- theme/layouts/6.2/holiday.php | 148 ++++++++++++++++++++++++++++++++++++++++++ theme/layouts/6.2/style.php | 2 + theme/layouts/7/holiday.php | 139 +++++++++++++++++++++++++++++++++++++++ theme/layouts/7/style.php | 1 + theme/post.tpl | 4 +- 9 files changed, 302 insertions(+), 144 deletions(-) delete mode 100755 theme/css/holiday.php create mode 100755 theme/layouts/6.2/holiday.php create mode 100755 theme/layouts/7/holiday.php (limited to 'theme') diff --git a/theme/css.php b/theme/css.php index e65d5c6..74e7c09 100644 --- a/theme/css.php +++ b/theme/css.php @@ -29,6 +29,5 @@ include('layouts/' . getLayout() . '/style.php'); include('css/blog.php'); include('css/bubbles.css'); include('css/quotes.css'); -include('css/holiday.php'); ?> diff --git a/theme/css/blog.php b/theme/css/blog.php index 4c69e57..b84db08 100644 --- a/theme/css/blog.php +++ b/theme/css/blog.php @@ -36,11 +36,19 @@ span.back-post { font-size: 0.9em; } +span.back-post:before { + content: "\ab\a0"; +} + span.next-post { float: right; font-size: 0.9em; } +span.next-post:after { + content: "\a0\bb"; +} + div.post-date-1 { width: 45px; height: 49px; diff --git a/theme/css/holiday.php b/theme/css/holiday.php deleted file mode 100755 index a1639c7..0000000 --- a/theme/css/holiday.php +++ /dev/null @@ -1,139 +0,0 @@ - - -div#window { - background-color: ; - background-image: url(/theme/images/backgrounds/.PNG); - background-position: bottom left; - background-repeat: repeat-x; - background-attachment: fixed; - padding: 0 !important; -} - - - -div#content div#actual-content { - background-color: rgba(255, 255, 255, 0.5); -} - - - -div#content div#actual-content { - background-color: rgba(0, 0, 0, 0.75); -} - -.light-at-night { - color: #536482; -} - - diff --git a/theme/layouts/4.5/holiday.php b/theme/layouts/4.5/holiday.php index 65c1826..775e52a 100644 --- a/theme/layouts/4.5/holiday.php +++ b/theme/layouts/4.5/holiday.php @@ -100,9 +100,9 @@ if (!isset($bgcolor)) { $bgcolor='aqua'; - include("css/day.css"); + include("layouts/4.5/day.css"); } else { - include("css/night.css"); + include("layouts/4.5/night.css"); } ?> diff --git a/theme/layouts/6.2/holiday.php b/theme/layouts/6.2/holiday.php new file mode 100755 index 0000000..697e2cc --- /dev/null +++ b/theme/layouts/6.2/holiday.php @@ -0,0 +1,148 @@ + + +body { + background-color: ; + background-image: url(/theme/images/backgrounds/.PNG); + background-position: bottom left; + background-repeat: repeat-x; + background-attachment: fixed; +} + + + +div#wrap { + background-color: rgba(255, 255, 255, 0.5); +} + + + +div#wrap { + background-color: rgba(0, 0, 0, 0.75); +} + +div#banner { + background-color: black; + background-image: url(/theme/images/fourisland_header_night.png); +} + +div#fi-navbar ul li.active img { + background-color: black; + outline: black solid .5em; +} + +.light-at-night, .light-at-night-l6p2 { + color: #555555; +} + + diff --git a/theme/layouts/6.2/style.php b/theme/layouts/6.2/style.php index 73bce49..0d619e5 100755 --- a/theme/layouts/6.2/style.php +++ b/theme/layouts/6.2/style.php @@ -29,4 +29,6 @@ if (((date('G') >= 20) || (date('G') <= 6)) || isset($_GET['night']) && !isset($ include('layouts/6.2/night.css'); } +include('layouts/6.2/holiday.php'); + ?> diff --git a/theme/layouts/7/holiday.php b/theme/layouts/7/holiday.php new file mode 100755 index 0000000..d9a9c10 --- /dev/null +++ b/theme/layouts/7/holiday.php @@ -0,0 +1,139 @@ + + +div#window { + background-color: ; + background-image: url(/theme/images/backgrounds/.PNG); + background-position: bottom left; + background-repeat: repeat-x; + background-attachment: fixed; + padding: 0 !important; +} + + + +div#content div#actual-content { + background-color: rgba(255, 255, 255, 0.5); +} + + + +div#content div#actual-content { + background-color: rgba(0, 0, 0, 0.75); +} + +.light-at-night { + color: #536482; +} + + diff --git a/theme/layouts/7/style.php b/theme/layouts/7/style.php index 3c44d1e..1062e77 100755 --- a/theme/layouts/7/style.php +++ b/theme/layouts/7/style.php @@ -23,5 +23,6 @@ if (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);} require('headerproc.php'); include('layouts/7/style.css'); +include('layouts/7/holiday.php'); ?> diff --git a/theme/post.tpl b/theme/post.tpl index 7bf5481..f17fd45 100755 --- a/theme/post.tpl +++ b/theme/post.tpl @@ -1,6 +1,6 @@ -« - » + +