summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/wwwroot/Content/css/main.css
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-08-01 11:07:29 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-08-01 11:07:29 -0400
commit60b41195778af33fd609eab66d9ae3f1d1165e8f (patch)
tree7128b906d40e94c56c34ed6058f27bc31c31a08b /src/SMAPI.Web/wwwroot/Content/css/main.css
parentb9bc1a6d17cafa0a97b46ffecda432cfc2f23b51 (diff)
parent52cf953f685c65b2b6814e375ec9a5ffa03c440a (diff)
downloadSMAPI-60b41195778af33fd609eab66d9ae3f1d1165e8f.tar.gz
SMAPI-60b41195778af33fd609eab66d9ae3f1d1165e8f.tar.bz2
SMAPI-60b41195778af33fd609eab66d9ae3f1d1165e8f.zip
Merge branch 'develop' into stable
Diffstat (limited to 'src/SMAPI.Web/wwwroot/Content/css/main.css')
-rw-r--r--src/SMAPI.Web/wwwroot/Content/css/main.css38
1 files changed, 36 insertions, 2 deletions
diff --git a/src/SMAPI.Web/wwwroot/Content/css/main.css b/src/SMAPI.Web/wwwroot/Content/css/main.css
index d1fa49e0..57eeee88 100644
--- a/src/SMAPI.Web/wwwroot/Content/css/main.css
+++ b/src/SMAPI.Web/wwwroot/Content/css/main.css
@@ -28,7 +28,8 @@ h2 {
h3 {
font-size: 1.2em;
border-bottom: 1px solid #AAA;
- width: 50%;
+ width: 55em;
+ max-width: 100%;
}
a {
@@ -44,6 +45,8 @@ a {
#content {
min-height: 140px;
+ width: calc(100% - 2em);
+ max-width: 60em;
padding: 0 1em 1em 1em;
border-left: 1px solid #CCC;
background: #FFF;
@@ -51,7 +54,7 @@ a {
}
#content p {
- max-width: 55em;
+ max-width: 100%;
}
.section {
@@ -105,3 +108,34 @@ a {
#footer a {
color: #669;
}
+
+/* mobile fixes */
+@media (min-width: 1020px) and (max-width: 1199px) {
+ #sidebar {
+ width: 7em;
+ background: none;
+ }
+
+ #content-column {
+ left: 7em;
+ }
+}
+
+@media (max-width: 1019px) {
+ h1 {
+ margin-top: 0;
+ }
+
+ #sidebar {
+ margin-top: 0;
+ width: auto;
+ min-height: 0;
+ background: none;
+ }
+
+ #content-column {
+ position: inherit;
+ top: inherit;
+ left: inherit;
+ }
+}