வார்ப்புரு:Infobox/Pictogramme/map.css

தமிழர்விக்கியிலிருந்து
Jump to navigation Jump to search
/* {{pp-template}} */
.hidden-begin {
	box-sizing: border-box;
	width: 100%;
	padding: 5px;
	border: none;
	font-size: 95%;
}

.hidden-title {
	font-weight: bold;
	line-height: 1.6;
	text-align: left;
}

.hidden-content {
	text-align: left;
}

/* [[phab:T360582]] */
@media all and ( max-width: 500px ) {
  .hidden-begin {
    width: auto !important;
    clear: none  !important;
    float: none !important;
  }
}


/* {{pp-template}} */
/* 
 * hlist styles are defined in core and Minerva and differ in Minerva. The
 * current definitions here (2023-01-01) are sufficient to override Minerva
 * without use of the hlist-separated class. The most problematic styles were
 * related to margin, padding, and the bullet. Check files listed at
 * [[MediaWiki talk:Common.css/to do#hlist-separated]]
 */
/*
 * TODO: When the majority of readership supports it (or some beautiful world
 * in which grade C support is above the minimum threshold), use :is()
 */
.hlist dl,
.hlist ol,
.hlist ul {
	margin: 0;
	padding: 0;
}

/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
	/*
	 * don't trust the note that says margin doesn't work with inline
	 * removing margin: 0 makes dds have margins again
	 * We also want to reset margin-right in Minerva
	 */
	margin: 0; 
	display: inline;
}

/* Display requested top-level lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
/* Display nested lists inline */
.hlist dl dl,
.hlist dl ol,
.hlist dl ul,
.hlist ol dl,
.hlist ol ol,
.hlist ol ul,
.hlist ul dl,
.hlist ul ol,
.hlist ul ul {
	display: inline;
}

/* Hide empty list items */
.hlist .mw-empty-li {
	display: none;
}

/* TODO: :not() can maybe be used here to remove the later rule. naive test
 * seems to work. more testing needed. like so:
 *.hlist dt:not(:last-child)::after {
 *	content: ": ";
 *}
 *.hlist dd:not(:last-child)::after,
 *.hlist li:not(:last-child)::after {
 *	content: " · ";
 *	font-weight: bold;
 *}
 */
/* Generate interpuncts */
.hlist dt::after {
	content: ": ";
}

.hlist dd::after,
.hlist li::after {
	content: "\a0· ";
	font-weight: bold;
}

.hlist dd:last-child::after,
.hlist dt:last-child::after,
.hlist li:last-child::after {
	content: none;
}

/* Add parentheses around nested lists */
.hlist dd dd:first-child::before,
.hlist dd dt:first-child::before,
.hlist dd li:first-child::before,
.hlist dt dd:first-child::before,
.hlist dt dt:first-child::before,
.hlist dt li:first-child::before,
.hlist li dd:first-child::before,
.hlist li dt:first-child::before,
.hlist li li:first-child::before {
	content: " (";
	font-weight: normal;
}

.hlist dd dd:last-child::after,
.hlist dd dt:last-child::after,
.hlist dd li:last-child::after,
.hlist dt dd:last-child::after,
.hlist dt dt:last-child::after,
.hlist dt li:last-child::after,
.hlist li dd:last-child::after,
.hlist li dt:last-child::after,
.hlist li li:last-child::after {
	content: ")";
	font-weight: normal;
}

/* Put ordinals in front of ordered list items */
.hlist ol {
	counter-reset: listitem;
}

.hlist ol > li {
	counter-increment: listitem;
}

.hlist ol > li::before {
	content: " " counter(listitem) "\a0";
}

.hlist dd ol > li:first-child::before,
.hlist dt ol > li:first-child::before,
.hlist li ol > li:first-child::before {
	content: " (" counter(listitem) "\a0";
}

/* {{pp|small=y}} */
.ib-settlement-cols {
	text-align: center;
	display: table;
	width: 100%;
}

.ib-settlement-cols-row {
	display: table-row;
}

.ib-settlement-cols-cell {
	display: table-cell;
	vertical-align: middle;
}

.ib-settlement-cols-cellt {
	display: table-cell;
	vertical-align: top;
}


/* {{pp|small=y}} */
.ib-settlement {
	border-collapse: collapse;
	line-height: 1.2em;
}

@media (min-width: 640px) {
	.ib-settlement {
		width: 23em;
	}
}

/* TODO split definitions to appropriate class names when live from HTML element */
.ib-settlement td,
.ib-settlement th {
	border-top: 1px solid #a2a9b1;
	padding: 0.4em 0.6em 0.4em 0.6em;
}

.ib-settlement .mergedtoprow .infobox-full-data,
.ib-settlement .mergedtoprow .infobox-header,
.ib-settlement .mergedtoprow .infobox-data,
.ib-settlement .mergedtoprow .infobox-label,
.ib-settlement .mergedtoprow .infobox-below {
	border-top: 1px solid #a2a9b1;
	padding: 0.4em 0.6em 0.2em 0.6em;
}

.ib-settlement .mergedrow .infobox-full-data,
.ib-settlement .mergedrow .infobox-data,
.ib-settlement .mergedrow .infobox-label {
	border: 0;
	padding: 0 0.6em 0.2em 0.6em;
}

.ib-settlement .mergedbottomrow .infobox-full-data,
.ib-settlement .mergedbottomrow .infobox-data,
.ib-settlement .mergedbottomrow .infobox-label {
	border-top: 0;
	border-bottom: 1px solid #a2a9b1;
	padding: 0 0.6em 0.4em 0.6em;
}

.ib-settlement .maptable {
	border: 0;
	padding: 0;
}

.ib-settlement .infobox-header,
.ib-settlement .infobox-below {
	text-align: left;
}

.ib-settlement .infobox-above {
	font-size: 125%;
	line-height: 1.3em;
}

.ib-settlement .infobox-subheader {
	background-color: #cddeff;color:inherit;
	font-weight: bold;
}

.ib-settlement-native {
	font-weight: normal;
	padding-top: 0.2em;
}

.ib-settlement-other-name {
	font-size: 78%;
}

.ib-settlement-official {
	font-weight: bold;
}

.ib-settlement-caption {
	padding: 0.3em 0 0 0;
}

.ib-settlement-caption-link {
	padding: 0.2em 0;
}

.ib-settlement-nickname {
	display: inline;
}

.ib-settlement-fn {
	font-weight: normal;
	display: inline;
}
"https://tamilar.wiki/w/index.php?title=வார்ப்புரு:Infobox/Pictogramme/map.css&oldid=465767" இலிருந்து மீள்விக்கப்பட்டது