diff options
author | Khloe Leclair <xivkhloeleclair@gmail.com> | 2022-04-12 02:07:21 -0400 |
---|---|---|
committer | Khloe Leclair <xivkhloeleclair@gmail.com> | 2022-04-12 02:07:21 -0400 |
commit | a21d24f4b7d14701205a6805422de31da84da6ca (patch) | |
tree | 875191af818750ef6fe75c08793c3bc1d568108f /src/SMAPI.Web/wwwroot/Content/css | |
parent | 94b8507a4763020c578e98ecf5af645fe6583cee (diff) | |
download | SMAPI-a21d24f4b7d14701205a6805422de31da84da6ca.tar.gz SMAPI-a21d24f4b7d14701205a6805422de31da84da6ca.tar.bz2 SMAPI-a21d24f4b7d14701205a6805422de31da84da6ca.zip |
Replace bitfields for state and just use comma-separated strings. Add a note that numbers may be inaccurate if filtering is used when sections are collapsed. Add quick navigation links.
Diffstat (limited to 'src/SMAPI.Web/wwwroot/Content/css')
-rw-r--r-- | src/SMAPI.Web/wwwroot/Content/css/main.css | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/SMAPI.Web/wwwroot/Content/css/main.css b/src/SMAPI.Web/wwwroot/Content/css/main.css index dcc7a798..52b304d0 100644 --- a/src/SMAPI.Web/wwwroot/Content/css/main.css +++ b/src/SMAPI.Web/wwwroot/Content/css/main.css @@ -72,6 +72,7 @@ a { color: #666; } +#quickNav h4, #sidebar h4 { margin: 1.5em 0 0.2em 0; width: 10em; @@ -80,11 +81,13 @@ a { font-weight: normal; } +#quickNav a, #sidebar a { color: #77B; border: 0; } +#quickNav ul, #quickNav li, #sidebar ul, #sidebar li { margin: 0; padding: 0; @@ -93,10 +96,29 @@ a { color: #888; } +#quickNav li, #sidebar li { margin-left: 1em; } +/* quick navigation */ + +#quickNav { + position: fixed; + left: 8px; + bottom: 3em; + width: 12em; + color: #666; +} + +@media (max-height: 400px) { + #quickNav { + position: unset; + width: auto; + } +} + + /* footer */ #footer { margin: 1em; @@ -111,11 +133,16 @@ a { /* mobile fixes */ @media (min-width: 1020px) and (max-width: 1199px) { + #quickNav, #sidebar { width: 7em; background: none; } + #quickNav h4 { + width: unset; + } + #content-column { left: 7em; } @@ -138,4 +165,9 @@ a { top: inherit; left: inherit; } + + #quickNav { + position: unset; + width: auto; + } } |