summaryrefslogtreecommitdiff
path: root/dash/css
diff options
context:
space:
mode:
authorCarson Fleming <cflems@cflems.net>2017-07-09 13:50:26 -0700
committerCarson Fleming <cflems@cflems.net>2017-07-09 13:50:26 -0700
commitd9245c9b494f2fc6939baae5ad36907d4c8f55d7 (patch)
tree513fee378398ececdb8216b1bff5e8ee50912c4c /dash/css
parent262af1cd6f08a7cd1f8b207e618612a9dbc74b71 (diff)
downloadbulletin-d9245c9b494f2fc6939baae5ad36907d4c8f55d7.tar.gz
Made dashboard more mobile responsive
Diffstat (limited to 'dash/css')
-rw-r--r--dash/css/dash.css24
1 files changed, 5 insertions, 19 deletions
diff --git a/dash/css/dash.css b/dash/css/dash.css
index 2a56f8e..a0e6926 100644
--- a/dash/css/dash.css
+++ b/dash/css/dash.css
@@ -11,14 +11,12 @@ body {
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
+ background-position: center;
}
#nav {
height: 60px;
padding-top: 8px;
width: 100%;
- position: absolute;
- top: 0px;
- left: 0px;
box-shadow: 0px 0px 5px rgba(0,0,0,0.75);
background-color: #ffffff;
}
@@ -77,28 +75,21 @@ body {
display: block;
}
#content {
- position: absolute;
- top: 68px;
- left: 0px;
- right: 0px;
width: 100%;
margin: auto;
- height: calc(100% - 88px);
+ height: calc(100vh - 90px);
border-radius: 2px;
font-family: 'Myriad Pro';
overflow-x: hidden;
overflow-y: auto;
}
#footer {
- position: absolute;
- bottom: 0px;
- left: 0px;
width: 100%;
height: 20px;
display: flex;
- flex-direction: row;
- flex-wrap: nowrap;
- justify-content: space-around;
+ flex-direction: column;
+ justify-content: center;
+ text-align: center;
font-family: 'Myriad Pro';
}
#footer p {
@@ -170,17 +161,12 @@ body {
}
#fulljob {
margin: 2em auto 1em auto;
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
width: 50%;
padding: 1em 1em 1em 1em;
box-shadow: 0px 0px 5px rgba(0,0,0,0.75);
border-radius: 3px;
background-color: #ffffff;
overflow-y: auto;
-
}
#fjheader {
text-align: center;