MediaWiki
Gadget-breadcrumbs.css
From Dogcraft Wiki
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
} | } | ||
#breadcrumbs a::after { | body:not(.ns-3004) #breadcrumbs a::after { | ||
content: " > "; | content: " > "; | ||
text-decoration: none; | text-decoration: none; | ||
Line 16: | 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; | ||
text-decoration: inherit; | text-decoration: inherit; | ||
cursor: default; | 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; | |||
} | } |
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;
}