Template:CharacterAffectionTable/affection.css: Difference between revisions

m
Fix mobile view breaking
No edit summary
m (Fix mobile view breaking)
Tags: Mobile edit Mobile web edit
 
(7 intermediate revisions by the same user not shown)
Line 2:
.character-affectiontable {
width: 100%;
/* min-width: 575px; */
max-width: 740px900px;
}
 
Line 18:
column-gap: 12px;
column-rule: 1px solid #a2a9b1;
display: block; /* Firefox compatibility */
border: none; /* Firefox compatibility */
}
 
Line 42 ⟶ 44:
}
}
 
 
.character-affectiontable .affection-level > input {
Line 52 ⟶ 53:
}
 
.character-affectiontable .affection-data div {
display: inline-block;
width: 100%;
Line 59 ⟶ 60:
}
 
.character-affectiontable .affection-data div > span {
display: inline-block;
min-width: 20px;
/*color: #2d4c72;*/
text-align: right;
font-weight: bold;
}
 
.character-affectiontable .affection-data div > span.affection-rewards {
float: right;
/* width: 20px; */
margin-left: -20px;
margin-top: -1px;
}
 
.character-affectiontable .affection-data div:hover > span.affection-rewards img {
vertical-align: text-top;
 
.character-affectiontable .affection-data div:hover {
background-color: rgba(255, 255, 255, 0.8);
}
Line 81 ⟶ 84:
width: 100%;
min-width: 575px;
max-width: 740px900px;
position: relative;
}
 
.affection-alt > .characteraffection-affectiontableportrait {
 
 
.affection-alt > a {
float:left;
position: absolute;
Line 96 ⟶ 95:
}
 
.affection-alt .affection-portrait img {
border-radius: 50%;
height: 48px;
object-fit: cover;
}
 
 
 
.affection-icon {
Line 114 ⟶ 111:
left: 28px;
z-index: 2;
}
width: 22px;
 
.affection-alt >.affection-icon aimg {
width: 22px;
height: auto;
}
 
.character-affectiontable td.memorylobby-data > div {
display: flex;
flex-direction: row;
justify-content: center;
column-gap: 12px;
margin-top: -1px6px;
}