پرش به محتوا

پودمان:Navbar/styles.css: تفاوت میان نسخه‌ها

از ویکی البرز
صفحه‌ای تازه حاوی «{{pp|small=yes}}: .navbar { display: inline; font-size: 88%; font-weight: normal; } .navbar-collapse { float: right; text-align: right; } .navbar-boxtext { word-spacing: 0; } .navbar ul { display: inline-block; white-space: nowrap; line-height: inherit; } .navbar-brackets::before { margin-left: -0.125em; content: '[ '; } .navbar-brackets::after { margin-right: -0.125em; content: ' ]'; } .navbar li { word-spacin...» ایجاد کرد
 
جزبدون خلاصۀ ویرایش
 
خط ۱: خط ۱:
/* {{pp|small=yes}} */
.navbar {
.navbar {
display: inline;
display: inline-block;
font-size: 88%;
font-size: 88%;
font-weight: normal;
font-weight: normal;
line-height: inherit;
}
}


خط ۱۲: خط ۱۲:


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


.navbar ul {
.navbar ul {
display: inline-block;
display: inline-block;
margin: 0;
padding: 0;
list-style: none;
white-space: nowrap;
white-space: nowrap;
line-height: inherit;
line-height: inherit;
}
.navbar li {
display: inline-block;
margin: 0 0.15em;
padding: 0;
}
}


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


.navbar-brackets::after {
.navbar-brackets::after {
margin-right: -0.125em;
content: "]";
content: ' ]';
margin-left: 0.15em;
}
 
.navbar li {
word-spacing: -0.125em;
}
}


خط ۴۲: خط ۴۷:
.navbar-mini abbr {
.navbar-mini abbr {
font-variant: small-caps;
font-variant: small-caps;
border-bottom: none;
border: 0;
text-decoration: none;
text-decoration: none;
cursor: inherit;
cursor: inherit;
خط ۴۸: خط ۵۳:


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


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


/* not the usual @media screen, we simply remove navbar in @media print */
html.skin-theme-clientpref-night .navbar abbr {
html.skin-theme-clientpref-night .navbar li a abbr {
color: var(--color-base) !important;
color: var(--color-base) !important;
}
}


@media (prefers-color-scheme: dark) {
@media print {
html.skin-theme-clientpref-os .navbar li a abbr {
.navbar {
color: var(--color-base) !important;
display: none !important;
}
}
}
}


@media print {
@media screen and (max-width: 720px) {
.navbar {
.navbar ul {
display: none !important;
white-space: normal;
}
 
.navbar-ct-full,
.navbar-ct-mini {
margin: 0 1em;
}
}
}
}

نسخهٔ کنونی تا ‏۲۸ مهٔ ۲۰۲۶، ساعت ۱۵:۲۱

.navbar {
	display: inline-block;
	font-size: 88%;
	font-weight: normal;
	line-height: inherit;
}

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

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

.navbar ul {
	display: inline-block;
	margin: 0;
	padding: 0;
	list-style: none;
	white-space: nowrap;
	line-height: inherit;
}

.navbar li {
	display: inline-block;
	margin: 0 0.15em;
	padding: 0;
}

.navbar-brackets::before {
	content: "[";
	margin-right: 0.15em;
}

.navbar-brackets::after {
	content: "]";
	margin-left: 0.15em;
}

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

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

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

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

html.skin-theme-clientpref-night .navbar abbr {
	color: var(--color-base) !important;
}

@media print {
	.navbar {
		display: none !important;
	}
}

@media screen and (max-width: 720px) {
	.navbar ul {
		white-space: normal;
	}

	.navbar-ct-full,
	.navbar-ct-mini {
		margin: 0 1em;
	}
}