Template:Ddbeyond/style.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 89: | Line 89: | ||
width: 100px; | width: 100px; | ||
background-color: white; | background-color: white; | ||
} | |||
.hex { | |||
clip-path: polygon( | |||
0 50%, | |||
32px 0, | |||
calc(100% - 32px) 0, | |||
100% 50%, | |||
calc(100% - 32px) 100%, | |||
32px 100%); | |||
} | } | ||
Revision as of 18:27, 9 November 2021
.h2 {
display: block;
color: black;
overflow: hidden;
padding: 0;
line-height: 1.3;
font-family: 'Roboto Condensed',Roboto,Helvetica,sans-serif;
font-size: 28pt;
font-weight: bold;
margin: 8px 0;
}
.modifier-1-0::before,
.modifier-0-1::before {
color: #838383;
}
.modifier-1-0::before {
content: '+';
}
.modifier-0-1::before {
content: '-';
}
.h3 {
display: block;
overflow: hidden;
line-height: 1.6;
font-weight: bold;
font-family: 'Roboto Condensed',Roboto,Helvetica,sans-serif;
margin: 0;
padding: 0;
font-size: 14pt;
color: #838383;
}
.column {
display: flex;
flex-direction: column;
}
.row {
display: flex;
}
.grower {
flex: 1 0;
}
.rounded-square {
border-radius: 4px;
}
.round {
border-radius: 50%;
}
.shield {
clip-path:polygon(
0 32px,
8px 16px,
50% 0,
calc(100% - 8px) 16px,
100% 32px,
100% 100%,
0 100%);
border-bottom-left-radius:50% calc(100% - 32px);
border-bottom-right-radius:50% calc(100% - 32px);
}
.ability-box {
clip-path: polygon(
0 8px,
8px 0,
calc(100% - 8px) 0,
100% 8px,
100% 100%,
0 100%);
border-bottom-left-radius: 50% 16px;
border-bottom-right-radius: 50% 16px;
width: 100px;
background-color: white;
}
.hex {
clip-path: polygon(
0 50%,
32px 0,
calc(100% - 32px) 0,
100% 50%,
calc(100% - 32px) 100%,
32px 100%);
}
.ability-name,
.ability-bonus,
.ability-value {
text-align: center;
}
.ability-value {
background-color: white;
color: black;
}
.bg-box.ability-value {
padding:4px;
width: 60px;
margin: 0 auto;
position: relative;
top: 3px;
}
.bg-box.ability-box {
padding: 3px;
margin: 0 auto;
}
.bg-box {
background-color: #c53131;
}
.center {
text-align: center;
}
.reset-color {
color:inherit;
}
.no-margin {
margin: 0;
}
.no-padding {
padding: 0;
}
.fg-box {
background-color: white;
}