MediaWiki

Gadget-breadcrumbs.css

From Dogcraft Wiki

No edit summary
No edit summary
Line 9: Line 9:
}
}
#breadcrumbs a::after {
body:not(.ns-news) #breadcrumbs a::after {
    content: " > ";
    content: " > ";
    text-decoration: none;
    text-decoration: none;
Line 31: Line 31:
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-news #breadcrumbs a::before {
    content: " > ";
    text-decoration: none;
    color: initial;
    cursor: auto;
}
}

Revision as of 19:44, 1 February 2023

@media only screen and (max-width: 600px) {
	#breadcrumbs {
		display:none;
	}
}
	
	#breadcrumbs {
		font-weight: bold;
	}
	
	body:not(.ns-news) #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-news #breadcrumbs a::before {
	    content: " > ";
	    text-decoration: none;
	    color: initial;
	    cursor: auto;
	}
This page was last modified on 1 February 2023, at 19:44. (14 months ago)