all repos — www @ e17d6de9c2258e0c206308453f3e74db87b60fb1

deserthorns.net content + generator

wiki/css/style.css (view raw)

 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
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
html {
  background: var(--background);
  color: var(--f_high);
}

body {
  margin: 1rem;
  max-width: 60rem;
  -webkit-text-size-adjust: 100%;
}

h1,
h2 {
  font-style: italic;
}

hr {
  border: 1px solid var(--b_med);
}

a {
  color: var(--f_med);
}

pre, code {
  color: var(--f_med);
  background: var(--b_low);
}

code {
  padding: 0.1rem 0.25rem;
}

pre {
  padding: 1rem;
}

.header {
  display: flex;
  flex-direction: row;
}

.header .ident {
  display: flex;
  flex-direction: row;
}

.header .ident .name.mobile {
  display: none;
  align-self: center;
  margin-left: 1rem;
}

.header .logo {
  height: 5rem;
}

.header .name {
  font-weight: bold;
  font-size: 1.2rem;
  margin-left: 2rem;
  color: var(--b_high);
}

.header .links {
  user-select: none;
  width: 100%;
}

.header ul {
  padding: 0;
  margin-left: 2rem;
  margin-top: 0.5rem;
}

.header li {
  font-size: 1rem;
  list-style: none;
  margin-top: 0.25rem;
}

.header li a {
  padding: 0.1rem 0.25rem;
  text-decoration: none;
  color: var(--f_high);
}

.header li a:hover {
  color: var(--background);
  background: var(--b_high);
  cursor: pointer;
}

.header li.selected a {
  color: var(--background);
  background: var(--b_inv);
}

.header .columns {
  display: flex;
  flex-direction: row;
}

@media screen and (max-width: 600px) {
  .header {
    flex-direction: column;
  }

  .header .ident .name.mobile {
    display: block;
  }

  .header .logo {
    height: 3rem;
  }

  .header .links .name {
    display: none;
  }

  .header .links .columns>ul:first-child {
    margin-left: 0;
  }
}