Skip to content

Commit aece112

Browse files
authored
Merge pull request #28 from ndw/styling
Add some styling links
2 parents d6720df + dc048c9 commit aece112

4 files changed

Lines changed: 1684 additions & 0 deletions

File tree

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ task configureEnvironment() {
144144
}
145145

146146
task copyResources(type: Copy) {
147+
inputs.files(everythingElse)
148+
147149
from "src/"
148150
into "${buildDir}/docs/"
149151
include everythingElse

src/css/atom.css

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
body {
2+
max-width: clamp(320px, 90%, 1000px);
3+
margin: auto;
4+
font-size: 1.25rem;
5+
line-height: 1.5;
6+
}
7+
8+
h1, h2, h3, h4, h5, h6 {
9+
font-family: sans-serif;
10+
text-wrap: balance;
11+
}
12+
13+
h1 {
14+
padding-bottom: 0;
15+
margin-bottom: 0;
16+
}
17+
18+
h2.subtitle {
19+
padding-top: 0;
20+
margin-top: 0;
21+
}
22+
23+
code {
24+
font-size: 85%;
25+
}
26+
27+
details summary {
28+
font-size: 140%;
29+
padding-bottom: 0.5em;
30+
}
31+
32+
details .body {
33+
border: 1px solid #7a7a7a;
34+
padding-left: 1em;
35+
padding-right: 1em;
36+
border-radius: 0.5em;
37+
margin-bottom: 1em;
38+
}

0 commit comments

Comments
 (0)