<!DOCTYPE html>
<html>
<head>
<!--
JavaScript 6th Edition
Chapter 1
Chapter case
Tinley Xeriscapes
Plants web page
Author:
Date:
Filename: plants.htm
-->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>Tinley Xeriscapes</title>
<link rel="stylesheet" media="screen and (max-device-width: 999px)" href="tinleyhand.css" />
<link rel="stylesheet" media="screen and (min-device-width: 1000px)" href="tinley.css" />
<!--[if lt IE 9]>
<link rel="stylesheet" href="tinley.css" />
<![endif]-->
<link href='http://fonts.googleapis.com/css?family=Lily+Script+One' rel='stylesheet' type='text/css'>
</head>
<body>
<div id="container">
<header>
<h1>
<img src="https://www.saddleback.edu/faculty/tdedonno/cimw160/samples/6thEdition/Chapter01/Chapter/images/flower.png" width="132" height="120" alt="Tinley Xeriscapes" title="" id="logo1" />
<img src="https://www.saddleback.edu/faculty/tdedonno/cimw160/samples/6thEdition/Chapter01/Chapter/images/flower.png" width="132" height="120" alt="Tinley Xeriscapes" title="" id="logo2" />
<img src="https://www.saddleback.edu/faculty/tdedonno/cimw160/samples/6thEdition/Chapter01/Chapter/images/txlogo.png" width="132" height="120" alt="Tinley Xeriscapes" title="" id="logo3" />
tinley xeriscapes
</h1>
</header>
<nav>
<ul>
<li><a href="#">About Xeriscaping</a></li>
<li id="currentpage"><a href="#">Plants</a></li>
<li><a href="#">See Our Work</a></li>
<li><a href="#">Get An Estimate</a></li>
</ul>
</nav>
<aside>
<ul>
<li>Blanket Flower</li>
<li>Hedge Rose</li>
<li>Little Bluestem</li>
</ul>
</aside>
<article>
<figure>
<figcaption>
</figcaption>
</figure>
</article>
<footer>
<p>Tinley Xeriscapes • Tinley Park, IL 60477</p>
</footer>
</div>
</body>
</html>
/* JavaScript 6th Edition
Chapter 1
Chapter case
Tinley Xeriscapes
Large format style sheet
Author:
Date:
Filename: tinley.css
*/
/* apply a natural box layout model to all elements */
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
/* reset rules */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
max-width: 960px;
background: white;
margin: 0 auto;
font-family: Verdana, Geneva, sans-serif;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
a:link, a:visited {
text-decoration: none;
color: inherit;
}
a:hover {
text-decoration: underline;
color: inherit;
}
a:active {
text-decoration: none;
color: inherit;
}
/* container */
#container {
background: rgb(50,34,99);
}
/* page header */
header {
background: rgb(50,34,99);
width: 100%;
font-family: 'Lily Script One', cursive;
color: rgb(13,177,75);
font-size: 84px;
text-align: right;
padding-right: 20px;
position: relative;
}
header #logo1 {
position: absolute;
top: -8px;
left: 0px;
-webkit-transform: scale(0.8);
-moz-transform: scale(0.8);
-o-transform: scale(0.8);
writing-mode: lr-tb;
}
header #logo2 {
position: absolute;
top: 25px;
left: 54px;
-webkit-transform: scale(0.6);
-moz-transform: scale(0.6);
-o-transform: scale(0.6);
writing-mode: lr-tb;
}
header #logo3 {
position: absolute;
top: 0;
left: 150px;
}
/* navigation */
nav {
background: rgb(50,34,99);
width: 100%;
font-size: 16px;
}
nav ul {
margin-left: 320px;
text-align: center;
}
nav ul li {
display: inline-block;
padding: 10px 15px;
background: rgb(164,191,150);
-moz-border-radius-topleft: 7px;
-moz-border-radius-topright: 7px;
-webkit-border-top-left-radius: 7px;
-webkit-border-top-right-radius: 7px;
border-top-left-radius: 7px;
border-top-right-radius: 7px;
}
nav ul #currentpage {
background: rgb(13,177,75);
}
/* sidebar */
aside {
width: 320px;
float: left;
background: rgb(13,177,75);
}
aside ul {
padding: 20px;
}
aside ul li {
padding: 10px;
font-size: 24px;
}
aside ul li:hover {
color: rgb(164,191,150);
background: rgb(50,34,99);
}
/* main content */
article {
width: 640px;
float: right;
text-align: center;
}
article figure figcaption p {
font-size: 16px;
color: rgb(164,191,150);
padding: 10px 0;
}
article figure figcaption p a:link {
color: rgb(13,177,75);
}
/* remove blank space for descenders below image */
article figure img {
display: block;
}
/* footer */
footer {
background: rgb(164,191,150);
width: 100%;
clear: both;
font-size: 14px;
padding: 10px;
}
footer p {
text-align: center;
}
/* JavaScript 6th Edition
Chapter 1
Chapter case
Tinley Xeriscapes
Handheld style sheet
Author:
Date:
Filename: tinleyhand.css
*/
/* apply a natural box layout model to all elements */
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
/* reset rules */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
max-width: 960px;
background: white;
margin: 0 auto;
font-family: Verdana, Geneva, sans-serif;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
a:link, a:visited {
text-decoration: none;
color: inherit;
}
a:hover {
text-decoration: underline;
color: inherit;
}
a:active {
text-decoration: none;
color: inherit;
}
/* container */
#container {
background: rgb(50,34,99);
max-width: 100%;
overflow: hidden;
position: relative;
}
/* page header */
header {
background: rgb(50,34,99);
max-width: 100%;
overflow: hidden;
font-family: 'Lily Script One', cursive;
color: rgb(13,177,75);
font-size: 36px;
text-align: center;
vertical-align: middle;
padding-top: 10px;
}
header h1 {
max-width: 80%;
margin: 0 auto;
}
header #logo1, header #logo2 {
display: none;
}
header #logo3 {
position: absolute;
top: 10px;
left: 10px;
width: 66px;
height: 60px;
}
/* navigation */
nav {
background: rgb(50,34,99);
overflow: hidden;
font-size: 14px;
}
nav ul {
text-align: center;
border-bottom: 1px solid rgb(164,191,150);
}
nav ul li {
display: inline-block;
padding: 5px 15px;
background: rgb(164,191,150);
margin-top: 3px;
-moz-border-radius-topleft: 7px;
-moz-border-radius-topright: 7px;
-webkit-border-top-left-radius: 7px;
-webkit-border-top-right-radius: 7px;
border-top-left-radius: 7px;
border-top-right-radius: 7px;
}
nav ul #currentpage {
background: rgb(13,177,75);
}
/* sidebar */
aside {
background: rgb(50,34,99);
max-width: 100%;
overflow: hidden;
}
aside ul {
padding: 5px;
text-align: center;
}
aside ul li {
padding: 6px;
font-size: 12px;
display: inline-block;
background: rgb(13,177,75);
border: 1px solid rgb(13,177,75);
}
aside ul li:hover {
color: rgb(164,191,150);
background: rgb(50,34,99);
}
/* main content */
article {
text-align: center;
max-width: 100%;
overflow: hidden;
}
/* remove blank space for descenders below image */
article figure img {
display: block;
max-width: 100%;
height: auto;
width: auto;
margin: 0 auto;
}
article figure figcaption p {
font-size: 16px;
color: rgb(164,191,150);
padding: 10px 0;
}
article figure figcaption p a:link {
color: rgb(13,177,75);
}
/* footer */
footer {
background: rgb(164,191,150);
max-width: 100%;
overflow: hidden;
font-size: 12px;
padding: 10px;
}
footer p {
text-align: center;
}