Skip to content

Commit 710d0ba

Browse files
committed
Tweak index page to be more like docs
1 parent 1078893 commit 710d0ba

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

site/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h1 class="title">
3535
<section class="section">
3636
<div class="container is-max-tablet">
3737
<p class="is-size-4">
38-
Define the structure of your application as <strong>pure data</strong>.
38+
Define the structure of your application as <strong>pure data</strong>
3939
</p>
4040
<p>
4141
Instead of a prescribed file tree, Duct uses a Clojure data structure
@@ -87,7 +87,7 @@ <h5>After expansion</h5>
8787
<section class="section">
8888
<div class="container is-max-tablet">
8989
<p class="is-size-4">
90-
Write the rest of your code in idiomatic <strong>Clojure</strong>.
90+
Write the rest of your code in idiomatic <strong>Clojure</strong>
9191
</p>
9292
<p>
9393
The top-level keywords in <code>duct.edn</code> are linked to normal
@@ -105,7 +105,7 @@ <h5>After expansion</h5>
105105
<section class="section">
106106
<div class="container is-max-tablet">
107107
<p class="is-size-4">
108-
Get a Duct project started in only <strong>a few commands</strong>.
108+
Get a Duct project started in only <strong>a few commands</strong>
109109
</p>
110110
<p>
111111
Duct makes it easy to get going. All you need is the

site/style.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ p a:hover {
3939
margin-top: 3rem;
4040
padding-top: 1.5em;
4141
padding-bottom: 5rem;
42+
font-size: 90%;
4243
}
4344

4445
.nav-buttons {
@@ -59,13 +60,13 @@ p a:hover {
5960
}
6061

6162
section.section {
62-
padding-top: 2.5rem;
63+
padding-top: 2.0rem;
6364
padding-bottom: 1rem;
6465
}
6566

6667
p {
6768
font-family: "Open Sans", sans-serif;
68-
padding: 0.1rem 0;
69+
padding: 0.5rem 0;
6970
}
7071

7172
p strong {
@@ -74,6 +75,7 @@ p strong {
7475

7576
code {
7677
font-family: JetBrains Mono, monospace;
78+
color: white;
7779
}
7880

7981
pre.highlight {
@@ -85,8 +87,8 @@ pre.highlight {
8587

8688
pre.highlight code {
8789
font-size: 1rem;
88-
border: 1px solid #666;
89-
border-radius: 10px;
90+
border: 1px solid #555;
91+
border-radius: 5px;
9092
background: #292929;
9193
padding: 15px;
9294
}

0 commit comments

Comments
 (0)