Skip to content
Open
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
8 changes: 5 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<head>
<link rel="stylesheet" href="styles/custom.css" />
<title>NodeTogether</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<nav>
Expand Down Expand Up @@ -51,7 +53,7 @@ <h1 class="subtitle center-text">Welcome! We’re&nbsp;glad you are&nbsp;here!</
<p><em>We’re in it together!</em></p>
<h3 class="center-text">Apply Now!</h3>
<div class="calls-to-action center-text">
<a href="http://goo.gl/forms/bzUiKynzGK" class="btn">Student</a>
<a href="http://goo.gl/forms/bzUiKynzGK" class="btn">Student</a>
<a href="http://goo.gl/forms/fFzciI8lv5" class="btn">Mentor</a>
<a href="http://goo.gl/forms/wBX2XS0cd9" class="btn">Sponsor</a>
</div>
Expand Down Expand Up @@ -86,7 +88,7 @@ <h3>Use and Manage Packages with npm</h3>
<h2 class="center-text">Schedule</h2>
<p class="center-text">NodeTogether will be traveling the world with <a href="http://live.nodejs.org/">Node Live</a>.
<div class="events clear-fix">
<a href="/events/2016/los-angeles.html">
<a href="/events/2016/los-angeles.html">
<div class="event" id="los-angeles">
<div class="date">February 24th</div>
<div class="location">Los Angeles, CA, USA</div>
Expand Down Expand Up @@ -160,7 +162,7 @@ <h2>Sponsors</h2>
<p>Did you find a typo? A bug? File an issue or PR here: <a href="https://github.com/ashleygwilliams/nodetogether.org">https://github.com/ashleygwilliams/nodetogether.org</a>. (Please be nice!)
</p>
<p>
<a href="http://www.npmjs.com">npm loves you</a>. (c)2016 Ashley Williams. For more information, please email <a href="mailto:[email protected]">[email protected]</a>.
<a href="http://www.npmjs.com">npm loves you</a>. &copy; 2016 Ashley Williams. For more information, please email <a href="mailto:[email protected]">[email protected]</a>.
</p>
</div>
</footer>
Expand Down
50 changes: 32 additions & 18 deletions styles/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,21 @@ blue: #6ea2c9;
margin: 0;
}

*,
*::before,
*::after {
box-sizing: border-box;
}

/* nav */
nav {
background-color: #80bd01;
}

nav ul {
padding: 0;
}

nav ul li {
color: white;
display: inline-block;
Expand All @@ -42,7 +52,6 @@ nav a {
text-decoration: none;
display: block;
padding: 1.4em .7em;
height: 1.5em;
position: relative;
}

Expand All @@ -61,9 +70,9 @@ nav .active a::after {

/* sections */
.container {
width: 80%;
max-width: 1100px;
margin: 0 auto;
padding: 0 .7em;
}

.container--narrow {
Expand Down Expand Up @@ -105,31 +114,36 @@ nav .active a::after {
}

img {
width: 100%;
max-width: 100%;
}

.col-4 img {
max-height: 300px;
}

/* grid */
.row {
display: table;
table-layout: fixed;
margin: 0 -.7em;
}

.col {
display: table-cell;
width: 1%;
padding: .7em;
vertical-align: top;
}
@media (min-width: 48em) {

.row {
display: table;
table-layout: fixed;
margin: 0 -.7em;
}

.col {
display: table-cell;
width: 1%;
padding: .7em;
vertical-align: top;
}

.col-4 {
display: table-cell;
padding: .7em;
width: 25%;
}

.col-4 {
display: table-cell;
padding: .7em;
width: 25%;
}

address {
Expand Down