summaryrefslogtreecommitdiff
path: root/themes/cranky/static/style.css
blob: a53ad99c6e8180a9d4185ba58f6c90601790f01f (plain)
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
:root {
  --std-bg: #111a1f;
  --light-bg: #222d32;
  --header-fg: #f2f1f0;
  --text-fg: #c0c7ca;
  --link-fg-std: #ebcb88;
  --link-fg-hover: #b7416e;
}

body {
  font-family: sans-serif;
  color: var(--text-fg);
  background: var(--std-bg);
}

main {
  max-width: 800px;
  margin: auto;
}

img {
  max-width: 100%;
}

header h1 {
  color: var(--header-fg);
  text-align: center;
}

footer {
  text-align: center;
  clear: both;
}

a {
  color: var(--link-fg-std);
  text-decoration: none;
}

a:hover {
  color: var(--link-fg-hover);
}

/* For TAGLIST.HTML */
.taglist {
  text-align: center;
  clear: both;
}

/* For NEXTPREV.HTML */
#nextprev {
  /* The container for both the previous and next articles. */
}
#prevart {
  float: left;
  text-align: left;
}
#nextart {
  float: right;
  text-align: right;
}
#nextart,
#prevart {
  max-width: 33%;
}

/* Photo Gallery Stuff */

.photo-gallery {
  column-count: 3;
  column-gap: 20px;
  min-width: 300px;
  width: 100%;
  max-width: 1500px;
}

.photo-gallery > a {
  display: inline-block;
  padding: 20 20px;
  margin: auto;
  width: 100%;
  box-sizing: border-box;
}

@media screen and (max-width: 600) {
  .photo-gallery {
    column-count: 1;
  }
}

@media screen and (min-width: 1025px) {
  .photo-gallery {
    column-count: 3;
  }
}

@media screen and (min-width: 1200px) {
  .photo-gallery {
    column-count: 4;
  }
}