all repos — legit @ 5091695e75b2db30b8926d8aa17164c84031bc77

web frontend for git, written in go

static/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
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
:root {
  --light: #f4f4f4;
  --cyan: #509c93;
  --light-gray: #eee;
  --medium-gray: #ddd;
  --gray: #6a6a6a;
  --dark: #444;
  --darker: #222;

  --sans-font: "InterVar", -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif;
  --display-font: "InterDisplay", -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif;
  --mono-font: monospace;
}

html {
  background: var(--light);
  -webkit-text-size-adjust: none;
  font-family: var(--sans-font);
}

::selection {
  background: var(--medium-gray);
  opacity: 0.3;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  max-width: 750px;
  padding: 0 13px;
  margin: 40px auto;
}

main, footer {
  font-size: 1rem;
  padding: 0;
  line-height: 160%;
}

main h1, h2, h3, .small-heading {
  font-family: var(--display-font);
  font-weight: 500;
}

strong {
  font-weight: 500;
}

main h1 {
  font-size: 20px;
  padding: 10px 0 10px 0;
}

main h2 {
  font-size: 18px;
}

main h2, h3 {
  padding: 20px 0 15px 0;
}

nav {
  padding-top: 1rem;
}

nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
  padding-bottom: 20px;
}

nav ul li {
  padding-right: 10px;
  display: inline-block;
}

a {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  word-wrap: break-word;
}

a {
  color: var(--darker);
  border-bottom: 1.5px solid var(--medium-gray);
}

a:hover {
  border-bottom: 1.5px solid var(--gray);
}

.index {
  display: grid;
  grid-template-columns: 6em 1fr minmax(0, 7em);
  grid-row-gap: 0.5em;
  min-width: 0;
}

.index-headings {
  display: grid;
  grid-template-columns: 6em 1fr minmax(0, 7em);
  padding-bottom: 1.2em;
  padding-top: 1.2em;
  min-width: 0;
}

.desc {
  color: var(--gray);
  font-style: italic;
}

.tree {
  display: grid;
  grid-template-columns: 8em minmax(0, 1fr);
  grid-row-gap: 0.5em;
  grid-column-gap: 1em;
  min-width: 0;
}

.log {
  display: grid;
  grid-template-columns: 20rem minmax(0, 1fr);
  grid-row-gap: 0.8em;
  grid-column-gap: 8rem;
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1.5px solid var(--medium-gray);
}

.log pre {
  white-space: pre-wrap;
}

.mode {
  font-family: var(--mono-font);
}

.readme pre {
  white-space: pre-wrap;
}

@media (max-width: 600px) {
  .index {
    grid-row-gap: 0.8em;
  }

  .log {
    grid-template-columns: 1fr;
    grid-row-gap: 0em;
  }

  .commit-info:not(:last-child) {
    padding-bottom: 1.5rem;
  }
}