Minetrack/assets/css/main.css

299 lines
4.3 KiB
CSS
Raw Normal View History

2015-11-08 18:34:17 -06:00
@import url(https://fonts.googleapis.com/css?family=Open+Sans:700,300,400);
* {
2016-03-01 21:14:42 -06:00
margin: 0;
padding: 0;
2015-11-08 18:34:17 -06:00
}
body {
2017-03-11 17:44:21 -06:00
background: #212021;
2016-03-01 21:14:42 -06:00
color: #FFF;
font-family: "Open Sans", sans-serif;
font-size: 18px;
font-weight: 300 !important;
2015-11-08 18:34:17 -06:00
}
2015-12-18 21:53:13 -06:00
/* Page layout */
html, body {
height: 100%;
}
a {
cursor: pointer;
}
2015-12-18 21:53:13 -06:00
#push {
position: relative;
min-height: 100%;
}
strong {
font-weight: 700;
}
2017-03-11 17:44:21 -06:00
/* Constants */
#header, #footer, #tagline {
2017-03-14 17:07:58 -05:00
2017-03-11 17:44:21 -06:00
}
/* Header */
#header {
2015-11-08 18:34:17 -06:00
background: #EBEBEB;
color: #3B3738;
overflow: auto;
}
2017-03-14 17:07:58 -05:00
#header-wrapper {
overflow: auto;
min-width: 850px;
}
2017-03-11 18:52:07 -06:00
#header .column {
display: inline-block;
float: left;
}
#header .column h1 {
margin: -6px 0;
}
#header .slogan {
font-size: 20px;
2017-03-11 18:52:07 -06:00
text-align: left;
}
#header .subslogan {
font-size: 19px;
2015-11-08 18:34:17 -06:00
}
2016-06-20 18:33:27 -05:00
#header a, #footer a {
2015-11-08 18:34:17 -06:00
text-decoration: none;
color: inherit;
2017-03-14 17:07:58 -05:00
border-bottom: 1px dashed #3B3738;
}
2015-11-08 18:34:17 -06:00
2016-06-20 18:33:27 -05:00
#header a:hover, #footer a:hover {
2015-11-08 18:34:17 -06:00
border-bottom: 1px dashed transparent;
}
#header > h1 {
font-size: 42px;
2015-11-09 01:03:03 -06:00
}
#header > #column-center {
width: 1480px;
margin: 0 auto;
2016-06-22 04:13:17 -05:00
text-align: center;
2015-11-09 01:03:03 -06:00
}
/* Footer */
2015-12-18 21:53:13 -06:00
#footer {
font-size: 16px;
2015-12-18 21:53:13 -06:00
text-transform: uppercase;
background: #EBEBEB;
color: #3B3738;
padding: 15px 0;
2017-03-14 17:07:58 -05:00
min-width: 950px;
margin-top: 15px;
2015-12-18 21:53:13 -06:00
}
#footer a {
font-weight: 700;
border-bottom: none !important;
}
#footer a:hover {
border-bottom: 1px dashed #000 !important;
}
2015-11-08 18:34:17 -06:00
/* Tagline */
2017-03-14 17:07:58 -05:00
#tagline-text {
padding-top: 20px;
2017-03-11 17:44:21 -06:00
text-align: center;
2015-11-08 18:34:17 -06:00
}
/* Server listing */
2016-02-06 17:34:33 -06:00
.server-container {
2015-12-18 21:39:08 -06:00
overflow: auto;
2017-03-14 17:07:58 -05:00
display: flex; flex-wrap: wrap; justify-content: center;
2015-11-08 18:34:17 -06:00
}
.server {
2015-12-18 21:39:08 -06:00
padding: 5px 10px;
margin: 0 5px;
2017-03-14 17:07:58 -05:00
width: 738px;
border: 1px solid transparent;
2015-12-18 21:39:08 -06:00
display: inline-block;
2015-11-08 18:34:17 -06:00
}
.version {
font-size: 12px;
}
2017-03-14 17:07:58 -05:00
/*.server:hover {
background: #282828;
border: 1px solid #444;
cursor: pointer;
border-radius: 2px;
}*/
2015-11-08 18:34:17 -06:00
.server > .column > img {
border-radius: 2px;
2015-12-04 16:26:07 -06:00
margin-top: 5px;
2015-11-08 18:34:17 -06:00
}
.server > .column {
float: left;
display: inline-block;
}
2015-12-04 16:26:07 -06:00
.server > .column > .rank {
width: 64px;
2016-03-06 01:27:47 -06:00
padding-top: 4px;
}
.server > .column > h3 > .type {
2015-11-25 19:32:39 -06:00
padding: 1px 5px;
border-radius: 2px;
border: 1px solid #A09E9E;
font-size: 14px;
margin-bottom: 2px;
}
2016-02-06 17:34:33 -06:00
.category-header {
2016-02-23 18:52:30 -06:00
margin-bottom: 10px;
margin-left: 15px;
text-align: left;
display: none;
2016-02-06 17:34:33 -06:00
}
.server-meta {
font-size: 16px !important;
}
2015-11-08 18:34:17 -06: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);
2017-03-14 17:07:58 -05:00
z-index: 10000;
2015-11-08 18:34:17 -06:00
}
/* Existing elements */
h3 {
text-transform: uppercase;
}
/* Basic classes used randomly */
.color-gray {
color: #C4C4C4;
}
2017-05-13 11:11:42 -05:00
.color-dark-gray {
color: #A3A3A3;
}
2015-11-08 18:34:17 -06:00
.color-red {
2015-11-09 01:03:03 -06:00
color: #e74c3c;
2015-11-08 18:34:17 -06:00
}
.text-uppercase {
text-transform: uppercase;
2015-11-09 01:38:18 -06:00
}
.text-center-align {
text-align: center;
}
2015-12-18 01:45:38 -06:00
/* The big graph */
2015-12-18 18:33:43 -06:00
#big-graph, #big-graph-controls, #big-graph-checkboxes {
2017-03-14 20:48:07 -05:00
width: 90%;
2015-12-18 18:10:58 -06:00
margin: 15px auto 0 auto;
}
2015-12-18 18:33:43 -06:00
#big-graph-checkboxes > table {
width: 100%;
2015-12-18 18:33:43 -06:00
}
2015-12-18 21:39:08 -06:00
#big-graph {
margin-top: 20px;
}
2015-12-18 18:49:18 -06: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-18 18:33:43 -06:00
/* Basic elements */
.button {
2015-12-18 18:49:18 -06: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;
2017-03-11 17:44:21 -06:00
cursor: pointer;
}
2017-03-11 18:52:07 -06:00
/* Percentage bar */
#perc-bar {
2017-03-14 17:07:58 -05:00
height: 35px;
2017-03-11 18:52:07 -06:00
position: relative;
}
#perc-bar > .perc-bar-part {
height: 100%;
display: inline-block;
position: absolute;
2017-03-14 17:07:58 -05:00
transition: 0.1s all;
2017-03-11 18:52:07 -06:00
}
#perc-bar > .perc-bar-part:hover {
opacity: 0.75;
2017-03-14 17:07:58 -05:00
}
/* Mojang Status */
.mojang-status {
width: 85px;
height: 106px;
2017-03-14 17:07:58 -05:00
display: inline-block;
text-align: center;
line-height: 20px;
font-size: 14px;
}
.mojang-status > strong {
text-transform: uppercase;
2017-03-14 17:07:58 -05:00
}
.mojang-status > i {
margin-top: 20px;
2017-03-14 17:07:58 -05:00
font-size: 22px;
}