bhook 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/bhook/theme/page.erb +49 -10
- data/lib/bhook/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ca377d9173c2c530530b76f74aac1b3cceeec7665577f7514e5929ce374d4ee4
|
|
4
|
+
data.tar.gz: 40cc3cdee60aea179938e6a11f0262c384866c9adff2daaacbc34b20e8a78e2f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8458e574ee89eb350d863e1373063b020414dfe94ba731a9b6b5db5f18d63184e4c2df444f734bfd7f7011bf0a307390a42d96fce50d5a34c25eacf9119e8b8a
|
|
7
|
+
data.tar.gz: d59b9f4a545a6f5ffcd84934f73670773234c890e5d2bd766bd4abc3a41083e2cd1588194a3e0f1a7e57761ed8c652f5b6d630e2ceab342dc697a2f82a51b6bb
|
data/lib/bhook/theme/page.erb
CHANGED
|
@@ -5,25 +5,59 @@
|
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
7
|
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
8
|
-
<link href='https://fonts.googleapis.com/css?family=Fira+Sans' rel='stylesheet' type='text/css'>
|
|
8
|
+
<link href='https://fonts.googleapis.com/css?family=Fira+Sans:500,400&display=swap' rel='stylesheet' type='text/css'>
|
|
9
9
|
|
|
10
10
|
<!-- Bootstrap -->
|
|
11
11
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
|
|
12
12
|
<style>
|
|
13
|
+
:root {
|
|
14
|
+
--header-margin-top: 0.5em;
|
|
15
|
+
--header-margin-bottom: 0.5em;
|
|
16
|
+
--body-font-size: 1.1rem;
|
|
17
|
+
--title-font-family: 'Fira Sans';
|
|
18
|
+
--title-font-size: 3.5rem;
|
|
19
|
+
--title-font-weight: 500;
|
|
20
|
+
--header-font-family: 'Fira Sans';
|
|
21
|
+
--header-font-weight: 500;
|
|
22
|
+
--content-font-family: 'Fira Sans';
|
|
23
|
+
--content-line-height: 1.7rem;
|
|
24
|
+
--content-font-weight: 400;
|
|
25
|
+
--paragraph-spacing: 1rem;
|
|
26
|
+
--toc-font-weight: 400;
|
|
27
|
+
}
|
|
28
|
+
|
|
13
29
|
body {
|
|
14
|
-
font-family:
|
|
30
|
+
font-family: sans-serif;
|
|
31
|
+
font-size: var(--body-font-size);
|
|
15
32
|
color: #000000;
|
|
16
33
|
}
|
|
17
34
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
35
|
+
div.content-wrapper {
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
div.content {
|
|
39
|
+
line-height: var(--content-line-height);
|
|
40
|
+
font-weight: var(--content-font-weight);
|
|
41
|
+
font-family: var(--content-font-family);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
h1 {
|
|
45
|
+
font-family: var(--title-font-family);
|
|
46
|
+
font-size: var(--title-font-size);
|
|
47
|
+
font-weight: var(--title-font-weight);
|
|
21
48
|
}
|
|
22
49
|
|
|
23
50
|
h2 {
|
|
24
51
|
border-bottom: 1px solid #eaeaea;
|
|
25
52
|
}
|
|
26
53
|
|
|
54
|
+
h2, h3, h4, h5 {
|
|
55
|
+
font-family: var(--header-font-family);
|
|
56
|
+
font-weight: var(--header-font-weight);
|
|
57
|
+
margin-bottom: var(--header-margin-top);
|
|
58
|
+
margin-top: var(--header-margin-bottom);
|
|
59
|
+
}
|
|
60
|
+
|
|
27
61
|
h2 a.header-anchor, h3 a.header-anchor,
|
|
28
62
|
h4 a.header-anchor, h5 a.header-anchor {
|
|
29
63
|
float: left;
|
|
@@ -46,6 +80,14 @@
|
|
|
46
80
|
visibility: visible;
|
|
47
81
|
}
|
|
48
82
|
|
|
83
|
+
div.content p {
|
|
84
|
+
margin-bottom: var(--paragraph-spacing);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
ol#markdown-toc {
|
|
88
|
+
font-weight: var(--toc-font-weight);
|
|
89
|
+
}
|
|
90
|
+
|
|
49
91
|
div.after-h1 {
|
|
50
92
|
border-bottom: 1px solid #bbbbbb;
|
|
51
93
|
margin-bottom: 1.5em;
|
|
@@ -58,9 +100,6 @@
|
|
|
58
100
|
display: flex;
|
|
59
101
|
}
|
|
60
102
|
|
|
61
|
-
div.content {
|
|
62
|
-
}
|
|
63
|
-
|
|
64
103
|
div.footer {
|
|
65
104
|
margin: 0.5em 0 0.5em 0;
|
|
66
105
|
}
|
|
@@ -104,8 +143,8 @@
|
|
|
104
143
|
</head>
|
|
105
144
|
<body>
|
|
106
145
|
<div class="body container">
|
|
107
|
-
<div class="content row justify-content-center">
|
|
108
|
-
<div class="col-10">
|
|
146
|
+
<div class="content-wrapper row justify-content-center">
|
|
147
|
+
<div class="content col-10">
|
|
109
148
|
<%= output %>
|
|
110
149
|
</div>
|
|
111
150
|
</div>
|
data/lib/bhook/version.rb
CHANGED