aboutsummaryrefslogtreecommitdiff
path: root/public/main.css
blob: a0f498e0d50d9a5f30504d4e32e07fb668e694d9 (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
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
:root {
  --color-brown: #71441E;
  --color-blue: #0D0D51;
  --color-gray: #AAAAAA;
  --color-green: #58B058;

  --size-bee: 0.2rem;
  --size-mouse: 0.5rem;
  --size-cat: 0.75rem;
  --size-dog: 1rem;
  --size-lion: 1.25rem;
  --size-bear: 1.5rem;
  --size-horse: 2rem;
  --size-camel: 2.625rem;
  --size-rhino: 3.375rem;
  --size-elephant: 4.25rem;
  --size-mammoth: 5.25rem;
}

@media screen and (max-width: 500px) {
  html { font-size: 14px; }
}

@media screen and (min-width: 500px) and (max-width: 900px) {
  html { font-size: 18px; }
}

@media screen and (min-width: 900px) {
  html { font-size: 20px; }
}

body {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--size-dog);
}

header {
  font-size: var(--size-horse);
  font-weight: bold;
  color: var(--color-brown);
  margin: 0 auto var(--size-horse);
  padding: var(--size-dog) 0;
  max-width: 800px;
  border-bottom: var(--size-bee) solid #884433;
  text-align: center;
}

h1, h2, h3 {
  color: var(--color-brown);
  margin-bottom: var(--size-bear);
}

h1 {
  font-size: var(--size-bear);
}

h2 {
  font-size: var(--size-dog);
}

a {
  color: var(--color-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  padding-left: var(--size-cat);
  margin: var(--size-cat) 0 var(--size-dog);
  list-style-type: none;
}

ul > li,
ol > li {
  padding: var(--size-mouse) 0;
  position: relative;
}

ul > li::before,
ol > li::before {
  position: absolute;
  left: 0;
  color: var(--color-brown);
}

ul > li {
  display: flex;
  align-items: center;
  padding-left: var(--size-dog);
}

ul > li:before {
  content: '\2022';
}

ol {
  counter-reset: ol;
  position: relative;
}

ol > li {
  padding-left: var(--size-horse);
  transition: color 0.1s ease-in;
}

ol > li::before {
  counter-increment: ol;
  content: counter(ol) ".";
  font-weight: bold;
  transition: color 0.1s ease-in;
}

ol > li:hover {
  cursor: pointer;
}

ol > li.completed {
  color: var(--color-gray);
}

ol > li.completed::before {
  color: var(--color-green);
}

input {
  background-color: transparent;
  font-size: inherit;
  border: 1px solid var(--color-gray);
  border-radius: var(--size-bee);
  padding: var(--size-bee);
  text-align: center;
  width: var(--size-rhino);
  margin-right: var(--size-mouse);
}