Difference between revisions of "User:Amorfides/css/table.css"

From Wurmpedia
Jump to navigation Jump to search
(Style for tables in paxsententia page)
 
m (test)
Line 1: Line 1:
table.paxtable {
+
/* NOTE: PLEASE DO NOT EDIT THIS FILE UNLESS SPECIFICALLY REQUESTED TO DO SO! */
    border-collapse: collapse;
 
    overflow: hidden;
 
    margin: 25px 0;
 
    font-size: 0.9em;
 
    border-radius: 14px;
 
    font-family: sans-serif;
 
    border: 1px solid black;
 
    /* min-width: 400px; */
 
    box-shadow: 10px 9px 20px 7px rgba(0, 0, 0, 0.15);
 
}
 
  
 +
/* 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.*/
  
table.paxtable th {
+
.boxstyle{
    background: #081565;
+
margin:2px auto;
    text-align: left;
+
padding:3px;
    padding-left: 20px;
+
width:60%;
    border: 1px solid;
+
border:2px solid black;
    padding-top: 5px;
+
text-align:left;
    padding-bottom: 5px;
+
border-radius: 10px;
    padding-right: 20px;
+
border-collapse:separate;
    color: whitesmoke;
+
box-shadow:2px 2px 5px rgba(0,0,0,0.45);
    vertical-align: text-top;
+
clear:both;
 
}
 
}
  
table.paxtable td {
+
.boxstyle::after{
    border: 1px solid;
+
content: '';
    min-width: 200px;
+
display: block;
    padding-left: 5px;
+
clear: both;
 
}
 
}
  
 +
/* Overrides for specific skins */
  
table.paxtable ul {
+
/* body.skin-timelesswurm .boxstyle { } */
    margin-left: 10px;
 
}
 

Revision as of 14:05, 8 July 2023

/* 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 { } */