Skip to content

Commit 703993e

Browse files
committed
Updaed date format, spacing, etc
1 parent fd26f04 commit 703993e

File tree

4 files changed

+27
-71
lines changed

4 files changed

+27
-71
lines changed

assets/css/screen.css

Lines changed: 18 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Github ........ https://github.com/typeplate/bower
9090
AUTHORS ....... Dennis Gaebel (@gryghostvisuals) & Zachary Kain (@zakkain)
9191
LICENSE ....... Creative Commmons Attribution 3.0 (http://creativecommons.org/licenses/by/3.0)
9292
LICENSE URL ... https://github.com/typeplate/bower/blob/master/license.txt
93-
*/@font-face{font-family:Ampersand;src:local("Georgia"),local("Garamond"),local("Palatino"),local("Book Antiqua");unicode-range:U+0026}@font-face{font-family:Ampersand;src:local("Georgia");unicode-range:U+270C}.ampersand{font-family:Ampersand,Verdana,sans-serif}.breakword{word-wrap:break-word}.normal-wrap{word-wrap:normal}.inherit-wrap{word-wrap:auto}.drop-cap:first-letter{float:left;margin:auto .25em auto auto;padding:inherit;font-size:4em;font-family:inherit;line-height:1;text-indent:0;background:0 0;color:inherit}p+.drop-cap{text-indent:0;margin-top:0}html{font:400 112.5%/1.65 serif}body{-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;-o-hyphens:auto;hyphens:auto;word-wrap:break-word;color:#444}small{font-size:65%}h1,h2,h3,h4,h5,h6{line-height:1;margin-top:0;text-rendering:optimizeLegibility;color:#222}.tera{font-size:117px;font-size:6.5rem;margin-bottom:.25385rem}.giga{font-size:90px;font-size:5rem;margin-bottom:.33rem}.mega{font-size:72px;font-size:4rem;margin-bottom:.4125rem}.alpha,h1{font-size:60px;font-size:3.33333rem;margin-bottom:.495rem}.beta,h2{font-size:48px;font-size:2.6667rem;margin-bottom:.61875rem}.gamma,h3{font-size:36px;font-size:2rem;margin-bottom:.825rem}.delta,h4{font-size:24px;font-size:1.3333333333333333rem;margin-bottom:1.2375rem}.epsilon,h5{font-size:21px;font-size:1.16667rem;margin-bottom:1.41429rem}.zeta,h6{font-size:18px;font-size:1rem;margin-bottom:1.65rem}p{margin:auto auto 1.5em}p+p, aside+p{text-indent:1.5em;margin-top:-1.5em}abbr,acronym,blockquote,code,dir,kbd,listing,plaintext,q,samp,tt,var,xmp{-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;-o-hyphens:none;hyphens:none}pre code{word-wrap:normal;white-space:-moz-pre-wrap;white-space:pre-wrap}pre{white-space:pre}code{white-space:pre;font-family:monospace}abbr{font-variant:small-caps;font-weight:600;text-transform:lowercase;color:gray}abbr[title]:hover{cursor:help}.lining dd,.lining dt{display:inline;margin:0}.lining dd+dt:before,.lining dt+dt:before{content:"\A";white-space:pre}.lining dd+dd:before{content:", "}.lining dd:before{content:": ";margin-left:-.2em}.dictionary-style dt{display:inline;counter-reset:definitions}.dictionary-style dt+dt:before{content:", ";margin-left:-.2em}.dictionary-style dd{display:block;counter-increment:definitions}.dictionary-style dd:before{content:counter(definitions,decimal) ". "}.blockquote p:last-of-type{margin-bottom:-.825em}.blockquote+figcaption{display:block;font-size:inherit;text-align:right}.blockquote+figcaption:before{content:"-"}.pull-quote{position:relative;padding:1em}.pull-quote:after,.pull-quote:before{height:1em;opacity:.15;position:absolute;font-size:4em;color:#dc976e}.pull-quote:before{content:'“';top:0;left:0}.pull-quote:after{content:'”';bottom:0;right:0}
93+
*/@font-face{font-family:Ampersand;src:local("Georgia"),local("Garamond"),local("Palatino"),local("Book Antiqua");unicode-range:U+0026}@font-face{font-family:Ampersand;src:local("Georgia");unicode-range:U+270C}.ampersand{font-family:Ampersand,Verdana,sans-serif}.breakword{word-wrap:break-word}.normal-wrap{word-wrap:normal}.inherit-wrap{word-wrap:auto}.drop-cap:first-letter{float:left;margin:auto .25em auto auto;padding:inherit;font-size:4em;font-family:inherit;line-height:1;text-indent:0;background:0 0;color:inherit}p+.drop-cap{text-indent:0;margin-top:0}html{font:400 112.5%/1.65 serif}body{-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;-o-hyphens:auto;hyphens:auto;word-wrap:break-word;color:#444}small{font-size:65%}h1,h2,h3,h4,h5,h6{line-height:1;margin-top:0;text-rendering:optimizeLegibility;color:#222}.tera{font-size:117px;font-size:6.5rem;margin-bottom:.25385rem}.giga{font-size:90px;font-size:5rem;margin-bottom:.33rem}.mega{font-size:72px;font-size:4rem;margin-bottom:.4125rem}.alpha,h1{font-size:60px;font-size:3.33333rem;margin-bottom:.495rem}.beta,h2{font-size:48px;font-size:2.6667rem;margin-bottom:.61875rem}.gamma,h3{font-size:36px;font-size:2rem;margin-bottom:.825rem}.delta,h4{font-size:24px;font-size:1.3333333333333333rem;margin-bottom:1.2375rem}.epsilon,h5{font-size:21px;font-size:1.16667rem;margin-bottom:1.41429rem}.zeta,h6{font-size:18px;font-size:1rem;margin-bottom:1.65rem}p{margin:auto auto 1.5em}p+p{text-indent:1.5em;margin-top:-1.5em}abbr,acronym,blockquote,code,dir,kbd,listing,plaintext,q,samp,tt,var,xmp{-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;-o-hyphens:none;hyphens:none}pre code{word-wrap:normal;white-space:-moz-pre-wrap;white-space:pre-wrap}pre{white-space:pre}code{white-space:pre;font-family:monospace}abbr{font-variant:small-caps;font-weight:600;text-transform:lowercase;color:gray}abbr[title]:hover{cursor:help}.lining dd,.lining dt{display:inline;margin:0}.lining dd+dt:before,.lining dt+dt:before{content:"\A";white-space:pre}.lining dd+dd:before{content:", "}.lining dd:before{content:": ";margin-left:-.2em}.dictionary-style dt{display:inline;counter-reset:definitions}.dictionary-style dt+dt:before{content:", ";margin-left:-.2em}.dictionary-style dd{display:block;counter-increment:definitions}.dictionary-style dd:before{content:counter(definitions,decimal) ". "}.blockquote p:last-of-type{margin-bottom:-.825em}.blockquote+figcaption{display:block;font-size:inherit;text-align:right}.blockquote+figcaption:before{content:"-"}.pull-quote{position:relative;padding:1em}.pull-quote:after,.pull-quote:before{height:1em;opacity:.15;position:absolute;font-size:4em;color:#dc976e}.pull-quote:before{content:'“';top:0;left:0}.pull-quote:after{content:'”';bottom:0;right:0}
9494

9595

9696
/* ==========================================================================
@@ -642,6 +642,19 @@ a.btn{
642642
padding: 1em;
643643
}
644644

645+
.main-nav--post h3{
646+
position:relative;
647+
right:1em;
648+
color:#ccc;
649+
}
650+
651+
.main-nav--post .back-arrow{
652+
color:orange;
653+
font-weight:900;
654+
position:relative;
655+
bottom:2px;
656+
}
657+
645658
.main-nav a {
646659
text-decoration: none;
647660
}
@@ -663,49 +676,6 @@ a.btn{
663676
width: auto;
664677
}
665678

666-
.back-button, .subscribe-button{
667-
-webkit-box-sizing: border-box;
668-
-moz-box-sizing: border-box;
669-
box-sizing: border-box;
670-
display: inline-block;
671-
padding: .4em .3em .3em .3em;
672-
border: transparent 1px solid;
673-
color: #9EABB3;
674-
font-weight: 400;
675-
text-align: center;
676-
text-transform: uppercase;
677-
border-radius: 3px;
678-
transition: all ease 0.3s;
679-
}
680-
681-
.back-button {
682-
float: left;
683-
}
684-
.back-button:before {
685-
position: relative;
686-
bottom: -2px;
687-
margin-right: 8px;
688-
}
689-
690-
.subscribe-button {
691-
692-
float: right;
693-
}
694-
.subscribe-button:before {
695-
margin-right: 8px;
696-
position: relative;
697-
bottom: -2px;
698-
}
699-
700-
/*
701-
702-
Add a border to the buttons on hover
703-
.back-button:hover,
704-
.subscribe-button:hover {
705-
border-color: #bfc8cd;
706-
color: #9EABB3;
707-
}
708-
*/
709679

710680
/* The details of your blog. Defined in ghost/settings/ */
711681
.page-title {
@@ -714,30 +684,14 @@ a.btn{
714684
text-align: center;
715685
font-weight: 400;
716686
letter-spacing: 0 !important;
717-
/* font-style: italic;*/
718-
font-family: "Source Serif Pro";
687+
font-family: "Source Serif Pro", Georgia, serif;
719688
}
720689

721690
.page-description {
722691
color:slategray;
723692
margin: 0;
724693
letter-spacing: 0;
725694
}
726-
/*
727-
.page-title {
728-
margin: 10px 0 10px 0;
729-
text-align: center;
730-
}
731-
732-
.page-description {
733-
margin: 0;
734-
letter-spacing: 0;
735-
text-transform: none;
736-
font-weight: 400;
737-
font-style: italic;
738-
font-family: "Alegreya";
739-
}
740-
*/
741695

742696
/* Every post, on every page, gets this style on its <article> tag */
743697
.post {
@@ -881,8 +835,8 @@ a.btn{
881835
========================================================================== */
882836

883837
.post-template .post-header{
884-
margin-top: 1em;
885-
margin-bottom: 1em;
838+
margin-top: 2em;
839+
margin-bottom: 2em;
886840
}
887841

888842
.post-template .post-date {
@@ -1008,7 +962,7 @@ a.btn{
1008962

1009963

1010964
.author-profile {
1011-
padding: 0 15px 5rem 15px;
965+
padding: 0 15px 15px 15px;
1012966
border-bottom: #EBF2F6 1px solid;
1013967
text-align: center;
1014968
}

default.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<span>
4343
<a href="http://github.com/omphalosskeptic/mnml">mnml</a>
4444
theme by
45-
<a href="http://omphalosskeptic.github.io">omphalosskeptic.</a>
45+
<a href="http://omphalosskeptic.github.io">omphalosskeptic</a>
4646
</span>
4747
</section>
4848
</div>

partials/loop.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
<small>
1717
<!-- {{#if author.image}}<img class="author-thumb" src="{{author.image}}" alt="Author image" nopin="nopin" />{{/if}}-->
1818
Published by {{author}} on
19-
<time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date format="Do MMMM YYYY"}}</time> &bull;
20-
{{tags prefix=" Tagged: "}}
19+
<time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date format="MMMM Do YYYY"}}</time>
20+
{{tags prefix=" &bull; tagged "}}
2121
</small>
2222
</footer>
2323
</article>

post.hbs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
{{! The comment above "< default" means - insert everything in this file into
44
the {body} of the default.hbs template, which contains our header/footer. }}
55

6-
<nav class="main-nav clearfix">
6+
<nav class="main-nav main-nav--post clearfix">
77
<!-- <a class="back-button icon-arrow-left" href="{{@blog.url}}">Home</a>-->
88
<div class="main-header-content inner ">
99
<a href="{{@blog.url}}">
1010

11-
<h3 style="position:relative;right:1em;color:#555;"><span style="color:#ccc;font-weight:400;position:relative;bottom:2px;">← </span>{{@blog.title}}</h3>
11+
<h3><span class="back-arrow">← </span>{{@blog.title}}</h3>
1212
</a>
1313
</div>
1414
</nav>
@@ -21,9 +21,11 @@
2121

2222
<header class="post-header">
2323
<h1 class="post-title beta">{{title}}</h1>
24+
<!--
2425
<section class="post-meta">
25-
<time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">Published on {{date format="DD MMMM YYYY"}}</time>{{tags prefix=" tagged "}}
26+
<time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">Published on {{date format="MMMM Do YYYY"}}</time>{{tags prefix=" &bull; tagged "}}
2627
</section>
28+
-->
2729
</header>
2830

2931
<section class="post-content">
@@ -37,7 +39,7 @@
3739

3840
{{#if image}}
3941
<figure class="author-image">
40-
<A class="img" href="{{url}}" style="background-image: url({{image}})"><span class="hidden">{{name}}'s Picture</span></a>
42+
<a class="img" href="{{url}}" style="background-image: url({{image}})"><span class="hidden">{{name}}'s Picture</span></a>
4143
</figure>
4244
{{/if}}
4345

0 commit comments

Comments
 (0)