From f2b72cc1b828bd869b7690aed768fb456dd596b3 Mon Sep 17 00:00:00 2001 From: partisan Date: Sun, 25 Aug 2024 00:08:22 +0200 Subject: [PATCH] formatting fro blog site --- static/css/blog.css | 13 +++++++++++++ static/css/main.css | 5 +---- templates/news.html | 11 ++++------- 3 files changed, 18 insertions(+), 11 deletions(-) create mode 100644 static/css/blog.css diff --git a/static/css/blog.css b/static/css/blog.css new file mode 100644 index 0000000..7a44d20 --- /dev/null +++ b/static/css/blog.css @@ -0,0 +1,13 @@ +img { + display: block; + width: 100%; +} + +.align-blog p, a, em { + text-align: left; + font-size: 1em; + line-height: 1.6; +} + +/* .align-blog h1, h2, h3, h4, h5 { +} */ diff --git a/static/css/main.css b/static/css/main.css index c732e04..d0d5840 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -180,9 +180,7 @@ input, select, textarea { font-style: italic; } - p { - margin: 0 0 2em 0; - } + p.content { -moz-columns: 20em 2; @@ -2671,7 +2669,6 @@ input, select, textarea { } header.major p { - font-size: 1.25em; letter-spacing: -0.025em; } diff --git a/templates/news.html b/templates/news.html index 1a6d99c..0984ac2 100644 --- a/templates/news.html +++ b/templates/news.html @@ -20,6 +20,7 @@ + @@ -44,20 +45,16 @@ -

Spitfire Browser

-

News

+

Spitfire Browser News

-
+
-

{{.Title}}

-

{{.Author}}

-

{{.Date}}

-

{{.Content}}

+

{{.Content}}