Ihor Radchenko <[email protected]> writes: > Adam Porter <[email protected]> writes: > >>> I am not sure if centered text should stand out. >>> AFAIU, you want to add this style for the sole purpose of highlighting >> >> What is the purpose of centering text if not to make it stand out? > > To align text. I am not sure why anything more is necessary - it > is certainly counter-intuitive for me that "center" means something more > than just alignment. > > If you need extra highlighting, we may introduce a dedicated style and > apply it via special block.
I defined a "kasten" block for my own page, maybe you can re-use that:
# ELISP
(add-to-list 'org-structure-template-alist '("k"
"#+begin_kasten\n?\n#+end_kasten" "<div class=\"kasten\">?</div>"))
# ORG-MODE
# kasten-Environment for full-width boxed text.
#+latex_header: \definecolor{cream}{rgb}{1.0, 0.99, 0.82}
#+latex_header: \provideenvironment{kasten}% level0
#+latex_header: {\begin{tcolorbox}[colback=cream, sharp corners]%
#+latex_header: \medskip%
#+latex_header: }
#+latex_header: {\medskip\end{tcolorbox}%
#+latex_header: }
# CSS:
/* full-width boxed text */
.kasten {
color: #111;
text-align: justify;
clear: both;
border-top: 1px solid gray !important;
border-right: 0px none gray !important;
border-left: 0px none gray !important;
border-bottom: 1px solid gray !important;
background-color: #f6efca;
border-top: thin solid gray;
border-bottom: thin solid gray;
float: left;
width: 100%;
z-index: 1;
margin-top:20px;
margin-bottom:20px;
}
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
signature.asc
Description: PGP signature
