aboutsummaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
authorArun Isaac2022-02-28 18:00:36 +0530
committerArun Isaac2022-02-28 18:11:03 +0530
commit419d982bb29dd8a3904e6591796cc7ebc9190fd8 (patch)
tree80c12d52c445791bce3c9e8dfc0ef11470f5d035 /website
parentd4b1c6456fa4628aa408191eb6e8ee0d3001450d (diff)
downloadguix-forge-419d982bb29dd8a3904e6591796cc7ebc9190fd8.tar.gz
guix-forge-419d982bb29dd8a3904e6591796cc7ebc9190fd8.tar.lz
guix-forge-419d982bb29dd8a3904e6591796cc7ebc9190fd8.zip
website: Use reduced font size to indicate code and samp.
Use a slightly reduced font size instead of background color to indicate code. This is the style used by the skribilo documentation, and is much less in your face. * website/style.css (code): Unset background-color, padding-left and padding-right. (code, samp): Set font-size to 0.8em.
Diffstat (limited to 'website')
-rw-r--r--website/style.css10
1 files changed, 3 insertions, 7 deletions
diff --git a/website/style.css b/website/style.css
index 4f310ce..01c655e 100644
--- a/website/style.css
+++ b/website/style.css
@@ -6,17 +6,13 @@ body {
padding: 0 10px;
}
-pre, code {
- background-color: #f0f0f0;
-}
-
pre {
+ background-color: #f0f0f0;
padding: 1em;
}
-code {
- padding-left: 0.2em;
- padding-right: 0.2em;
+code, samp {
+ font-size: 0.8em;
}
/* Make the SVG badges clickable. */