Update of /cvsroot/php-blog/serendipity/templates/moz-modern
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17040/moz-modern
Modified Files:
layout.php style.css
Log Message:
Home-link for moz-modern. Fixed linebreaks.
Note to myself: Beat that Komodo to never ever use windows-linebreaks again.
Index: layout.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/templates/moz-modern/layout.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- layout.php 3 Mar 2004 16:26:52 -0000 1.2
+++ layout.php 15 Mar 2004 08:52:10 -0000 1.3
@@ -5,25 +5,25 @@
include_once("serendipity_sidebar_items.php");
if (!$serendipity['embed'] || $serendipity['embed'] === 'false' || $serendipity['embed'] === false) {
- ob_start();
- serendipity_plugin_api::generate_plugins('left', 'div');
- $left = ob_get_contents();
+ ob_start();
+ serendipity_plugin_api::generate_plugins('left', 'div');
+ $left = ob_get_contents();
ob_end_clean();
-
- ob_start();
- serendipity_plugin_api::generate_plugins('right', 'div');
- $right = ob_get_contents();
+
+ ob_start();
+ serendipity_plugin_api::generate_plugins('right', 'div');
+ $right = ob_get_contents();
ob_end_clean();
}
-
+
?>
<div id="serendipity_banner">
- <h1><?php echo htmlentities($serendipity['blogTitle']) ?></h1>
+ <h1><a class="homelink1" href="<?php echo $serendipity['baseURL']; ?>"><?php echo htmlentities($serendipity['blogTitle']) ?></a></h1>
<?php
$sub = isset($serendipity['blogSubTitle']) ? $serendipity['blogSubTitle'] : $serendipity['blogDescription'];
if (strlen($sub)) {
?>
- <h2><?php echo $sub ?></h2>
+ <h2><a class="homelink2" href="<?php echo $serendipity['baseURL']; ?>"><?php echo $sub ?></a></h2>
<?php
}
?>
Index: style.css
===================================================================
RCS file: /cvsroot/php-blog/serendipity/templates/moz-modern/style.css,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- style.css 3 Mar 2004 16:06:46 -0000 1.2
+++ style.css 15 Mar 2004 08:52:10 -0000 1.3
@@ -1,367 +1,381 @@
-/*
- *
- * "Mozilla Modern Tribute" for serendipity (http://www.s9y.org/), by Garvin Hicking (http://supergarv.de/)
- *
- */
-
-/* HTML Elements */
-
-body {
- background-color: #C7D0D9;
- color: #FFFFFF;
- font-family: Trebuchet MS, Tahoma, Verdana;
- margin: 0px;
- padding: 0px;
- top: 0px;
- left: 0px;
-}
-
-a,
-a:link,
-a:visited {
- color: #5D616E;
- text-decoration: underline;
- font-weight: bold;
- font-size: smaller;
- padding-left: 3px;
- padding-right: 3px;
-}
-
-a:active,
-a:hover {
- color: #C7D0D9;
- text-decoration: none;
- background-color: #5D616E;
-}
-
-h3, h4 {
- margin: 0px;
-}
-
-/* Banner */
-
-#serendipity_banner {
- font-weight: bold;
- padding-left: 15px;
- border-bottom: 1px solid #8F9FB1;
- border-top: 1px solid #8F9FB1;
- background-image: url({TEMPLATE_PATH}img/background.png);
- margin-top: 10px;
- padding-top: 5px;
-}
-
-#serendipity_banner h1 {
- color: #F8FAFE;
- font-size: x-large;
- margin-top: 5px;
- margin-bottom: 1px;
- border-bottom: 1px solid;
- display: inline;
- padding-right: 15px;
- padding-left: 5px;
-}
-
-#serendipity_banner h2 {
- color: #494F5D;
- font-size: small;
- margin-top: 2px;
- margin-bottom: 6px;
- padding-left: 5px;
-}
-
-/* Calendar */
-
-table.serendipity_calendar {
- width: 130px;
- margin-left: auto;
- margin-right: auto;
- margin-top: 5px;
- margin-bottom: 5px;
-}
-
-table.serendipity_calendar a,
-table.serendipity_calendar a:link,
-table.serendipity_calendar a:visited,
-table.serendipity_calendar a:hover {
- color: #999999;
- font-size: x-small;
-}
-
-table.serendipity_calendar td {
- font-size: x-small;
- text-align: center;
-}
-
-td.serendipity_weekDayName {
- font-size: x-small;
- font-weight: bold;
-}
-
-td.serendipity_calendarHeader a:link,
-td.serendipity_calendarHeader a:visited,
-td.serendipity_calendarHeader a:hover {
- border: 0;
- text-decoration: none;
-}
-
-/* Sidebars */
-
-#mainpane {
- position: absolute;
- margin-top: 3px;
- width: 99%;
-}
-
-#content {
- margin-left: 210px;
- margin-right: 210px;
-}
-
-#content_left {
- margin-left: 210px;
-}
-
-#content_right {
- margin-right: 210px;
-}
-
-#serendipityLeftSideBar {
- width: 200px;
- top: 0px;
- position: absolute;
- padding: 5px;
- margin: 3px;
- margin-top: 20px;
- left: 2px;
-}
-
-#serendipityRightSideBar {
- width: 200px;
- position: absolute;
- top: 0px;
- right: 2px;
- padding: 5px;
- margin: 3px;
- margin-top: 20px;
-}
-
-div.serendipitySideBarItem {
- color: #666666;
- font-size: small;
- font-weight: normal;
- margin-bottom: 12px;
- padding-bottom: 12px;
-}
-
-.serendipity_commentsTitle,
-#serendipityLeftSideBar .serendipitySideBarTitle {
- border-left: 10px solid #8F9FB1;
- margin: 0;
- font-size: smaller;
- font-weight: bold;
- padding-left: 4px;
- text-transform: uppercase;
- border-top: 1px solid white;
- border-bottom: 1px solid white;
- border-right: 1px solid white;
- background-color: #BAC6D1;
- color: white;
- margin-bottom: 10px;
- letter-spacing: 2px;
- -moz-border-radius-topright: 8px;
- -moz-border-radius-bottomright: 8px;
-}
-
-#serendipityLeftSideBar div.serendipitySideBarContent {
- padding: 2px;
- border-right: 5px solid #BAC6D1;
- padding-bottom: 5px;
- border-bottom: 1px solid #BAC6D1;
- margin-right: 5px;
- -moz-border-radius-bottomright: 15px;
-}
-
-#serendipityRightSideBar .serendipitySideBarTitle {
- border-right: 10px solid #8F9FB1;
- margin: 0px;
- font-size: smaller;
- font-weight: bold;
- padding-right: 4px;
- text-transform: uppercase;
- text-align: right;
- border-left: 1px solid white;
- border-top: 1px solid white;
- border-bottom: 1px solid white;
- color: white;
- margin-bottom: 10px;
- background-color: #BAC6D1;
- letter-spacing: 2px;
- -moz-border-radius-topleft: 8px;
- -moz-border-radius-bottomleft: 8px;
-}
-
-#serendipityRightSideBar div.serendipitySideBarContent {
- padding: 2px;
- border-left: 5px solid #BAC6D1;
- padding-bottom: 5px;
- border-bottom: 1px solid #BAC6D1;
- margin-right: 5px;
- margin-left: 5px;
- padding-left: 10px;
- -moz-border-radius-bottomleft: 15px;
-}
-
-/* Entries */
-
-div.serendipity_Entry_Date {
- margin: 10px;
- margin-bottom: 0px;
- padding: 10px;
- width: auto;
-}
-
-.serendipity_date {
- color: #ffffff;
- font-size: smaller;
- font-weight: bold;
- margin-top: 15px;
- border-left: 5px solid #8F9FB1;
- padding-left: 15px;
- background-color: #BAC6D1;
-}
-
-.serendipity_title,
-.serendipity_Admin_title {
- border-top: 1px solid #8F9FB1;
- border-left: 5px solid #8F9FB1;
- font-size: large;
- font-weight: bold;
- padding: 10px;
- margin-top: 20px;
- -moz-border-radius-topleft: 16px;
-}
-
-.serendipity_entry,
-.serendipity_admin {
- background: #BAC6D1;
- margin-top: 10px;
- color: #494F5D;
- font-size: small;
- font-weight: normal;
- padding: 10px;
-}
-
-div.serendipity_entryFooter {
- clear: both;
- font-size: x-small;
- margin-top: 15px;
- border-top: 1px solid #8F9FB1;
- border-bottom: 2px solid #8F9FB1;
- background-color: #C7D0D9;
- padding-left: 2px;
- color: #494F5D;
-}
-
-/* Comments */
-
-.serendipityCommentForm input,
-.serendipityCommentForm textarea {
- background-color: #C7D0D9;
- border: 1px solid #8F9FB1;
- padding: 2px;
- font-family: Trebuchet MS, Tahoma, Verdana;
- -moz-border-radius: 5px;
-}
-
-.serendipity_comment {
- background-color: #C7D0D9;
- color: #494F5D;
- font-size: small;
- margin-left: 2px;
- margin-right: 2px;
- padding: 6px;
-}
-
-.serendipity_comment a {
- margin: 0px;
- padding: 0px;
-}
-
-.serendipity_commentsLabel {
- font-size: small;
- vertical-align: top;
- padding-top: 5px;
-}
-
-.serendipity_commentsValue textarea,
-.serendipity_commentsValue input {
- width: 99%;
-}
-
-.serendipity_commentsTitle {
- margin-top: 20px;
- margin-bottom: 15px;
-}
-
-.serendipity_comment_source {
- border-top: 1px solid #8F9FB1;
- border-bottom: 2px solid #8F9FB1;
- background-color: #BAC6D1;
- padding-left: 5px;
- font-size: smaller;
- margin-top: 10px;
-}
-
-/* Misc */
-
-#serendipity_comment_page {
-}
-
-/* Admin */
-
-.serendipity_admin td {
- color: #494F5D;
-}
-
-.serendipity_admin input,
-.serendipity_admin select,
-.serendipity_admin textarea,
-.serendipity_admin fieldset{
- background-color: #C7D0D9;
- border: 1px solid #8F9FB1;
- padding: 2px;
- font-family: Trebuchet MS, Tahoma, Verdana;
- -moz-border-radius: 5px;
-}
-
-#serendipity_admin_entries_page #content,
-#serendipity_admin_image_page #content,
-#serendipity_admin_page #content {
- padding-left: 35px;
-}
-
-#serendipity_admin_page, #serendipity_admin_image_page, #serendipity_admin_entries_page {
-}
-
-#serendipity_admin_entries_page #serendipityLeftSideBar,
-#serendipity_admin_page #serendipityLeftSideBar,
-#serendipity_admin_image_page #serendipityLeftSideBar
- {
- position: relative;
-}
-
-/* Copyright stuff */
-
-#copyright {
- color: #C7D0D8;
- text-align: center;
- margin: 10px;
-}
-
-#copyright a {
- color: #C7D0D8;
-}
-
-
-
-
+/*
+ *
+ * "Mozilla Modern Tribute" for serendipity (http://www.s9y.org/), by Garvin Hicking (http://supergarv.de/)
+ *
+ */
+
+/* HTML Elements */
+
+body {
+ background-color: #C7D0D9;
+ color: #FFFFFF;
+ font-family: Trebuchet MS, Tahoma, Verdana;
+ margin: 0px;
+ padding: 0px;
+ top: 0px;
+ left: 0px;
+}
+
+a,
+a:link,
+a:visited {
+ color: #5D616E;
+ text-decoration: underline;
+ font-weight: bold;
+ font-size: smaller;
+ padding-left: 3px;
+ padding-right: 3px;
+}
+
+a:active,
+a:hover {
+ color: #C7D0D9;
+ text-decoration: none;
+ background-color: #5D616E;
+}
+
+h3, h4 {
+ margin: 0px;
+}
+
+/* Banner */
+
+#serendipity_banner {
+ font-weight: bold;
+ padding-left: 15px;
+ border-bottom: 1px solid #8F9FB1;
+ border-top: 1px solid #8F9FB1;
+ background-image: url({TEMPLATE_PATH}img/background.png);
+ margin-top: 10px;
+ padding-top: 5px;
+}
+
+a.homelink1,
+a.homelink1:hover,
+a.homelink1:link,
+a.homelink1:visited,
+#serendipity_banner h1 {
+ color: #F8FAFE;
+ font-size: x-large;
+ margin-top: 5px;
+ margin-bottom: 1px;
+ border-bottom: 1px solid;
+ display: inline;
+ padding-right: 15px;
+ padding-left: 5px;
+ text-decoration: none;
+}
+
+a.homelink2,
+a.homelink2:hover,
+a.homelink2:link,
+a.homelink2:visited,
+#serendipity_banner h2 {
+ color: #494F5D;
+ font-size: small;
+ margin-top: 2px;
+ margin-bottom: 6px;
+ padding-left: 5px;
+ text-decoration: none;
+}
+
+#serendipity_banner h2 a:hover {
+ color: #FFFFFF;
+}
+
+/* Calendar */
+
+table.serendipity_calendar {
+ width: 130px;
+ margin-left: auto;
+ margin-right: auto;
+ margin-top: 5px;
+ margin-bottom: 5px;
+}
+
+table.serendipity_calendar a,
+table.serendipity_calendar a:link,
+table.serendipity_calendar a:visited,
+table.serendipity_calendar a:hover {
+ color: #999999;
+ font-size: x-small;
+}
+
+table.serendipity_calendar td {
+ font-size: x-small;
+ text-align: center;
+}
+
+td.serendipity_weekDayName {
+ font-size: x-small;
+ font-weight: bold;
+}
+
+td.serendipity_calendarHeader a:link,
+td.serendipity_calendarHeader a:visited,
+td.serendipity_calendarHeader a:hover {
+ border: 0;
+ text-decoration: none;
+}
+
+/* Sidebars */
+
+#mainpane {
+ position: absolute;
+ margin-top: 3px;
+ width: 99%;
+}
+
+#content {
+ margin-left: 210px;
+ margin-right: 210px;
+}
+
+#content_left {
+ margin-left: 210px;
+}
+
+#content_right {
+ margin-right: 210px;
+}
+
+#serendipityLeftSideBar {
+ width: 200px;
+ top: 0px;
+ position: absolute;
+ padding: 5px;
+ margin: 3px;
+ margin-top: 20px;
+ left: 2px;
+}
+
+#serendipityRightSideBar {
+ width: 200px;
+ position: absolute;
+ top: 0px;
+ right: 2px;
+ padding: 5px;
+ margin: 3px;
+ margin-top: 20px;
+}
+
+div.serendipitySideBarItem {
+ color: #666666;
+ font-size: small;
+ font-weight: normal;
+ margin-bottom: 12px;
+ padding-bottom: 12px;
+}
+
+.serendipity_commentsTitle,
+#serendipityLeftSideBar .serendipitySideBarTitle {
+ border-left: 10px solid #8F9FB1;
+ margin: 0;
+ font-size: smaller;
+ font-weight: bold;
+ padding-left: 4px;
+ text-transform: uppercase;
+ border-top: 1px solid white;
+ border-bottom: 1px solid white;
+ border-right: 1px solid white;
+ background-color: #BAC6D1;
+ color: white;
+ margin-bottom: 10px;
+ letter-spacing: 2px;
+ -moz-border-radius-topright: 8px;
+ -moz-border-radius-bottomright: 8px;
+}
+
+#serendipityLeftSideBar div.serendipitySideBarContent {
+ padding: 2px;
+ border-right: 5px solid #BAC6D1;
+ padding-bottom: 5px;
+ border-bottom: 1px solid #BAC6D1;
+ margin-right: 5px;
+ -moz-border-radius-bottomright: 15px;
+}
+
+#serendipityRightSideBar .serendipitySideBarTitle {
+ border-right: 10px solid #8F9FB1;
+ margin: 0px;
+ font-size: smaller;
+ font-weight: bold;
+ padding-right: 4px;
+ text-transform: uppercase;
+ text-align: right;
+ border-left: 1px solid white;
+ border-top: 1px solid white;
+ border-bottom: 1px solid white;
+ color: white;
+ margin-bottom: 10px;
+ background-color: #BAC6D1;
+ letter-spacing: 2px;
+ -moz-border-radius-topleft: 8px;
+ -moz-border-radius-bottomleft: 8px;
+}
+
+#serendipityRightSideBar div.serendipitySideBarContent {
+ padding: 2px;
+ border-left: 5px solid #BAC6D1;
+ padding-bottom: 5px;
+ border-bottom: 1px solid #BAC6D1;
+ margin-right: 5px;
+ margin-left: 5px;
+ padding-left: 10px;
+ -moz-border-radius-bottomleft: 15px;
+}
+
+/* Entries */
+
+div.serendipity_Entry_Date {
+ margin: 10px;
+ margin-bottom: 0px;
+ padding: 10px;
+ width: auto;
+}
+
+.serendipity_date {
+ color: #ffffff;
+ font-size: smaller;
+ font-weight: bold;
+ margin-top: 15px;
+ border-left: 5px solid #8F9FB1;
+ padding-left: 15px;
+ background-color: #BAC6D1;
+}
+
+.serendipity_title,
+.serendipity_Admin_title {
+ border-top: 1px solid #8F9FB1;
+ border-left: 5px solid #8F9FB1;
+ font-size: large;
+ font-weight: bold;
+ padding: 10px;
+ margin-top: 20px;
+ -moz-border-radius-topleft: 16px;
+}
+
+.serendipity_entry,
+.serendipity_admin {
+ background: #BAC6D1;
+ margin-top: 10px;
+ color: #494F5D;
+ font-size: small;
+ font-weight: normal;
+ padding: 10px;
+}
+
+div.serendipity_entryFooter {
+ clear: both;
+ font-size: x-small;
+ margin-top: 15px;
+ border-top: 1px solid #8F9FB1;
+ border-bottom: 2px solid #8F9FB1;
+ background-color: #C7D0D9;
+ padding-left: 2px;
+ color: #494F5D;
+}
+
+/* Comments */
+
+.serendipityCommentForm input,
+.serendipityCommentForm textarea {
+ background-color: #C7D0D9;
+ border: 1px solid #8F9FB1;
+ padding: 2px;
+ font-family: Trebuchet MS, Tahoma, Verdana;
+ -moz-border-radius: 5px;
+}
+
+.serendipity_comment {
+ background-color: #C7D0D9;
+ color: #494F5D;
+ font-size: small;
+ margin-left: 2px;
+ margin-right: 2px;
+ padding: 6px;
+}
+
+.serendipity_comment a {
+ margin: 0px;
+ padding: 0px;
+}
+
+.serendipity_commentsLabel {
+ font-size: small;
+ vertical-align: top;
+ padding-top: 5px;
+}
+
+.serendipity_commentsValue textarea,
+.serendipity_commentsValue input {
+ width: 99%;
+}
+
+.serendipity_commentsTitle {
+ margin-top: 20px;
+ margin-bottom: 15px;
+}
+
+.serendipity_comment_source {
+ border-top: 1px solid #8F9FB1;
+ border-bottom: 2px solid #8F9FB1;
+ background-color: #BAC6D1;
+ padding-left: 5px;
+ font-size: smaller;
+ margin-top: 10px;
+}
+
+/* Misc */
+
+#serendipity_comment_page {
+}
+
+/* Admin */
+
+.serendipity_admin td {
+ color: #494F5D;
+}
+
+.serendipity_admin input,
+.serendipity_admin select,
+.serendipity_admin textarea,
+.serendipity_admin fieldset{
+ background-color: #C7D0D9;
+ border: 1px solid #8F9FB1;
+ padding: 2px;
+ font-family: Trebuchet MS, Tahoma, Verdana;
+ -moz-border-radius: 5px;
+}
+
+#serendipity_admin_entries_page #content,
+#serendipity_admin_image_page #content,
+#serendipity_admin_page #content {
+ padding-left: 35px;
+}
+
+#serendipity_admin_page, #serendipity_admin_image_page, #serendipity_admin_entries_page {
+}
+
+#serendipity_admin_entries_page #serendipityLeftSideBar,
+#serendipity_admin_page #serendipityLeftSideBar,
+#serendipity_admin_image_page #serendipityLeftSideBar
+ {
+ position: relative;
+}
+
+/* Copyright stuff */
+
+#copyright {
+ color: #C7D0D8;
+ text-align: center;
+ margin: 10px;
+}
+
+#copyright a {
+ color: #C7D0D8;
+}
+
+
+
+
|