Limit formating for unorderd lists to menu page

Before unordered lists in generator descriptions would also be formatted
like the items in the generator selection
This commit is contained in:
Florian Festi 2020-09-26 11:43:31 +02:00
parent 2a55183e50
commit f38819307b
2 changed files with 8 additions and 8 deletions

View File

@ -330,7 +330,7 @@ class BServer:
<div>
<div class="clear"></div>
<hr />
<div style="width: 100%">
<div class="menu" style="width: 100%">
""" ]
for nr, group in enumerate(self.groups):
result.append('''<h3 id="h-%s" class="open" onclick="showHide('%s')">%s</h3>\n<div id="%s">\n''' % (nr, nr, _(group.title), nr))

View File

@ -19,7 +19,7 @@ a {
color: #5F584A;
}
li {
.menu li {
color: #666;
list-style-type: none;
}
@ -145,26 +145,26 @@ img[id|=sample] {
right: calc(50% - 498px);
}
ul {
.menu ul {
padding-left: 5px;
}
ul li {
.menu ul li {
padding: 5px 5px 5px 10px;
}
ul li:hover {
.menu ul li:hover {
background-color: #333;
color: #eee;
-webkit-border-radius: 10px;
border-radius: 10px;
}
ul li:hover a {
.menu ul li:hover a {
color: #bbb;
}
ul li span {
.menu ul li span {
display: none;
font-size: 1.8em;
font-weight: bold;
@ -172,7 +172,7 @@ ul li span {
margin-left: 10px;
}
ul li:hover span {
.menu ul li:hover span {
display: inline-block;
}