]> danix's work - theme-danix.xyz.git/commitdiff
Added dropcap shortcode and fixed display of code blocks
authordanix <redacted>
Sun, 19 Feb 2023 08:38:36 +0000 (09:38 +0100)
committerdanix <redacted>
Sun, 19 Feb 2023 08:38:36 +0000 (09:38 +0100)
modified:   assets/sass/base/_typography.scss
layouts/shortcodes/dropcap.html

assets/sass/base/_typography.scss

index b615f44f9f7fcc64e41f73054bff510c3fbd6401..94ca4108736d2f82306cda41abcc2ed82e2d7424 100644 (file)
        .hidden {\r
                @include hide-visually;\r
        }\r
+\r
+       // large code blocks are wrapped in the highlight shortcode\r
+       .highlight {\r
+               max-width: 100%;\r
+               overflow-x: auto;\r
+       }
\ No newline at end of file