summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-07-16 12:46:46 +0200
committerJonas Smedegaard <dr@jones.dk>2017-07-16 12:46:46 +0200
commit56f195e350bc2c812b6aa360b698059673ea9b5d (patch)
treef900ab16c4be9c0af4ff71aa670783dfe4212960
parent7243089f3fe33cd6ff4f656729087209e7749043 (diff)
Improve styling of wine menu items (defitions within ordered lists).
-rw-r--r--style.scss10
1 files changed, 9 insertions, 1 deletions
diff --git a/style.scss b/style.scss
index 361f87f..ff53606 100644
--- a/style.scss
+++ b/style.scss
@@ -115,9 +115,11 @@ a {
@include hover-link;
}
-// Ordered lists
+// Wine menu items (definition lists within ordered lists)
//
// Single count across main content
+// Strongly typed titles (definition title)
+// Right end reserved for prices (definition data)
#content {
counter-reset: unified;
ol li {
@@ -128,6 +130,12 @@ a {
counter-increment: unified;
content: counters(unified, ".") " ";
}
+ dt {
+ font-weight: bold;
+ }
+ p {
+ margin-right: 5em;
+ }
}
}