summaryrefslogtreecommitdiff
path: root/assets/css/style.scss
blob: bf7942c81575924ecc17301efdf27ae62c97ceca (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
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
---
---

@import "{{ site.theme }}";

@font-face {
  font-family: Comic Mono;
  font-weight: normal;
  src: url(../../ComicMono.ttf);
}

@font-face {
  font-family: Comic Mono;
  font-weight: bold;
  src: url(../../ComicMono-Bold.ttf);
}

// Colors are based on One Dark color scheme.

html, body, .markdown-body.comic-mono {
  background-color: #252423;
  color: #bbbbbb;
}

.markdown-body.comic-mono {
  color: #bbbbbb;
  border-radius: 3px;
  font-family: Comic Mono, Cousine, monospace;
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
  overflow: auto;
  padding: 16px;
  max-width: 700px;
  @media (min-width: 960px) {
    max-width: 875px;
    font-size: 20px;
  }
  h1, h2, h3, p, li, pre {
    margin: 1.5em 0;
    padding: 0;
    font-size: 100%;
    line-height: 1.5em;
    border: none;
  }
  ul, ol {
    margin: 0;
    padding: 0;
    list-style-position: inside;
  }
  ul {
    list-style: none;
  }
  ul > li::before {
    content: '* ';
  }
  h1, h2 {
    color: #e06c75;
  }
  h1::before {
    content: '# ';
  }
  h2::before {
    content: '## ';
  }
  a {
    color: #61afef;
  }
  a::before {
    content: '[';
    color: #5c6370;
  }
  a::after {
    content: ']';
    color: #5c6370;
  }
  code, pre {
    font: inherit;
    padding: 0;
    background: none;
  }
  .highlight {
    background: none;
  }
  pre {
    &::before, &::after {
      content: '```';
      display: block;
      color: #5c6370;
    }
  }
  :not(pre) > code {
    &::before, &::after {
      content: '`';
    }
  }
  .highlight {
    .nn, .o {
      color: inherit;
    }
    .c {
      color: #5c6370;
    }
    .s {
      color: #98c379;
    }
    .kn, .k, .ow {
      color: #c678dd;
    }
    .mi, .mf, .na {
      color: #d19a66;
    }
    .nb {
      color: #56b6c2;
    }
    .nf {
      color: #61afef;
    }
    .nt {
      color: #e06c75;
    }
  }
}

.website-hidden {
  display: none;
}
Software created with 💖