From 43c2ed54fad2b11d5c75d93dc880cbecc9831f55 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Sun, 25 Aug 2019 21:24:24 -0700 Subject: [PATCH] Fix pulsing on dark backgrounds --- content/aside/3.html | 1 + content/from-within/2.md | 1 + content/from-within/3.md | 1 + content/from-within/4.md | 1 + content/from-within/5.md | 1 + content/from-within/_index.md | 1 + content/from-within/i-guess...md | 1 + content/koan/_index.md | 1 + content/mania/_index.md | 1 + content/poet-and-mystic/007.html | 2 +- content/poet-and-mystic/_index.md | 1 + themes/ally/layouts/partials/head.html | 11 +++++++++++ themes/ally/static/css/main.css | 4 +++- 13 files changed, 25 insertions(+), 2 deletions(-) diff --git a/content/aside/3.html b/content/aside/3.html index d51cd6f..474b39f 100644 --- a/content/aside/3.html +++ b/content/aside/3.html @@ -1,5 +1,6 @@ --- type: single +pulse_light: true --- {{end}} diff --git a/themes/ally/static/css/main.css b/themes/ally/static/css/main.css index ef9fab6..bd6baf9 100644 --- a/themes/ally/static/css/main.css +++ b/themes/ally/static/css/main.css @@ -157,11 +157,13 @@ code { background-color: rgba(128, 128, 128, 0.2); } } -.pulse { +.pulse, .pulse span { animation-name: flash; animation-duration: 1s; animation-iteration-count: infinite; animation-direction: alternate; +} +.pulse { padding: 0 3px; }