Skip to content
Snippets Groups Projects
custom.scss 1.93 KiB
Newer Older
TonyFord's avatar
TonyFord committed
---
---

body {
  font-family: "Helvetica", Helvetica, Arial;
  font-size: 0.9em;
}

.saison {
  background: darkcyan;
  padding: 5px;
  padding-right: 10px;
}

.runde {
  background: cadetblue;
  padding: 5px;
  padding-right: 10px;
}

.spieltag {
  background: aliceblue;
  padding: 5px;
  padding-right: 10px;
}

.partien {
  width: 100%;
  tr td {
    &:nth-child(3), &:nth-child(6) {
      text-align: center;
    }
    &:nth-child(4), &:nth-child(7) {
      text-align: left;
    }
    &:nth-child(1) { width: 100px; }
    &:nth-child(2) { width: 180px; }
    &:nth-child(3) { width: 20px; }
    &:nth-child(4) { width: 180px; }
    &:nth-child(5) { width: 20px; }
    &:nth-child(6) { width: 20px; }
    &:nth-child(7) { width: 20px; }
  }
}


.tabelle {
  width: 100%;
  padding: 5px;
  padding-left: 10px;
}


h2.tabelle {
  background: cornflowerblue;
}


table.tabelle {
  border-collapse: collapse;
  thead tr th {
    text-align: left;
    background: lavender;
    padding:3px;
  }
  tbody {
    tr:nth-child(2n) {
      background: whitesmoke;
    }
    tr td a {
      text-decoration: none;
      color: midnightblue;
      &:hover {
        text-decoration: underline;
      }
      &:visited {
        color: midnightblue;
      }
    }
  }
  td {
    padding-left: 3px;
  }
}

s,u,n {
  display: block;
  height: 13px;
  width: 5px;
  float:left;
  margin-right:1px;
  border-radius: 2px;
}

s {
  background:green;
}

u {
  background:goldenrod;
}

n {
  background:firebrick;
}


.div_left, .div_right {
  width: calc( 50% - 40px );
  float: left;
  padding:10px;
}

.div_left {
  text-align: right;
}

.div_right {
  position: fixed;
  right: 20px;
  top: 9px;
}

tr.begegnungen {
  &:nth-child(4n+1), &:nth-child(4n+2){
    background: ghostwhite;
  }
  td a {
    text-decoration: none;
    color: midnightblue;
    &:hover {
      text-decoration: underline;
    }
    &:visited {
      color: midnightblue;
    }
  }
}

img.flags {
  width: 20px;
}