Common.css: Difference between revisions
From Necroxia Origin
mNo edit summary |
mNo edit summary |
||
| Line 46: | Line 46: | ||
.equips-table tr:hover {background-color: #f5f5f5;} | .equips-table tr:hover {background-color: #f5f5f5;} | ||
table { | |||
width:100%; | |||
} | |||
thead { | |||
display: none; | |||
} | |||
tr:nth-of-type(2n) { | |||
background-color: inherit; | |||
} | |||
tr td:first-child { | |||
background: #f0f0f0; | |||
font-weight:bold; | |||
font-size:1.3em; | |||
} | |||
tbody td { | |||
display: block; | |||
text-align:center; | |||
} | |||
tbody td:before { | |||
content: attr(data-th); | |||
display: block; | |||
text-align:center; | |||
} | |||
Revision as of 23:21, 6 August 2019
/* CSS placed here will be applied to all skins */
.droppedby-wrapper {
border: 0.1em solid #a8a8a8;
border-radius: 1em;
padding: 0.5em;
overflow: auto
}
.droppedby-wrapper>ul {
list-style: none;
margin: 0;
overflow-x: hidden;
overflow-y: auto;
max-height: 5.5em
}
.droppedby-wrapper li {
float: left;
min-width: 14.0em;
margin: 0
}
.property {
font-weight:bold;
text-align:right;
width: 9.5em;
}
.equips-table {
border-collapse: collapse;
width: 100%;
}
.equips-table th, .equips-table td {
padding: 3px;
border-bottom: 1px solid #ddd;
text-align: center;
}
th, td {
padding: 3px;
border-bottom: 1px solid #ddd;
}
.equips-table td:nth-child(2) {text-align: left;}
.equips-table tr:hover {background-color: #f5f5f5;}
table {
width:100%;
}
thead {
display: none;
}
tr:nth-of-type(2n) {
background-color: inherit;
}
tr td:first-child {
background: #f0f0f0;
font-weight:bold;
font-size:1.3em;
}
tbody td {
display: block;
text-align:center;
}
tbody td:before {
content: attr(data-th);
display: block;
text-align:center;
}