Template:CharacterTableControls/style.css: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
mNo edit summary |
(Character pool controls styling) |
||
Line 4: | Line 4: | ||
background-color: #f8f9fa; |
background-color: #f8f9fa; |
||
border: 1px solid #a2a9b1; |
border: 1px solid #a2a9b1; |
||
padding: 0. |
padding: 0.5em 0.4em; |
||
display: flex; |
display: flex; |
||
flex-direction: row; |
flex-direction: row; |
||
Line 10: | Line 10: | ||
justify-content: space-between; |
justify-content: space-between; |
||
flex-wrap: wrap; |
flex-wrap: wrap; |
||
gap: |
gap: 12px 20px; |
||
line-height: normal; |
line-height: normal; |
||
} |
} |
||
Line 36: | Line 36: | ||
border-width: 0 3px; |
border-width: 0 3px; |
||
border-style: solid; |
border-style: solid; |
||
border-radius: 8px; |
border-radius: 8px; |
||
font-size: 16px; |
font-size: 16px; |
||
Line 42: | Line 41: | ||
text-transform: uppercase; |
text-transform: uppercase; |
||
background-color: #ecf5f9; |
background-color: #ecf5f9; |
||
transform: skewX(-10deg); |
transform: skewX(-10deg); |
||
} |
} |
||
Line 51: | Line 49: | ||
.charactertable-controls div.controls-class > span.class-special { |
.charactertable-controls div.controls-class > span.class-special { |
||
border-color: #0785fb; |
border-color: #0785fb; |
||
} |
|||
.charactertable-controls div.controls-pool > span { |
|||
width: 82px; |
|||
height: 26px; |
|||
border-width: 0 3px; |
|||
border-style: solid; |
|||
border-radius: 8px; |
|||
border-color: #112134; |
|||
font-size: 16px; |
|||
font-weight: bold; |
|||
/* text-transform: uppercase; */ |
|||
background-color: #ecf5f9; |
|||
transform: skewX(-10deg); |
|||
} |
|||
.charactertable-controls div.controls-pool { |
|||
flex-grow: 1; |
|||
text-align: right; |
|||
} |
|||
@media (max-width: 1200px) { |
|||
.charactertable-controls div.controls-class, |
|||
.charactertable-controls div.controls-pool { |
|||
flex-grow: 1; |
|||
text-align: center; |
|||
} |
|||
} |
} |
Revision as of 16:42, 10 February 2023
.charactertable-controls {
user-select: none;
box-sizing: border-box;
background-color: #f8f9fa;
border: 1px solid #a2a9b1;
padding: 0.5em 0.4em;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 12px 20px;
line-height: normal;
}
.charactertable-controls div.controls > span {
display: inline-flex;
align-items: center;
justify-content: center;
height:34px;
width:36px;
margin: 0 1px;
border-radius: 2px;
cursor: pointer;
}
.charactertable-controls .inactive {
filter: grayscale(0.3);
opacity: 0.3;
}
.charactertable-controls div.controls-class > span {
width: 82px;
height: 26px;
border-width: 0 3px;
border-style: solid;
border-radius: 8px;
font-size: 16px;
font-weight: bold;
text-transform: uppercase;
background-color: #ecf5f9;
transform: skewX(-10deg);
}
.charactertable-controls div.controls-class > span.class-striker {
border-color: #f54d29;
}
.charactertable-controls div.controls-class > span.class-special {
border-color: #0785fb;
}
.charactertable-controls div.controls-pool > span {
width: 82px;
height: 26px;
border-width: 0 3px;
border-style: solid;
border-radius: 8px;
border-color: #112134;
font-size: 16px;
font-weight: bold;
/* text-transform: uppercase; */
background-color: #ecf5f9;
transform: skewX(-10deg);
}
.charactertable-controls div.controls-pool {
flex-grow: 1;
text-align: right;
}
@media (max-width: 1200px) {
.charactertable-controls div.controls-class,
.charactertable-controls div.controls-pool {
flex-grow: 1;
text-align: center;
}
}