"Swap nav selected background"

This commit is contained in:
Doug Le Tough 2017-11-25 11:26:53 +01:00
parent 427b199e49
commit 5c913898ff

View File

@ -41,10 +41,15 @@ div.content > nav > a {
} }
div.content > nav > a:hover { div.content > nav > a:hover {
background-color: var(--light-coloured-bg); background-color: var(--coloured-bg);
color: var(--white);
cursor: pointer; cursor: pointer;
} }
div.content > nav > a.selected {
background-color: var(--light-coloured-bg);
}
main { main {
color: var(--text-color); color: var(--text-color);
background-color: var(--clear-bg); background-color: var(--clear-bg);
@ -133,8 +138,7 @@ footer {
border-top-width: 1px; border-top-width: 1px;
} }
header, footer, header, footer {
div.content > nav > a.selected {
background-color: var(--coloured-bg); background-color: var(--coloured-bg);
color: var(--white); color: var(--white);
} }