~dricottone/blog

ref: 50674273dab06256c2718c6bd5fab90d3f227b24 blog/static/css/blog.css -rw-r--r-- 932 bytes
50674273Dominic Ricottone Fixing links 1 year, 7 months 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
67
68
69
70
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;
}

/* Highlighted syntax */
div.highlight > pre > code {
  overflow-x: scroll;
  display: block;
}

/* 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;
}