From 556d1d3d583d1b32bf8804d6e8c1e5090748b2e3 Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Tue, 7 Oct 2014 19:55:36 -0400 Subject: [PATCH] Make the site more mobile-friendly. --- Site/2013-05/css/main.css | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Site/2013-05/css/main.css b/Site/2013-05/css/main.css index 91e6e1f5..5764fa15 100644 --- a/Site/2013-05/css/main.css +++ b/Site/2013-05/css/main.css @@ -348,7 +348,8 @@ header .movie::after { background: url('../img/loading-spin.svg') no-repeat scroll center center transparent; } header.play { - height: 94% !important; + height: auto !important; + max-height: 94%; } header.play .movie { display: block; @@ -485,3 +486,26 @@ table .box.green { background: #6A6; border: 1px solid #3C3; } + +@media (max-width: 979px) { + .content { + width: auto; + } + header .content { + left: 0; + right: 0; + margin: 0; + padding: 20px; + } + .pull-right, .pull-left { + float: none; + } +} +@media (max-width: 767px) { + header h1 { + font-size: 4em; + } + header h2 { + font-size: 2em; + } +}