Skip to content

Commit

Permalink
Basic styling is completed but there are still some issues to work ou…
Browse files Browse the repository at this point in the history
…t. 1. It can't parse the cartesianfaith wordpress feed because it doesn't end with a .xml extension. 2. Something is wrong with the way the template generates its own feed link dynamically. It keeps giving me the atom feed and it links to a 404. Right now I've switched it to hard-link to the rss2.0 version
  • Loading branch information
jgnewman committed Nov 7, 2011
1 parent 367f849 commit 63057e6
Show file tree
Hide file tree
Showing 19 changed files with 359 additions and 108 deletions.
Binary file modified examples/cache/basho.com,blog,technical,feed.xml
Binary file not shown.
Binary file not shown.
Binary file modified examples/cache/recap.basho.com,feed,index.xml
Binary file not shown.
240 changes: 240 additions & 0 deletions riak/output/css/styles.css
@@ -0,0 +1,240 @@
/* Fonts Section */

@font-face {
font-family: 'league';
src: url('../fonts/leaguegothic.eot');
src: local('League Gothic'), url('../fonts/leaguegothic.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'crimson';
src: url('../fonts/crimsonroman.eot');
src: local('Crimson'), url('../fonts/crimsonroman.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'crimson';
src: url('../fonts/crimsonbold.eot');
src: local('Crimson'), url('../fonts/crimsonbold.ttf') format('truetype');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'crimson';
src: url('../fonts/crimsonitalic.eot');
src: local('Crimson'), url('../fonts/crimsonitalic.ttf') format('truetype');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'crimson';
src: url('../fonts/crimsonbolditalic.eot');
src: local('Crimson'), url('../fonts/crimsonbolditalic.ttf') format('truetype');
font-weight: bold;
font-style: italic;
}


/* Reset Section */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
padding: 5px 0 0 18px;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: ;
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}


/* Real Styles*/

body {
font-family: 'crimson', georgia, serif;
text-align: center;
color: #2d2d2d;
font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
font-family: 'league', 'helvetica', arial, sans-serif;
color: #2d2d2d;
text-transform: uppercase;
display: block;
line-height: 1;
}

h1 {
font-size: 42px;
margin: 17px 0 0 0;
}

ul {
list-style-type: square;
line-height: 1.3;
}

strong {
font-family: 'league', georgia, serif;
text-transform: uppercase;
font-size: 110%;
}

.header {
margin: 0 auto;
width: 960px;
border-bottom: 3px solid #2d2d2d;
}

.subscribe-bg {
background: url('../images/subscribe-bg.png') right top no-repeat transparent;
width: 106px;
height: 18px;
cursor: pointer;
margin: 66px 0 0 0;
}

.subscribe-bg:hover {
background-position: right bottom;
}

.subscribe {
width: 106px;
height: 18px;
background: url('../images/subscribe.png') left top no-repeat transparent;
}

.titleimg {
background: url('../images/logo.jpg') left bottom no-repeat transparent;
height: 53px;
width: 310px;
padding: 31px 0 0 0;
}

.wrapper {
width: 960px;
margin: 25px auto 0;
background: #fff;
}

.leftColumn {
width: 657px;
height: auto;
padding: 0 18px 0 0;
background: #fff;
text-align: left;
}

.rightColumn {
width: 266px;
border-left: 1px dashed #878787;
height: auto;
padding: 0 0 40px 18px;
background: #fff;
text-align: left;
}

.rightColumn a {
color: #2d2d2d;
text-decoration: none;
}

.rightColumn a:hover {
color: #66A19D;
}

.rightColumn ul {
padding: 10px 0 20px 18px;
}

.post {
line-height: 1.2;
border-bottom: 1px dashed #878787;
padding-bottom: 30px;
}

.post a {
color: #66a19d;
text-decoration: none;
}

.post a:hover {
text-decoration: underline;
}

.post a.title {
color: #2d2d2d;
}

.post a.title:hover {
color: #66a19d;
text-decoration: none;
}

.post p {
margin: 0 0 20px;
}

.post p.postMeta {
margin: 0;
line-height: 1;
}

.content ol {
list-style-type: decimal;
}

.content li {
padding: 10px 0 0;
}







.block {display: block;}
.floatLeft {float: left;}
.floatRight {float: right;}
.clear {clear:both;}
.bold {font-weight: bold;}

Binary file added riak/output/fonts/crimsonbold.eot
Binary file not shown.
Binary file added riak/output/fonts/crimsonbold.ttf
Binary file not shown.
Binary file added riak/output/fonts/crimsonbolditalic.eot
Binary file not shown.
Binary file added riak/output/fonts/crimsonbolditalic.ttf
Binary file not shown.
Binary file added riak/output/fonts/crimsonitalic.eot
Binary file not shown.
Binary file added riak/output/fonts/crimsonitalic.ttf
Binary file not shown.
Binary file added riak/output/fonts/crimsonroman.eot
Binary file not shown.
Binary file added riak/output/fonts/crimsonroman.ttf
Binary file not shown.
Binary file added riak/output/fonts/leaguegothic.eot
Binary file not shown.
Binary file added riak/output/fonts/leaguegothic.ttf
Binary file not shown.
Binary file added riak/output/images/logo.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added riak/output/images/subscribe-bg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added riak/output/images/subscribe.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions riak/riak/config.ini
Expand Up @@ -52,7 +52,7 @@ encoding = utf-8


# Provide no more than 7 days articles on the front page # Provide no more than 7 days articles on the front page
[riak/riak/index.html.tmpl] [riak/riak/index.html.tmpl]
days_per_page = 7 days_per_page = 30


# If non-zero, all feeds which have not been updated in the indicated # If non-zero, all feeds which have not been updated in the indicated
# number of days will be marked as inactive # number of days will be marked as inactive
Expand Down Expand Up @@ -105,7 +105,7 @@ face = thom.png
# pick up the default faceheight only # pick up the default faceheight only
facewidth = 59 facewidth = 59


[http://cartesianfaith.wordpress.com/feed/index.xml] [http://cartesianfaith.wordpress.com/feed/]
name = Cartesian Faith name = Cartesian Faith
face = edd.png face = edd.png
facewidth = 62 facewidth = 62
Expand Down

0 comments on commit 63057e6

Please sign in to comment.