summaryrefslogtreecommitdiffstatshomepage
path: root/static/css/guestbook.css
blob: 39da00bd139fc3d3814352fb0c870b2b8d5fd727 (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
form {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  margin: 1.5em auto;
}

input::placeholder, textarea::placeholder { color: var(--fg-1); }

input, textarea {
  background-color: var(--bg-0);
  color: var(--fg-0);
  border: 1px solid var(--color-0);
  padding: 0.6em 0.6em;
  font-size: 1rem;
  width: 100%;
}

textarea {
  resize: none;
}

input[type=submit] {
  width: 12em;
  font-size: 0.8em;
  padding: 1em;
  cursor: pointer;
}

input:hover, textarea:hover {border: 1px solid var(--color-1);}

.form-entry {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.form-entry:has(input[type=submit]) {
  flex-direction: row;
  justify-content: flex-end;
}

.guestbook-entry {
  background-color: var(--bg-1);
  border-radius: 1em;
  padding: 0.1em 0.8em;
  margin: 2em auto;
}

.guestbook-entry-name {
  font-size: 1.4em;
  color: var(--color-1);
}

.guestbook-entry time {
  font-size: 0.9em;
}