aboutsummaryrefslogtreecommitdiffstats
path: root/assets/stylesheets
diff options
context:
space:
mode:
authorTeddy Wing2018-11-22 22:16:28 +0100
committerTeddy Wing2018-11-22 22:16:28 +0100
commit631f30402b20d2ac2d640406fb0ec2df7f1d9831 (patch)
treec194b5ef2b5f8738995f49961266ef5a5d1f483c /assets/stylesheets
parentbb212f3423765d61aa155bcdc3f2928125eaca7d (diff)
downloaddome-key-web-631f30402b20d2ac2d640406fb0ec2df7f1d9831.tar.bz2
Prevent selection of '$' in shell commands
Now that it takes two commands to install the program, make it easier for visitors to copy-paste the commands into their shell by preventing selection of the '$' prompt character. This allows us to keep the prompt to indicate that these are shell commands and still make copy-pasting easier. As a side note, decided not to add the `brew services` command to the instructions on the thank-you page because if DomeKey is already running when you license it, you need to restart it for the license to take effect.
Diffstat (limited to 'assets/stylesheets')
-rw-r--r--assets/stylesheets/color.hcss4
-rw-r--r--assets/stylesheets/typography.css5
2 files changed, 5 insertions, 4 deletions
diff --git a/assets/stylesheets/color.hcss b/assets/stylesheets/color.hcss
index aa06e76..f8722c9 100644
--- a/assets/stylesheets/color.hcss
+++ b/assets/stylesheets/color.hcss
@@ -13,7 +13,3 @@ set(MURKY_POND, #91947f)
.color-maroon {
color: MAROON;
}
-
-.color-murky-pond {
- color: MURKY_POND;
-}
diff --git a/assets/stylesheets/typography.css b/assets/stylesheets/typography.css
index a43d8e8..ad0415d 100644
--- a/assets/stylesheets/typography.css
+++ b/assets/stylesheets/typography.css
@@ -16,6 +16,11 @@ h2 {
line-height: 1.6em;
}
+.shell-command:before {
+ content: '$ ';
+ color: MURKY_POND;
+}
+
.font-size-0\.8 {
font-size: 0.8em;
}