Add mobile styling for advanced atlas

This commit is contained in:
phantamanta44 2021-07-19 15:04:19 -05:00
parent f90a232092
commit 1a31be229d
2 changed files with 39 additions and 0 deletions

View file

@ -35,6 +35,7 @@
background-color: #212121;
border: solid 1px #666;
overflow-y: scroll;
z-index: 20;
}
.search-field-compl.visible {
@ -56,6 +57,29 @@
position: absolute;
display: block;
color: #ff0000;
z-index: 10;
}
@media(max-width: 1099px) {
#search-container {
margin-bottom: 8px;
align-items: center;
display: flex;
flex-flow: column;
}
.search-field-container {
display: block;
margin-bottom: 16px;
}
.search-field {
width: 75vw;
}
.search-field-error {
font-size: 10pt;
}
}
#item-list {
@ -78,3 +102,15 @@
.item-entry-sort-key {
margin-left: 1.75em;
}
@media(max-width: 1099px) {
#item-list {
flex-flow: column;
align-items: center;
}
.item-entry {
width: 100%;
margin: 0 0 14px;
}
}

View file

@ -2,6 +2,9 @@
<html scroll-behavior="smooth">
<head>
<meta charset="UTF-8" />
<meta name="HandheldFriendly" content="true" />
<meta name="MobileOptimized" content="320" />
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width, user-scalable=no" />
<!-- nunito font, copying wynndata -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Nunito&display=swap" rel="stylesheet">