summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-12-31 06:21:02 +0100
committerJules Laplace <jules@okfoc.us>2016-12-31 06:21:02 +0100
commit5847d4f21f87064d547f3e870bcac04b5b7b2127 (patch)
treead7230006e4857c7ca5a264dad826fc532d35bf1
parent65c1fbe1061d03c46b58c749cb85cdee3f706b12 (diff)
fixing cssv0.2.5
-rw-r--r--themes/okadmin/public/css/main.css9
-rw-r--r--themes/okadmin/templates/index.liquid1
2 files changed, 10 insertions, 0 deletions
diff --git a/themes/okadmin/public/css/main.css b/themes/okadmin/public/css/main.css
index 354c46c..2cdd5cb 100644
--- a/themes/okadmin/public/css/main.css
+++ b/themes/okadmin/public/css/main.css
@@ -34,6 +34,11 @@ a {}
cursor: pointer;
}
+.main.index .resource-category.image .resource-list a {
+ width: 20vw;
+ display: inline-block;
+}
+
.main.index .resource-list a div.image {
width: 20vw;
height: 16vw;
@@ -99,6 +104,10 @@ a:hover {}
columns: 4;
}
+.main.index .image .resource-list {
+ columns: 1;
+}
+
.main.index .resource-category.active .resource-list a:before {
content: counter(start, decimal-leading-zero) " :: ";
}
diff --git a/themes/okadmin/templates/index.liquid b/themes/okadmin/templates/index.liquid
index c73feda..d792496 100644
--- a/themes/okadmin/templates/index.liquid
+++ b/themes/okadmin/templates/index.liquid
@@ -10,6 +10,7 @@
<section class="resource-category root
{% if resource.groupBy %} grouped {% endif %}
{% if resource.descending %} descending {% endif %}
+ {% if resource.display %} {{resource.display}} {% endif %}
{{name}}">
<form action="{{resource.type}}/__batch__/" method="POST">
<header>