[Scummvm-cvs-logs] CVS: web index.css,NONE,1.1 screenshots.css,NONE,1.1 faq.php,1.49,1.50 index.php,1.37,1.38 links.php,1.56,1.57 screenshots.php,1.21,1.22 style.css,1.9,1.10

Max Horn fingolfin at users.sourceforge.net
Sat Nov 26 11:53:08 CET 2005


Update of /cvsroot/scummvm/web
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11997

Modified Files:
	faq.php index.php links.php screenshots.php style.css 
Added Files:
	index.css screenshots.css 
Log Message:
Split CSS so that page specific stuff is confined to a CSS file for that page only

--- NEW FILE: index.css ---
.sshots .tlc {
	background:url('images/header-left-solid.gif');
	height:28px;
	width:8px;
	}
.sshots .heading {
	background:#f7e19e;
	border-top:1px solid #ebb716;
	}
.sshots .trc {
	background:url('images/header-right-solid.gif');
	height:28px;	
	width:8px;
	}
.sshots .content-wrap {
	border-left:1px solid #ebb716;
	border-right:1px solid #ebb716;
	background:#f7e19e;
	}
.sshots .content-wrap table {
	margin-right:auto;
	margin-left:auto;
	}
.sshots .blc {
	background:url('images/shots-corner-left.gif');
	height:26px;
	width:7px;
	}
.sshots .brc {
	background:url('images/shots-corner-right.gif');
	height:26px;
	width:7px;
	}
.sshots .nav-prev {
	background:#f7e19e;
	border-bottom:1px solid #ebb716;
	text-align:left;
	}
.sshots .nav-next {
	background:#f7e19e;
	border-bottom:1px solid #ebb716;
	text-align:right;
	}
.sshots .foot {
	padding:0px;
	}
.sshots .foot table {
	border-spacing:0px;
	padding:0px;
	}

--- NEW FILE: screenshots.css ---
.par-item .par-scr-content-cat0 {
	padding-left:20px;
	margin:0px;
	margin-right:-8px;
	background-image:url('images/bg-lec-games.jpg');
	background-repeat: no-repeat;
	background-position: top right;
}

.par-item .par-scr-content-cat1 {
	padding-left:20px;
	padding-right:20px;
	margin:0px;
	margin-right:-8px;
	background-image:url('images/bg-he-games.jpg');
	background-repeat: no-repeat;
	background-position: top right;
}

.par-item .par-scr-content-cat2 {
	padding-left:20px;
	padding-right:20px;
	margin:0px;
	margin-right:-8px;
	background-image:url('images/bg-other-games.jpg');
	background-repeat: no-repeat;
	background-position: top right;
}

Index: faq.php
===================================================================
RCS file: /cvsroot/scummvm/web/faq.php,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- faq.php	13 Nov 2005 00:29:57 -0000	1.49
+++ faq.php	26 Nov 2005 19:52:45 -0000	1.50
@@ -12,7 +12,7 @@
 require($file_root."/include/"."incl.php");
 
 // start of html
-html_page_header("ScummVM :: FAQ", '<link href="faq.css" rel="stylesheet" type="text/css">');
+html_page_header("ScummVM :: FAQ", array("faq.css"));
 
 html_content_begin('FAQ :: Frequently Asked Questions');
 

Index: index.php
===================================================================
RCS file: /cvsroot/scummvm/web/index.php,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- index.php	14 Nov 2005 21:14:55 -0000	1.37
+++ index.php	26 Nov 2005 19:52:45 -0000	1.38
@@ -5,7 +5,7 @@
 require($file_root."/include/"."incl.php");
 require($file_root."/include/"."scr-categories.php");
 
-html_page_header('ScummVM :: Home');
+html_page_header('ScummVM :: Home', array("index.css"));
 
 $shownews = $HTTP_GET_VARS['shownews'];
 

Index: links.php
===================================================================
RCS file: /cvsroot/scummvm/web/links.php,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- links.php	13 Nov 2005 03:20:51 -0000	1.56
+++ links.php	26 Nov 2005 19:52:45 -0000	1.57
@@ -12,7 +12,7 @@
 require($file_root."/include/"."incl.php");
 
 // start of html
-html_page_header('ScummVM :: Links', '<link href="links.css" rel="stylesheet" type="text/css">');
+html_page_header('ScummVM :: Links', array("links.css"));
 html_content_begin('Links');
 
 

Index: screenshots.php
===================================================================
RCS file: /cvsroot/scummvm/web/screenshots.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- screenshots.php	13 Nov 2005 14:58:53 -0000	1.21
+++ screenshots.php	26 Nov 2005 19:52:45 -0000	1.22
@@ -9,7 +9,7 @@
 function display_single_shot($cat1, $cat2, $cat3) {
 }
 
-html_page_header('ScummVM :: Screenshots');
+html_page_header('ScummVM :: Screenshots', array("screenshots.css"));
 
 html_content_begin('Screenshots');
 

Index: style.css
===================================================================
RCS file: /cvsroot/scummvm/web/style.css,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- style.css	18 Nov 2005 21:57:02 -0000	1.9
+++ style.css	26 Nov 2005 19:52:45 -0000	1.10
@@ -244,35 +244,6 @@
 	margin:0px;
 	}
 
-.par-item .par-scr-content-cat0 {
-	padding-left:20px;
-	margin:0px;
-	margin-right:-8px;
-	background-image:url('images/bg-lec-games.jpg');
-	background-repeat: no-repeat;
-	background-position: top right;
-}
-
-.par-item .par-scr-content-cat1 {
-	padding-left:20px;
-	padding-right:20px;
-	margin:0px;
-	margin-right:-8px;
-	background-image:url('images/bg-he-games.jpg');
-	background-repeat: no-repeat;
-	background-position: top right;
-}
-
-.par-item .par-scr-content-cat2 {
-	padding-left:20px;
-	padding-right:20px;
-	margin:0px;
-	margin-right:-8px;
-	background-image:url('images/bg-other-games.jpg');
-	background-repeat: no-repeat;
-	background-position: top right;
-}
-
 .par-item .par-intro {
 	background:#c0c0c0;
 	padding-left:5px;
@@ -378,56 +349,6 @@
 	top: -2px;
 	padding-left:1em;
 }
-.sshots .tlc {
-	background:url('images/header-left-solid.gif');
-	height:28px;
-	width:8px;
-	}
-.sshots .heading {
-	background:#f7e19e;
-	border-top:1px solid #ebb716;
-	}
-.sshots .trc {
-	background:url('images/header-right-solid.gif');
-	height:28px;	
-	width:8px;
-	}
-.sshots .content-wrap {
-	border-left:1px solid #ebb716;
-	border-right:1px solid #ebb716;
-	background:#f7e19e;
-	}
-.sshots .content-wrap table {
-	margin-right:auto;
-	margin-left:auto;
-	}
-.sshots .blc {
-	background:url('images/shots-corner-left.gif');
-	height:26px;
-	width:7px;
-	}
-.sshots .brc {
-	background:url('images/shots-corner-right.gif');
-	height:26px;
-	width:7px;
-	}
-.sshots .nav-prev {
-	background:#f7e19e;
-	border-bottom:1px solid #ebb716;
-	text-align:left;
-	}
-.sshots .nav-next {
-	background:#f7e19e;
-	border-bottom:1px solid #ebb716;
-	text-align:right;
-	}
-.sshots .foot {
-	padding:0px;
-	}
-.sshots .foot table {
-	border-spacing:0px;
-	padding:0px;
-	}
 
 .md5-table td {
 	margin: 3px;





More information about the Scummvm-git-logs mailing list