Skip to content

Commit 4170a89

Browse files
committed
Fixed index.html to have the right file contents
1 parent 8847500 commit 4170a89

File tree

4 files changed

+337
-320
lines changed

4 files changed

+337
-320
lines changed

contact.html

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,23 @@
1515
list-style-type: none;
1616
margin: 0;
1717
padding: 0;
18-
display:inline;
18+
border: 1px solid #555;
19+
//width: 200px;
20+
background-color: #f1f1f1;
21+
}
22+
li {
23+
display: inline;
24+
color: #000;
25+
padding: 8px 0 8px 16px;
26+
text-decoration: none;
27+
}
28+
li a:hover {
29+
background-color: #555;
30+
color: white;
31+
}
32+
.active {
33+
background-color: #4CAF50;
34+
color: white;
1935
}
2036
body {
2137
background-color:rgb(235, 242, 255);
@@ -57,7 +73,7 @@
5773
<div id="navbar">
5874
<ul>
5975
<li><a href="./index.html">Home</a></li>
60-
<li><a href="./contact.html">Contact</a></a></li>
76+
<li><a href="./contact.html" class="active">Contact</a></a></li>
6177
<li><a href="">About</a></li>
6278
<li><a href="">Portfolio</a></li>
6379
<li><a href="">Social Media</a></li>

index.html

Lines changed: 57 additions & 257 deletions
Original file line numberDiff line numberDiff line change
@@ -1,262 +1,62 @@
1-
<!DOCTYPE HTML>
2-
<html lang="en-US">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width,initial-scale=1">
6-
<title>Gridism • a simple responsive CSS grid by @cobyism</title>
7-
8-
<script src="//cdn.optimizely.com/js/2350390699.js"></script>
9-
10-
<link href='http://fonts.googleapis.com/css?family=Source+Code+Pro|Montserrat:700|Open+Sans:300italic,400italic,700italic,400,300,700' rel='stylesheet' type='text/css'>
11-
<link rel="stylesheet" href="gridism.css">
12-
<link rel="stylesheet" href="css/normalize.css">
13-
<link rel="stylesheet" href="css/style.css">
14-
</head>
15-
<body class="wrap wider">
16-
17-
<header>
18-
<div class="grid">
19-
<div class="unit whole center-on-mobiles">
20-
<h1><a href="http://cobyism.com/gridism">gridism.</a></h1>
21-
<p class="lead">A simple responsive CSS&nbsp;grid by&nbsp;<a href="http://cobyism.com">@cobyism</a>.</p>
22-
<p>
23-
<a href="https://github.com/cobyism/gridism" class="button">View on GitHub</a>
24-
<a href="https://twitter.com/cobyism" class="button" target="_blank">Follow @cobyism</a>
25-
</p>
26-
</div>
27-
</div>
28-
</header>
29-
30-
<section class="instructions">
31-
<div class="grid">
32-
<div class="unit one-third">
33-
<h2>Simple</h2>
34-
<p>
35-
Each <code>.grid</code> element is a horizontal row which can contain
36-
<code>.unit</code> elements of various widths.
37-
Width combinations are illustrated&nbsp;below.
38-
</p>
39-
</div>
40-
<div class="unit one-third">
41-
<h2>Responsive</h2>
42-
<p>
43-
Units get stacked on screens 568px or smaller.
44-
Grids in a <code>.wrap</code> have maximum widths of 978px, or 1140px
45-
with the addition of <code>.wider</code>.
46-
</p>
47-
</div>
48-
<div class="unit one-third">
49-
<h2>Easy</h2>
50-
<p>
51-
All units have even inner and outer gutters.
52-
You can turn gutters off with <code>.no-gutters</code>.
53-
There are also <a href="https://github.com/cobyism/gridism/blob/gh-pages/gridism.css">a few other</a> commonly needed&nbsp;classes.
54-
</p>
55-
</div>
56-
</div>
57-
</section>
58-
59-
<section class="demo">
60-
<div class="grid">
61-
<div class="unit whole">
62-
<pre>.whole</pre>
63-
</div>
64-
</div>
65-
<div class="grid">
66-
<div class="unit half">
67-
<pre>.half</pre>
68-
</div>
69-
<div class="unit half">
70-
<pre>.half</pre>
71-
</div>
72-
</div>
73-
<div class="grid">
74-
<div class="unit one-third">
75-
<pre>.one-third</pre>
76-
</div>
77-
<div class="unit two-thirds">
78-
<pre>.two-thirds</pre>
79-
</div>
80-
</div>
81-
<div class="grid">
82-
<div class="unit one-quarter">
83-
<pre>.one-quarter</pre>
84-
</div>
85-
<div class="unit three-quarters">
86-
<pre>.three-quarters</pre>
87-
</div>
88-
</div>
89-
<div class="grid">
90-
<div class="unit one-fifth">
91-
<pre>.one-fifth</pre>
92-
</div>
93-
<div class="unit four-fifths">
94-
<pre>.four-fifths</pre>
95-
</div>
96-
</div>
97-
<div class="grid">
98-
<div class="unit two-fifths">
99-
<pre>.two-fifths</pre>
100-
</div>
101-
<div class="unit three-fifths">
102-
<pre>.three-fifths</pre>
103-
</div>
104-
</div>
105-
<div class="grid">
106-
<div class="unit golden-large">
107-
<pre>.golden-large</pre>
108-
</div>
109-
<div class="unit golden-small">
110-
<pre>.golden-small</pre>
111-
</div>
112-
</div>
113-
<div class="grid">
114-
<div class="unit one-quarter align-right center-on-mobiles">
115-
<h2>Nested grids</h2>
116-
<p>Nested grids also work, but the markup gets gnarly pretty&nbsp;quickly.</p>
117-
</div>
118-
<div class="unit three-quarters">
119-
<div class="grid">
120-
<div class="unit whole">
121-
<p class="align-center">Gridception!</p>
122-
</div>
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Patrick Yoho</title>
6+
7+
<style>
8+
#navbar {
9+
background-color:lightgray;
10+
}
11+
body {
12+
background-color:rgb(235, 242, 255);
13+
}
14+
#main {
15+
background-color:rgb(61, 177, 255);
16+
}
17+
#footer {
18+
background-color:gray;
19+
}
20+
</style>
21+
</head>
22+
<body>
23+
<div id="navbar">
24+
<ul>
25+
<li><a href="" class="active">Home</a></li>
26+
<li><a href="./contact.html">Contact</a></a></li>
27+
<li><a href="">About</a></li>
28+
<li><a href="">Portfolio</a></li>
29+
<li><a href="">Social Media</a></li>
30+
<li><a href="./blog.html">Blog</a></li>
31+
</ul>
12332
</div>
124-
<div class="grid">
125-
<div class="unit one-third">
126-
<pre></pre>
127-
</div>
128-
<div class="unit two-thirds">
129-
<div class="grid">
130-
<div class="unit whole">
131-
<p class="align-center">Gridception!</p>
132-
</div>
133-
</div>
134-
<div class="grid">
135-
<div class="unit two-fifths">
136-
<pre></pre>
137-
</div>
138-
<div class="unit three-fifths">
139-
<pre></pre>
140-
</div>
141-
</div>
142-
</div>
33+
34+
<div id="main">
35+
<h1>Patrick Yoho</h1>
36+
<p>
37+
Founding Computer Science Teacher at Alpha Cindy Avitia
38+
</p>
39+
40+
<img src="https://www.kasandbox.org/programming-images/food/croissant.png" alt="Croissants Image Placeholder">
41+
42+
43+
44+
<h2>Where I'm From</h2>
45+
<p>
46+
Born and raised in Colorado and Oregon. Majored in computer science, French, and engineering physics at Whitworth University. Studied abroad at Institut National de Sciences Appliques de Lyon in Lyon France and traveled Europe extensively. Lived, taught, and coached teachers in urban and rural Mississippi.
47+
</p>
48+
49+
<h2>What I Do Now</h2>
50+
<p>
51+
I currently serve as the founding computer science teacher at Alpha Cindy Avitia High School, where I have the joy of working with students from all over East San Jose to discover more about computer science. I also find time to mountain bike, spend time with close friends, and occassionally play some guitar.
52+
</p>
53+
14354
</div>
144-
<div class="grid">
145-
<div class="unit four-fifths">
146-
<div class="grid">
147-
<div class="unit whole">
148-
<p class="align-center">Gridception!</p>
149-
</div>
150-
</div>
151-
<div class="grid">
152-
<div class="unit one-quarter">
153-
<pre></pre>
154-
</div>
155-
<div class="unit one-quarter">
156-
<pre></pre>
157-
</div>
158-
<div class="unit one-quarter">
159-
<pre></pre>
160-
</div>
161-
<div class="unit one-quarter">
162-
<pre></pre>
163-
</div>
164-
</div>
165-
</div>
166-
<div class="unit one-fifth">
167-
<pre></pre>
168-
</div>
55+
56+
<div id="footer">
57+
16958
</div>
170-
</div>
171-
</div>
172-
</section>
17359

174-
<section class="usage">
175-
<div class="grid">
176-
<div class="unit whole">
177-
<h2>Download</h2>
178-
<p class="lead">You have two main options for using Gridism in your&nbsp;project.</p>
179-
</div>
180-
</div>
181-
<div class="grid">
182-
<div class="unit one-third">
183-
<h3>A. Bower</h3>
184-
<p>Gridism can be installed using the <a href="http://bower.io">Bower</a> package&nbsp;manager.</p>
185-
<pre><code>bower install gridism</code></pre>
186-
</div>
187-
<div class="unit one-third">
188-
<h3>B. Manual</h3>
189-
<p><a href="https://github.com/cobyism/gridism/archive/gh-pages.zip">Download the ZIP</a>, extract the source code, and copy <code>gridism.css</code> into your project’s&nbsp;directory.</p>
190-
</div>
191-
<div class="unit one-third">
192-
<h3>Elsewise</h3>
193-
<p>Of course, you could also clone <a href="https://github.com/cobyism/gridism">the repository</a> using your terminal, or even add it as a <a href="http://git-scm.com/book/en/Git-Tools-Submodules">submodule</a> of your&nbsp;project.</p>
194-
</div>
195-
</div>
196-
<div class="grid">
197-
<div class="unit whole">
198-
<h2>Installation</h2>
199-
<p class="lead">Once you’ve acquired the Gridism source code, there’s a couple of other things you’ll&nbsp;probably want&nbsp;to&nbsp;do.</p>
200-
</div>
201-
</div>
202-
<div class="grid">
203-
<div class="unit whole">
204-
<h3>1. Stylesheet</h3>
205-
<p>Add the following stylesheet to the <code>&lt;head&gt;</code> section of your project’s HTML. If you didn’t use Bower, you may need to adjust the path to the CSS file to match your file&nbsp;structure.</p>
206-
<pre><code>&lt;link rel="stylesheet" href="bower_components/gridism/gridism.css"&gt;</code></pre>
207-
</div>
208-
</div>
209-
<div class="grid">
210-
<div class="unit whole">
211-
<h3>2. Viewport</h3>
212-
<p>Set the scale of your viewport to the width of the device. Placing the following tag in the <code>&lt;head&gt;</code> of your HTML ensures the viewport doesn’t load zoomed-out on mobiles and&nbsp;tablets.</p>
213-
<pre><code>&lt;meta name="viewport" content="width=device-width,initial-scale=1"&gt;</code></pre>
214-
</div>
215-
</div>
216-
</section>
217-
218-
<footer>
219-
<div class="grid">
220-
<div class="unit half">
221-
<div class="center-on-mobiles">
222-
<p>© Coby Chapple — All rights reserved.</p>
223-
</div>
224-
</div>
225-
<div class="unit half">
226-
<div class="align-right center-on-mobiles">
227-
<p>This project is <a href="https://github.com/cobyism/gridism">open-source</a> and accepting pull&nbsp;requests. Fork&nbsp;at&nbsp;will.</p>
228-
</div>
229-
</div>
230-
</div>
231-
</footer>
23260

233-
<script type="text/javascript">
234-
var _gauges = _gauges || [];
235-
(function() {
236-
var t = document.createElement('script');
237-
t.type = 'text/javascript';
238-
t.async = true;
239-
t.id = 'gauges-tracker';
240-
// Please change this line below to your own account if you’re using this code,
241-
// otherwise I get to see all the analytics for your site.
242-
t.setAttribute('data-site-id', '50ed90bdf5a1f50492000007');
243-
t.src = '//secure.gaug.es/track.js';
244-
var s = document.getElementsByTagName('script')[0];
245-
s.parentNode.insertBefore(t, s);
246-
})();
247-
</script>
248-
249-
<script>
250-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
251-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
252-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
253-
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
254-
255-
// Please change this to your own account if you’re using this code,
256-
// otherwise I get to see all the analytics for your site.
257-
ga('create', 'UA-31312255-3', 'auto');
258-
ga('send', 'pageview');
259-
</script>
260-
261-
</body>
262-
</html>
61+
</body>
62+
</html>

0 commit comments

Comments
 (0)