]> de.git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/static/css/app.css
Update the CSS, make it easier to generate them.
[xonotic/xonstat.git] / xonstat / static / css / app.css
index ce2b71d4470544a0c974520df10a8b5e80da6f16..17c6a1108778c065c29461ce71099d9cee3d05cb 100644 (file)
 /* Fonts */
 @font-face {
-    font-family: 'XoloniumNormal';
-    src: url('fonts/xolonium-webfont.eot');
-    src: url('fonts/xolonium-webfont.eot?#iefix') format('embedded-opentype'),
-         url('fonts/xolonium-webfont.woff') format('woff'),
-         url('fonts/xolonium-webfont.ttf') format('truetype'),
-         url('fonts/xolonium-webfont.svg#XoloniumNormal') format('svg');
-    font-weight: normal;
-    font-style: normal;
+  font-family: 'Xolonium';
+  src: url('fonts/xolonium-regular.eot');
+  src: url('fonts/xolonium-regular.eot?#iefix') format('embedded-opentype'),
+       url('fonts/xolonium-regular.woff2') format('woff2'),
+       url('fonts/xolonium-regular.woff') format('woff'),
+       url('fonts/xolonium-regular.ttf') format('truetype');
+  font-weight: normal;
+  font-style: normal;
 }
 
-
-/* Primary elements */
 body {
-    background: url("img/web_background_4.jpg") no-repeat fixed center center / cover  black;
-    background-color: black;
-    color: #D0D0D0;
-    font-family: "XoloniumNormal", "Helvetica Neue", Helvetica, Arial, sans-serif;
-}
-h1 small,
-h2 small,
-h3 small,
-h4 small,
-h5 small,
-h6 small {
-  font-weight: normal;
-  color: #999999;
-}
-h1 {
-  font-size: 30px;
-  line-height: 36px;
-}
-h1 small {
-  font-size: 18px;
-}
-h2 {
-  font-size: 24px;
-  line-height: 36px;
-}
-h2 small {
-  font-size: 18px;
-}
-h3 {
-  line-height: 27px;
-  font-size: 18px;
-}
-h3 small {
-  font-size: 14px;
+  background-color: #0F0F0F;
+  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)) repeat scroll 0% 0%, url("img/bg.jpg") no-repeat fixed center center / cover black;
+  color: #9B9B9B;
+  font-family: Xolonium, sans-serif;
 }
-h4, h5, h6 {
-  line-height: 18px;
+
+h1, h2, h3, h4, h5 {
+  color: #C3C3C3;
+  font-family: Xolonium, sans-serif;
 }
-h4 {
-  font-size: 14px;
+
+p {
+  color: #C3C3C3;
+  font-size: 1.2rem;
 }
-h4 small {
-  font-size: 12px;
+
+hr {
+  border-color: #1b1b1b;
 }
-h5 {
-  font-size: 12px;
+
+ul, ol, dl {
+  font-size: 1.1rem;
 }
-h6 {
-  font-size: 11px;
-  color: #999999;
-  text-transform: uppercase;
+
+fieldset {
+  border: none;
 }
+
 table {
-    background: rgb(0, 0, 0); /* IE Fallback */
-    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.7);
-    border: 1px solid #436688;
+  background: none repeat scroll 0px 0px rgba(0, 0, 0, 0.70);
+  border: 1px solid #436688;
+  border-collapse: collapse;
+  border-spacing: 0;
 }
-table th { border: 1px solid #436688; background-color: #001021; }
-table td {
-    border: 1px solid #436688;
-    font-size: 10px;
-}
-.table-hover > tbody > tr:hover > td,
-.table-hover > tbody > tr:hover > th {
-    background-color: #222;
-}
-.table th, .table td {
-    border: 1px solid #436688;
-}
-.table td {
-    vertical-align: middle;
+
+table tr td {
+  font-size: 10px;
 }
-.table .tdcenter { text-align: center; }
-.accordion-group {
-    border: 1px solid rgb(39, 37, 37);
+
+table thead, table th {
+  background-color: #001021;
 }
-.accordion-inner {
-    border: none;
+
+table td, table th {
+  border: 1px solid #436688;
 }
 
-/* One-off elements */
-#statline {
-    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
-    font-size: 13px;
-    position: relative;
-    top: -25px;
+table tr.even, table tr.alt, table tr:nth-of-type(2n) {
+  background: none;
 }
-#xonborder {
-    background: rgb(0, 0, 0); /* IE Fallback */
-    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5);
-    border-radius: 15px 15px 15px 15px;
-    margin-bottom: 30px;
-    margin-left: 0px;
-    padding: 20px;
+
+table thead tr th, table thead tr td, table tr th, table tr td {
+  color: #D0D0D0;
 }
-#title {
-    color: #0088CC;
-    font-size: 30px;
-    margin-bottom: 15px;
-    position: relative;
-    text-align: center;
-    text-shadow: 2px 2px 3px #333;
+
+.table-condensed {
+  table-layout: fixed;
+  width: 100%;
 }
-.indexform {
-    margin: 20px 0px 20px 0px;
+
+.table-hover tr:hover {
+    background-color: #222;
 }
-.indexbox {
-    width: 250px;
+
+.table-condensed th, .table-condensed td {
+  padding: 4px 5px;
 }
 
+.no-stretch {
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+}
 
-/* Navigation bar */
-.navbar-brand {
-    margin-left: 0;
-    padding-bottom: 0px;
-    padding-top: 10px;
-    text-align: left;
+.top-bar {
+  height: 50px;
 }
-.navbar-inverse {
-    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.6);
+
+.top-bar, .top-bar-section {
+  display: inline-block;
 }
-.navbar-inverse .nav>.active>a, .navbar-inverse .nav>.active>a:hover, .navbar-inverse .nav>.active>a:focus {
-    background: none repeat scroll 0 0 rgba(49, 49, 49, 0.6);
+
+.top-bar .name h1 a {
+  color: rgb(200, 200, 200);
+  font-size: 1.1rem;
+  text-shadow: 0px 1px 1px rgba(200, 200, 200, 0.4);
 }
-.navbar-inverse .nav>li>a, .navbar-brand {
-    font-family: XoloniumNormal;
+
+.top-bar-section ul li {
+  background: none;
 }
-.search, input[type="search"] {
-    background-color: #606060;
-    border: 1px solid #202020;
-    color: #AAAAAA;
-    width: 100px;
+
+.top-bar-section ul li > a {
+  color: rgb(200, 200, 200);
+  font-family: Xolonium, sans-serif;
+  font-size: 1rem;
+  text-shadow: 0px 1px 1px rgba(200, 200, 200, 0.4);
 }
 
-/* Game scoreboard */
-.game {
-  float: left;
-  min-width: 700px;
-  padding: 10px 7px;
+.top-bar-section li:not(.has-form) a:not(.button) {
+  line-height: 50px;
 }
-.game a {
-    color: #CCC;
+
+.top-bar, .contain-to-grid {
+  background: linear-gradient( rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 95% );
+  margin-bottom: 15px;
 }
-.game a:hover {
-    color: #d95f00;
-    text-decoration: none;
+
+.top-bar.expanded .title-area {
+  background: none;
 }
-.game tr {
-    background-color: #000;
+
+.top-bar-section li:not(.has-form) a:not(.button) {
+  background: none;
 }
-.game tr.red {
-  background-color: #4d0000;
+
+.top-bar-section li:not(.has-form) a:not(.button):hover {
+ background: #333;
 }
-.game tr.blue {
-  background-color: #00004d;
+
+.panel {
+  background-color: #151515;
+  border-color: rgb(40, 40, 40);
 }
-.game tr.yellow {
-  background-color: #4d4d00;
+
+.panel h1, .panel h2, .panel h3, .panel h4, .panel h5, .panel h6, .panel p, .panel li, .panel dl {
+  color: #777777;
 }
-.game tr.pink {
-  background-color: #4d004d;
+
+.th {
+  box-shadow: 0 0 6px 1px rgba(0, 140, 186, 0.4);
 }
-.game tr:hover {
-    background-color: #222;
+
+.th:hover, .th:focus {
+  box-shadow: 0 0 6px 1px rgba(0, 140, 186, 0.7);
 }
 
-.teamscore {
-  text-align: right;
-  text-shadow: -1px -1px 0 #222;
-  font-size: 20px;
-  font-weight: bold;
-  padding: 10px 7px;
-  margin-right: 5px;
-  margin-top: 12px;
+/* accordion overrides */
+.accordion .accordion-navigation, .accordion dd {
+  border: 1px solid #222222;
+  margin-bottom: 5px;
 }
-.teamscore .teamname {
-  font-size: 12px;
+
+.accordion .accordion-navigation > a, .accordion dd > a {
+  background: none;
+  color: #C3C3C3;
+  font-family: Xolonium, sans-serif;
+  font-size: 0.8rem;
 }
-.teamscore .red {
-  color: #ad0000;
+
+.accordion .accordion-navigation > .content.active, .accordion dd > .content.active {
+  background: none;
 }
-.teamscore .blue {
-  color: #0000ad;
+
+.accordion .accordion-navigation.active > a, .accordion .accordion-navigation > a:hover {
+  background: #242424;
 }
-.teamscore .yellow {
-  color: #adad00;
+
+ul.accordion {
+  margin-left: 0;
 }
-.teamscore .pink {
-  color: #ad00ad;
+
+/* Footer */
+#footer {
+  background: linear-gradient( rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 95% );
+  font-family: sans-serif;
+  font-style: italic;
+  margin: 15px 0px 0px 0px;
+  padding-top: 5px;
+  width: 100%;
 }
-.player-score { color: #FEFF3A; }
-.ping { width: 50px; }
 
-/* accuracy and weapon graphs */
-.weapon-nav {
-  height: 70px;
-  margin-bottom: 20px;
+#footer p {
+  color: white;
+  margin-bottom: 0.5rem;
+  text-align: center;
 }
-.weapon-nav ul {
-  display: block;
-  list-style: none outside none;
+
+#footer ul {
+  font-size: 1rem;
+  list-style: none;
+  margin-left: 0;
 }
-.weapon-nav li {
-  cursor: pointer;
-  float: left;
-  margin-right: 10px;
+
+#title {
+  color: #08C;
+  font-size: 1.8rem;
+  margin-bottom: 10px;
+  position: relative;
+  text-align: center;
+  text-shadow: 2px 2px 3px #333;
 }
-.weapon-nav li:hover {
-  border-bottom: 2px solid #001021;
+
+.statline {
+  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+  font-size: 0.9rem;
+  position: relative;
+  top: -10px;
 }
-.weapon-nav .weapon-active {
-  border-bottom: 2px solid #436688;
+
+.nostretch {
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
 }
-.weapon-nav p {
-  text-align: center;
+
+.button.tiny {
+  margin: 0;
+  padding: 0.5rem 1rem 0.5rem;
 }
 
-.flot table, .flot td {
-  background-color: black;
-       border: 0;
+.tabs dd > a, .tabs .tab-title > a {
+  background: none;
+  color: #aaa;
+  padding: 1rem;
 }
 
-/* Player Info Tabs */
-#gbtabcontainer { margin-top: 10px; }
-#gbtab { font-size: 12px; }
-.tabbable p { font-size: 14px; }
-.tabs-below .nav-tabs > li > a { border-radius: 4px 4px 4px 4px; }
-.nav-tabs > .active > a, .nav-tabs > .active > a:hover { background-color: #111; color: #aaa; border-color: #222; }
-.nav-tabs > .active > a, .nav-tabs > .active > a:focus { background-color: #111; color: #aaa; border-color: #222; }
-.nav-tabs > li > a { border-radius: 4px 4px 4px 4px; text-align: center; }
-.nav-tabs > li > a:hover { background-color: #111; border-color: #333; }
-.nav-tabs { border-bottom: 0px solid #000; }
+.tabs dd > a:hover, .tabs .tab-title > a:hover {
+  background-color: #1D1D1D;
+}
 
-.table .tdcenter { text-align: center; }
+.tabs dd.active a, .tabs .tab-title.active a {
+  background-color: #111;
+  color: #aaa;
+}
 
-/* Game Info and Game Index*/
-.game-detail img {
-  float: left;
-  margin-right: 10px;
-  margin-bottom: 5px;
+.eloup {
+  color: #008000;
 }
 
-.game img {
-  float: left;
-  margin-right: 5px;
-  margin-bottom: 5px;
+.elodown {
+  color: #BE0000;
 }
 
-.game-detail p,
-.game h4 {
-  float: left;
+.eloneutral {
+  color: gray;
 }
 
+.game {
+  margin-bottom: 1rem;
+}
 
-/* Gametype filters */
-.btn-toolbar .nav > li a {
-    width: 80px;
+.game a {
+    color: #CCC;
 }
 
-.btn.dropdown-toggle, .btn.dropdown-toggle:active {
-    background: none;
-    border: 1px solid transparent;
-    border-radius:4px 4px 4px 4px;
-    line-height:20px;
-    color: #428bca;
-    padding: 10px 0px 10px 0px;
-    font-size: 14px;
-    outline: 0;
+.game a:hover {
+    color: #d95f00;
+    text-decoration: none;
 }
-.btn.dropdown-toggle:hover, .btn.dropdown-toggle:focus {
-    background-color:#111;
-    color:#2a6496;
-    border-color:#333;
+
+.game tr {
+    background-color: #000;
 }
 
-.btn.dropdown-toggle > .caret {
-  height: 21px;
-  border-top-color: #428bca;
-  border-top-width: 8px;
-  border-left-width: 8px;
-  border-right-width: 8px;
+.game tr.red {
+  background-color: #4d0000;
 }
 
-.dropdown-menu {
-  width: 100px;
+.game tr.blue {
+  background-color: #00004d;
 }
 
-.dropdown-menu.nav-tabs {
-    padding:4px;
-    background-color: #111;
-    border: 1px solid #333;
-    width: 256px; }
-.dropdown-menu.nav-tabs > li > a {
-    width:80px;
-    color:inherit;
+.game tr.yellow {
+  background-color: #4d4d00;
 }
-.dropdown-menu.nav-tabs > li > a:hover {
-    color:#222;
+
+.game tr.pink {
+  background-color: #4d004d;
 }
 
-/* Player nicknames */
-.nostretch {
-  overflow: hidden;
-  text-overflow: ellipsis;
-  white-space: nowrap;
+.teamscore {
+  text-shadow: -1px -1px 0 #222;
+  font-weight: bold;
 }
 
-.player-nick {
-    width: 25%;
+.teamscore .red {
+  color: #ad0000;
 }
 
-/* elo colors */
-.eloup { color: green; }
-.elodown { color: rgb(190,0,0); }
-.eloneutral { color: gray; }
+.teamscore .blue {
+  color: #0000ad;
+}
 
-/* Navigation links */
-.pagination > li > a, .pagination > li > span {
-    background-color: #111111;
-    border-color: rgb(49, 49, 49);
-    color: rgb(121, 121, 121);
+.teamscore .yellow {
+  color: #adad00;
 }
-.pagination>li>a:hover, .pagination>li>a:focus, .pagination>.active>a, .pagination>.active>span{
-    background-color: rgb(43, 34, 34);
+
+.teamscore .pink {
+  color: #ad00ad;
 }
 
+.player-score {
+  color: #FEFF3A;
+}
 
-/* Desktop-specific stuff */
-@media (min-width: 768px) {
-    .navbar-form {
-        float: right;
-    }
+.tabs-content {
+  margin-bottom: 0;
 }