all repos — site @ 8f1b973072c45c5fd7abd4c43626ede7e4bf3c6f

source for my site, found at icyphox.sh

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
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
:root {
  --bg: #fff;
  --cyan: #1e9191;
  --light-gray: #eee;
  --gray: #6a6a6a;
  --code: #666;
  --dark: #444;
  --darker: #222;
  --code-bg: #0000000a;
}

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

main {
  font-family: serif;
  font-size: 16px;
  padding: 0;
  margin: 10px;
  line-height: 160%;
}

main h1 {
  padding: 10px 0 10px 0;
}

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

main h2:first-of-type {
  font-size: 20px;
  padding: 0 0 20px 0;
}

.icons img {
  max-height: 2.5rem;
  display: inline-block;
  vertical-align: middle;
  image-orientation: from-image;
  max-width: 100%;
  padding: 0 0 5px 3px;
  cursor: pointer;
}

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

main a {
  color: var(--darker);
  text-decoration: underline;
}

table a {
  text-decoration: none;
}

table a:hover {
  text-decoration: underline;
}

body {
  max-width: 640px;
  padding: 20px;
  margin: 0;
}

main article img {
  max-width: 100%;
  display: block;
  margin: 0 0 15px 0;
}

main ul, main ol {
	margin: 0 30px 30px 30px
}

main ul ul {
	margin-bottom: 0
}

.subtitle {
  font-style: italic;
  font-weight: normal;
  font-variant: unset;
  color: var(--dark);
  padding-bottom: 20px;
}

.muted {
  color: var(--gray);
}
.muted a {
  color: var(--cyan);
  text-decoration: underline;
}

article p {
  padding: 15px 0 15px 0;
}

pre {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px;
  min-width: 0;
  background-color: var(--code-bg) !important;
  font-size: 15px !important;
  margin-bottom: 10px;
}

pre > code {
  color: var(--code);
}

.post-date {
  color: var(--gray);
}

table {
  width: 100%;
}

.index-date {
  white-space: nowrap;
  vertical-align: baseline;
  color: var(--gray);
}

.index-post {
  padding-bottom: 7px;
}

nav {
  float: right;
  transform: translateY(30%);
}

hr {
  max-width: 100%;
  text-align: left;
  margin: 20px 0 20px 0;
}

footer {
  margin: 20px 0 40px 10px;
}

header img {
  transform: translateY(-10%);
}

.post-date {
  color: var(--gray);
}

blockquote p {
  font-style: italic;
  color: var(--darker);
  padding-left: 20px;
  border-left: 3px solid var(--gray);
}