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

1,076 பைட்டுகள் நீக்கப்பட்டது ,  14 சனவரி 2022
சி
Kanags (Talk) பயனரால் செய்யப்பட்ட திருத்தம் 3372704 இல்லாது செய்யப்பட்டது
சிNo edit summary
சி (Kanags (Talk) பயனரால் செய்யப்பட்ட திருத்தம் 3372704 இல்லாது செய்யப்பட்டது)
வரிசை 1: வரிசை 1:
/* {{pp|small=y}} */
/* {{pp|small=yes}} */
.navbox {
.navbar {
box-sizing: border-box;
display: inline;
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 */
}
}


.navbox .navbox {
.navbar-collapse {
margin-top: 0; /* No top margin for nested navboxes */
float: left;
}
text-align: left;
 
.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,
.navbar-boxtext {
.navbox-title,
word-spacing: 0;
.navbox-abovebelow {
padding: 0.25em 1em;
line-height: 1.5em;
text-align: center;
}
}


.navbox-group {
.navbar ul {
display: inline-block;
white-space: nowrap;
white-space: nowrap;
/* @noflip */
line-height: inherit;
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 */
.navbar-brackets::before {
/* Borders above 2nd, 3rd, etc. rows */
margin-right: -0.125em;
/* TODO: figure out how to replace tr as structure;
content: '[ ';
* 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 {
.navbar-brackets::after {
background-color: #ccf; /* Level 1 color */
margin-left: -0.125em;
content: ' ]';
}
}


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


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


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


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


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


அடையாளம் காட்டாத பயனர்
"https://tamilar.wiki/w/சிறப்பு:MobileDiff/44122" இருந்து மீள்விக்கப்பட்டது