From 25b0048cf2faa9dd7398ec963f7edb9aa6887029 Mon Sep 17 00:00:00 2001 From: UlrichB22 <97119703+UlrichB22@users.noreply.github.com> Date: Sat, 28 Oct 2023 22:49:17 +0200 Subject: [PATCH] Reduce permalink font-size --- src/moin/themes/basic/static/css/theme.css | 2 ++ src/moin/themes/basic/static/custom-less/theme.less | 2 ++ src/moin/themes/modernized/static/css/theme.css | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/moin/themes/basic/static/css/theme.css b/src/moin/themes/basic/static/css/theme.css index a1c0a26cc..24c442af9 100644 --- a/src/moin/themes/basic/static/css/theme.css +++ b/src/moin/themes/basic/static/css/theme.css @@ -5905,6 +5905,7 @@ h3:focus .moin-permalink, h4:focus .moin-permalink, h5:focus .moin-permalink, h6:focus .moin-permalink { + font-size: 80%; display: inline; text-decoration: none; } @@ -5918,6 +5919,7 @@ h2 { background-color: #90ADC6; } .moin-permalink { + font-size: 80%; display: none; } .moin-permalink:after { diff --git a/src/moin/themes/basic/static/custom-less/theme.less b/src/moin/themes/basic/static/custom-less/theme.less index 127e5cc96..6fb0979e7 100644 --- a/src/moin/themes/basic/static/custom-less/theme.less +++ b/src/moin/themes/basic/static/custom-less/theme.less @@ -22,6 +22,7 @@ h1, h2, h3, h4, h5, h6 { &:hover, &:focus { .moin-permalink { + font-size:80%; display: inline; text-decoration: none; } @@ -36,6 +37,7 @@ h2 { font-size: 1.5em; } } .moin-permalink { + font-size:80%; display: none; } diff --git a/src/moin/themes/modernized/static/css/theme.css b/src/moin/themes/modernized/static/css/theme.css index 2bc7accbf..ca1850cc6 100644 --- a/src/moin/themes/modernized/static/css/theme.css +++ b/src/moin/themes/modernized/static/css/theme.css @@ -121,13 +121,13 @@ ul.moin-breadcrumb li:hover ul.moin-alias { display:block; } li.moin-panel-heading { display:none; } a.moin-permalink { display:none; cursor:pointer; margin-left:.1em; color:var(--permalink_color); } -a.moin-permalink:hover.moin-permalink { color:var(--nonexistent_hover_color); } +a.moin-permalink:hover.moin-permalink { font-size:80%; color:var(--nonexistent_hover_color); } h1:hover .moin-permalink, h2:hover .moin-permalink, h3:hover .moin-permalink, h4:hover .moin-permalink, h5:hover .moin-permalink, -h6:hover .moin-permalink { display:inline; text-decoration:none; } +h6:hover .moin-permalink { font-size:80%; display:inline; text-decoration:none; } .moin-permalink:after { content:"\f1dd"; font-family:FontAwesome; } .moin-search-option-bar { width:75%; padding-left:14px; }