Skip to content

Commit ef80faf

Browse files
committed
Adjust design
1 parent f848b6e commit ef80faf

File tree

2 files changed

+59
-29
lines changed

2 files changed

+59
-29
lines changed

docs/assets/extra.css

Lines changed: 58 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,73 @@
11
/* CSS custom properties replacing Sass variables */
22
:root {
3-
}
4-
5-
body {
63
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted",
74
"Segoe UI", "Liberation Sans", sans-serif;
85
}
96

10-
/* Change header fonts */
11-
.md-typeset h1,
12-
.md-typeset h2,
13-
.md-typeset h3,
14-
.md-typeset h4,
15-
.md-typeset h5,
16-
.md-typeset h6 {
17-
font-weight: 700;
18-
font-style: normal;
19-
letter-spacing: -0.5px;
20-
color: #222;
7+
.md-content__inner {
8+
margin: 0;
9+
padding: 0;
10+
padding-bottom: 3rem;
11+
2112
}
2213

23-
.md-typeset h1 {
24-
font-size: 160%;
25-
line-height: 130%;
14+
.md-typeset {
15+
p,
16+
ol,
17+
ul,
18+
h1,
19+
h2,
20+
h3,
21+
h4,
22+
h5,
23+
h6 {
24+
padding: 0 20px;
25+
color: black;
26+
}
27+
28+
/* Change header fonts */
29+
h1, h2, h3, h4, h5, h6 {
30+
font-weight: 700;
31+
font-style: normal;
32+
letter-spacing: -0.5px;
33+
line-height: 140%;
34+
}
35+
36+
h1 {
37+
font-size: 1.2rem;
38+
margin: 0.5em 0 1em 0;
39+
}
2640

27-
margin: 0em 0 1em 0;
28-
@media screen and (max-width: var(--on-palm)) {
29-
margin-top: 1.5em;
41+
h2 {
42+
font-size: 1rem;
43+
margin: 1.5em 0 1.3em 0;
3044
}
45+
46+
h3 {
47+
font-size: 0.9rem;
48+
margin: 2em 0 1.1em 0;
49+
}
50+
51+
p, ul, ol, pre {
52+
font-size: 17px;
53+
}
54+
55+
pre {
56+
padding-left: 20px;
57+
padding-right: 20px;
58+
line-height: 140%;
59+
}
60+
3161
}
3262

33-
.md-typeset h2 {
34-
font-size: 130%;
35-
margin: 1.5em 0 1em 0;
36-
line-height: 100%;
63+
/* Target only the page title (first H1 in the article) */
64+
.md-content__inner.md-typeset h1:first-of-type {
65+
padding-left: 20px;
3766
}
3867

39-
.md-typeset h3 {
40-
font-size: 110%;
41-
margin: 2em 0 1em 0;
42-
line-height: 100%;
68+
.md-content__inner.md-typeset blockquote {
69+
background-color: #ffd;
70+
border-left: 0;
71+
border-radius: 5px;
72+
padding: 1px 0;
4373
}

docs/extensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ as:
1414
create extension pgcrypto;
1515
```
1616

17-
> ⚠️ `create extension` is non-transactional, so don’t wrap this file in
17+
> ⚠️ `create extension` is non-transactional, so don’t wrap this in
1818
> `BEGIN/COMMIT`.
1919
2020
## 🛠️ Building an Extension from Source

0 commit comments

Comments
 (0)