mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-07 12:06:26 +00:00
Adding class for centering in markdown
With this you can easily center text by use of markdown's *IALs* (Block Inline Attribute Lists). **Example:** {:.center} Your text **Will result in:** <p class="center">Your text</p> So CSS will "text-align:center".
This commit is contained in:
parent
4bf60f5930
commit
56ec68577d
1 changed files with 4 additions and 1 deletions
|
@ -263,6 +263,9 @@ pre {
|
|||
.no-scroll {
|
||||
overflow: hidden;
|
||||
}
|
||||
.center{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
// Global Transition
|
||||
|
@ -270,4 +273,4 @@ pre {
|
|||
|
||||
b, i, strong, em, blockquote, p, q, span, figure, img, h1, h2, header, input, a, .highlight {
|
||||
@include transition(all .2s ease);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue