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

Commit

Permalink
media query for iPhone not on main page
Browse files Browse the repository at this point in the history
  • Loading branch information
grungerabbit committed Apr 26, 2014
1 parent f807bdd commit 2fdd5aa
Show file tree
Hide file tree
Showing 20 changed files with 112 additions and 37 deletions.
4 changes: 2 additions & 2 deletions _includes/header-legacy.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h1><a href="/">DemoDays</a></h1>
<div class="tagline">
<h1>Student demos at the intersection of art, design and code.</h1>

<a href="{{page.eventLink}}" class="action"><span><span class="ion-ios7-heart" data-pack="ios7" data-tags="love"></span> Archive</span></a>
<a href="{{page.eventLink}}" class="action"><span><span class="ion-ios7-heart" data-pack="ios7" data-tags="love"></span> Event</span></a>
</div>
<div class="info">
<ul class="icons">
Expand Down Expand Up @@ -42,7 +42,7 @@ <h1>Student demos at the intersection of art, design and code.</h1>
</ul>
</div>
</li>
<li><h3><a href="{{page.eventLink}}"> Archive</a></h3></li>
<li><h3><a href="{{page.eventLink}}"> Event</a></h3></li>
</ul>
</div>
</div>
Expand Down
7 changes: 7 additions & 0 deletions _layouts/legacy-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@

</script>

<style>
@media only screen and (max-width: 40em) {
header {
margin-top: 2.75rem;
}
}
</style>
</head>
<body>
<div class="container">
Expand Down
5 changes: 5 additions & 0 deletions _layouts/legacy.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@
background-image: url('/lib/img/archive/{{page.date | date: '%b-%Y' }}.jpg');
}
}
@media only screen and (max-width: 40em) {
header {
margin-top: 2.75rem;
}
}
</style>
</head>
<body>
Expand Down
9 changes: 7 additions & 2 deletions _site/archive/02/2014/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@
background-image: url('/lib/img/archive/Feb-2014.jpg');
}
}
@media only screen and (max-width: 40em) {
header {
margin-top: 2.75rem;
}
}
</style>
</head>
<body>
Expand All @@ -88,7 +93,7 @@ <h1><a href="/">DemoDays</a></h1>
<div class="tagline">
<h1>Student demos at the intersection of art, design and code.</h1>

<a href="http://www.meetup.com/DemoDays/events/166086912/" class="action"><span><span class="ion-ios7-heart" data-pack="ios7" data-tags="love"></span> Archive</span></a>
<a href="http://www.meetup.com/DemoDays/events/166086912/" class="action"><span><span class="ion-ios7-heart" data-pack="ios7" data-tags="love"></span> Event</span></a>
</div>
<div class="info">
<ul class="icons">
Expand Down Expand Up @@ -120,7 +125,7 @@ <h1>Student demos at the intersection of art, design and code.</h1>
</ul>
</div>
</li>
<li><h3><a href="http://www.meetup.com/DemoDays/events/166086912/"> Archive</a></h3></li>
<li><h3><a href="http://www.meetup.com/DemoDays/events/166086912/"> Event</a></h3></li>
</ul>
</div>
</div>
Expand Down
9 changes: 7 additions & 2 deletions _site/archive/03/2012/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@
background-image: url('/lib/img/archive/Mar-2012.jpg');
}
}
@media only screen and (max-width: 40em) {
header {
margin-top: 2.75rem;
}
}
</style>
</head>
<body>
Expand All @@ -88,7 +93,7 @@ <h1><a href="/">DemoDays</a></h1>
<div class="tagline">
<h1>Student demos at the intersection of art, design and code.</h1>

<a href="http://www.meetup.com/DemoDays/events/55574352/" class="action"><span><span class="ion-ios7-heart" data-pack="ios7" data-tags="love"></span> Archive</span></a>
<a href="http://www.meetup.com/DemoDays/events/55574352/" class="action"><span><span class="ion-ios7-heart" data-pack="ios7" data-tags="love"></span> Event</span></a>
</div>
<div class="info">
<ul class="icons">
Expand Down Expand Up @@ -120,7 +125,7 @@ <h1>Student demos at the intersection of art, design and code.</h1>
</ul>
</div>
</li>
<li><h3><a href="http://www.meetup.com/DemoDays/events/55574352/"> Archive</a></h3></li>
<li><h3><a href="http://www.meetup.com/DemoDays/events/55574352/"> Event</a></h3></li>
</ul>
</div>
</div>
Expand Down
9 changes: 7 additions & 2 deletions _site/archive/03/2013/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@
background-image: url('/lib/img/archive/Mar-2013.jpg');
}
}
@media only screen and (max-width: 40em) {
header {
margin-top: 2.75rem;
}
}
</style>
</head>
<body>
Expand All @@ -88,7 +93,7 @@ <h1><a href="/">DemoDays</a></h1>
<div class="tagline">
<h1>Student demos at the intersection of art, design and code.</h1>

<a href="http://www.meetup.com/DemoDays/events/105068252/" class="action"><span><span class="ion-ios7-heart" data-pack="ios7" data-tags="love"></span> Archive</span></a>
<a href="http://www.meetup.com/DemoDays/events/105068252/" class="action"><span><span class="ion-ios7-heart" data-pack="ios7" data-tags="love"></span> Event</span></a>
</div>
<div class="info">
<ul class="icons">
Expand Down Expand Up @@ -120,7 +125,7 @@ <h1>Student demos at the intersection of art, design and code.</h1>
</ul>
</div>
</li>
<li><h3><a href="http://www.meetup.com/DemoDays/events/105068252/"> Archive</a></h3></li>
<li><h3><a href="http://www.meetup.com/DemoDays/events/105068252/"> Event</a></h3></li>
</ul>
</div>
</div>
Expand Down
9 changes: 7 additions & 2 deletions _site/archive/03/2014/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@
background-image: url('/lib/img/archive/Mar-2014.jpg');
}
}
@media only screen and (max-width: 40em) {
header {
margin-top: 2.75rem;
}
}
</style>
</head>
<body>
Expand All @@ -88,7 +93,7 @@ <h1><a href="/">DemoDays</a></h1>
<div class="tagline">
<h1>Student demos at the intersection of art, design and code.</h1>

<a href="http://www.meetup.com/DemoDays/events/170862782/" class="action"><span><span class="ion-ios7-heart" data-pack="ios7" data-tags="love"></span> Archive</span></a>
<a href="http://www.meetup.com/DemoDays/events/170862782/" class="action"><span><span class="ion-ios7-heart" data-pack="ios7" data-tags="love"></span> Event</span></a>
</div>
<div class="info">
<ul class="icons">
Expand Down Expand Up @@ -120,7 +125,7 @@ <h1>Student demos at the intersection of art, design and code.</h1>
</ul>
</div>
</li>
<li><h3><a href="http://www.meetup.com/DemoDays/events/170862782/"> Archive</a></h3></li>
<li><h3><a href="http://www.meetup.com/DemoDays/events/170862782/"> Event</a></h3></li>
</ul>
</div>
</div>
Expand Down
9 changes: 7 additions & 2 deletions _site/archive/04/2012/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@
background-image: url('/lib/img/archive/Apr-2012.jpg');
}
}
@media only screen and (max-width: 40em) {
header {
margin-top: 2.75rem;
}
}
</style>
</head>
<body>
Expand All @@ -88,7 +93,7 @@ <h1><a href="/">DemoDays</a></h1>
<div class="tagline">
<h1>Student demos at the intersection of art, design and code.</h1>

<a href="http://www.meetup.com/DemoDays/events/60933152/" class="action"><span><span class="ion-ios7-heart" data-pack="ios7" data-tags="love"></span> Archive</span></a>
<a href="http://www.meetup.com/DemoDays/events/60933152/" class="action"><span><span class="ion-ios7-heart" data-pack="ios7" data-tags="love"></span> Event</span></a>
</div>
<div class="info">
<ul class="icons">
Expand Down Expand Up @@ -120,7 +125,7 @@ <h1>Student demos at the intersection of art, design and code.</h1>
</ul>
</div>
</li>
<li><h3><a href="http://www.meetup.com/DemoDays/events/60933152/"> Archive</a></h3></li>
<li><h3><a href="http://www.meetup.com/DemoDays/events/60933152/"> Event</a></h3></li>
</ul>
</div>
</div>
Expand Down
9 changes: 7 additions & 2 deletions _site/archive/04/2013/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@
background-image: url('/lib/img/archive/Apr-2013.jpg');
}
}
@media only screen and (max-width: 40em) {
header {
margin-top: 2.75rem;
}
}
</style>
</head>
<body>
Expand All @@ -88,7 +93,7 @@ <h1><a href="/">DemoDays</a></h1>
<div class="tagline">
<h1>Student demos at the intersection of art, design and code.</h1>

<a href="http://www.meetup.com/DemoDays/events/112211932/" class="action"><span><span class="ion-ios7-heart" data-pack="ios7" data-tags="love"></span> Archive</span></a>
<a href="http://www.meetup.com/DemoDays/events/112211932/" class="action"><span><span class="ion-ios7-heart" data-pack="ios7" data-tags="love"></span> Event</span></a>
</div>
<div class="info">
<ul class="icons">
Expand Down Expand Up @@ -120,7 +125,7 @@ <h1>Student demos at the intersection of art, design and code.</h1>
</ul>
</div>
</li>
<li><h3><a href="http://www.meetup.com/DemoDays/events/112211932/"> Archive</a></h3></li>
<li><h3><a href="http://www.meetup.com/DemoDays/events/112211932/"> Event</a></h3></li>
</ul>
</div>
</div>
Expand Down
9 changes: 7 additions & 2 deletions _site/archive/05/2013/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@
background-image: url('/lib/img/archive/May-2013.jpg');
}
}
@media only screen and (max-width: 40em) {
header {
margin-top: 2.75rem;
}
}
</style>
</head>
<body>
Expand All @@ -88,7 +93,7 @@ <h1><a href="/">DemoDays</a></h1>
<div class="tagline">
<h1>Student demos at the intersection of art, design and code.</h1>

<a href="http://www.meetup.com/DemoDays/events/115460312/" class="action"><span><span class="ion-ios7-heart" data-pack="ios7" data-tags="love"></span> Archive</span></a>
<a href="http://www.meetup.com/DemoDays/events/115460312/" class="action"><span><span class="ion-ios7-heart" data-pack="ios7" data-tags="love"></span> Event</span></a>
</div>
<div class="info">
<ul class="icons">
Expand Down Expand Up @@ -120,7 +125,7 @@ <h1>Student demos at the intersection of art, design and code.</h1>
</ul>
</div>
</li>
<li><h3><a href="http://www.meetup.com/DemoDays/events/115460312/"> Archive</a></h3></li>
<li><h3><a href="http://www.meetup.com/DemoDays/events/115460312/"> Event</a></h3></li>
</ul>
</div>
</div>
Expand Down
9 changes: 7 additions & 2 deletions _site/archive/07/2012/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@
background-image: url('/lib/img/archive/Jul-2012.jpg');
}
}
@media only screen and (max-width: 40em) {
header {
margin-top: 2.75rem;
}
}
</style>
</head>
<body>
Expand All @@ -88,7 +93,7 @@ <h1><a href="/">DemoDays</a></h1>
<div class="tagline">
<h1>Student demos at the intersection of art, design and code.</h1>

<a href="http://www.meetup.com/DemoDays/events/72165432/" class="action"><span><span class="ion-ios7-heart" data-pack="ios7" data-tags="love"></span> Archive</span></a>
<a href="http://www.meetup.com/DemoDays/events/72165432/" class="action"><span><span class="ion-ios7-heart" data-pack="ios7" data-tags="love"></span> Event</span></a>
</div>
<div class="info">
<ul class="icons">
Expand Down Expand Up @@ -120,7 +125,7 @@ <h1>Student demos at the intersection of art, design and code.</h1>
</ul>
</div>
</li>
<li><h3><a href="http://www.meetup.com/DemoDays/events/72165432/"> Archive</a></h3></li>
<li><h3><a href="http://www.meetup.com/DemoDays/events/72165432/"> Event</a></h3></li>
</ul>
</div>
</div>
Expand Down
9 changes: 7 additions & 2 deletions _site/archive/10/2012/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@
background-image: url('/lib/img/archive/Oct-2012.jpg');
}
}
@media only screen and (max-width: 40em) {
header {
margin-top: 2.75rem;
}
}
</style>
</head>
<body>
Expand All @@ -88,7 +93,7 @@ <h1><a href="/">DemoDays</a></h1>
<div class="tagline">
<h1>Student demos at the intersection of art, design and code.</h1>

<a href="http://www.meetup.com/DemoDays/events/87997942/" class="action"><span><span class="ion-ios7-heart" data-pack="ios7" data-tags="love"></span> Archive</span></a>
<a href="http://www.meetup.com/DemoDays/events/87997942/" class="action"><span><span class="ion-ios7-heart" data-pack="ios7" data-tags="love"></span> Event</span></a>
</div>
<div class="info">
<ul class="icons">
Expand Down Expand Up @@ -120,7 +125,7 @@ <h1>Student demos at the intersection of art, design and code.</h1>
</ul>
</div>
</li>
<li><h3><a href="http://www.meetup.com/DemoDays/events/87997942/"> Archive</a></h3></li>
<li><h3><a href="http://www.meetup.com/DemoDays/events/87997942/"> Event</a></h3></li>
</ul>
</div>
</div>
Expand Down
9 changes: 7 additions & 2 deletions _site/archive/10/2013/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@
background-image: url('/lib/img/archive/Oct-2013.jpg');
}
}
@media only screen and (max-width: 40em) {
header {
margin-top: 2.75rem;
}
}
</style>
</head>
<body>
Expand All @@ -88,7 +93,7 @@ <h1><a href="/">DemoDays</a></h1>
<div class="tagline">
<h1>Student demos at the intersection of art, design and code.</h1>

<a href="http://www.meetup.com/DemoDays/events/141789122/" class="action"><span><span class="ion-ios7-heart" data-pack="ios7" data-tags="love"></span> Archive</span></a>
<a href="http://www.meetup.com/DemoDays/events/141789122/" class="action"><span><span class="ion-ios7-heart" data-pack="ios7" data-tags="love"></span> Event</span></a>
</div>
<div class="info">
<ul class="icons">
Expand Down Expand Up @@ -120,7 +125,7 @@ <h1>Student demos at the intersection of art, design and code.</h1>
</ul>
</div>
</li>
<li><h3><a href="http://www.meetup.com/DemoDays/events/141789122/"> Archive</a></h3></li>
<li><h3><a href="http://www.meetup.com/DemoDays/events/141789122/"> Event</a></h3></li>
</ul>
</div>
</div>
Expand Down
9 changes: 7 additions & 2 deletions _site/archive/11/2012/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@
background-image: url('/lib/img/archive/Nov-2012.jpg');
}
}
@media only screen and (max-width: 40em) {
header {
margin-top: 2.75rem;
}
}
</style>
</head>
<body>
Expand All @@ -88,7 +93,7 @@ <h1><a href="/">DemoDays</a></h1>
<div class="tagline">
<h1>Student demos at the intersection of art, design and code.</h1>

<a href="http://www.meetup.com/DemoDays/events/87997942/" class="action"><span><span class="ion-ios7-heart" data-pack="ios7" data-tags="love"></span> Archive</span></a>
<a href="http://www.meetup.com/DemoDays/events/87997942/" class="action"><span><span class="ion-ios7-heart" data-pack="ios7" data-tags="love"></span> Event</span></a>
</div>
<div class="info">
<ul class="icons">
Expand Down Expand Up @@ -120,7 +125,7 @@ <h1>Student demos at the intersection of art, design and code.</h1>
</ul>
</div>
</li>
<li><h3><a href="http://www.meetup.com/DemoDays/events/87997942/"> Archive</a></h3></li>
<li><h3><a href="http://www.meetup.com/DemoDays/events/87997942/"> Event</a></h3></li>
</ul>
</div>
</div>
Expand Down
Loading

0 comments on commit 2fdd5aa

Please sign in to comment.