From 0f9a7136ff2e83c391091f23231fe42b0ca31576 Mon Sep 17 00:00:00 2001 From: Disco-STU Date: Wed, 20 May 2009 17:13:30 +0200 Subject: Added a Subtitle an created the style: ... I have added a subtitle to the configuration file an edit the blogthon.cgi that the subtitle is readed out the config. Also I have edit the blogthon.css: the header are no longer a "table". --- blogthon.cgi | 5 +++++ configuration | 1 + styles/.blogthon.css.swp | Bin 0 -> 20480 bytes styles/blogthon.css | 24 ++++++++++++++++-------- 4 files changed, 22 insertions(+), 8 deletions(-) create mode 100644 styles/.blogthon.css.swp diff --git a/blogthon.cgi b/blogthon.cgi index c9341a6..cac3b92 100755 --- a/blogthon.cgi +++ b/blogthon.cgi @@ -58,6 +58,8 @@ configuration.read('configuration') try: blog_title = configuration.get('personal', 'blog_title') except: errorpage("blog_title") +try: blog_subtitle = configuration.get('personal', 'blog_subtitle') +except: errorpage("blog_subtitle") try: blog_url = configuration.get('personal', 'blog_url') except: errorpage("blog_url") try: keywords = configuration.get('personal', 'keywords') @@ -206,6 +208,9 @@ else: print '
' print ' ' + blog_title + '' print '
' + print '
' + print ' ' + blog_subtitle + '' + print '
' print ' ' print '' # RSS feed diff --git a/configuration b/configuration index edd236c..eeae66d 100644 --- a/configuration +++ b/configuration @@ -1,5 +1,6 @@ [personal] blog_title: A BlogThon Blog +blog_subtitle: Subtitle blog_url: http://www.thehappy.de/ keywords: please,change,me entries_dir: entries/ diff --git a/styles/.blogthon.css.swp b/styles/.blogthon.css.swp new file mode 100644 index 0000000..40db6eb Binary files /dev/null and b/styles/.blogthon.css.swp differ diff --git a/styles/blogthon.css b/styles/blogthon.css index b4f4365..049e5ba 100644 --- a/styles/blogthon.css +++ b/styles/blogthon.css @@ -17,13 +17,14 @@ a { color: #AA4444; } +/* --- header --- */ + div.header { height: 120px; width: 99%; margin: auto; margin-top: 5px; text-align: center; - display: table; border: 3px double #000000; background-image: url("blogthon_img/header_background.jpg"); background-repeat: no-repeat; @@ -32,13 +33,7 @@ div.header { div.header_title { font-size: 18px; letter-spacing: 5px; - vertical-align: middle; - display: table-cell; - } - - div.header_subtitle { - font-size: 14px; - vertical-align: middle; + margin-top: 50px; } a.header_link { @@ -48,6 +43,17 @@ div.header { font-style: italic; } + div.header_subtitle { + margin-left: 80px; + } + + span.header_subtitle { + letter-spacing: 4px; + } + + +/* --- --- */ + div.rss { display: inline; height: 25px; @@ -61,6 +67,8 @@ div.rss { color: #AAAAAA; } +/* --- atom --- */ + div.atom { display: inline; height: 25px; -- cgit v1.2.3