A style guide for Spoke, a bicycle company.
website background
text colour
accent colour
subheading colour
.cardboardColor
.mintColor
.tealColor
.brickColor
.mustardColor
.skyColor
.blackColor
.darkblueColor
.aquaColor
.button-nav
<a href="#" class="button">Navigation Button</a>
.in-text-link
<a class="in-text-link" href="#">In-text Link</a>
.button-fill
<a class="button-fill" href="#" >Submit</a>
<a class="button-fill" href="#" >Add to Cart</a>
<a class="button-fill" href="#" >Subscribe</a>
<a class="button-fill" href="#" >Confirm and Review Order</a>
.button-outline
<a class="button-outline" href="#">Suggested Routes</a>
form { }
input { }
label { }
input[type='checkbox']
input[id='quantity']
.comment
<div class="checkoutelement">
<h2 class ="checkoutheaders">Checkout Header</h2>
<form action="demo_form.asp" method="get" style="padding-bottom: 1em">
<input type="checkbox" name="Shipping" checked="checked"> A Checkbox<br>
</form>
<div class="dropdown grid-col-checkout-6of12right">
<label for="dropdown-credit">A Dropdown</label>
<button class="dropdown-picker" id="dropdown-credit" style="width: 100%">Options ▾</button>
<div class="dropdown-content" style="width: 100%">
<a href="#">Option 1</a>
<a href="#">Option 2</a>
<a href="#">Option 3</a>
</div>
</div>
<div class="grid-col-m-4of12 grid-col-4of12" style="text-align: left">
<form method="post" action="#">
A Text Input Field
<input type="text" required="required"><br>
A Comment Box Text Area
<br>
<label for="commentinput"></label>
<textarea class="comment" required="required" id="commentinput"> </textarea>
<br>
<br>
<a class="button-fill" href="#"> Submit </a>
</form>
</div>
.heading1
.heading2
.heading3
.heading4
<p href="#" class="heading1">Heading1</p>
<p href="#" class="heading2">Heading2</p>
<p href="#" class="heading3">Heading3</p>
<p href="#" class="heading4">Heading4</p>
Heading1
Heading2
Heading3
Heading4
.heading2
.title-info
<p class="heading2" ><span style="color: #818476">Subheading</span></p>
Subheading1
Subeading2
.paragraph
<p class="paragraph">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris quis egestas risus. Proin ut posuere lorem, auctor vehicula risus. Maecenas a risus lacinia, laoreet nisl sit amet, fringilla tellus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nunc urna ante, congue eu eros vel, elementum feugiat mi.</p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris quis egestas risus. Proin ut posuere lorem, auctor vehicula risus. Maecenas a risus lacinia, laoreet nisl sit amet, fringilla tellus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nunc urna ante, congue eu eros vel, elementum feugiat mi.
.ulist
<ul class="ulist">
<li> an item on this list </li>
<li> an item on this list </li>
<li> an item on this list </li>
</ul>
.olist
<ol class="olist">
<li> first item on this list </li>
<li> second item on this list </li>
<li> third item on this list </li>
</ol>
.button-nav
.logobutton
<header id="top">
<nav class="grid-row">
<div class="grid-col-m-2of12 grid-col-1of12">
<a class="logobutton" href="http://www.sfu.ca/~kristyh/iat339/P02/Final%20Deliverables/Home.html">
<img src="img/logo.png" class="logo">
</a>
</div>
<div class="grid-col-m-2of12 grid-col-1of12" style="float: right">
<a class="button-nav" href="http://www.sfu.ca/~kristyh/iat339/P02/Final%20Deliverables/Cart.html">Cart</a>
</div>
<div class="grid-col-m-2of12 grid-col-1of12" style="float: right">
<a class="button-nav" href="http://www.sfu.ca/~kristyh/iat339/P02/Final%20Deliverables/About.html">About Us</a>
</div>
<div class="grid-col-m-2of12 grid-col-1of12" style="float: right">
<a class="button-nav" href="http://www.sfu.ca/~kristyh/iat339/P02/Final%20Deliverables/RecommendedRoutes.html">Plan Trip</a>
</div>
<div class="grid-col-m-2of12 grid-col-1of12" style="float: right">
<a class="button-nav" href="http://www.sfu.ca/~kristyh/iat339/P02/Final%20Deliverables/Products.html">Products</a>
</div>
</nav>
</header>
.heading4
.in-text-link
.productPrice
.mintColor
.tealColor
.brickColor
<div class="grid-col-m-6of12 grid-col-4of12">
<figure>
<a href="http://www.sfu.ca/~kristyh/iat339/P02/Final%20Deliverables/AgathaBikeMint.html">
<img src="img/bike_agatha.jpg" alt="Agatha Bike" height="300" width="500">
</a>
<h3 class="heading4">
<a class="in-text-link"
href="http://www.sfu.ca/~kristyh/iat339/P02/Final%20Deliverables/AgathaBikeMint.html">
Agatha Bike
</a>
</h3>
<p class="productPrice"> <em>>>CAD $193</em>> </p>
<div style="text-align: left">>
<a class="mintColor"
href="http://www.sfu.ca/~kristyh/iat339/P02/Final%20Deliverables/AgathaBikeMint.html">
</a>
<a class="tealColor"
href="http://www.sfu.ca/~kristyh/iat339/P02/Final%20Deliverables/AgathaBikeTeal.html">
</a>
<a class="brickColor"
href="http://www.sfu.ca/~kristyh/iat339/P02/Final%20Deliverables/AgathaBikeBrick.html">
</a>
</div>
</figure>
</div>