]> 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 b4f9de620e893f6ea8cb477232c7ab68f22be2bd..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;
-    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;
+  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;
 }
-h1 {
-  font-size: 30px;
-  line-height: 36px;
-}
-h1 small {
-  font-size: 18px;
+
+h1, h2, h3, h4, h5 {
+  color: #C3C3C3;
+  font-family: Xolonium, sans-serif;
 }
-h2 {
-  font-size: 24px;
-  line-height: 36px;
+
+p {
+  color: #C3C3C3;
+  font-size: 1.2rem;
 }
-h2 small {
-  font-size: 18px;
+
+hr {
+  border-color: #1b1b1b;
 }
-h3 {
-  line-height: 27px;
-  font-size: 18px;
+
+ul, ol, dl {
+  font-size: 1.1rem;
 }
-h3 small {
-  font-size: 14px;
+
+fieldset {
+  border: none;
 }
-h4, h5, h6 {
-  line-height: 18px;
+
+table {
+  background: none repeat scroll 0px 0px rgba(0, 0, 0, 0.70);
+  border: 1px solid #436688;
+  border-collapse: collapse;
+  border-spacing: 0;
 }
-h4 {
-  font-size: 14px;
+
+table tr td {
+  font-size: 10px;
 }
-h4 small {
-  font-size: 12px;
+
+table thead, table th {
+  background-color: #001021;
 }
-h5 {
-  font-size: 12px;
+
+table td, table th {
+  border: 1px solid #436688;
 }
-h6 {
-  font-size: 11px;
-  color: #999999;
-  text-transform: uppercase;
+
+table tr.even, table tr.alt, table tr:nth-of-type(2n) {
+  background: 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;
+
+table thead tr th, table thead tr td, table tr th, table tr td {
+  color: #D0D0D0;
 }
-table th { border: 1px solid #436688; background-color: #001021; }
-table td {
-    border: 1px solid #436688;
-    font-size: 10px;
+
+.table-condensed {
+  table-layout: fixed;
+  width: 100%;
 }
-.table-hover > tbody > tr:hover > td,
-.table-hover > tbody > tr:hover > th {
+
+.table-hover tr:hover {
     background-color: #222;
 }
-.table th, .table td {
-    border: 1px solid #436688;
+
+.table-condensed th, .table-condensed td {
+  padding: 4px 5px;
+}
+
+.no-stretch {
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+}
+
+.top-bar {
+  height: 50px;
+}
+
+.top-bar, .top-bar-section {
+  display: inline-block;
+}
+
+.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);
+}
+
+.top-bar-section ul li {
+  background: none;
+}
+
+.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);
+}
+
+.top-bar-section li:not(.has-form) a:not(.button) {
+  line-height: 50px;
+}
+
+.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;
+}
+
+.top-bar.expanded .title-area {
+  background: none;
+}
+
+.top-bar-section li:not(.has-form) a:not(.button) {
+  background: none;
+}
+
+.top-bar-section li:not(.has-form) a:not(.button):hover {
+ background: #333;
+}
+
+.panel {
+  background-color: #151515;
+  border-color: rgb(40, 40, 40);
+}
+
+.panel h1, .panel h2, .panel h3, .panel h4, .panel h5, .panel h6, .panel p, .panel li, .panel dl {
+  color: #777777;
+}
+
+.th {
+  box-shadow: 0 0 6px 1px rgba(0, 140, 186, 0.4);
+}
+
+.th:hover, .th:focus {
+  box-shadow: 0 0 6px 1px rgba(0, 140, 186, 0.7);
+}
+
+/* accordion overrides */
+.accordion .accordion-navigation, .accordion dd {
+  border: 1px solid #222222;
+  margin-bottom: 5px;
 }
-.table td {
-    vertical-align: middle;
+
+.accordion .accordion-navigation > a, .accordion dd > a {
+  background: none;
+  color: #C3C3C3;
+  font-family: Xolonium, sans-serif;
+  font-size: 0.8rem;
 }
-.table .tdcenter { text-align: center; }
-.accordion-group {
-    border: 1px solid rgb(39, 37, 37);
+
+.accordion .accordion-navigation > .content.active, .accordion dd > .content.active {
+  background: none;
 }
-.accordion-inner {
-    border: none;
+
+.accordion .accordion-navigation.active > a, .accordion .accordion-navigation > a:hover {
+  background: #242424;
 }
 
-/* One-off elements */
-#statline {
-    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
-    font-size: 13px;
-    position: relative;
-    top: -25px;
+ul.accordion {
+  margin-left: 0;
 }
-#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;
+
+/* 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%;
 }
+
+#footer p {
+  color: white;
+  margin-bottom: 0.5rem;
+  text-align: center;
+}
+
+#footer ul {
+  font-size: 1rem;
+  list-style: none;
+  margin-left: 0;
+}
+
 #title {
-    color: #0088CC;
-    font-size: 30px;
-    margin-bottom: 15px;
-    position: relative;
-    text-align: center;
-    text-shadow: 2px 2px 3px #333;
+  color: #08C;
+  font-size: 1.8rem;
+  margin-bottom: 10px;
+  position: relative;
+  text-align: center;
+  text-shadow: 2px 2px 3px #333;
 }
-.indexform {
-    margin: 20px 0px 20px 0px;
+
+.statline {
+  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+  font-size: 0.9rem;
+  position: relative;
+  top: -10px;
 }
-.indexbox {
-    width: 250px;
+
+.nostretch {
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
 }
 
+.button.tiny {
+  margin: 0;
+  padding: 0.5rem 1rem 0.5rem;
+}
+
+.tabs dd > a, .tabs .tab-title > a {
+  background: none;
+  color: #aaa;
+  padding: 1rem;
+}
 
-/* Navigation bar */
-.navbar-brand {
-    margin-left: 0;
-    padding-bottom: 0px;
-    padding-top: 10px;
-    text-align: left;
+.tabs dd > a:hover, .tabs .tab-title > a:hover {
+  background-color: #1D1D1D;
 }
-.navbar-inverse {
-    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.6);
+
+.tabs dd.active a, .tabs .tab-title.active a {
+  background-color: #111;
+  color: #aaa;
 }
-.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);
+
+.eloup {
+  color: #008000;
 }
-.navbar-inverse .nav>li>a, .navbar-brand {
-    font-family: XoloniumNormal;
+
+.elodown {
+  color: #BE0000;
 }
-.search, input[type="search"] {
-    background-color: #606060;
-    border: 1px solid #202020;
-    color: #AAAAAA;
-    width: 100px;
+
+.eloneutral {
+  color: gray;
 }
 
-/* Game scoreboard */
 .game {
-  float: left;
-  margin-bottom: 30px;
-  min-width: 700px;
-  padding: 10px 7px;
+  margin-bottom: 1rem;
 }
+
 .game a {
     color: #CCC;
 }
+
 .game a:hover {
     color: #d95f00;
     text-decoration: none;
 }
+
 .game tr {
     background-color: #000;
 }
+
 .game tr.red {
   background-color: #4d0000;
 }
+
 .game tr.blue {
   background-color: #00004d;
 }
+
 .game tr.yellow {
   background-color: #4d4d00;
 }
+
 .game tr.pink {
   background-color: #4d004d;
 }
-.game tr:hover {
-    background-color: #222;
-}
 
-/* accuracy and weapon graphs */
-.weapon-nav {
-  height: 70px;
-  margin-bottom: 20px;
-}
-.weapon-nav ul {
-  display: block;
-  list-style: none outside none;
-}
-.weapon-nav li {
-  cursor: pointer;
-  float: left;
-  margin-right: 10px;
-}
-.weapon-nav li:hover {
-  border-bottom: 2px solid #001021;
-}
-.weapon-nav .weapon-active {
-  border-bottom: 2px solid #436688;
-}
-.weapon-nav p {
-  text-align: center;
+.teamscore {
+  text-shadow: -1px -1px 0 #222;
+  font-weight: bold;
 }
 
-.flot table, .flot td {
-  background-color: black;
-       border: 0;
+.teamscore .red {
+  color: #ad0000;
 }
 
-/* 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 > 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; }
-
-.table .tdcenter { text-align: center; }
+.teamscore .blue {
+  color: #0000ad;
+}
 
-/* Game Info and Game Index*/
-.game-detail img {
-  float: left;
-  margin-right: 10px;
-  margin-bottom: 5px;
+.teamscore .yellow {
+  color: #adad00;
 }
 
-.game img {
-  float: left;
-  margin-right: 5px;
-  margin-bottom: 5px;
+.teamscore .pink {
+  color: #ad00ad;
 }
 
-.game-detail p,
-.game h4 {
-  float: left;
+.player-score {
+  color: #FEFF3A;
 }
 
-/* Desktop-specific stuff */
-@media (min-width: 768px) {
-    .navbar-form {
-        float: right;
-    }
+.tabs-content {
+  margin-bottom: 0;
 }