From 772c62777422069420bbe90f5b1340e9387fead3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Thu, 18 Apr 2013 15:58:39 +0200 Subject: [PATCH 1/1] Visual editor: styling content elements --- editor.css | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/editor.css b/editor.css index dbec913..588c0b9 100644 --- a/editor.css +++ b/editor.css @@ -161,7 +161,7 @@ body { } [wlxml-tag=header] { - font-size: 14px; + font-size: 13px; font-weight: bold; margin-bottom: 10px; } @@ -171,6 +171,39 @@ body { margin-bottom: 10px; } +[wlxml-class|="cite"] { + font-style: italic; +} + +[wlxml-class|="cite-code"] { + font-family: monospace; +} + +[wlxml-class|="cite-code-xml"] { + color: blue; +} + +[wlxml-tag=header] > [wlxml-class=author] { + font-size: 14px; +} + +[wlxml-tag=header] > [wlxml-class=title] { + font-size:18px; +} + +[wlxml-class|="uri"] { + color: blue; + text-decoration: underline; +} + +[wlxml-class|="p"] { + text-indent: 1.5em; +} + +[wlxml-class|="emph-tech"] { + font-style: italic; +} + .rng-hover { border-color: red; border-style:solid; -- 2.20.1