summaryrefslogtreecommitdiff
path: root/_sass/tiny/_utility.scss
blob: 12130701815b17876722c1d36351f367c4d5e56b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Layout
.centered {
  display: block;
  float: none;
  margin-left: auto;
  margin-right: auto;
}

// Text alignment
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-center { text-align: center; }

.sans {
  font-family: $sans;
}

.muted {
  color: $muted-color;
  a {
    color: $muted-color;
    &:active,
    &:hover {
      color: $alternate-color;
    }
  }
}

.fancy-table {
  font-family: $sans;
  font-size: 80%;
  td {
    padding: 7px;
  }

  tbody tr:nth-child(even) {
    background-color: #eee;
  }
}