all repos — site @ 3aa005439b166d97655373f95265fa2dd1e89be4

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
: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 h2:first-of-type {
  font-size: 20px;
  padding: 0 0 20px 0;
}

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

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

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

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

table a {
  text-decoration: none;
}

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

body {
  max-width: 640px;
  padding: 30px;
  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;
}

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

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(-30%);
}

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