« get me outta code hell

style.css - scratchrlol - Simple HTML-based Scratch client
summary refs log tree commit diff
path: root/style.css
blob: 953c17e5a9b8654843178ce2cee5ed731196bdab (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
/* Adapted/stolen from https://rosenzweig.io/style.css :) */

body {
  font-family: "Cantarell", sans-serif;
  max-width: 40em;
  margin-left: auto;
  margin-right: auto;
  padding: 0em 1em 1em 1em;
  line-height: 1.5;
}

li {
  padding-top: 0.3em;
  padding-bottom: 0.3em;
}

header, h1 {
  text-align: center;
}

h2 + ul {
  /* Evil hack - this makes the list appear slightly closer to the heading. */
  margin-top: -0.75em;
}

a {
  text-decoration: none;
}

.thumb-list {
  padding-left: 0;
}

.thumb-list li {
  display: flex;
  flex-direction: row;
  align-items: center;
  border-bottom: 1px solid #888;
  margin-top: 0;
  margin-bottom: 0;
  padding: 4px;
}

.thumb-list li:first-child {
  border-top: 1px solid #888;
}

.thumb-list li img {
  margin-right: 10px;
}