Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dldx/hpstr-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '_sass/_typography.scss')
-rw-r--r--_sass/_typography.scss25
1 files changed, 12 insertions, 13 deletions
diff --git a/_sass/_typography.scss b/_sass/_typography.scss
index e87443e..e1b91e7 100644
--- a/_sass/_typography.scss
+++ b/_sass/_typography.scss
@@ -108,19 +108,18 @@ tt, code, kbd, samp, pre {
font-family: $code-font;
}
-p,
-li {
-
- code {
- @include font-rem(12);
- line-height: 1.5;
- white-space: nowrap;
- margin: 0 2px;
- padding: 0 5px;
- border: 1px solid lighten(#000, 90);
- background-color: lighten(#000, 95);
- border-radius: 3px;
- }
+p > code,
+a > code,
+li > code,
+figcaption > code,
+td > code {
+ margin: 0 2px;
+ padding: 0 5px;
+ @include font-rem(12);
+ line-height: 1.5;
+ border: 1px solid lighten(#000, 90);
+ background-color: lighten(#000, 95);
+ border-radius: 3px;
}
pre {