-
Notifications
You must be signed in to change notification settings - Fork 189
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
Create a role for a two column layout #326
Comments
Follow-up: #301 (comment)
Sorry I misspoke, it's definitely possible to create a two columns layout without wrapping the content in a I'm using a similar technique to create the following slide: [.half.left.green]
== !
[.is-half.left.has-dark-background]
--
Some authors
[circle]
- Edgar Allen Poe
- Sheri S. Tepper
- Bill Bryson
--
[.is-half.right]
--
A normal paragraph.
Line breaks are not preserved.
// line comments, which are lines that start with //, are skipped
A blank line separates paragraphs.
-- However, the first example relies on a wrapping .two-col > .slide-content {
display: flex;
flex-direction: row;
}
.two-col > .slide-content > *:first-child {
margin-right: 10px;
flex: 50%;
}
.two-col > .slide-content > *:last-child {
margin-left: 10px;
flex: 50%;
} So it's somehow related as it would allow to use a grid or a flex display on the wrapping In the above screenshot, it's still doable without a wrapping |
@obilodeau Are you working on it? I don't want to tread on your toes 😉 |
Ok I will give it a try then 👨💻 |
One of the common patterns in a presentation is to split things in two and have bullets on one side and {code, image, graph} on the other side.
I would like to provide CSS tied to a role to achieve that easily.
See what others have done:
Asciidoctor PDF.js
CSS source
A user presentation
Markup (source):
CSS (source):
The text was updated successfully, but these errors were encountered: