summaryrefslogtreecommitdiffstats
path: root/static/css/main.css
blob: 63f541023eecfb0da4405e4931315a2448c07f2e (plain) (blame)
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
body {
  font-family: 'Arial', 'Helvetica', sans-serif;
  background-color: #f9f9fc;
  line-height: 1.5;
  color: #333;
}

header {
  text-align: center;
}

header img#logo {
  height: 10rem;
}

header img#logofloat {
  float: right;
  height: 5rem;
}

main {
  max-width: 50rem;
  padding: 1.5rem;
  margin: auto;
}

span.single-date {
  color: grey;
}

pre {
  background: #eaeaed;
  padding: 1rem;
  overflow: scroll;
  border-bottom: 2px solid #ccd;
  border-left: 2px solid #a6a6cc;
}
pre code {
  color: inherit;
  background-color: inherit;
  padding: 0;
}
code {
  color: #911;
  background-color: #eee;
  padding: 0.1rem;
}

h1, h2, h3, h4, h5, h6, strong {
  color: #000;
}

h2, h3, h4, h5, h6 {
  padding-top: 1.5rem;
}

a {
  color: #2053ab;
}
/**/

article.list-item {
  margin: 1rem;
}
span.list-item-date {
  text-align: right;
  float: right;
  color: grey;
}

footer {
  margin: 2rem 0 1rem;
  text-align: center;
  font-size: 0.8rem;
}

@media (prefers-color-scheme: dark) {
   body {
     background-color: #070704;
     color: #ccc;
   }
   h1, h2, h3, h4, h5, h6, strong {
     color: #fff;
   }
   pre {
     background: #151512;
     border-bottom: 2px solid #443;
     border-left: 2px solid #595933;
   }
   code {
     color: #d55;
     background-color: #222;
   }
   a {
      color: #5386de;
   }
}