From e4ae586170229de78aaf00963e2f0c49427a9926 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 27 Oct 2014 13:17:43 +0100 Subject: Implemented latest article view * the first paragraph of the three latest articles of my blog are now displayed on the overview page * feed is fetched via `curl` in `01_raw/article_feed.xsl` ** as with all commit feeds the article feed is processed further in the `02_augment` level ** the count of articles to be displayed is defined in `00_content/meta.xml` as `article_count` * CSS was updated to correctly display the article summary --- source/99_result/main.css | 7 +++--- source/99_result/overview.xsl | 54 +++++++++++++++++++++++++++++++++++-------- 2 files changed, 48 insertions(+), 13 deletions(-) (limited to 'source/99_result') diff --git a/source/99_result/main.css b/source/99_result/main.css index 882204f..5f473a7 100644 --- a/source/99_result/main.css +++ b/source/99_result/main.css @@ -3,11 +3,12 @@ body{font:1em Droid Sans,sans-serif,Verdana,Arial,FreeSans;color:#272828} h1{width:100%;border-bottom:0.2em solid #e3e8e8} a{text-decoration:underline;color:#272828} a:hover{color:black} -h2{font-size:1.5em;color:#F80;margin:.5em 0 .5em 0} +h2{font-size:1.3em;text-decoration:none;color:#272828;font-weight:bold} h2 a{text-decoration:none} -h2 span{font-size:0.9em;text-decoration:none;color:#272828;font-weight:normal} -h3{font-size:1.05em;font-weight:normal;margin-bottom:.2em;border-bottom:.1em solid #e3e8e8} +h3{font-size:1.2em;color:#F80;font-weight:bold;margin-bottom:.2em;border-bottom:.1em solid #e3e8e8} +h3 span{font-size:0.9em;color:#272828;font-weight:normal} h3 a{text-decoration:none} +p{margin:0 0 .5em 0;text-align:justify} ul{margin:0;text-align:justify} ul li{list-style-type:circle} dt {float:left;clear:left;width:7em} diff --git a/source/99_result/overview.xsl b/source/99_result/overview.xsl index 918a9dd..d16906e 100644 --- a/source/99_result/overview.xsl +++ b/source/99_result/overview.xsl @@ -18,10 +18,11 @@ - + + + - @@ -43,9 +44,11 @@

» - - - + + + + +

@@ -63,6 +66,8 @@ + | + @@ -75,6 +80,28 @@ + +

+ » + + + + + +

+ + + + + + + | + + + + +
+ @@ -92,11 +119,18 @@ -

» - - Latest commits - - +

+ + Latest articles + +

+ + + +

+ + Latest commits +

-- cgit v1.2.3