Skills search style

master
Bob Mottram 2019-08-28 11:19:48 +01:00
parent 20fea414ba
commit 093e5e4fac
2 changed files with 11 additions and 2 deletions

View File

@ -593,6 +593,15 @@ input[type=submit]:hover {
padding: 0px 0px;
}
.search-result {
margin-left: 30px;
}
.search-result img {
float: left;
width: 4%;
vertical-align: baseline;
}
.timeline-avatar img {
opacity: 1.0;
width: 8%;

View File

@ -372,8 +372,8 @@ def htmlSkillsSearch(baseDir: str,skillsearch: str,instanceOnly: bool,postsPerPa
actor=skillMatchFields[1]
actorName=skillMatchFields[2]
avatarUrl=skillMatchFields[3]
skillSearchForm+='<p><a href="'+actor+'/skills">'
skillSearchForm+='<img src="'+avatarUrl+'" class="timeline-avatar"/>'+actorName+'</a></p>'
skillSearchForm+='<div class="search-result""><a href="'+actor+'/skills">'
skillSearchForm+='<img src="'+avatarUrl+'"/>'+actorName+'</a></div>'
ctr+=1
if ctr>=postsPerPage:
break