Merge pull request #181 from dr-carlos/small-desktop

Add small desktop layout
This commit is contained in:
hppeng-wynn 2022-07-30 22:51:55 -07:00 committed by GitHub
commit b1ae5c4bfe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -193,6 +193,60 @@ input.equipment-input:not(.is-invalid) {
width: 6.5rem;
}
@media screen and (orientation: landscape) and (max-width: 1199px) {
:root {
--scaled-fontsize: 1rem;
}
.scaled-font {
font-size: 1rem;
}
.box-title {
font-size: 1rem;
}
.item-title {
font-size: 1.2rem;
}
.big-title {
font-size: 1.5rem;
}
.skp-tooltip {
font-size: 1rem;
}
.spellcost-tooltip b {
font-size: .625rem !important;
}
.scaled-item-icon {
width: 3.2rem;
}
.scaled-item-icon img {
width: 2.8rem;
}
.scaled-bckgrd {
width: 4rem;
height: 4rem;
}
.scaled-bckgrd img {
width: 2.8rem;
}
.warning {
font-size: .7rem;
}
.spell-display b {
font-size: 1rem;
}
}
@media screen and (min-width: 1200px) and (max-width: 1400px) {
:root {
--scaled-fontsize: 1rem;
@ -475,4 +529,4 @@ a:hover {
background-size: 500% 100%;
background-position: 100% 0;
aspect-ratio: 1/1;
}
}