Link inside label

merge-requests/8/head
Bob Mottram 2020-10-03 10:00:50 +01:00
parent 53e2ed2ca9
commit 7222c8cf9f
2 changed files with 20 additions and 20 deletions

View File

@ -99,30 +99,30 @@ body, html {
} }
blockquote { blockquote {
border-left: 10px; border-left: 10px;
margin: 1.5em 10px; margin: 1.5em 10px;
padding: 0.5em 10px; padding: 0.5em 10px;
font-weight: var(--quote-font-weight); font-weight: var(--quote-font-weight);
font-style: italic; font-style: italic;
font-size: var(--quote-font-size); font-size: var(--quote-font-size);
quotes: "\201C""\201D""\2018""\2019"; quotes: "\201C""\201D""\2018""\2019";
} }
blockquote:before { blockquote:before {
content: open-quote; content: open-quote;
font-size: 2em; font-size: 2em;
line-height: 0.1em; line-height: 0.1em;
margin-right: 0.25em; margin-right: 0.25em;
vertical-align: -0.4em; vertical-align: -0.4em;
} }
blockquote:after { blockquote:after {
content: close-quote; content: close-quote;
font-size: 2em; font-size: 2em;
line-height: 0.1em; line-height: 0.1em;
margin-left: var(--quote-right-margin); margin-left: var(--quote-right-margin);
vertical-align: -0.4em; vertical-align: -0.4em;
} }
blockquote p { blockquote p {
display: inline; display: inline;
} }
.imageAnchor:focus img{ .imageAnchor:focus img{

View File

@ -5606,8 +5606,8 @@ def htmlTimeline(defaultTimeline: str,
# This creates a link to the profile page when viewed # This creates a link to the profile page when viewed
# in lynx, but should be invisible in a graphical web browser # in lynx, but should be invisible in a graphical web browser
tlStr += \ tlStr += \
'<a href="/users/' + nickname + '"><label class="transparent">' + \ '<label class="transparent"><a href="/users/' + nickname + '">' + \
translate['Switch to profile view'] + '</label></a>\n' translate['Switch to profile view'] + '</a></label>\n'
# banner and row of buttons # banner and row of buttons
tlStr += \ tlStr += \