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

From Wurmpedia
Jump to navigation Jump to search
(Amorfides changed the content model of the page User:Amorfides/css/table.css from "CSS" to "Sanitized CSS": Needed to use style)
Tag: content model change
m (testing style)
 
Line 1: Line 1:
/* NOTE: PLEASE DO NOT EDIT THIS FILE UNLESS SPECIFICALLY REQUESTED TO DO SO! */
+
table.paxtable {
 +
    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.*/
 
  
.boxstyle{
+
table.paxtable th {
margin:2px auto;
+
    background: #081565;
padding:3px;
+
    text-align: left;
width:60%;
+
    padding-left: 20px;
border:2px solid black;
+
    border: 1px solid;
text-align:left;
+
    padding-top: 5px;
border-radius: 10px;
+
    padding-bottom: 5px;
border-collapse:separate;
+
    padding-right: 20px;
box-shadow:2px 2px 5px rgba(0,0,0,0.45);
+
    color: whitesmoke;
clear:both;
+
    vertical-align: text-top;
 
}
 
}
  
.boxstyle::after{
+
table.paxtable td {
content: '';
+
    border: 1px solid;
display: block;
+
    min-width: 200px;
clear: both;
+
    padding-left: 5px;
 
}
 
}
  
/* Overrides for specific skins */
 
  
/* body.skin-timelesswurm .boxstyle { } */
+
table.paxtable ul {
 +
    margin-left: 10px;
 +
}

Latest revision as of 14:16, 8 July 2023

table.paxtable {
    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);
}


table.paxtable th {
    background: #081565;
    text-align: left;
    padding-left: 20px;
    border: 1px solid;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 20px;
    color: whitesmoke;
    vertical-align: text-top;
}

table.paxtable td {
    border: 1px solid;
    min-width: 200px;
    padding-left: 5px;
}


table.paxtable ul {
    margin-left: 10px;
}