diff options
Diffstat (limited to 'assets/css/components/_page.scss')
| -rw-r--r-- | assets/css/components/_page.scss | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/assets/css/components/_page.scss b/assets/css/components/_page.scss index 21969d7..c9a4650 100644 --- a/assets/css/components/_page.scss +++ b/assets/css/components/_page.scss | |||
| @@ -7,6 +7,11 @@ | |||
| 7 | } | 7 | } |
| 8 | } | 8 | } |
| 9 | 9 | ||
| 10 | &__code { | ||
| 11 | padding-left: calc(#{$subcontent--indent} - 2px); | ||
| 12 | border-left: 2px solid var(--obj); | ||
| 13 | } | ||
| 14 | |||
| 10 | &__prefixed { | 15 | &__prefixed { |
| 11 | position: relative; | 16 | position: relative; |
| 12 | margin-left: -1 * $page--item-prefix--width; | 17 | margin-left: -1 * $page--item-prefix--width; |
| @@ -44,9 +49,9 @@ | |||
| 44 | &--pre { | 49 | &--pre { |
| 45 | $scale-factor: $font-size / $code-block--font-size; | 50 | $scale-factor: $font-size / $code-block--font-size; |
| 46 | 51 | ||
| 47 | margin-top: $line-height * 1em; | ||
| 48 | // margin-left: calc(#{-1 * $page--item-prefix--width} * #{$scale-factor}); | 52 | // margin-left: calc(#{-1 * $page--item-prefix--width} * #{$scale-factor}); |
| 49 | // padding-left: calc(#{$page--item-prefix--width} * #{$scale-factor}); | 53 | // padding-left: calc(#{$page--item-prefix--width} * #{$scale-factor}); |
| 54 | border-left: 0; | ||
| 50 | 55 | ||
| 51 | &::before { | 56 | &::before { |
| 52 | content: str-repeat('``\A', 40); | 57 | content: str-repeat('``\A', 40); |
