all repos — site @ cb0be91654a1cb1a1be14a32d88c2fd905ca63fc

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
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
:root {
  --light: #f4f4f4;
  --cyan: #509c93;
  --light-gray: #eee;
  --medium-gray: #ddd;
  --gray: #6a6a6a;
  --dark: #444;
  --darker: #222;
}

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

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

del {
  text-decoration: line-through !important;
}

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

main, footer {
  font-family: "InterVar", -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  padding: 0;
  line-height: 160%;
}

main article, table {
  min-width: 0;
}

main h1, h2, h3 {
  font-family: "InterDisplay", -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", sans-serif;
  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 5px 0;
}

.logo img {
  max-height: 2.5rem;
  max-width: 2.5rem;
  vertical-align: middle;
  transform: translateY(-5%);
}

.logo  {
  text-decoration: none;
  border-bottom: unset;
  background: unset !important;
}

.logo:hover {
  border-bottom: unset;
}

.footimgs a {
  all: unset !important;
}

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

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

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

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

.footer {
  column-count: 2;
  column-gap: 12px;
}

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

main article img {
  max-width: 100%;
  width: 100%;
  display: block;
  margin: 10px auto 4px auto;
}

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

main ul ul {
  margin-bottom: 0
}

.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 0.5rem 0.5rem 0;
}

.image-grid {
  column-count: 2;
}

.image-grid img {
  all: unset;
  object-fit: cover;
  position: relative;
  width: 100%;
  margin-bottom: 12px;
}

.image-grid a {
  border-bottom: unset;
}

.subtitle {
  padding: 2px 0 20px 0;
  margin-top: 3px !important;
  margin-bottom: 5px;
  color: var(--gray);
}

.muted {
  color: var(--gray);
}
.muted a {
  color: var(--cyan);
  border-bottom: 1.5px solid var(--cyan);
}

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

article a {
  color: var(--dark);
}

.tagline {
  padding: 50px 0 50px 0;
}

pre {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px;
  min-width: 0;
  background-color: var(--light-gray) !important;
  margin-bottom: 10px;
}

code {
  font-size: 0.9rem;
  background-color: var(--light-gray);
}

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

table {
  table-layout: fixed;
  width: 100%;
}

table a {
  text-decoration: none;
}

td {
  padding: 7px 11px 7px 11px;
}

td p#subtitle {
  color: var(--gray);
}

td:first-child {
  padding-left: 0;
}

td:last-child {
  padding-right: 0;
}

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

header {
  padding-bottom: 20px;
}

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

footer {
  padding-top: 30px;
}


blockquote {
  margin: 7px 0 7px 0;
}

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

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

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


ol {
  list-style: none;
  counter-reset: counter;
}
ol li {
  counter-increment: counter;
}
ol li:not(.footnotes)::before {
  content: counter(counter);
  border-radius: 50%;
  text-align: center;
  line-height: 1.2rem;
  color: var(--darker);
  background: var(--medium-gray);
  width: 18px;
  height: 18px;
  font-size: 11px;
  margin-right: .5rem;
  box-sizing: content-box;
  display: inline-block;
  transform: translate(-1.9rem, 0.7rem);
  position: absolute;
}

.footnote-ref a {
  text-decoration: none;
  color: var(--light);
  border-radius: 50%;
  text-align: center;
  line-height: 0.8rem;
  background: var(--cyan);
  width: 0.8rem;
  height: 0.8rem;
  font-size: 0.6rem;
  display: inline-block;
}

.footnotes > ol li::before {
  content: counter(counter);
  border-radius: 50%;
  text-align: center;
  line-height: 1.2rem;
  color: var(--light);
  background: var(--cyan);
  width: 18px;
  height: 18px;
  font-size: 11px;
  margin-right: .5rem;
  box-sizing: content-box;
  display: inline-block;
  position: relative;
  transform: unset;
}

.footnotes ol li:not(:last-child) {
  padding-bottom: 2rem;
}

@media (max-width: 400px) {
  .footer {
    column-count: 1;
  }

  .image-grid {
    column-count: 1;
  }

  table, thead, tbody, th, td, tr { 
    display: block; 
  }
  td {
    padding: 0;
    text-align: left;
  }
  tr {
    padding: 10px 0 10px 0;
  }
}