diff --git a/application/modules/blog/views/scripts/index/latest.phtml b/application/modules/blog/views/scripts/index/latest.phtml index 94b24ad..3a033d0 100644 --- a/application/modules/blog/views/scripts/index/latest.phtml +++ b/application/modules/blog/views/scripts/index/latest.phtml @@ -3,22 +3,14 @@

translate('BLOG_LATEST_INTRO') ?>

-posts); -for ($i = 0; $i < $postCount; $i++): - - $post = $this->posts[$i]; -?> - +posts as $post) : ?>

getTitle() ?>

-
getPubDate()->toString('yyyy-MM-dd').' at '.$post->getPubDate()->toString('HH:mm').' '.$post->getAuthor()->getFirstName() ?>
-
getContent() ?>
-
getTags()) ?>
+

getPubDate()->toString('yyyy-MM-dd').' at '.$post->getPubDate()->toString('HH:mm').' '.$post->getAuthor()->getFirstName() ?>

+
+ getContent() ?> +
+ +
Something, Something
- - -
- - - \ No newline at end of file + \ No newline at end of file diff --git a/application/modules/blog/views/scripts/index/read.phtml b/application/modules/blog/views/scripts/index/read.phtml index 3d85a0a..0602cec 100644 --- a/application/modules/blog/views/scripts/index/read.phtml +++ b/application/modules/blog/views/scripts/index/read.phtml @@ -6,7 +6,7 @@

post->getTitle() ?>

-
post->getPubDate()->toString('yyyy-MM-dd').' at '.$this->post->getPubDate()->toString('HH:mm').' '.$this->post->getAuthor()->getFirstName() ?>
+

post->getPubDate()->toString('yyyy-MM-dd').' at '.$this->post->getPubDate()->toString('HH:mm').' '.$this->post->getAuthor()->getFirstName() ?>

post->getContent() ?>
diff --git a/public/css/default.css b/public/css/default.css index a486d98..8d5d448 100644 --- a/public/css/default.css +++ b/public/css/default.css @@ -18,10 +18,10 @@ h1.leap { margin-bottom: 15px; } p { line-height: 1.6em; padding: 0 0 8px; } code { - font-size: 1.2em; - padding: 8px; - margin: 15px; - border-left: 5px solid #f1f1f1; + font-size: 1.2em; + padding: 8px; + margin: 15px; + border-left: 5px solid #f1f1f1; } a { text-decoration: none; } @@ -70,6 +70,15 @@ textarea { overflow: auto; } +hr { + border-color: #bcbcbc; + border-style: solid; + border-left-width: 0; + border-right-width: 0; + border-bottom-width: 0; + border-top-width: 1px; +} + .float-left { float: left } .float-right { float: right } .float-clear { clear: both } @@ -215,6 +224,26 @@ div#foreword a { border: 1px solid #d6dbe3; } +/* Blog */ +div.blogpost { + border-top: 1px solid #bcbcbc; + padding-top: 5px; + margin-top: 10px; + margin: 1em 0; +} +div.blogpost p.publish { + margin-left: 1em; + color: black; +} +div.blogpost div.content { + margin-bottom: 1em; +} +div.blogpost div.tags { + padding: .5em; + background: #f5f4f4; + border: 1px solid #ccc; +} + /* Grid */ table.grid { padding: 8px; } @@ -230,12 +259,12 @@ table.grid th { background: #f1f1f1 } table.grid th, table.grid td { padding: .5em .6em; } div#agrement { - background: #f9f9f9; - text-align: left; - width: 600px; - padding: 8px; - margin: 0 auto 15px; - border: 1px solid #f1f1f1; + background: #f9f9f9; + text-align: left; + width: 600px; + padding: 8px; + margin: 0 auto 15px; + border: 1px solid #f1f1f1; } /* Footer */