diff --git a/css/typography.css b/css/typography.css index 1e5b2cf..15abc96 100644 --- a/css/typography.css +++ b/css/typography.css @@ -35,3 +35,38 @@ table td, .content table th {padding:2px 5px;border:1px solid #d4d4d4; vertical- table th {text-align:left; font-weight:bold;} p.intro{font-family:"CamboRegular", Georgia, "Times New Roman", Times, serif; font-size:22px; line-height:32px; margin-bottom:20px; color:#222;} + +/* WYSIWYG EDITOR ALIGNMENT CLASSES +-------------------------------------------- */ +.typography .left { + text-align: left; +} +.typography .center { + text-align: center; +} +.typography .right { + text-align: right; +} + +/* IMAGES +-------------------------------------------- */ +.typography img { + border: none; +} + .typography img.right { + float: right; + margin-left: 20px; + } + .typography img.left { + float: left; + } + .typography img.leftAlone { + float: left; + margin-right: 100%; + } + .typography img.center { + float: none; + margin-left: auto; + margin-right: auto; + display: block; + } \ No newline at end of file diff --git a/templates/Layout/Page.ss b/templates/Layout/Page.ss index 848e75b..4263761 100644 --- a/templates/Layout/Page.ss +++ b/templates/Layout/Page.ss @@ -1,4 +1,4 @@ -
+

$Title

$Content
diff --git a/templates/Layout/Page_results.ss b/templates/Layout/Page_results.ss index 8a0b176..73f0b09 100644 --- a/templates/Layout/Page_results.ss +++ b/templates/Layout/Page_results.ss @@ -1,4 +1,4 @@ -
+

$Title

<% if Query %>