Template:Template other and Module:Navbar/styles.css: Difference between pages

From Mor Afgin Website
(Difference between pages)
m (1 revision imported)
 
Template:Infobox>Izno
(navbar styles that were moved to parent templates)
 
Line 1: Line 1:
{{#switch:
/* {{pp|small=yes}} */
  <!--If no or empty "demospace" parameter then detect namespace-->
.navbar {
  {{#if:{{{demospace|}}}
display: inline;
  | {{lc: {{{demospace}}} }}    <!--Use lower case "demospace"-->
font-size: 88%;
  | {{#ifeq:{{NAMESPACE}}|{{ns:Template}}
font-weight: normal;
    | template
}
    | other
    }}
  }}
| template = {{{1|}}}
| other
| #default = {{{2|}}}
}}<!--End switch--><noinclude>


{{documentation}}
.navbar-collapse {
<!-- Add categories and interwikis to the /doc subpage, not here! -->
float: left;
</noinclude>
text-align: left;
}
 
.navbar-boxtext {
word-spacing: 0;
}
 
.navbar ul {
display: inline-block;
white-space: nowrap;
line-height: inherit;
}
 
.navbar-brackets::before {
margin-right: -0.125em;
content: '[ ';
}
 
.navbar-brackets::after {
margin-left: -0.125em;
content: ' ]';
}
 
.navbar li {
word-spacing: -0.125em;
}
 
.navbar a > span,
.navbar a > abbr {
text-decoration: inherit;
}
 
.navbar-mini abbr {
font-variant: small-caps;
border-bottom: none;
text-decoration: none;
cursor: inherit;
}
 
.navbar-ct-full {
font-size: 114%;
margin: 0 7em;
}
 
.navbar-ct-mini {
font-size: 114%;
margin: 0 4em;
}

Revision as of 23:12, 3 January 2022

/* {{pp|small=yes}} */
.navbar {
	display: inline;
	font-size: 88%;
	font-weight: normal;
}

.navbar-collapse {
	float: left;
	text-align: left;
}

.navbar-boxtext {
	word-spacing: 0;
}

.navbar ul {
	display: inline-block;
	white-space: nowrap;
	line-height: inherit;
}

.navbar-brackets::before {
	margin-right: -0.125em;
	content: '[ ';
}

.navbar-brackets::after {
	margin-left: -0.125em;
	content: ' ]';
}

.navbar li {
	word-spacing: -0.125em;
}

.navbar a > span,
.navbar a > abbr {
	text-decoration: inherit;
}

.navbar-mini abbr {
	font-variant: small-caps;
	border-bottom: none;
	text-decoration: none;
	cursor: inherit;
}

.navbar-ct-full {
	font-size: 114%;
	margin: 0 7em;
}

.navbar-ct-mini {
	font-size: 114%;
	margin: 0 4em;
}