aboutsummaryrefslogtreecommitdiff
path: root/webAO/styles
diff options
context:
space:
mode:
authorsD <stoned@derpymail.org>2020-03-21 13:43:40 +0100
committersD <stoned@derpymail.org>2020-03-21 13:43:40 +0100
commita9ee0711e2b541e7a7bd5ddfeee42e6b9a8f904f (patch)
tree99ab55ddc0f39fbb3a3d4fab41267b6e6bf1c91d /webAO/styles
parentbd88a72f0cd3cf515b09b943bf9dbee76d2ab5a7 (diff)
add viewport, put the info below the list
Diffstat (limited to 'webAO/styles')
-rw-r--r--webAO/styles/master.css45
1 files changed, 18 insertions, 27 deletions
diff --git a/webAO/styles/master.css b/webAO/styles/master.css
index 5cfc6f3..2e2f265 100644
--- a/webAO/styles/master.css
+++ b/webAO/styles/master.css
@@ -32,30 +32,26 @@
padding: 1px;
}
-#header {
+#info_container {
display: block;
- float: left;
- margin-top: 75px;
- position: absolute;
- left: 0;
font-size: 0.8em;
}
#masterchat {
- width: 260px;
+ width: 100%;
height: 260px;
font-size: inherit;
background-color: darkgrey;
color: black;
}
-#serverdescription_box {
- display: inline-block;
+#serverdescription_container {
+ display: block;
+ top: 100px;
position: fixed;
+ right: 0;
width: 185px;
height: 276px;
- top: 35%;
- right: 0px;
padding: 0px;
background: url("../images/desc.png") no-repeat;
border: 2px solid #888;
@@ -75,28 +71,29 @@
overflow-y: auto;
}
+#serverlist_container {
+ margin-right: 200px;
+}
.serverlist {
display: block;
margin: auto;
- width: 500px;
}
.serverlist li {
position: relative;
- left: -55px;
+ right: 0;
background-color: #FFF;
border: 2px solid #BBB;
border-radius: 5px;
padding: 0px;
padding-left: 10px;
display: block;
- width: 500px;
+ min-width: 400px;
height: 50px;
margin: 10px;
margin-left: auto;
margin-right: auto;
- float: left;
text-align: center;
cursor: default;
}
@@ -113,6 +110,12 @@
float: right;
}
+#serverlist_container h2 {
+ text-align: center;
+ margin-left: auto;
+ margin-right: auto;
+}
+
.serverlist .button {
position: relative;
top: 0px;
@@ -140,20 +143,8 @@
box-shadow: 0 0 0 1px #EFAD21;
}
-#content h2 {
- vertical-align: top;
- display: inline-block;
- margin-top: 0px;
- margin-left: auto;
- margin-right: auto;
-}
-#content p {
- vertical-align: top;
- display: inline-block;
-}
+#content {
-#content > p {
- margin-right: 50px;
}
ul.navbar-nav.ml-auto {