~dricottone/blog

ref: bbdf9c0bc025562e1960b0e05426fa4b24bf9ffe blog/static/css/blog.css -rw-r--r-- 2.1 KiB
bbdf9c0bDominic Ricottone Quick fixes 1 year, 3 days 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
div#blog-content {
  margin: 0;
  max-width: 800px;
  padding-left: 10px;
}

div#bsky-content {
  margin: 0;
  max-width: 800px;
  padding-left: 10px;
}

div#bsky-content ul {
  margin: 0 10px 0 30px;
}

div#bsky-content li {
  position: relative;
  margin: 0.5em 0;
  padding: 0.5em;
  border-radius: 1.25em;
  list-style: none;
  background-color: #bbffbb;
}

div#bsky-content li::before {
  position: absolute;
  width: 0;
  height: 0;
  content: '';
  bottom: -0.75em;
  left: -0.75em;
  transform: rotate(90deg);
  border-top: 1.5em solid transparent;
  border-bottom: 1.5em solid transparent;
  border-right: 1.5em solid #bbffbb;
}

div#openring-content {
  margin: 0;
  max-width: 800px;
  padding-left: 10px;
}

div#openring-content div {
  margin: 1em;
  border-radius: 1.25em;
  background-color: #bbffff;
}


div#openring-content div > p {
  margin: 0 0 1em 1em;
  line-height: 1.5em;
  color: #777;
  font-style: italic;
}

div#openring-content div > p a {
  color: #777;
}

div#openring-content ul {
  margin: 0;
  padding: 0.25em 0 0.25em 0;
  list-style: none;
}

div#openring-content li {
  margin: 0.5em;
  padding: 0.5em;
  border-radius: 1.25em;
  background-color: #fff;
}

div#lastfm-content {
  margin: 0;
  max-width: 800px;
  padding: 0 0 0 10px;
}

hr.content-width {
  max-width: 800px;
  padding-left: 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;
}