From f04ad3e517b46828df70f97634bb3df2aabfc496 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Wed, 3 Jul 2013 13:57:15 -0400 Subject: [PATCH] Hide .entry-date on small viewports --- assets/css/main.css | 2 +- assets/less/page.less | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/css/main.css b/assets/css/main.css index 862b8d1..5243121 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -605,7 +605,7 @@ span+.entry-title{margin-top:0;} .post-list{margin:0;padding:0;list-style-type:none;}.post-list li{padding:8px 0;border-bottom:1px solid #cccccc;border-bottom:1px solid rgba(0, 0, 0, 0.1);*zoom:1;}.post-list li:before,.post-list li:after{display:table;content:"";line-height:0;} .post-list li:after{clear:both;} .post-list a>span{float:right;} -.post-list .entry-date{font-size:14px;font-size:0.875rem;text-transform:uppercase;} +.post-list .entry-date{font-size:14px;font-size:0.875rem;text-transform:uppercase;display:none;}@media only screen and (min-width: 48em){.post-list .entry-date{display:inline;}} .tag-box{list-style:none;margin:0;padding:4px 0;overflow:hidden;*zoom:1;}.tag-box:before,.tag-box:after{display:table;content:"";line-height:0;} .tag-box:after{clear:both;} .tag-box.inline li{float:left;font-size:14px;font-size:0.875rem;line-height:2.5;} diff --git a/assets/less/page.less b/assets/less/page.less index 8b8b07a..027e4ab 100644 --- a/assets/less/page.less +++ b/assets/less/page.less @@ -333,6 +333,10 @@ span + .entry-title { .entry-date { .font-rem(14); text-transform: uppercase; + display: none; + @media @medium { + display: inline; + } } } // Tag index