add "usercss" label

reimplements #262
This commit is contained in:
tophf 2017-11-26 20:24:42 +03:00
parent a58f42dee0
commit 5a489e7043

View File

@ -139,11 +139,6 @@ label.nobreak input {
text-decoration: none; text-decoration: none;
} }
.style-name-link:hover {
text-decoration: underline;
color: #000;
}
.applies-to { .applies-to {
overflow-wrap: break-word; overflow-wrap: break-word;
} }
@ -195,7 +190,7 @@ summary {
display: none; display: none;
} }
.disabled h2::after { .disabled h2::after, .entry.usercss .style-name-link::after {
font-weight: normal; font-weight: normal;
font-size: 11px; font-size: 11px;
text-transform: lowercase; text-transform: lowercase;
@ -205,6 +200,12 @@ summary {
margin-left: 1ex; margin-left: 1ex;
} }
.entry.usercss .style-name-link::after {
content: "usercss";
background-color: hsla(180, 100%, 20%, 1);
color: white;
}
.disabled { .disabled {
opacity: 0.5; opacity: 0.5;
} }