Template:CharacterAffectionTable/affection.css: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
.character-affectiontable .affection-data { |
.character-affectiontable .affection-data { |
||
column-count: |
column-count: 5; |
||
column-gap: |
column-gap: 12px; |
||
column-rule: 1px solid #a2a9b1; |
column-rule: 1px solid #a2a9b1; |
||
} |
|||
.character-affectiontable .affection-data div:first-child::before { |
|||
display: inline-block; |
|||
width: 100%; |
|||
content: ' '; |
|||
} |
|||
.character-affectiontable .affection.level > input { |
|||
width: 38px; |
|||
font-size: 17px; |
|||
border: none; |
|||
background-color: rgba(255,255,255,1); |
|||
border-radius: 3px; |
|||
} |
} |
||
Line 29: | Line 43: | ||
display: inline-block; |
display: inline-block; |
||
min-width: 20px; |
min-width: 20px; |
||
color: #2d4c72; |
/*color: #2d4c72;*/ |
||
text-align: right; |
text-align: right; |
||
font-weight: bold; |
font-weight: bold; |
Revision as of 05:15, 31 December 2021
/* CharacterAffectionTable */
.character-affectiontable {
width: 100%;
min-width: 575px;
max-width: 740px;
}
.character-affectiontable .summary {
height: 52px;
}
.character-affectiontable .summary > td {
padding-left: 54px;
}
.character-affectiontable .affection-data {
column-count: 5;
column-gap: 12px;
column-rule: 1px solid #a2a9b1;
}
.character-affectiontable .affection-data div:first-child::before {
display: inline-block;
width: 100%;
content: ' ';
}
.character-affectiontable .affection.level > input {
width: 38px;
font-size: 17px;
border: none;
background-color: rgba(255,255,255,1);
border-radius: 3px;
}
.character-affectiontable div {
display: inline-block;
width: 100%;
text-align: center;
cursor: pointer;
}
.character-affectiontable div > span {
display: inline-block;
min-width: 20px;
/*color: #2d4c72;*/
text-align: right;
font-weight: bold;
}
.character-affectiontable div:hover {
background-color: rgba(255, 255, 255, 0.8);
}
.affection-alt {
width: 100%;
min-width: 575px;
max-width: 740px;
}
.affection-alt > .character-affectiontable {
}
.affection-alt > a {
float:left;
position: absolute;
margin: 2px;
z-index: 1;
}
.affection-alt .affection-portrait {
border-radius: 50%;
height: 48px;
object-fit: cover;
}