MediaWiki
Gadget-breadcrumbs.css
From Dogcraft Wiki
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
@media only screen and ( | @media only screen and (max-width: 600px) { | ||
#breadcrumbs { | |||
display:none; | |||
} | |||
} | |||
#breadcrumbs { | #breadcrumbs { | ||
Line 5: | Line 9: | ||
} | } | ||
#breadcrumbs a::after { | body:not(.ns-3004) #breadcrumbs a::after { | ||
content: " > "; | content: " > "; | ||
text-decoration: none; | text-decoration: none; | ||
Line 12: | Line 16: | ||
} | } | ||
#breadcrumbs a:hover { | #breadcrumbs a:hover, | ||
#breadcrumbs a:focus{ | |||
text-decoration:none; | text-decoration:none; | ||
} | } | ||
#breadcrumbs a span:hover { | #breadcrumbs a span:hover, | ||
#breadcrumbs a span:focus{ | |||
text-decoration:underline; | text-decoration:underline; | ||
} | } | ||
#breadcrumbs > | #breadcrumbs > ::last-child { /*selflink styles for the last crumb (current page name)*/ | ||
color: inherit; | color: inherit; | ||
font-weight: bold; | font-weight: bold; | ||
Line 27: | Line 33: | ||
} | } | ||
} | /* News namespace */ | ||
.ns-3004 .namespace { | |||
display: inline-block; | |||
} | |||
.ns-3004 #breadcrumbs { | |||
display: inline-block; | |||
} | |||
.ns-3004 #breadcrumbs a::before { | |||
content: " > "; | |||
text-decoration: none; | |||
color: initial; | |||
cursor: auto; | |||
} |
Latest revision as of 19:49, 1 February 2023
@media only screen and (max-width: 600px) {
#breadcrumbs {
display:none;
}
}
#breadcrumbs {
font-weight: bold;
}
body:not(.ns-3004) #breadcrumbs a::after {
content: " > ";
text-decoration: none;
color: initial;
cursor: auto;
}
#breadcrumbs a:hover,
#breadcrumbs a:focus{
text-decoration:none;
}
#breadcrumbs a span:hover,
#breadcrumbs a span:focus{
text-decoration:underline;
}
#breadcrumbs > ::last-child { /*selflink styles for the last crumb (current page name)*/
color: inherit;
font-weight: bold;
text-decoration: inherit;
cursor: default;
}
/* News namespace */
.ns-3004 .namespace {
display: inline-block;
}
.ns-3004 #breadcrumbs {
display: inline-block;
}
.ns-3004 #breadcrumbs a::before {
content: " > ";
text-decoration: none;
color: initial;
cursor: auto;
}