summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjulie lala <jules@okfoc.us>2015-04-30 19:01:07 -0400
committerjulie lala <jules@okfoc.us>2015-04-30 19:01:07 -0400
commit004532719e822174475ba3eb0b76dec833a8bdc4 (patch)
tree3342a9badec064d354490385c12df4f297079d0b
parentc4abfb2918113ee1f649222dd86fe62ed4f707f8 (diff)
parentf0f6e334c84aad8163ce1f2ec1a83343956c4e98 (diff)
Merge branch 'twohustlers' of github.com:okfocus/okcms into twohustlers
-rw-r--r--site/public/assets/style.css30
-rw-r--r--site/templates/all.liquid2
2 files changed, 26 insertions, 6 deletions
diff --git a/site/public/assets/style.css b/site/public/assets/style.css
index 7a7f2b0..3db83a9 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;
@@ -664,7 +667,7 @@ nav .sub.active a {
opacity:1;
}
.cell img {
- max-height:100%;
+ height:100%;
opacity:0.0;
transition:0.4s opacity ease-in;
}
@@ -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 @@
-<div class="entry all undone">
+<div class="all undone">
{% for project in advertisings %}
<div class="project" data-id="{{ project.id }}" data-type="advertising">
<img src="{{ project.thumbnail.uri }}">