all repos — www @ bd9f9a7d8331731ab93cf143a826654a21bf1ec1

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
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
html {
  background: var(--background);
  color: var(--f_high);
}

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

article {
  line-height: 1.25rem;
}

h1,
h2 {
  font-style: italic;
}

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

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

pre, code {
  color: var(--f_med);
  border: 1px solid var(--b_low);
}

code {
  padding: 0.1rem 0.25rem;
}

pre {
  padding: 1rem;
  overflow-x: scroll;
  scrollbar-width: thin;
  scrollbar-color: var(--b_low) var(--background);
}

p, blockquote, aside {
  line-height: 1.3rem;
}

blockquote, aside {
  font-style: italic;
  border-left: 4px solid var(--f_inv);
  padding: 0.5rem;
  margin-left: 0;
}

aside {
  border-color: var(--b_low);
}

.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;
  }
}