1
0
mirror of https://github.com/typemill/typemill.git synced 2025-07-30 10:50:17 +02:00

Cyanine theme: fix design for news and info listings

This commit is contained in:
trendschau
2024-11-21 12:29:45 +01:00
parent 57c07104cb
commit a88129b86c
3 changed files with 7 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
name: Cyanine Theme
version: 2.3.2
version: 2.3.3
description: 'Cyanine is a modern and flexible multi-purpose theme and the standard theme for Typemill.'
author: Trendschau
homepage: https://trendschau.net

View File

@@ -13,18 +13,18 @@
{% set pagelist = getPageList(navigation, settings.themes.cyanine.infoFolder, base_url) %}
<ul class="flex-l flex-wrap-l justify-between pa0">
<ul class="flex-l flex-wrap-l justify-between pa0 ma3 mh0-l">
{% for element in pagelist.folderContent %}
{% set page = getPageMeta(settings, element) %}
<li class="db list tl pa0 w-100 w-30-l mh0 mv2 mh2-l shadow-2-hover flex flex-column flex-grow-0 flex-basis bg-white">
<div class="pa2 ph3-ns pb3-ns flex-grow">
<li class="db list tl pa0 w-100 w-30-l mh0 mh2-l mt2 mb5 mb4-l shadow-2-hover flex flex-column flex-grow-0 flex-basis bg-white">
<div class="pt2 pb0 ph3 flex-grow">
<h3>{{ page.meta.shorttitle }}</h3>
<p class="f5 lh-copy">{{ page.meta.description }}</p>
</div>
<div class="pa2 ph3-ns pb3-ns">
<div class="pt2 pb3 ph3">
<a href="{{ element.urlAbs }}" class="button link w-100 db dim pa3 ba w-100 white tc">{{ page.meta.shorttitle }}</a>
<div>
</li>

View File

@@ -14,7 +14,7 @@
{% set page = getPageMeta(settings, element) %}
<li class="db list tl pa0 w-100 mh0 mv2 mh2-l shadow-2-hover">
<li class="db list tl pa0 w-100 mh0 mh2-l mt2 mb5 mb4-l shadow-2-hover">
<a class="link mv4 dim" href="{{ element.urlAbs }}">
<div class="db h4-5 overflow-hidden">
<img class="db w-100" src="{{base_url}}/{{ page.meta.heroimage }}" alt="{{ page.meta.heroimagealt }}">
@@ -39,7 +39,7 @@
{% set post = getPageMeta(settings, element) %}
{% set date = element.order[0:4] ~ '-' ~ element.order[4:2] ~ '-' ~ element.order[6:2] %}
<li class="db list tl pa0 w-100 mh0 mv2 mh2-l shadow-2-hover">
<li class="db list tl pa0 w-100 mh0 mh2-l mt2 mb5 mb4-l shadow-2-hover">
<a class="link mv4 dim" href="{{ element.urlAbs }}">
<div class="db h4-5 overflow-hidden">