Skip to content

Commit

Permalink
Style up intro
Browse files Browse the repository at this point in the history
  • Loading branch information
desandro committed Jan 3, 2011
1 parent e4dcc42 commit 05a39fc
Show file tree
Hide file tree
Showing 2 changed files with 214 additions and 6 deletions.
173 changes: 167 additions & 6 deletions css/style.css
Expand Up @@ -84,10 +84,6 @@ body, select, input, textarea {
/* font-family: Georgia, serif; */
}

/* headers (h1,h2,etc) have no default font-size or margin,
you'll want to define those yourself. */
h1,h2,h3,h4,h5,h6 { font-weight: bold; }

/* always force a scrollbar in non-IE: */
html { overflow-y: scroll; }

Expand Down Expand Up @@ -191,7 +187,6 @@ html, body {
}

#positioner {
background: hsla( 0, 100%, 50%, 0.3 );
height: 50%;
position: relative;
width: 100%;
Expand All @@ -200,16 +195,182 @@ html, body {
#container {
position: relative;

width: 960px;
width: 990px;
height: 540px;
top: -270px;
border: 1px solid;
margin: 0 auto;

}

/**** Grid ****/

#grid {
position: absolute;
height: 100%;
width: 100%;
pointer-events: none;
display: none;
}


#grid > div {
height: 100%;
width: 100%;
position: absolute;
}

#grid .vertical div {
width: 109px;
height: 100%;
border-right: 1px solid hsla( 0, 0%, 0%, 0.15 );
float: left;
}

#grid .horizontal div {
height: 59px;
border-bottom: 1px solid hsla( 0, 0%, 0%, 0.15 );
}

#grid .mask {
width: 330px;
height: 180px;
background: hsla( 0, 100%, 50%, 0.1 );
left: 330px;
top: 300px;
}

/**** Base ****/

body {
background: #DD0;
font-family: 'Hero Light';
}

a,
a:visited {
color: white;
text-decoration: none;
}

/***************** Intro *****************/

#intro {
color: #223;
}

#intro h1 {
font-family: 'Mod';
font-size: 180px;
text-align: center;
line-height: 160px;
}

#intro h2 {
font-family: 'Mod';
font-size: 130px;
text-align: center;
line-height: 0.8em;
}

#intro .date,
#intro .location {
position: absolute;
width: 330px;
top: 300px;
}

/* Date */

#intro .date time {
display: block;
text-align: center;
}

#intro .date .day-of-week {
text-transform: uppercase;
font-size: 76px;
line-height: 0.9em;
}

#intro .date .day {
font-size: 64px;
text-transform: uppercase;
font-family: 'Hero';
line-height: 1.0em;
}

#intro .date .day i {
font-style: normal;
background: #223;
font-size: 0.9em;
width: 1.2em;
height: 1.2em;
vertical-align: top;
display: inline-block;
color: #DD0;
text-align: center;
line-height: 1.3em;
position: relative;
top: -0.15em;
-webkit-border-radius: 0.6em;
-moz-border-radius: 0.6em;
border-radius: 0.6em;

}

#intro .date .year {
font-size: 20px;
text-transform: uppercase;
line-height: 0.8em;
letter-spacing: 0.5em;
word-spacing: 0.3em;
font-family: 'Hero';
}

#intro .date .time {
font-size: 32px;
line-height: 1.6em;
letter-spacing: 0.05em;
font-family: 'Hero';
}

/* Location */

#intro .location {
right: 0;
}

#intro .location h3 {
font-family: 'Mod';
font-size: 104px;
line-height: 0.9em;
}

#intro .location a * {
display: block;
text-align: center;
}

#intro .location a p {
background: white;
color: #223;
width: 96%;
margin: 0 auto;
color: #DD0;
font-size: 32px;
text-transform: uppercase;
margin-bottom: 4px;
line-height: 1.0em;
padding-top: 0.15em;
}

#intro .location a p.city {
font-size: 54px;
}

#intro .location a:hover h3 { color: #B20; }
#intro .location a:hover p { background: #B20; }



Expand Down
47 changes: 47 additions & 0 deletions index.html
Expand Up @@ -25,6 +25,53 @@
<div id="positioner"></div> <!-- #positioner -->

<div id="container">
<section id="grid">
<div class="horizontal">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<div class="vertical">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<div class="mask"></div>
</section> <!-- #grid -->

<section id="intro">
<h1>BeerCamp</h1>
<h2>at SXSW 2011</h2>

<div class="date">
<time class="day-of-week">Monday</time>
<time class="day">March <i>14</i></time>
<time class="year">Twenty Eleven</time>
<time class="time">Starting at 7:30 PM</time>
</div>

<div class="location">
<a href="http://maps.google.com/maps?q=Emo%27s+Austin+TX&ie=UTF8&hq=Emo%27s&hnear=Austin,+TX&z=16&iwloc=A">
<h3>Emo&rsquo;s</h3>
<p class="street">603 Red River St.</p>
<p class="city">Austin, TX</p>
</a>
</div>

</section> <!-- #intro -->


</div> <!-- #container -->

Expand Down

0 comments on commit 05a39fc

Please sign in to comment.