Style for im addresses

main
Bob Mottram 2019-12-17 16:11:56 +00:00
parent 4562fec1ca
commit ac7893d388
2 changed files with 7 additions and 2 deletions

View File

@ -70,6 +70,11 @@ a:link {
font-size: var(--font-size); font-size: var(--font-size);
} }
.imText {
font-size: var(--font-size4);
color: var(--main-link-color);
}
.button { .button {
border-radius: 4px; border-radius: 4px;
background-color: var(--button-background); background-color: var(--button-background);

View File

@ -3398,9 +3398,9 @@ def htmlPersonOptions(translate: {},baseDir: str, \
optionsStr+=' <img loading="lazy" src="'+optionsProfileUrl+'"/></a>' optionsStr+=' <img loading="lazy" src="'+optionsProfileUrl+'"/></a>'
optionsStr+=' <p class="optionsText">'+translate['Options for']+' @'+getNicknameFromActor(optionsActor)+'@'+optionsDomain+'</p>' optionsStr+=' <p class="optionsText">'+translate['Options for']+' @'+getNicknameFromActor(optionsActor)+'@'+optionsDomain+'</p>'
if xmppAddress: if xmppAddress:
optionsStr+='<p>XMPP: '+xmppAddress+'</p>' optionsStr+='<p class="imText">XMPP: '+xmppAddress+'</p>'
if matrixAddress: if matrixAddress:
optionsStr+='<p>Matrix: '+matrixAddress+'</p>' optionsStr+='<p class="imText">Matrix: '+matrixAddress+'</p>'
optionsStr+=' <form method="POST" action="'+originPathStr+'/personoptions">' optionsStr+=' <form method="POST" action="'+originPathStr+'/personoptions">'
optionsStr+=' <input type="hidden" name="pageNumber" value="'+str(pageNumber)+'">' optionsStr+=' <input type="hidden" name="pageNumber" value="'+str(pageNumber)+'">'
optionsStr+=' <input type="hidden" name="actor" value="'+optionsActor+'">' optionsStr+=' <input type="hidden" name="actor" value="'+optionsActor+'">'