diff options
author | tdro <tdro@noreply.example.com> | 2023-04-08 14:35:37 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-04-08 14:41:40 -0400 |
commit | f0cbdec755e91fc3f02e96b03e1fc200b135815e (patch) | |
tree | 99e50fdc96d611424e1068818fd05ec6a6a3fd31 /assets/css/default.css | |
parent | 14b385a14f3a886cc47200a88e69626c2befe799 (diff) | |
download | canory-f0cbdec755e91fc3f02e96b03e1fc200b135815e.tar.gz canory-f0cbdec755e91fc3f02e96b03e1fc200b135815e.tar.bz2 canory-f0cbdec755e91fc3f02e96b03e1fc200b135815e.zip |
static/js: Add update check
In the case of heavy caching attempt a naive site update check with voluntary
refresh. Not fully idempotent?
Diffstat (limited to 'assets/css/default.css')
-rw-r--r-- | assets/css/default.css | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/assets/css/default.css b/assets/css/default.css index a093b9b..e5eaa16 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -661,7 +661,8 @@ self-embed iframe { img { height: auto; max-width: 100%; - border: 1px solid; + border-width: 1px; + border-style: solid; border-color: #ccc; border-color: var(--border-darker); border-radius: 0.5rem; @@ -1359,6 +1360,11 @@ column-middle main > footer { margin: 1rem 0; } +icon-button, +icon-navigator { + height: 4rem; +} + icon-button a { color: inherit; display: flex; @@ -1371,9 +1377,16 @@ icon-button a { padding: 0.5rem 0; } -icon-button, -icon-navigator { - height: 4rem; +icon-button a svg:nth-of-type(2), +icon-button a small:nth-of-type(2), +icon-button a[data-update="refresh"] svg:nth-of-type(1), +icon-button a[data-update="refresh"] small:nth-of-type(1) { + display: none; +} + +icon-button a[data-update="refresh"] svg:nth-of-type(2), +icon-button a[data-update="refresh"] small:nth-of-type(2) { + display: initial; } icon-button a:hover { @@ -1578,7 +1591,7 @@ following-list aside footer { } author-list h1 a { - color: inherit; + color: inherit; } author-list aside { |