Template:Trigate Major Sophont Summary/styles.css: Difference between revisions
Template page
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
.infobox { | |||
display: flex; | |||
min-width: 240px; | |||
max-width: 100%; | |||
box-sizing: border-box; | |||
flex-direction: column; | |||
flex-grow: 1; | |||
justify-content: space-between; | |||
margin: 0 0.2rem 0.4rem 0.2rem; | |||
background-color: var( --color-surface-1 ); | |||
border-radius: var( --border-radius--medium ); | |||
box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.03 ), 0 1px 2px rgba( 0, 0, 0, 0.06 ); | |||
font-size: 0.875rem; | |||
transition: box-shadow 0.2s ease; | |||
} | |||
.infobox:hover { | |||
box-shadow: 0 10px 20px rgba( 0, 0, 0, 0.0475 ), 0 6px 6px rgba( 0, 0, 0, 0.0575 ); | |||
} | |||
table#trigate_major_sophont_summary { | table#trigate_major_sophont_summary { | ||
background: none; | background: none; | ||
Revision as of 15:54, 5 August 2022
.infobox {
display: flex;
min-width: 240px;
max-width: 100%;
box-sizing: border-box;
flex-direction: column;
flex-grow: 1;
justify-content: space-between;
margin: 0 0.2rem 0.4rem 0.2rem;
background-color: var( --color-surface-1 );
border-radius: var( --border-radius--medium );
box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.03 ), 0 1px 2px rgba( 0, 0, 0, 0.06 );
font-size: 0.875rem;
transition: box-shadow 0.2s ease;
}
.infobox:hover {
box-shadow: 0 10px 20px rgba( 0, 0, 0, 0.0475 ), 0 6px 6px rgba( 0, 0, 0, 0.0575 );
}
table#trigate_major_sophont_summary {
background: none;
margin: 1.25rem auto;
}
table#trigate_major_sophont_summary tr.even, table tr.alt, table tr:nth-of-type(even) {
background: none;
}
table#trigate_major_sophont_summary td:first-child {
border-right: 0.1em solid #ccc;
}
table#trigate_major_sophont_summary td.table_noborder {
border-right: none;
}