Skip to content

Commit 9c4b170

Browse files
committed
base style for docs
1 parent 2c063e6 commit 9c4b170

File tree

2 files changed

+81
-1
lines changed

2 files changed

+81
-1
lines changed

docs/styles.css

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600;700&display=swap");
2+
3+
html {
4+
font-size: 87.5%;
5+
/*14px*/
6+
}
7+
8+
body {
9+
max-width: 100ch;
10+
margin: 0 auto;
11+
padding: 1em;
12+
13+
font-family: "Fira Code", monospace;
14+
font-weight: 400;
15+
line-height: 1.75;
16+
}
17+
18+
h1,
19+
h2,
20+
h3,
21+
h4,
22+
h5 {
23+
margin: 3rem 0 1.38rem;
24+
font-family: "Fira Code", monospace;
25+
font-weight: 400;
26+
line-height: 1.3;
27+
}
28+
29+
h1 {
30+
margin-top: 0;
31+
font-size: 3.052rem;
32+
}
33+
34+
h2 {
35+
font-size: 2.441rem;
36+
}
37+
38+
h3 {
39+
font-size: 1.953rem;
40+
}
41+
42+
h4 {
43+
font-size: 1.563rem;
44+
}
45+
46+
h5 {
47+
font-size: 1.25rem;
48+
}
49+
50+
small,
51+
.text_small {
52+
font-size: 0.8rem;
53+
}
54+
55+
pre,
56+
code {
57+
font-size: 1rem;
58+
}
59+
60+
code {
61+
padding: 5px;
62+
border: 1px solid slategray;
63+
}
64+
65+
pre {
66+
padding: 10px;
67+
border: 1px solid slategray;
68+
}
69+
70+
pre>code {
71+
border: 0px;
72+
}
73+
74+
a {
75+
color: inherit;
76+
}
77+
78+
a:hover {
79+
color: dodgerblue;
80+
}

scripts/generate-docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ install linux-amd64/mudkip /usr/local/bin
66

77
./scripts/get-release-urls.sh
88

9-
mudkip --baseurl='/commitlog/'
9+
mudkip --baseurl='/commitlog/' --stylesheet="./docs/styles.css"
1010

1111

0 commit comments

Comments
 (0)