aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README5
-rw-r--r--acarp.css18
2 files changed, 1 insertions, 22 deletions
diff --git a/README b/README
index c001d51..d1dafd1 100644
--- a/README
+++ b/README
@@ -125,10 +125,7 @@ def hello(name):
### Horizontal Offset
```html
-<span class="hspace-large">indented text</span> <!-- inline: shifts this fragment right on the line -->
-<div class="hspace-large">indented block</div> <!-- block: indents the whole line/block -->
-<span style="padding-left: 8em">custom</span> <!-- custom offset: needs HTML mode (inline styles are stripped by Marp's sanitizer otherwise) -->
-<!-- classes: tiny 0.5em, small 1em, medium 2em, large 3em, xlarge 4em, xxlarge 5em, hspace-6..10 (em). Replaces fragile &nbsp; runs. -->
+<span style="padding-left: 3em">indented text</span> <!-- requires HTML mode (marp --html / "html": true); inline styles are stripped by Marp's sanitizer otherwise -->
```
## Themes
diff --git a/acarp.css b/acarp.css
index c3dcdb5..2a14e4a 100644
--- a/acarp.css
+++ b/acarp.css
@@ -329,24 +329,6 @@ section .math {
.vspace-9 { margin-top: 9em !important; }
.vspace-10 { margin-top: 10em !important; }
-/* Horizontal offset utilities - add left padding.
- Works on inline spans (offset within a line) and block wrappers
- (indents the whole block). Cleaner than runs of &nbsp;.
- Note: inline style="" attrs are stripped by Marp's sanitizer unless
- HTML mode is enabled, so prefer these classes over inline padding-left.
- For custom offsets without HTML mode there is no inline fallback. */
-.hspace-tiny { padding-left: 0.5em !important; }
-.hspace-small { padding-left: 1em !important; }
-.hspace-medium { padding-left: 2em !important; }
-.hspace-large { padding-left: 3em !important; }
-.hspace-xlarge { padding-left: 4em !important; }
-.hspace-xxlarge { padding-left: 5em !important; }
-.hspace-6 { padding-left: 6em !important; }
-.hspace-7 { padding-left: 7em !important; }
-.hspace-8 { padding-left: 8em !important; }
-.hspace-9 { padding-left: 9em !important; }
-.hspace-10 { padding-left: 10em !important; }
-
/* General spacing utilities */
.push-down { margin-bottom: 1.5em !important; }