Difference between revisions of "Module:Portal/styles.css"

From blackwiki
Jump to navigation Jump to search
test>TheDJ
m (6 revisions imported)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
/* {{pp-template}} */
 
.portal {
 
.portal {
 
border: solid #aaa 1px;
 
border: solid #aaa 1px;
padding: 0;
+
padding: 0; /* Timeless adds padding */
 
}
 
}
 +
 
.portal.tleft {
 
.portal.tleft {
 
margin: 0.5em 1em 0.5em 0
 
margin: 0.5em 1em 0.5em 0
 
}
 
}
 +
 
.portal.tright {
 
.portal.tright {
 
margin: 0.5em 0 0.5em 1em
 
margin: 0.5em 0 0.5em 1em
 
}
 
}
 +
 
.portal > ul {
 
.portal > ul {
 
display: table;
 
display: table;
Line 20: Line 24:
 
font-weight: bold;
 
font-weight: bold;
 
}
 
}
 +
 
.portal > ul > li {
 
.portal > ul > li {
 
display: table-row;
 
display: table-row;
Line 29: Line 34:
 
text-align: center;
 
text-align: center;
 
}
 
}
 +
 
.portal > ul > li > span:last-child {
 
.portal > ul > li > span:last-child {
 
display: table-cell;
 
display: table-cell;

Latest revision as of 17:25, 8 September 2020

/* {{pp-template}} */
.portal {
	border: solid #aaa 1px;
	padding: 0; /* Timeless adds padding */
}

.portal.tleft {
	margin: 0.5em 1em 0.5em 0
}

.portal.tright {
	margin: 0.5em 0 0.5em 1em
}

.portal > ul {
	display: table;
	box-sizing: border-box;
	padding: 0.1em;
	max-width: 175px;
	background: #f9f9f9;
	font-size: 85%;
	line-height: 110%;
	font-style: italic;
	font-weight: bold;
}

.portal > ul > li {
	display: table-row;
}
.portal > ul > li > span:first-child {
	display: table-cell;
	padding: 0.2em;
	vertical-align: middle;
	text-align: center;
}

.portal > ul > li > span:last-child {
	display: table-cell;
	padding: 0.2em 0.2em 0.2em 0.3em;
	vertical-align: middle;
}