License icon style

main2
Bob Mottram 2019-10-03 15:34:13 +01:00
parent 6a74bac2bb
commit 68515fcf48
2 changed files with 11 additions and 5 deletions

View File

@ -60,10 +60,6 @@ a:link {
font-weight: bold;
}
.license {
width: 5%;
}
.cwButton {
border-radius: var(--button-corner-radius);
background-color: #554;
@ -1051,6 +1047,11 @@ div.imagedesc {
margin: 5px;
float: right;
}
.license {
float: right;
margin: 0% 1%;
width: 10%;
}
}
@media screen and (max-width: 1000px) {
@ -1303,4 +1304,9 @@ div.imagedesc {
margin: 5px;
float: right;
}
.license {
float: right;
margin: 0% 1%;
width: 20%;
}
}

View File

@ -1288,7 +1288,7 @@ def htmlProfile(translate: {},projectVersion: str, \
with open(cssFilename, 'r') as cssFile:
profileStyle = cssFile.read().replace('image.png',actor+'/image.png')
licenseStr='<centre><a href="https://gitlab.com/bashrc2/epicyon"><img class="license" src="/icons/agpl.png" /></a></centre>'
licenseStr='<a href="https://gitlab.com/bashrc2/epicyon"><img class="license" src="/icons/agpl.png" /></a>'
if selected=='posts':
profileStr+= \