Template:Ddbeyond/style.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
.main-body { | |||
max-width:800px; | |||
min-width:725px; | |||
padding: 4px; | |||
background-color: white; | |||
} | |||
.float-left { | |||
float: left; | |||
} | |||
.float-right { | |||
float: right; | |||
} | |||
.shadow { | |||
box-shadow: 4px 4px 10px black; | |||
margin: 4px 16px 16px 16px; | |||
} | |||
.float-right.shadow { | |||
box-shadow: -4px 4px 10px black; | |||
} | |||
.h2 { | .h2 { | ||
display: block; | display: block; | ||
Line 89: | Line 113: | ||
width: 100px; | width: 100px; | ||
background-color: white; | background-color: white; | ||
} | |||
.hex { | |||
clip-path: polygon( | |||
0 50%, | |||
16px 0, | |||
calc(100% - 16px) 0, | |||
100% 50%, | |||
calc(100% - 16px) 100%, | |||
16px 100%); | |||
} | } | ||
Latest revision as of 21:08, 9 November 2021
.main-body {
max-width:800px;
min-width:725px;
padding: 4px;
background-color: white;
}
.float-left {
float: left;
}
.float-right {
float: right;
}
.shadow {
box-shadow: 4px 4px 10px black;
margin: 4px 16px 16px 16px;
}
.float-right.shadow {
box-shadow: -4px 4px 10px black;
}
.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%,
16px 0,
calc(100% - 16px) 0,
100% 50%,
calc(100% - 16px) 100%,
16px 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;
}