Last active
September 16, 2020 17:38
-
-
Save ciceronianus/8a80a56a52adc75db4b06015f7cb1275 to your computer and use it in GitHub Desktop.
Roam - text align center as blockquote
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Author: @CatoMinor3 | |
Version: 1 | |
Date: June 16th, 2020 | |
Paypal support: https://www.paypal.me/catominor3 | |
How to use: Simply select text align center from the context menu. | |
*/ | |
.text-align-center { | |
background-color:#F5F8FA;; | |
padding-left: 10%; | |
padding-right: 10%; | |
border-left-width: 5px; | |
border-left-style: solid; | |
border-left-color: #797993; | |
} | |
[style*="text-align: center;"] { | |
background-color:#F5F8FA;; | |
padding-left: 10%; | |
padding-right: 10%; | |
border-left-width: 5px; | |
border-left-style: solid; | |
border-left-color: #797993; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's a very cool styling, I really like it!
Is it possible to display the text in the blockquote still with left justification so that the center align button essentially doesn't move the text and only applies blockquote styling?