Minetrack/assets/css/main.css

260 lines
3.9 KiB
CSS
Raw Normal View History

2015-11-09 00:34:17 +00:00
@import url(https://fonts.googleapis.com/css?family=Open+Sans:700,300,400);
* {
2016-03-02 03:14:42 +00:00
margin: 0;
padding: 0;
2015-11-09 00:34:17 +00:00
}
body {
background: #2E2B2C;
2016-03-02 03:14:42 +00:00
color: #FFF;
font-family: "Open Sans", sans-serif;
font-size: 18px;
font-weight: 300 !important;
2015-11-09 00:34:17 +00:00
}
2015-12-19 03:53:13 +00:00
/* Page layout */
html, body {
height: 100%;
}
a {
cursor: pointer;
}
2015-12-19 03:53:13 +00:00
#push {
position: relative;
min-height: 100%;
}
/* Header */
#header {
2015-11-09 00:34:17 +00:00
background: #EBEBEB;
color: #3B3738;
padding: 20px 0;
overflow: auto;
margin-top: 44px;
}
#header .slogan {
font-size: 20px;
}
#header .subslogan {
font-size: 19px;
2015-11-09 00:34:17 +00:00
}
2016-06-20 23:33:27 +00:00
#header a, #footer a {
2015-11-09 00:34:17 +00:00
text-decoration: none;
color: inherit;
border-bottom: 1px dashed #3B3738;
}
2016-06-20 23:33:27 +00:00
#header a:hover, #footer a:hover {
2015-11-09 00:34:17 +00:00
border-bottom: 1px dashed transparent;
}
#header > h1 {
font-size: 42px;
2015-11-09 07:03:03 +00:00
}
#header > #column-center {
width: 1480px;
margin: 0 auto;
2016-06-22 09:13:17 +00:00
text-align: center;
2015-11-09 07:03:03 +00:00
}
/* Footer */
2015-12-19 03:53:13 +00:00
#footer {
width: 1540px;
2015-12-19 03:53:13 +00:00
font-size: 16px;
text-transform: uppercase;
background: #EBEBEB;
color: #3B3738;
padding: 15px 0;
margin: 0 auto;
border-top-right-radius: 2px;
border-top-left-radius: 2px;
2016-06-22 09:12:14 +00:00
text-align: center;
2015-12-19 03:53:13 +00:00
}
2015-11-09 00:34:17 +00:00
/* Tagline */
#tagline {
padding: 10px 0;
width: 100%;
z-index: 999999; /* I'm so sorry. */
position: fixed;
left: 0;
top: 0;
}
#tagline-center {
2016-06-22 09:16:54 +00:00
width: 1520px;
margin: 0 auto;
2015-11-09 00:34:17 +00:00
}
/* Colors used by the Mojang service's status bar */
.status-online {
background: #87D37C;
color: #3B3738;
}
.status-unstable {
background: #E9E581;
color: #3B3738;
}
.status-offline {
background: #e74c3c;
}
.status-connecting {
background: #3498db;
}
/* Server listing */
2016-02-06 23:34:33 +00:00
.server-container {
2015-12-19 03:39:08 +00:00
width: 1540px;
2015-12-19 03:53:13 +00:00
margin: 10px auto;
2015-12-19 03:39:08 +00:00
overflow: auto;
2015-11-09 00:34:17 +00:00
}
.server {
overflow: auto;
2015-12-19 03:39:08 +00:00
padding: 5px 10px;
margin: 0 5px;
width: 740px;
display: inline-block;
2015-11-09 00:34:17 +00:00
}
.server > .column > img {
border-radius: 2px;
2015-12-04 22:26:07 +00:00
margin-top: 5px;
2015-11-09 00:34:17 +00:00
}
.server > .column {
float: left;
display: inline-block;
}
2015-12-04 22:26:07 +00:00
.server > .column > .rank {
width: 64px;
2016-03-06 07:27:47 +00:00
padding-top: 4px;
}
.server > .column > .url {
font-size: 16px;
2015-12-04 22:26:07 +00:00
}
.server > .column > h3 > .type {
2015-11-26 01:32:39 +00:00
padding: 1px 5px;
border-radius: 2px;
border: 1px solid #A09E9E;
font-size: 14px;
margin-bottom: 2px;
}
.server > .column > .versions {
2016-03-06 07:27:47 +00:00
min-height: 23px;
padding-bottom: 1px;
}
.server > .column > .versions > .version {
2016-03-02 03:14:42 +00:00
padding: 1px 5px;
border-radius: 2px;
2016-03-06 07:27:47 +00:00
border: 1px solid #636363;
font-size: 12px;
}
2016-02-06 23:34:33 +00:00
.category-header {
2016-02-24 00:52:30 +00:00
margin-bottom: 10px;
margin-left: 15px;
text-align: left;
display: none;
2016-02-06 23:34:33 +00:00
}
2015-11-09 00:34:17 +00:00
/* Charts */
.chart {
height: 100px;
width: 400px;
margin-right: -3px;
margin-bottom: 5px;
}
#tooltip {
display: none;
position: absolute;
padding: 5px;
border-radius: 3px;
background: rgba(0, 0, 0, 0.65);
z-index: 999;
}
/* Existing elements */
h3 {
text-transform: uppercase;
}
/* Basic classes used randomly */
.color-gray {
color: #C4C4C4;
}
.color-red {
2015-11-09 07:03:03 +00:00
color: #e74c3c;
2015-11-09 00:34:17 +00:00
}
.text-uppercase {
text-transform: uppercase;
2015-11-09 07:38:18 +00:00
}
.text-center-align {
text-align: center;
}
2015-12-18 07:45:38 +00:00
/* The big graph */
2015-12-19 00:33:43 +00:00
#big-graph, #big-graph-controls, #big-graph-checkboxes {
2015-12-19 03:39:08 +00:00
width: 1540px;
2015-12-19 00:10:58 +00:00
margin: 15px auto 0 auto;
}
2015-12-19 00:33:43 +00:00
#big-graph-checkboxes > table {
width: 100%;
2015-12-19 00:33:43 +00:00
}
2015-12-19 03:39:08 +00:00
#big-graph {
margin-top: 20px;
}
2015-12-19 00:49:18 +00:00
#big-graph-controls {
margin: 10px auto;
}
#big-graph-controls a {
text-decoration: none;
color: inherit;
text-transform: uppercase;
border-bottom: 1px dashed #FFF;
font-size: 16px;
}
#big-graph-controls a:hover {
border-bottom: 1px dashed transparent;
}
2015-12-19 00:33:43 +00:00
/* Basic elements */
.button {
2015-12-19 00:49:18 +00:00
background: #3498db;
border-radius: 2px;
text-shadow: 0 0 0 #000;
width: 85px;
font-size: 16px;
padding: 5px 10px;
margin: 0 auto;
}
.button:hover {
background: #ecf0f1;
color: #3498db;
}