Difference between revisions of "Template:Boxstyle/styles.css"

From Wurmpedia
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* NOTE: PLEASE DO NOT EDIT THIS FILE UNLESS SPECIFICALLY REQUESTED TO DO SO! */
 
/* NOTE: PLEASE DO NOT EDIT THIS FILE UNLESS SPECIFICALLY REQUESTED TO DO SO! */
 +
 +
/* NOTE: Don't override the boxstyle class in templates using this stylesheet. Instead, add a class for that specific template which overrides whatever needs to be overridden, and use both classes.*/
  
 
.boxstyle{
 
.boxstyle{
Line 13: Line 15:
 
}
 
}
  
.box-image{
+
.boxstyle::after{
max-width: 100%;
+
content: '';
height: auto !important;
+
display: block;
 +
clear: both;
 
}
 
}
  
 
/* Overrides for specific skins */
 
/* Overrides for specific skins */
/* NOTE: Generally, this will be overridden by templates using this stylesheet instead */
 
  
 
/* body.skin-timelesswurm .boxstyle { } */
 
/* body.skin-timelesswurm .boxstyle { } */

Latest revision as of 17:42, 28 April 2021

/* NOTE: PLEASE DO NOT EDIT THIS FILE UNLESS SPECIFICALLY REQUESTED TO DO SO! */

/* NOTE: Don't override the boxstyle class in templates using this stylesheet. Instead, add a class for that specific template which overrides whatever needs to be overridden, and use both classes.*/

.boxstyle{
	margin:2px auto;
	padding:3px;
	width:60%;
	border:2px solid black;
	text-align:left;
	border-radius: 10px;
	border-collapse:separate;
	box-shadow:2px 2px 5px rgba(0,0,0,0.45);
	clear:both;
}

.boxstyle::after{
	content: '';
	display: block;
	clear: both;
}

/* Overrides for specific skins */

/* body.skin-timelesswurm .boxstyle { } */