Permanently protected module

Module:Portal/styles.css: Difference between revisions

From Vigyanwiki
< Module:Portal
(Created page with "→‎{{pp-template}}: .portalbox { float: right; padding: 0; →‎Timeless adds padding: } .portalborder { border: solid #aaa 1px; } .portalbox.tleft { margin: 0.5em...")
 
(float should be specified by tright/tleft, not this class)
Line 1: Line 1:
/* {{pp-template}} */
/* {{pp-template}} */
.portalbox {
.portalbox {
    float: right;
padding: 0; /* Timeless adds padding */
padding: 0; /* Timeless adds padding */
}
}

Revision as of 09:00, 18 June 2022

/* {{pp-template}} */
.portalbox {
	padding: 0; /* Timeless adds padding */
}

.portalborder {
	border: solid #aaa 1px;
}

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

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

.portalbox > ul {
	display: table;
	box-sizing: border-box;
	max-width: 175px;
	font-size: 85%;
	line-height: 110%;
	font-style: italic;
	font-weight: bold;
}

.portalborder > ul {
	padding: 0.1em;	
	background: #f9f9f9;
}

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

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