Skip to content
Permalink
Browse files

add basic easybird theme for blog

  • Loading branch information
easybird committed Dec 28, 2015
1 parent 76820e8 commit 3f70b7d0e2dddc229cc6ca6f49b5d4698ebe2a34
@@ -275,7 +275,7 @@ module.exports = function IndexModule(pb) {
var contentUrlPrefix = isPage ? '/page/' : '/article/';
self.ts.reprocess = false;
ats.registerLocal('article_permalink', pb.UrlService.urlJoin(pb.config.siteRoot, contentUrlPrefix, content.url));
ats.registerLocal('article_headline', new pb.TemplateValue('<a href="' + pb.UrlService.urlJoin(contentUrlPrefix, content.url) + '">' + content.headline + '</a>', false));
ats.registerLocal('article_headline', new pb.TemplateValue('<a class="light-green-text" href="' + pb.UrlService.urlJoin(contentUrlPrefix, content.url) + '">' + content.headline + '</a>', false));
ats.registerLocal('article_headline_nolink', content.headline);
ats.registerLocal('article_subheading', content.subheading ? content.subheading : '');
ats.registerLocal('article_subheading_display', content.subheading ? '' : 'display:none;');
@@ -0,0 +1,61 @@
/* Custom Stylesheet */
/**
* Use this file to override Materialize files so you can update
* the core Materialize files in the future
*
* Made By MaterializeCSS.com
*/

nav ul a,
nav .brand-logo {
color: #444;
top:10%;
}

p {
line-height: 2rem;
}

.button-collapse {
color: #26a69a;
}

.parallax-container {
min-height: 380px;
line-height: 0;
height: auto;
color: rgba(255, 255, 255, .9);
}

.parallax-container .section {
width: 100%;
}

@media only screen and (max-width: 992px) {
.parallax-container .section {
position: absolute;
top: 40%;
}

#index-banner .section {
top: 10%;
}
}

@media only screen and (max-width: 600px) {
#index-banner .section {
top: 0;
}
}

.icon-block {
padding: 0 15px;
}

.icon-block .material-icons {
font-size: inherit;
}

footer.page-footer {
margin: 0;
}

0 comments on commit 3f70b7d

Please sign in to comment.
You can’t perform that action at this time.