Skip to content
This repository has been archived by the owner on Nov 21, 2018. It is now read-only.

Moves in-site nav links to header, adds docs link #31

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions es6.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,15 @@
<body>

<header>
<a href="index.html" class="logo">io.js</a>
<div class="content">
<a href="index.html" class="logo">io.js</a>
<a href="faq.html">FAQ</a>
<a href="es6.html">ES6</a>
<a href="https://iojs.org/download/nightly/v1.0.0-nightly201501135ea716d895/doc/api/">Docs</a>
</div>
</header>

<div id="content">
<div class="content">

<h1>ES6 on io.js</h1>

Expand Down Expand Up @@ -109,17 +114,17 @@ <h2 class="faq-title">

</div>
</div>
</div>

<footer class="content">
<nav>
<a href="faq.html">FAQ</a><!--
--><a href="https://github.com/iojs/io.js/issues">Github Issues</a><!--
<a href="https://github.com/iojs/io.js/issues">Github Issues</a><!--
--><a href="https://github.com/iojs">Github Org</a><!--
--><a href="http://webchat.freenode.net/?channels=io.js">IRC Chat</a><!--
--><a href="http://logs.libuv.org/io.js/latest">Logs</a><!--
--><a href="es6.html">ES6</a>
--><a href="https://github.com/iojs/io.js/blob/v0.12/CONTRIBUTING.md#governance">Governance</a>
</nav>

</div>
</footer>

</body>

Expand Down
20 changes: 13 additions & 7 deletions faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,15 @@
<body>

<header>
<a href="index.html" class="logo">io.js</a>
<div class="content">
<a href="index.html" class="logo">io.js</a>
<a href="faq.html">FAQ</a>
<a href="es6.html">ES6</a>
<a href="https://iojs.org/download/nightly/v1.0.0-nightly201501135ea716d895/doc/api/">Docs</a>
</div>
</header>

<div id="content">
<div class="content">

<h1 class="heading">FAQ</h1>

Expand Down Expand Up @@ -61,16 +66,17 @@ <h2>
Open source governance advocates the application of the philosophies of the open source and open content movements in order to enable any interested party to add to the creation of the end product, as with a wiki document. Legislation is democratically opened to the general citizenry, employing their collective wisdom to benefit the decision-making process and improve democracy. <a href="http://en.wikipedia.org/wiki/Open-source_governance" target="_blank">[source]</a>
</p>

</div>

<footer class="content">
<nav>
<a href="faq.html">FAQ</a><!--
--><a href="https://github.com/iojs/io.js/issues">Github Issues</a><!--
<a href="https://github.com/iojs/io.js/issues">Github Issues</a><!--
--><a href="https://github.com/iojs">Github Org</a><!--
--><a href="http://webchat.freenode.net/?channels=io.js">IRC Chat</a><!--
--><a href="http://logs.libuv.org/io.js/latest">Logs</a><!--
--><a href="es6.html">ES6</a>
--><a href="https://github.com/iojs/io.js/blob/v0.12/CONTRIBUTING.md#governance">Governance</a>
</nav>

</div>
</footer>

</body>

Expand Down
21 changes: 12 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,16 @@
<body>

<header>
<a href="index.html" class="logo">io.js</a>
<div class="content">
<a href="index.html" class="logo">io.js</a>
<a href="faq.html">FAQ</a>
<a href="es6.html">ES6</a>
<a href="https://iojs.org/download/nightly/v1.0.0-nightly201501135ea716d895/doc/api/">Docs</a>
</div>
</header>

<div id="content">
<div class="content">
<h1>JavaScript I/O</h1>

<p class="lead">
Bringing <a href="es6.html">ES6</a> to the Node Community!
</p>
Expand All @@ -47,18 +51,17 @@ <h1>JavaScript I/O</h1>
</span>
</div>
</div>
</div>

<footer class="content">
<nav>
<a href="faq.html">FAQ</a><!--
--><a href="https://github.com/iojs/io.js/issues">Github Issues</a><!--
<a href="https://github.com/iojs/io.js/issues">Github Issues</a><!--
--><a href="https://github.com/iojs">Github Org</a><!--
--><a href="http://webchat.freenode.net/?channels=io.js">IRC Chat</a><!--
--><a href="http://logs.libuv.org/io.js/latest">Logs</a><!--
--><a href="es6.html">ES6</a>
<a href="https://github.com/iojs/io.js/blob/v0.12/CONTRIBUTING.md#governance">Governance</a>
--><a href="https://github.com/iojs/io.js/blob/v0.12/CONTRIBUTING.md#governance">Governance</a>
</nav>

</div>
</footer>

</body>

Expand Down
39 changes: 30 additions & 9 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,42 @@ body {
text-align: center;
}

.content {
position: relative;
max-width: 640px;
padding-left: 25px;
padding-right: 25px;
margin: 0 auto;
}

header {
background: #292829;
padding: 20px;
}

header .content {
display: -webkit-flex;
display: flex;
}

header a {
color: rgba(255, 255, 255, 0.4);
color: rgba(255, 255, 255, 0.7);
font-weight: 700;
font-size: 1rem;
padding-left: 1.5rem;
}
header a.logo {
color: rgba(255, 255, 255, 0.5);
-webkit-flex: 1;
flex: 1;
text-align: left;
padding: 0;
}

header a:hover {
color: #F7DF31;
}

#content {
position: relative;
max-width: 640px;
padding-left: 25px;
padding-right: 25px;
margin: 0 auto;
}

h1 {
color: black;
font-size: 3rem;
Expand Down Expand Up @@ -173,4 +186,12 @@ p.lead {
display: block;
border: none;
}

header .content {
padding: 0;
}

header a {
padding-left: 1rem;
}
}