diff options
| author | 2026-01-02 00:37:45 +0100 | |
|---|---|---|
| committer | 2026-01-02 00:37:45 +0100 | |
| commit | e77949acd6c62f698727f84d03d5f3aacba1004c (patch) | |
| tree | fd13ebe02cc462206351cbc81167ce0bd3c034cb | |
| parent | 5218f890e487108202c1331096fcbeb67446d932 (diff) | |
| download | blossom-e77949acd6c62f698727f84d03d5f3aacba1004c.tar.gz blossom-e77949acd6c62f698727f84d03d5f3aacba1004c.tar.bz2 blossom-e77949acd6c62f698727f84d03d5f3aacba1004c.zip | |
redesign poem panel
Diffstat (limited to '')
| -rw-r--r-- | static/style.css | 2 | ||||
| -rw-r--r-- | templates/poem-panel.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/static/style.css b/static/style.css index 6205635..995b2f3 100644 --- a/static/style.css +++ b/static/style.css @@ -485,7 +485,7 @@ iframe { .poem .title { font-family: 'Louise'; - font-size: 4em; + font-size: 1.75em; margin: 0.5em 0 0; } diff --git a/templates/poem-panel.html b/templates/poem-panel.html index e1fb016..17eb8a0 100644 --- a/templates/poem-panel.html +++ b/templates/poem-panel.html @@ -1,10 +1,10 @@ <div style="top: {{ self::thread_rng().gen_range(-jiggle..=jiggle) }}vw; left: {{ self::thread_rng().gen_range(-4..=4) }}vw" class="panel content poem"> - {% if let Some(title) = poem.title %}<h1 class="title">{{ title }}</h1>{% endif %} <h2 class="created-at">{{ poem.created_at.date_naive() }} <a href="/poetry/{{ poem.file_name }}">{{ locale.text("permalink").unwrap() }}</a> </h2> + {% if let Some(title) = poem.title %}<h1 class="title">{{ title }}</h1>{% endif %} <div class="poem-content"> {{ poem.content|safe }} </div> |
