]> 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 0920677cde6ad6e4e5f0d6050776c0b60d814069..17c6a1108778c065c29461ce71099d9cee3d05cb 100644 (file)
@@ -1,30 +1,30 @@
 /* Fonts */
 @font-face {
-    font-family: 'Xolonium';
-    src: url('fonts/xolonium.eot');
-    src: url('fonts/xolonium.eot?#iefix') format('embedded-opentype'),
-         url('fonts/xolonium.ttf') format('truetype'),
-         url('fonts/xolonium.woff') format('woff'),
-         url('fonts/xolonium.svg#xoloniumregular') 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;
 }
 
 body {
   background-color: #0F0F0F;
-  background: url("img/bg.jpg") no-repeat fixed center center / cover black;
+  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", "Helvetica Neue", Helvetica, Arial, sans-serif;
+  font-family: Xolonium, sans-serif;
 }
 
 h1, h2, h3, h4, h5 {
-  color: #C3C3C3;;
-  font-family: "Xolonium", Helvetica, Arial, sans-serif;
+  color: #C3C3C3;
+  font-family: Xolonium, sans-serif;
 }
 
 p {
   color: #C3C3C3;
-  font-size: 1.3rem;
+  font-size: 1.2rem;
 }
 
 hr {
@@ -35,10 +35,64 @@ ul, ol, dl {
   font-size: 1.1rem;
 }
 
+fieldset {
+  border: none;
+}
+
+table {
+  background: none repeat scroll 0px 0px rgba(0, 0, 0, 0.70);
+  border: 1px solid #436688;
+  border-collapse: collapse;
+  border-spacing: 0;
+}
+
+table tr td {
+  font-size: 10px;
+}
+
+table thead, table th {
+  background-color: #001021;
+}
+
+table td, table th {
+  border: 1px solid #436688;
+}
+
+table tr.even, table tr.alt, table tr:nth-of-type(2n) {
+  background: none;
+}
+
+table thead tr th, table thead tr td, table tr th, table tr td {
+  color: #D0D0D0;
+}
+
+.table-condensed {
+  table-layout: fixed;
+  width: 100%;
+}
+
+.table-hover tr:hover {
+    background-color: #222;
+}
+
+.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;
@@ -51,7 +105,7 @@ ul, ol, dl {
 
 .top-bar-section ul li > a {
   color: rgb(200, 200, 200);
-  font-family: 'Xolonium';
+  font-family: Xolonium, sans-serif;
   font-size: 1rem;
   text-shadow: 0px 1px 1px rgba(200, 200, 200, 0.4);
 }
@@ -94,6 +148,30 @@ ul, ol, dl {
   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;
+}
+
+.accordion .accordion-navigation > a, .accordion dd > a {
+  background: none;
+  color: #C3C3C3;
+  font-family: Xolonium, sans-serif;
+  font-size: 0.8rem;
+}
+
+.accordion .accordion-navigation > .content.active, .accordion dd > .content.active {
+  background: none;
+}
+
+.accordion .accordion-navigation.active > a, .accordion .accordion-navigation > a:hover {
+  background: #242424;
+}
+
+ul.accordion {
+  margin-left: 0;
+}
 
 /* Footer */
 #footer {
@@ -116,3 +194,119 @@ ul, ol, dl {
   list-style: none;
   margin-left: 0;
 }
+
+#title {
+  color: #08C;
+  font-size: 1.8rem;
+  margin-bottom: 10px;
+  position: relative;
+  text-align: center;
+  text-shadow: 2px 2px 3px #333;
+}
+
+.statline {
+  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+  font-size: 0.9rem;
+  position: relative;
+  top: -10px;
+}
+
+.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;
+}
+
+.tabs dd > a:hover, .tabs .tab-title > a:hover {
+  background-color: #1D1D1D;
+}
+
+.tabs dd.active a, .tabs .tab-title.active a {
+  background-color: #111;
+  color: #aaa;
+}
+
+.eloup {
+  color: #008000;
+}
+
+.elodown {
+  color: #BE0000;
+}
+
+.eloneutral {
+  color: gray;
+}
+
+.game {
+  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;
+}
+
+.teamscore {
+  text-shadow: -1px -1px 0 #222;
+  font-weight: bold;
+}
+
+.teamscore .red {
+  color: #ad0000;
+}
+
+.teamscore .blue {
+  color: #0000ad;
+}
+
+.teamscore .yellow {
+  color: #adad00;
+}
+
+.teamscore .pink {
+  color: #ad00ad;
+}
+
+.player-score {
+  color: #FEFF3A;
+}
+
+.tabs-content {
+  margin-bottom: 0;
+}