mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-22 01:57:08 +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
48702a0fa6
commit
af6db4c49d
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