~dricottone/blog

ref: 42bd5833d59637cf3feef39464ec6687567ae94f blog/static/css/blog.css -rw-r--r-- 902 bytes
42bd5833Dominic Ricottone Updating link 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
65
66
div#blog-content {
  margin: 0;
  max-width: 800px;
  padding: 0 0 0 10px;
}

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

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

div.blog-post p {
  padding: 0 0 0 2em;
  text-indent: 2em;
}

div.blog-post p.read-more {
  font-style: italic;
  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;
}