From f103f4289cedfe1402a201a9e558dd770526cf76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Bastide?= Date: Wed, 6 Nov 2013 01:46:42 +0100 Subject: [PATCH] Basic responsive support for default theme --- themes/default.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/themes/default.css b/themes/default.css index debd9aa4..ae7813ea 100644 --- a/themes/default.css +++ b/themes/default.css @@ -7,9 +7,9 @@ h1 { margin-top: 0; } article p:first-of-type { margin-top: 1.6em; } article p:last-child { margin-bottom: 0; } footer { margin: 0em auto 2em auto; text-align: center; } -footer a { color: #666; text-shadow: 0 1px 1px #fff; text-decoration:none; font-size:.8em; } +footer a { color: #666; text-shadow: 0 1px 1px #fff; text-decoration:none; font-size:.8em; padding: 1em; } /*footer a:before{content: "⏦"; font-size:1.5em; padding-right:.2em; } */ -footer a:hover, footer a:focus { color: #444; } +footer a:hover, footer a:focus { color: #111; } h1 {font-weight:normal; display:inline; border-bottom:1px solid black; padding:0 0 3px 0; line-height: 36px; } a { color:#2844FA; text-decoration:none;} a:hover, a:focus { color:#1B29A4; } @@ -17,4 +17,5 @@ a:active { color:#000; } :-moz-any-link:focus {color:#000; border:0;} ::selection {background:#ccc;} ::-moz-selection {background:#ccc;} - +#gravatar { position: relative; float: right; margin-bottom: 1em; margin-left: 1em; border: 1px solid #ddd; } +@media all and (max-width: 500px) { article {padding:1em;} body {font-size:1em;} }