Skip to content

Commit

Permalink
responsive events page
Browse files Browse the repository at this point in the history
  • Loading branch information
arnellebalane committed Aug 12, 2016
1 parent 4b606c4 commit 09ee3c0
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions static/stylesheets/events.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,22 @@

.event__title {
margin-bottom: 0.5em;
font-size: 2.4rem;
font-size: 1.5em;
font-weight: 600;
color: rgba(0, 0, 0, 0.75);
}


.event__details p:last-child {
margin-bottom: 0;
}


.event__info {
display: inline-flex;
align-items: center;
margin-right: 2em;
font-size: 1.4rem;
font-size: 0.875em;
color: rgba(0, 0, 0, 0.38);
}

Expand All @@ -80,3 +85,20 @@
.event__info--where::before {
background-image: url("../images/location.png");
}


@media all and (max-width: 775px), (max-device-width: 775px) {
.site__body.wrapper {
width: 90vw;
}


.event__thumbnail {
display: none;
}


.event__info {
display: flex;
}
}

0 comments on commit 09ee3c0

Please sign in to comment.