Deprecated: Wikimedia\CSS\Parser\Parser::newFromTokens(): Implicitly marking parameter $eof as nullable is deprecated, the explicit nullable type must be used instead in /srv/www/wiki/turku/extensions/TemplateStyles/vendor/wikimedia/css-sanitizer/src/Parser/Parser.php on line 106

Deprecated: Wikimedia\CSS\Parser\DataSourceTokenizer::parseError(): Implicitly marking parameter $position as nullable is deprecated, the explicit nullable type must be used instead in /srv/www/wiki/turku/extensions/TemplateStyles/vendor/wikimedia/css-sanitizer/src/Parser/DataSourceTokenizer.php on line 157

Deprecated: Wikimedia\CSS\Objects\RuleList::getSeparator(): Implicitly marking parameter $right as nullable is deprecated, the explicit nullable type must be used instead in /srv/www/wiki/turku/extensions/TemplateStyles/vendor/wikimedia/css-sanitizer/src/Objects/RuleList.php on line 19

Deprecated: Wikimedia\CSS\Objects\CSSObjectList::getSeparator(): Implicitly marking parameter $right as nullable is deprecated, the explicit nullable type must be used instead in /srv/www/wiki/turku/extensions/TemplateStyles/vendor/wikimedia/css-sanitizer/src/Objects/CSSObjectList.php on line 227

Deprecated: Wikimedia\CSS\Objects\QualifiedRule::__construct(): Implicitly marking parameter $token as nullable is deprecated, the explicit nullable type must be used instead in /srv/www/wiki/turku/extensions/TemplateStyles/vendor/wikimedia/css-sanitizer/src/Objects/QualifiedRule.php on line 24

Deprecated: Wikimedia\CSS\Objects\QualifiedRule::setBlock(): Implicitly marking parameter $block as nullable is deprecated, the explicit nullable type must be used instead in /srv/www/wiki/turku/extensions/TemplateStyles/vendor/wikimedia/css-sanitizer/src/Objects/QualifiedRule.php on line 55

Deprecated: Wikimedia\CSS\Objects\AtRule::setBlock(): Implicitly marking parameter $block as nullable is deprecated, the explicit nullable type must be used instead in /srv/www/wiki/turku/extensions/TemplateStyles/vendor/wikimedia/css-sanitizer/src/Objects/AtRule.php on line 85

Deprecated: Wikimedia\CSS\Objects\Stylesheet::__construct(): Implicitly marking parameter $rules as nullable is deprecated, the explicit nullable type must be used instead in /srv/www/wiki/turku/extensions/TemplateStyles/vendor/wikimedia/css-sanitizer/src/Objects/Stylesheet.php on line 27

Deprecated: Wikimedia\CSS\Grammar\MatcherFactory::cssSupportsCondition(): Implicitly marking parameter $declarationSanitizer as nullable is deprecated, the explicit nullable type must be used instead in /srv/www/wiki/turku/extensions/TemplateStyles/vendor/wikimedia/css-sanitizer/src/Grammar/MatcherFactory.php on line 938

Deprecated: Wikimedia\CSS\Grammar\MatcherFactory::cssDeclaration(): Implicitly marking parameter $declarationSanitizer as nullable is deprecated, the explicit nullable type must be used instead in /srv/www/wiki/turku/extensions/TemplateStyles/vendor/wikimedia/css-sanitizer/src/Grammar/MatcherFactory.php on line 980

Deprecated: Wikimedia\CSS\Sanitizer\PropertySanitizer::__construct(): Implicitly marking parameter $cssWideKeywordsMatcher as nullable is deprecated, the explicit nullable type must be used instead in /srv/www/wiki/turku/extensions/TemplateStyles/vendor/wikimedia/css-sanitizer/src/Sanitizer/PropertySanitizer.php on line 33

Deprecated: Wikimedia\CSS\Grammar\Matcher::makeMatch(): Implicitly marking parameter $submatch as nullable is deprecated, the explicit nullable type must be used instead in /srv/www/wiki/turku/extensions/TemplateStyles/vendor/wikimedia/css-sanitizer/src/Grammar/Matcher.php on line 191

Deprecated: Wikimedia\CSS\Grammar\TokenMatcher::__construct(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /srv/www/wiki/turku/extensions/TemplateStyles/vendor/wikimedia/css-sanitizer/src/Grammar/TokenMatcher.php on line 28

Deprecated: Wikimedia\CSS\Grammar\UrlMatcher::__construct(): Implicitly marking parameter $urlCheck as nullable is deprecated, the explicit nullable type must be used instead in /srv/www/wiki/turku/extensions/TemplateStyles/vendor/wikimedia/css-sanitizer/src/Grammar/UrlMatcher.php on line 28

Deprecated: Wikimedia\CSS\Parser\TokenListTokenizer::__construct(): Implicitly marking parameter $eof as nullable is deprecated, the explicit nullable type must be used instead in /srv/www/wiki/turku/extensions/TemplateStyles/vendor/wikimedia/css-sanitizer/src/Parser/TokenListTokenizer.php on line 29

Deprecated: Wikimedia\CSS\Objects\DeclarationList::getSeparator(): Implicitly marking parameter $right as nullable is deprecated, the explicit nullable type must be used instead in /srv/www/wiki/turku/extensions/TemplateStyles/vendor/wikimedia/css-sanitizer/src/Objects/DeclarationList.php on line 19

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/wiki/turku/vendor/composer/ClassLoader.php:576) in /srv/www/wiki/turku/includes/Request/WebResponse.php on line 69

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/wiki/turku/vendor/composer/ClassLoader.php:576) in /srv/www/wiki/turku/includes/Request/WebResponse.php on line 69

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/wiki/turku/vendor/composer/ClassLoader.php:576) in /srv/www/wiki/turku/includes/Request/WebResponse.php on line 69
Module:Navbox/styles.css - Library of Turku

Module:Navbox/styles.css

Revision as of 03:03, 30 November 2024 by Arcie (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
/* {{pp|small=y}} */
.navbox {
	box-sizing: border-box;
	border: 1px solid #a2a9b1;
	width: 100%;
	clear: both;
	font-size: 88%;
	text-align: center;
	padding: 1px;
	margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */
}

.navbox .navbox {
	margin-top: 0; /* No top margin for nested navboxes */
}

.navbox + .navbox, /* TODO: remove first line after transclusions have updated */
.navbox + .navbox-styles + .navbox {
	margin-top: -1px; /* Single pixel border between adjacent navboxes */
}

.navbox-inner,
.navbox-subgroup {
	width: 100%;
}

.navbox-group,
.navbox-title,
.navbox-abovebelow {
	padding: 0.25em 1em;
	line-height: 1.5em;
	text-align: center;
}

.navbox-group {
	white-space: nowrap;
	/* @noflip */
	text-align: right;
}

.navbox,
.navbox-subgroup {
	background-color: #fdfdfd;
}

.navbox-list {
	line-height: 1.5em;
	border-color: #fdfdfd; /* Must match background color */
}

.navbox-list-with-group {
	text-align: left;
	border-left-width: 2px;
	border-left-style: solid;
}

/* cell spacing for navbox cells */
/* Borders above 2nd, 3rd, etc. rows */
/* TODO: figure out how to replace tr as structure;
 * with div structure it should be just a matter of first-child */
tr + tr > .navbox-abovebelow,
tr + tr > .navbox-group,
tr + tr > .navbox-image,
tr + tr > .navbox-list {
	border-top: 2px solid #fdfdfd; /* Must match background color */
}

.navbox-title {
	background-color: #ccf; /* Level 1 color */
}

.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
	background-color: #ddf; /* Level 2 color */
}

.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
	background-color: #e6e6ff; /* Level 3 color */
}

.navbox-even {
	background-color: #f7f7f7;
}

.navbox-odd {
	background-color: transparent;
}

/* TODO: figure out how to remove reliance on td as structure */
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
	padding: 0.125em 0;
}

.navbox .navbar {
	display: block;
	font-size: 100%;
}

.navbox-title .navbar {
	/* @noflip */
	float: left;
	/* @noflip */
	text-align: left;
	/* @noflip */
	margin-right: 0.5em;
}

/** T367463 */
body.skin--responsive .navbox-image img {
	max-width: none !important;
}

@media print {
	body.ns-0 .navbox {
		display: none !important;
	}
}

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/wiki/turku/vendor/composer/ClassLoader.php:576) in /srv/www/wiki/turku/includes/Request/WebResponse.php on line 69

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/wiki/turku/vendor/composer/ClassLoader.php:576) in /srv/www/wiki/turku/includes/Request/WebResponse.php on line 69

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/wiki/turku/vendor/composer/ClassLoader.php:576) in /srv/www/wiki/turku/includes/Request/WebResponse.php on line 69

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/wiki/turku/vendor/composer/ClassLoader.php:576) in /srv/www/wiki/turku/includes/Request/WebResponse.php on line 69