This commit is contained in:
+33
-39
@@ -19,26 +19,39 @@
|
||||
}
|
||||
|
||||
div.minor-totems {
|
||||
position: relative;
|
||||
height: 8.5rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
align-items: stretch;
|
||||
gap: 0.25rem;
|
||||
min-height: 8.5rem;
|
||||
padding: 0.5rem;
|
||||
background-color: rgba(146, 156, 111, 0.5215686275);
|
||||
|
||||
h3 {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
font-size: 1.2rem;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.totem-row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
h5 {
|
||||
position: absolute;
|
||||
top: 2.6rem;
|
||||
margin: 0;
|
||||
z-index: 1;
|
||||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
font-size: 0.8rem;
|
||||
|
||||
img {
|
||||
max-width: 2rem;
|
||||
position: absolute;
|
||||
top: 1.4rem;
|
||||
bottom: auto;
|
||||
max-width: 1.5rem;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
&.human, &.adapted {
|
||||
@@ -62,50 +75,31 @@
|
||||
}
|
||||
|
||||
.totem-dice {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: 2;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
.human-dice,
|
||||
.adapted-dice {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin-left: 2rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.human-dice i,
|
||||
.adapted-dice i {
|
||||
padding-top: 0.5rem;
|
||||
color: @totem-human-color;
|
||||
position: relative;
|
||||
z-index: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.adapted-dice {
|
||||
justify-content: flex-end;
|
||||
margin-left: 0;
|
||||
margin-right: 2rem;
|
||||
transform: rotate(180deg);
|
||||
|
||||
i {
|
||||
transform: rotate(180deg);
|
||||
color: @totem-adapted-color;
|
||||
}
|
||||
}
|
||||
|
||||
.adapted-dice i {
|
||||
transform: rotate(180deg);
|
||||
padding-top: 0.5rem;
|
||||
color: @totem-adapted-color;
|
||||
}
|
||||
}
|
||||
|
||||
.human {
|
||||
left: 0;
|
||||
img { left: 0; }
|
||||
}
|
||||
|
||||
.adapted {
|
||||
right: 0;
|
||||
img { right: 0; left: auto; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user