Skip to content

Commit 74f89d0

Browse files
committed
Fix styling for copy
1 parent 2190ad5 commit 74f89d0

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

content/_index.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,27 +39,27 @@ layout: hextra-home
3939
<div style="font-weight: bold; margin-bottom: 20px; text-align: center;font-size: 32px; color: mintcream;">Three Steps to Declarative GitOps</div>
4040

4141
<div style="position: relative;">
42-
<div style="font-weight: bold; margin-bottom: 5px; color: lightgray;">Install Clace:</div>
43-
<div style="padding: 20px; overflow-x: auto; font-family: 'Fira Code', 'JetBrains Mono', 'SFMono-Regular', Courier, monospace;" id="code1">
42+
<div style="font-weight: bold; margin-bottom: 10px; color: lightgray;">Install Clace:</div>
43+
<div style="padding-inline: 20px; padding-top: 5px; padding-bottom: 20px; overflow-x: auto; font-family: 'Fira Code', 'JetBrains Mono', 'SFMono-Regular', Courier, monospace;" id="code1">
4444
curl -sSL https://clace.io/install.sh | sh
4545
</div>
46-
<button style="position: absolute; top: 0; right: 0; padding: 5px 10px; font-size: 12px; cursor: pointer;" onclick="copyCode('code1', this)">Copy</button>
46+
<button style="position: absolute; top: 5px; right: 5px; padding: 10px 10px 1px 10px; font-size: 12px; cursor: pointer;" onclick="copyCode('code1', this)"></button>
4747
</div>
4848

4949
<div style="position: relative;">
50-
<div style="font-weight: bold; margin-bottom: 5px; color: lightgray;">Start Clace server, in a new window:</div>
51-
<div style="padding: 20px; overflow-x: auto; font-family: 'Fira Code', 'JetBrains Mono', 'SFMono-Regular', Courier, monospace;" id="code2">
50+
<div style="font-weight: bold; margin-bottom: 10px; color: lightgray;">Start Clace server (in a new window):</div>
51+
<div style="padding-inline: 20px; padding-top: 5px; padding-bottom: 20px; overflow-x: auto; font-family: 'Fira Code', 'JetBrains Mono', 'SFMono-Regular', Courier, monospace;" id="code2">
5252
clace server start &
5353
</div>
54-
<button style="position: absolute; top: 0; right: 0; padding: 5px 10px; font-size: 12px; cursor: pointer;" onclick="copyCode('code2', this)">Copy</button>
54+
<button style="position: absolute; top: 5px; right: 5px; padding: 10px 10px 1px 10px; font-size: 12px; cursor: pointer;" onclick="copyCode('code2', this)"></button>
5555
</div>
5656

5757
<div style="position: relative;">
58-
<div style="font-weight: bold; margin-bottom: 5px; color: lightgray;">Schedule a sync:</div>
59-
<div style="padding: 20px; font-family: 'Fira Code', 'JetBrains Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;" title="This creates a schedule sync which runs every 15 minutes. The sync loads the config for the apps from Git, creates new apps and checks whether there are any config or code change for any of the existing apps and applies the changes." id="code3">
58+
<div style="font-weight: bold; margin-bottom: 10px; color: lightgray;">Schedule a sync:</div>
59+
<div style="padding-inline: 20px; padding-top: 5px; padding-bottom: 20px; font-family: 'Fira Code', 'JetBrains Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;" title="This creates a schedule sync which runs every 15 minutes. The sync loads the config for the apps from Git, creates new apps and checks whether there are any config or code change for any of the existing apps and applies the changes." id="code3">
6060
clace sync schedule --approve github.com/claceio/clace/examples/utils.star
6161
</div>
62-
<button style="position: absolute; top: 0; right: 0; padding: 5px 10px; font-size: 12px; cursor: pointer;" onclick="copyCode('code3', this)">Copy</button>
62+
<button style="position: absolute; top: 5px; right: 5px; padding: 10px 10px 1px 10px; font-size: 12px; cursor: pointer;" onclick="copyCode('code3', this)"></button>
6363
</div>
6464

6565
<div style="margin-top: 5px; margin-bottom: 5px; text-align: center;font-size: 16px; color: lightgray;">Starts a background sync which automatically creates new apps and updates existing apps, reading latest app config and code from Git.</div>

content/blog/intro.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ Clace is in a beta state currently. Custom application support is functional. Su
4747
```shell
4848
curl -sSL https://clace.io/install.sh | sh
4949
```
50+
5051
Start a new terminal (to get the updated env) and run `clace server start` to start the Clace service.
5152

5253
To install apps declaratively, run
@@ -55,7 +56,7 @@ To install apps declaratively, run
5556
clace apply --approve github.com/claceio/clace/examples/utils.star all
5657
```
5758

58-
Open https://localhost:25223 to see app listing. `admin` is the username, use the password printed by the install script. See [installation]({{< ref "installation" >}}) for details.
59+
Open https://localhost:25223 to see app listing. See [installation]({{< ref "installation" >}}) for details.
5960

6061
## Follow Along
6162

0 commit comments

Comments
 (0)