Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background color for <code> elements #7

Closed
VSharapov opened this issue Dec 11, 2020 · 1 comment
Closed

Background color for <code> elements #7

VSharapov opened this issue Dec 11, 2020 · 1 comment

Comments

@VSharapov
Copy link
Owner

element {
    background-color: #7777;
    padding: 2px;
}

This ↑ looks good for small spans, but has clunky overlap when they're near. Adding the same to <pre> doesn't help. Gotta think of something elegant.

@VSharapov
Copy link
Owner Author

VSharapov commented Dec 13, 2020

This makes the first line in a code block over-indent a bit
e.g. line 1 will be a bit to the right of line 2:

```
line1
line2
```

@VSharapov VSharapov reopened this Dec 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant