Skip to content

Commit

Permalink
Updating example files to work better with each other
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Shea committed Feb 29, 2016
1 parent e6bc2ad commit b064606
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
3 changes: 3 additions & 0 deletions examples/src.php
Expand Up @@ -11,6 +11,9 @@
include($SERVER_ROOT . '../includes/masterlist.php');
include($SERVER_ROOT . "../includes/functions.php");

// reset current stylesheet to the example provided
$currentStyleSheet = "style.css";

// import the HTML template
include($SERVER_ROOT . "../includes/tmpl.php");

Expand Down
20 changes: 10 additions & 10 deletions examples/style.css
Expand Up @@ -17,7 +17,7 @@ body {
font: 75% georgia, sans-serif;
line-height: 1.88889;
color: #555753;
background: #fff url(blossoms.jpg) no-repeat bottom right;
background: #fff url(http://csszengarden.com/001/blossoms.jpg) no-repeat bottom right;
margin: 0;
padding: 0;
}
Expand Down Expand Up @@ -52,7 +52,7 @@ abbr {

/* specific divs */
.page-wrapper {
background: url(zen-bg.jpg) no-repeat top left;
background: url(http://csszengarden.com/001/zen-bg.jpg) no-repeat top left;
padding: 0 175px 0 110px;
margin: 0;
position: relative;
Expand All @@ -64,7 +64,7 @@ abbr {
}

header h1 {
background: transparent url(h1.gif) no-repeat top left;
background: transparent url(http://csszengarden.com/001/h1.gif) no-repeat top left;
margin-top: 10px;
display: block;
width: 219px;
Expand All @@ -76,7 +76,7 @@ header h1 {
overflow: hidden;
}
header h2 {
background: transparent url(h2.gif) no-repeat top left;
background: transparent url(http://csszengarden.com/001/h2.gif) no-repeat top left;
margin-top: 58px;
margin-bottom: 40px;
width: 200px;
Expand Down Expand Up @@ -127,13 +127,13 @@ footer a:link, footer a:visited {
}
.sidebar .wrapper {
font: 10px verdana, sans-serif;
background: transparent url(paper-bg.jpg) top left repeat-y;
background: transparent url(http://csszengarden.com/001/paper-bg.jpg) top left repeat-y;
padding: 10px;
margin-top: 150px;
width: 130px;
}
.sidebar h3.select {
background: transparent url(h3.gif) no-repeat top left;
background: transparent url(http://csszengarden.com/001/h3.gif) no-repeat top left;
margin: 10px 0 5px 0;
width: 97px;
height: 16px;
Expand All @@ -143,7 +143,7 @@ footer a:link, footer a:visited {
overflow: hidden;
}
.sidebar h3.archives {
background: transparent url(h5.gif) no-repeat top left;
background: transparent url(http://csszengarden.com/001/h5.gif) no-repeat top left;
margin: 25px 0 5px 0;
width:57px;
height: 14px;
Expand All @@ -153,7 +153,7 @@ footer a:link, footer a:visited {
overflow: hidden;
}
.sidebar h3.resources {
background: transparent url(h6.gif) no-repeat top left;
background: transparent url(http://csszengarden.com/001/h6.gif) no-repeat top left;
margin: 25px 0 5px 0;
width:63px;
height: 10px;
Expand All @@ -170,7 +170,7 @@ footer a:link, footer a:visited {
}
.sidebar li {
line-height: 1.3em;
background: transparent url(cr1.gif) no-repeat top center;
background: transparent url(http://csszengarden.com/001/cr1.gif) no-repeat top center;
display: block;
padding-top: 5px;
margin-bottom: 5px;
Expand All @@ -185,7 +185,7 @@ footer a:link, footer a:visited {


.extra1 {
background: transparent url(cr2.gif) top left no-repeat;
background: transparent url(http://csszengarden.com/001/cr2.gif) top left no-repeat;
position: absolute;
top: 40px;
right: 0;
Expand Down

0 comments on commit b064606

Please sign in to comment.