~dricottone/blog

ref: 8ac1c011cfcf9d5b73b50a5bef22e03e18466e05 blog/static/css/blog.css -rw-r--r-- 835 bytes
8ac1c011Dominic Ricottone New post 2 years ago
                                                                                
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
div#blog-content {
  margin: 0;
  max-width: 800px;
  padding: 0 0 0 10px;
}

ul#blog-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

ul#blog-list li {
  margin: 0;
  padding: 0;
}

article p {
  text-indent: 2em;
}

article p.noindent {
  text-indent: 0;
}

/* Table of Contents */
div#toc {
  left: calc(900px + 2em);
  margin: 5em 0 0 1em;
  padding: 1em;
  position: fixed;
  top: 0;
  width: 300px;
}
@media (max-width: 1200px) {
  div#toc {
    float: right;
    margin: 0 0 0 2em;
    padding: 0;
    position: static;
  }
}
@media (max-width: 800px) {
  div#toc {
    display: none;
    margin: 0;
    padding: 0;
    position: static;
  }
}
div#toc h2 {
  margin: 0;
}
div#toc ul {
  list-style: none;
  margin: 0 0 0 2em;
}
div#toc li {
  margin: 0.5em 0 0 0;
}
div#toc a, div#toc a:visited {
  color: #000;
}