Skip to content

Commit

Permalink
Changed CSS class to accommodate for either one sponsor or two
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduardo Prats authored and Eduardo Prats committed Apr 25, 2012
1 parent 01a8250 commit 4e3c1df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
2 changes: 1 addition & 1 deletion past-events.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<!-- THIS IS THE DIVIDER OF EVENTS, ADD THE DATE OF THE EVENT HERE -->
<div class="past-event-divider">Thursday, March 29, 2012</div>

<div class="hosted-by">
<div class="sponsors">
<a href="http://www.citygridmedia.com/"><img src="./images/hosts/citygrid.png"></a>
</div>

Expand Down
17 changes: 5 additions & 12 deletions stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -250,18 +250,11 @@ header {
display: block;
}

.hosted-by a {
padding: 0px;
margin: 0;
border: none;
}

.hosted-by {
.sponsors {
width: 400px;
height: 148px;
margin: 2em auto;
margin: 1em auto;
margin-bottom: 3em;
box-shadow: 0px 0px 5px #777;
}

.sponsors-2x {
Expand All @@ -271,15 +264,15 @@ header {
margin-bottom: 70px;
}

.sponsors-2x a {
sponsors a, .sponsors-2x a {
height: 148px;
}

.sponsors-2x a:hover {
.sponsors a:hover, .sponsors-2x a:hover {
background: none;
}

.sponsors-2x img {
.sponsors img, .sponsors-2x img {
box-shadow: 0px 0px 5px #777;
border-radius: 10px;
margin: 10px;
Expand Down

0 comments on commit 4e3c1df

Please sign in to comment.