From e8fcf59d230a32ad79e4b18a752db52faeade8e4 Mon Sep 17 00:00:00 2001 From: ryderr Date: Wed, 29 Apr 2015 17:01:39 -0400 Subject: css tweeks --- site/public/assets/style.css | 28 ++++++++++++++++++++++++---- site/templates/all.liquid | 2 +- 2 files changed, 25 insertions(+), 5 deletions(-) (limited to 'site') diff --git a/site/public/assets/style.css b/site/public/assets/style.css index 7a7f2b0..f06cf45 100644 --- a/site/public/assets/style.css +++ b/site/public/assets/style.css @@ -430,6 +430,9 @@ nav .sub.active a { width: calc(87% - 80px); margin-left: 160px; } +.entry.all { + width: 90%; +} .entry h1{ margin-bottom: 1.2em; border-bottom: 1px solid; @@ -757,13 +760,13 @@ nav .sub.active a { .project { float: left; - width: 33.33333%; - height: 220px; - padding: 10px 10px 0 10px; + width: 25%; + height: 200px; + height: 14vw; + padding: 10px 0px 0 10px; cursor: pointer; opacity: 0.0; font-size: 0.8em; - max-width: 300px; transition: 0.1s opacity ease-in; transition-delay:0.4s; } @@ -880,6 +883,23 @@ nav .sub.active a { -moz-column-count: 2; column-count: 2; } + + .project { + width:33.3333%; + } + +} + +@media (max-width:900px) { + .entry span div.content { + -webkit-column-count: 2; + -moz-column-count: 2; + column-count: 2; + } + + .project { + width:50%; + } } diff --git a/site/templates/all.liquid b/site/templates/all.liquid index 73da67b..63e5f35 100644 --- a/site/templates/all.liquid +++ b/site/templates/all.liquid @@ -1,4 +1,4 @@ -
+
{% for project in advertisings %}
-- cgit v1.2.3-70-g09d2