reference sheet finished

This commit is contained in:
Steffen 2021-03-30 21:33:52 +02:00
parent b4ee856705
commit 4620332fff
No known key found for this signature in database
GPG Key ID: 764D74E98267DFC6
2 changed files with 24 additions and 6 deletions

View File

@ -125,6 +125,7 @@ export default {
.roles &, .roles &,
.characters & { .characters & {
max-width: 100%; max-width: 100%;
padding: 10px;
} }
} }

View File

@ -46,7 +46,8 @@
<span class="ability">{{ role.ability }}</span> <span class="ability">{{ role.ability }}</span>
</div> </div>
</li> </li>
<li :class="[team]" v-if="teamRoles.length % 2"></li> <li :class="[team]"></li>
<li :class="[team]"></li>
</ul> </ul>
</div> </div>
</Modal> </Modal>
@ -168,6 +169,8 @@ h3 {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
align-content: center; align-content: center;
overflow: hidden;
text-shadow: 0 0 4px black;
} }
h4 { h4 {
@ -180,17 +183,15 @@ h3 {
} }
ul { ul {
column-count: 2;
flex-grow: 1; flex-grow: 1;
display: block; display: flex;
padding: 5px 0; padding: 5px 0;
li { li {
display: flex; display: flex;
align-items: center; align-items: center;
width: 100%; flex-grow: 1;
min-height: 6vh; width: 420px;
padding-right: 10px;
.icon { .icon {
width: 8vh; width: 8vh;
background-size: cover; background-size: cover;
@ -223,6 +224,22 @@ ul {
} }
} }
/** break into 1 column below 1200px **/
@media screen and (max-width: 1199.98px) {
.modal {
max-width: 60%;
}
ul {
li {
.icon { width: 6vh; }
.role { line-height: 100%; }
.name { font-size: 100%; }
.player { font-size: 100%; }
.ability { font-size: 90%; }
}
}
}
/** hide players when town square is set to "public" **/ /** hide players when town square is set to "public" **/
#townsquare.public ~ .characters .modal .player { #townsquare.public ~ .characters .modal .player {
display: none; display: none;