Template:Shortcut/styles.css: Difference between revisions

From escforumwiki
Jump to navigation Jump to search
en>Nardog
turns out just the class name works fine if you don't load the same(ish) CSS twice
Santos (talk | contribs)
m 9 revisions imported
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
.module-shortcutboxplain {
.module-shortcutboxplain {
float: right;
float: right;
margin-left: 1em;
margin: 0 0 0 1em;
border: 1px solid #aaa;
border: 1px solid #aaa;
background: #fff;
background: #fff;
Line 12: Line 12:
.module-shortcutboxleft {
.module-shortcutboxleft {
float: left;
float: left;
margin-right: 1em;
margin: 0 1em 0 0;
}
}



Latest revision as of 19:32, 8 June 2022

/* {{pp-template}} */
.module-shortcutboxplain {
	float: right;
	margin: 0 0 0 1em;
	border: 1px solid #aaa;
	background: #fff;
	padding: 0.3em 0.6em 0.2em 0.6em;
	text-align: center;
	font-size: 85%;
}

.module-shortcutboxleft {
	float: left;
	margin: 0 1em 0 0;
}

.module-shortcutlist {
	display: inline-block;
	border-bottom: 1px solid #aaa;
	margin-bottom: 0.2em;
}

.module-shortcutboxplain > ul {
	font-weight: bold;
}

.module-shortcutanchordiv {
	position: relative;
	top: -3em;
}

li .module-shortcutanchordiv {
	float: right; /* IE/Edge in list items */
}

.mbox-imageright .module-shortcutboxplain {
	padding: 0.4em 1em 0.4em 1em;
	line-height: 1.3;
}