diff options
author | Disco-STU <discostu@horion.network1.lan> | 2009-05-20 17:13:30 +0200 |
---|---|---|
committer | Disco-STU <discostu@horion.network1.lan> | 2009-05-20 17:13:30 +0200 |
commit | 0f9a7136ff2e83c391091f23231fe42b0ca31576 (patch) | |
tree | a6d9d468898c0eb0f46e97a13ea5937dfb651a1a | |
parent | b4fac7f4556af72ad64f7993775e220cfff6bc38 (diff) |
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".
Diffstat (limited to '')
-rwxr-xr-x | blogthon.cgi | 5 | ||||
-rw-r--r-- | configuration | 1 | ||||
-rw-r--r-- | styles/.blogthon.css.swp | bin | 0 -> 20480 bytes | |||
-rw-r--r-- | styles/blogthon.css | 24 |
4 files changed, 22 insertions, 8 deletions
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 ' <div class="header_title">' print ' <a href="?" class="header_link">' + blog_title + '</a>' print ' </div>' + print ' <div class="header_subtitle">' + print ' <span class="header_subtitle">' + blog_subtitle + '</span>' + print ' </div>' print ' </div>' 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 Binary files differnew file mode 100644 index 0000000..40db6eb --- /dev/null +++ b/styles/.blogthon.css.swp 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; |