Module:Navbar/styles.css: திருத்தங்களுக்கு இடையிலான வேறுபாடு

தமிழர்விக்கியிலிருந்து
Jump to navigation Jump to search
உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
சிNo edit summary
சி Kanags (Talk) பயனரால் செய்யப்பட்ட திருத்தம் 3372704 இல்லாது செய்யப்பட்டது
வரிசை 1: வரிசை 1:
/* {{pp|small=y}} */
/* {{pp|small=yes}} */
.navbox {
.navbar {
display: inline;
box-sizing: border-box;
border: 1px solid #a2a9b1;
width: 100%;
clear: both;
font-size: 88%;
font-size: 88%;
text-align: center;
font-weight: normal;
padding: 1px;
margin: 1em auto 0; /* Prevent preceding content from clinging to navboxes */
}
}


.navbar-collapse {
.navbox .navbox {
float: left;
margin-top: 0; /* No top margin for nested navboxes */
text-align: left;
}
}


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


.navbar ul {
.navbox-inner,
display: inline-block;
.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;
white-space: nowrap;
line-height: inherit;
/* @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;
}
}


.navbar-brackets::before {
/* cell spacing for navbox cells */
margin-right: -0.125em;
/* Borders above 2nd, 3rd, etc. rows */
content: '[ ';
/* 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 */
}
}


.navbar-brackets::after {
.navbox-title {
margin-left: -0.125em;
background-color: #ccf; /* Level 1 color */
content: ' ]';
}
}


.navbar li {
.navbox-abovebelow,
word-spacing: -0.125em;
.navbox-group,
.navbox-subgroup .navbox-title {
background-color: #ddf; /* Level 2 color */
}
}


.navbar-mini abbr {
.navbox-subgroup .navbox-group,
font-variant: small-caps;
.navbox-subgroup .navbox-abovebelow {
border-bottom: none;
background-color: #e6e6ff; /* Level 3 color */
text-decoration: none;
cursor: inherit;
}
}


.navbox-even {
.navbar-ct-full {
font-size: 114%;
background-color: #f7f7f7;
margin: 0 7em;
}
}


.navbox-odd {
.navbar-ct-mini {
font-size: 114%;
background-color: transparent;
margin: 0 4em;
}
}


/* Navbar styling when nested in infobox and navbox
/* TODO: figure out how to remove reliance on td as structure */
Should consider having a separate TemplateStyles for those specific places
.navbox .hlist td dl,
using an infobox/navbox and a navbar, or possibly override from using template */
.navbox .hlist td ol,
.infobox .navbar {
.navbox .hlist td ul,
font-size: 100%;
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
padding: 0.125em 0;
}
}



08:37, 14 சனவரி 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-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;
}

/* Navbar styling when nested in infobox and navbox
Should consider having a separate TemplateStyles for those specific places
using an infobox/navbox and a navbar, or possibly override from using template */
.infobox .navbar {
	font-size: 100%;
}

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

.navbox-title .navbar {
	/* @noflip */
	float: left;
	/* @noflip */
	text-align: left;
	/* @noflip */
	margin-right: 0.5em;
}
"https://tamilar.wiki/w/index.php?title=Module:Navbar/styles.css&oldid=87167" இலிருந்து மீள்விக்கப்பட்டது