[Catalyst-commits] r11384 - in trunk/site: . css/department css/global

jhannah at dev.catalyst.perl.org jhannah at dev.catalyst.perl.org
Fri Sep 18 20:23:21 GMT 2009


Author: jhannah
Date: 2009-09-18 20:23:21 +0000 (Fri, 18 Sep 2009)
New Revision: 11384

Modified:
   trunk/site/css/department/home.css
   trunk/site/css/global/generic.css
   trunk/site/css/global/layout.css
   trunk/site/index.html
Log:
- All relative URLs now so a checkout somewhere other than server / can be used for 
  development / QA.
- A tweak to the width of the "This book by Kieren Diment,..." paragraph to make 
  "Get it now!" fit again.


Modified: trunk/site/css/department/home.css
===================================================================
--- trunk/site/css/department/home.css	2009-09-18 19:27:45 UTC (rev 11383)
+++ trunk/site/css/department/home.css	2009-09-18 20:23:21 UTC (rev 11384)
@@ -1,3 +1,3 @@
 .catch {
-  background: url("/images/department/home/catch_apple_bg.jpg") top right no-repeat;
+  background: url("../../images/department/home/catch_apple_bg.jpg") top right no-repeat;
 }

Modified: trunk/site/css/global/generic.css
===================================================================
--- trunk/site/css/global/generic.css	2009-09-18 19:27:45 UTC (rev 11383)
+++ trunk/site/css/global/generic.css	2009-09-18 20:23:21 UTC (rev 11384)
@@ -1,7 +1,7 @@
 body {
   font-family: verdana, sans-serif;
   font-size: .8em;  
-  background: rgb(234,234,234) url("/images/layout/body_bg.png") center repeat-y;
+  background: rgb(234,234,234) url("../../images/layout/body_bg.png") center repeat-y;
   margin: 0;
   color: rgb(30,30,30);
 }
@@ -81,7 +81,7 @@
 .content ul li {
   list-style-type: none;
   padding-left: 1.5em;
-  background: url("/images/global/list_bullet.png") top left no-repeat;
+  background: url("../../images/global/list_bullet.png") top left no-repeat;
   background-position: .55em .55em;
 }
 
@@ -95,15 +95,15 @@
 }
 
 h2.icon_control {
-  background: url("/images/global/icon_control.png") top left no-repeat;
+  background: url("../../images/global/icon_control.png") top left no-repeat;
 }
 
 h2.icon_model {
-  background: url("/images/global/icon_model.png") top left no-repeat;
+  background: url("../../images/global/icon_model.png") top left no-repeat;
 }
 
 h2.icon_view {
-  background: url("/images/global/icon_view.png") top left no-repeat;
+  background: url("../../images/global/icon_view.png") top left no-repeat;
 }
 
 h2.icon_control,

Modified: trunk/site/css/global/layout.css
===================================================================
--- trunk/site/css/global/layout.css	2009-09-18 19:27:45 UTC (rev 11383)
+++ trunk/site/css/global/layout.css	2009-09-18 20:23:21 UTC (rev 11384)
@@ -1,4 +1,4 @@
- at import "/css/department/home.css";
+ at import "../department/home.css";
 
 #wrapper {
   width: 860px;
@@ -11,25 +11,25 @@
 
 #header {
   height: 123px;
-  background: url("/images/layout/header_bg_catalyst.png") no-repeat;
+  background: url("../../images/layout/header_bg_catalyst.png") no-repeat;
   border: solid 1px rgb(255,255,255);
   border-bottom: solid 1px rgb(238,238,238);
 }
 
 .control #header {
-  background: url("/images/layout/header_bg_control.png") no-repeat;
+  background: url("../../images/layout/header_bg_control.png") no-repeat;
 }
 
 .documentation #header {
-  background: url("/images/layout/header_bg_documentation.png") no-repeat;
+  background: url("../../images/layout/header_bg_documentation.png") no-repeat;
 }
 
 .model #header {
-  background: url("/images/layout/header_bg_model.png") no-repeat;
+  background: url("../../images/layout/header_bg_model.png") no-repeat;
 }
 
 .view #header {
-  background: url("/images/layout/header_bg_view.png") no-repeat;
+  background: url("../../images/layout/header_bg_view.png") no-repeat;
 }
 
 #header h1 {
@@ -39,7 +39,7 @@
   margin: 0;
   width: 170px;
   height: 58px;
-  background: url("/images/layout/catalyst_170pix.png");
+  background: url("../../images/layout/catalyst_170pix.png");
 }
 
 #header h1 a {
@@ -101,8 +101,8 @@
 .documentation #menu_global #documentation,
 .developer #menu_global #developer,
 .download #menu_global #download,
-.support #menu_global #support {
-  background: rgb(255,255,255) url("/images/layout/menu_global_bg_left.png") top left no-repeat;
+.support #menu_global #support,
+  background: rgb(255,255,255) url("../../images/layout/menu_global_bg_left.png") top left no-repeat;
 }
 
 .home #home div,
@@ -113,7 +113,7 @@
 .support #support div {
   cursor: default;
   color: rgb(85,85,85);
-  background: url("/images/layout/menu_global_bg_right.png") top right no-repeat;
+  background: url("../../images/layout/menu_global_bg_right.png") top right no-repeat;
 }
 
 html>body #menu_global div { 
@@ -132,7 +132,7 @@
 .support #support span {
   cursor: default;
   display: block;
-  background: url("/images/layout/menu_global_bg_right.png") top right no-repeat;
+  background: url("../../images/layout/menu_global_bg_right.png") top right no-repeat;
 }
 
 .home #home span a,
@@ -259,7 +259,7 @@
 .box {
   width: 260px;
   margin-top: 0;
-  background: url("/images/global/box_bg_gray.png") top right no-repeat; 
+  background: url("../../images/global/box_bg_gray.png") top right no-repeat; 
 }
 
 .left {
@@ -279,22 +279,22 @@
   padding: 13px 10px 15px 10px;
   font-size: 1.1em;
   font-weight: bold;
-  background: url("/images/global/box_bg_left.png") top left no-repeat;
+  background: url("../../images/global/box_bg_left.png") top left no-repeat;
 }
 
 .development dt {
   padding-left: 54px;
-  background-image: url("/images/global/box_icon_development.png");
+  background-image: url("../../images/global/box_icon_development.png");
 }
 
 .deployment dt {
   padding-left: 54px;
-  background-image: url("/images/global/box_icon_deployment.png");
+  background-image: url("../../images/global/box_icon_deployment.png");
 }
 
 .scalability dt {
   padding-left: 54px;
-  background-image: url("/images/global/box_icon_scalability.png");
+  background-image: url("../../images/global/box_icon_scalability.png");
 }
 
 .box dd {

Modified: trunk/site/index.html
===================================================================
--- trunk/site/index.html	2009-09-18 19:27:45 UTC (rev 11383)
+++ trunk/site/index.html	2009-09-18 20:23:21 UTC (rev 11384)
@@ -4,10 +4,10 @@
 	<head>
 		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
 		<title>Catalyst - Web Framework</title>
-		<link rel="stylesheet" type="text/css" href="/css/global/generic.css" media="screen" />
-		<link rel="stylesheet" type="text/css" href="/css/global/layout.css" media="screen" />
+		<link rel="stylesheet" type="text/css" href="css/global/generic.css" media="screen" />
+		<link rel="stylesheet" type="text/css" href="css/global/layout.css" media="screen" />
 		<!--[if lt IE 7]>
-		<link rel="stylesheet" type="text/css" href="/css/global/ie.css" media="screen" />
+		<link rel="stylesheet" type="text/css" href="css/global/ie.css" media="screen" />
 		<![endif]-->
 		<link rel="shortcut icon" href="/catalyst.ico" />
 	</head>
@@ -46,9 +46,9 @@
 </p>
 <div style="font-size: smaller;">
     <h2>The Definitive Guide to Catalyst</h2>
-    <p style="margin-right: 20%">
+    <p style="margin-right: 10%">
         <a href="http://www.amazon.co.uk/Definitive-Guide-Catalyst-Maintainable-Applications/dp/1430223650?&camp=2486&linkCode=wey&tag=enligperlorga-21&creative=8882">
-        <img src="/images/global/catalyst_book2.gif" align="left" title="Catalyst Book" alt="Catalyst Book" style="padding: 0 1em 0 0;"></a>
+        <img src="images/global/catalyst_book2.gif" align="left" title="Catalyst Book" alt="Catalyst Book" style="padding: 0 1em 0 0;"></a>
         This book by Kieren Diment, Matt Trout and others, published by <a style="color: blue; text-decoration: blue" href="http://www.apress.com">Apress</a> in July 2009 and written for Catalyst 5.8 is now available for purchase from <a href="http://www.amazon.co.uk/Definitive-Guide-Catalyst-Maintainable-Applications/dp/1430223650?&camp=2486&linkCode=wey&tag=enligperlorga-21&creative=8882">Amazon.com</a>, or get the eBook (PDF) from <a href="http://www.apress.com/book/view/1430223650">Apress</a>.
     </p>
     <p>
@@ -105,7 +105,7 @@
 With its wide support of operating systems and application servers, Catalyst allows you to deploy your applications on a system of your choice or adapt existing applications to take advantage of the benefits Catalyst offers. You don't have to adapt to Catalyst because it can adapt to you.
 </p>
 <p>
-  <img src="/images/department/home/deployment_os_logos.png" alt="OS logos" />
+  <img src="images/department/home/deployment_os_logos.png" alt="OS logos" />
 </p>
 
 					</dd>




More information about the Catalyst-commits mailing list