summaryrefslogtreecommitdiff
path: root/style.css
blob: 0001a3ac674776adbc4ef3ac7307e48a0cb1038b (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
@font-face {
    font-family: 'text';
    src: url("./text.ttf") format("truetype");
}

@font-face {
    font-family: 'code';
    src: url("./code.ttf") format("truetype");
}

@font-face {
    font-family: 'handnotes';
    src: url("./handnotes.ttf") format("truetype");
}

@font-face {
    font-family: 'typewriter';
    src: url("./typewriter.ttf") format("truetype");
}

body {
  font-family: text;
  max-width: 1024px;
  padding: 20px 20px;
  margin: 20px auto;
  border-image: linear-gradient(#f6b73c, #4d9f0c) 30;
  border-width: 1px;
  border-style: solid;
}

h1, h2, h3 {
   background: -webkit-linear-gradient(#f6b73c, #4d9f0c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a.textlink:before {
  content: "⇒ ";
  padding-left: 11px;
}

.quote {
  font-style: italic;
}

.quote:before {
  content: "« ";
  padding-left: 2px;
}

.quote:after {
  content: " »";
  padding-right: 2px;
}

ul {
  list-style: none;
  padding-right: 23px;
  padding-left: 10px;
  margin: 0.75em 0 0.75em 0;
}

li {
  color: purple;
  margin-left: 1em;
  margin-bottom: 0.25em;
}

li:before {
  content: "★";
  padding-right: 5px;
}

img {
  max-width: 90%;
  display: block;
  margin: auto;
  border: 1px solid #333333;
}

pre {
  font-family: code;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  margin-left: 23px; 
  margin-right: 23px; 
  padding: 23px; 
  border-image: linear-gradient(#f6b73c, #4d9f0c) 30;
  border-width: 3px;
  border-style: solid;
  color: grey;
}

span.inlinecode {
  font-family: code;
  border: 1px solid #000000;
  padding: 1px;
  color: grey;
}