Skip to content

Commit

Permalink
v1.19.2
Browse files Browse the repository at this point in the history
  • Loading branch information
thedannywahl committed Jan 6, 2018
1 parent 7838c61 commit 421106d
Show file tree
Hide file tree
Showing 11 changed files with 82 additions and 58 deletions.
50 changes: 25 additions & 25 deletions assets/css/screen.css
Expand Up @@ -27,18 +27,18 @@
* 25. Pagination anchor hover settings
*/

/* <==00
/* <==00. Color values reference table
* top border/links/nav: #4b87aa
* hover color: #068bd8
* dark borders: #ededee
* light borders: #f7f7f7
*/
/*normalize.css v3.0.2 (modified) | MIT License | git.io/normalize*/

/* normalize.css v3.0.2 (modified) | MIT License | git.io/normalize */
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted currentColor}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:.8em}sub,sup{font-size:.75em;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 0}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid;margin:0;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}

.cf:before,
.cf:after {
.cf:after {
content: " ";
display: table;
}
Expand All @@ -62,9 +62,9 @@ html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:1
}

html {
font-size: 1em; /*<==01*/
font-family: "Open Sans"; /*<==02*/
color: #444; /*<==03*/
font-size: 1em; /* <==01. Mobile font size */
font-family: "Open Sans"; /* <==02. Site font-family */
color: #444; /* <==03. Font color */
}

.footer-main p {
Expand Down Expand Up @@ -102,7 +102,7 @@ html {

@media all and (min-width: 25rem) {
html {
font-size: 1.125rem; /*<==04*/
font-size: 1.125rem; /* <==04. Medium screen font size */
}
.footer-main p {
float: left;
Expand All @@ -122,12 +122,12 @@ html {
}
@media all and (min-width: 37.5rem) {
html {
font-size: 1.25rem; /*<==05*/
font-size: 1.25rem; /* <==05. Large screen font size */
}
.loop .title,
.loop .description,
article {
max-width: 34rem; /*<==06*/
max-width: 34rem; /* <==06. Article max-width */
}
.post-footer .wrapper {
left: 0;
Expand All @@ -143,16 +143,16 @@ html {
}

header {
font-size: 1.25rem; /*<==07*/
font-size: 1.25rem; /* <==07. Header module relative size */
padding: 0 0.5rem;
}
footer {
font-size: 0.8rem; /*<==08*/
font-size: 0.8rem; /* <==08. Footer module relative size */
padding: 0 0.5rem;
}
article,
article header {
font-size: 1rem; /*<==09*/
font-size: 1rem; /* <==09. Article module relative size */
padding: 0;
}
article footer {
Expand All @@ -164,18 +164,18 @@ article {
}

body {
box-shadow: #4b87aa 0 0.16em 0 0 inset; /*<==10*/
box-shadow: #4b87aa 0 0.16em 0 0 inset; /* <==10. Box shadow at top of page */
}

a {
color: #4b87aa; /*<==11*/
color: #4b87aa; /* <==11. Primary anchor color */
text-decoration: none;
transition: all 0.25s;
}
a:hover,
a:focus,
a:active{
color: #068bd8; /*<==12*/
color: #068bd8; /* <==12. Primary anchor hover color */
}

h1 {
Expand Down Expand Up @@ -245,16 +245,16 @@ iframe{
.nav {
margin: 0 -0.4em;
padding: 0;
background: #4b87aa; /*<==13*/
background: #4b87aa; /* <==13. Navigation background color */
}
.nav a {
color: #fff; /*<==14*/
color: #fff; /* <==14. Navigation anchor color */
padding: 0 0.5em;
}
.nav a:hover,
.nav a:focus,
.nav a:active {
background: #068bd8; /*<==15*/
background: #068bd8; /* <==15. Navigation anchor hover background color */
}

.nav li,
Expand All @@ -268,7 +268,7 @@ iframe{
.header-main {
border-bottom: 0.2em solid #ededee;
position: relative;
min-height: 60vh; /* <== 16*/
min-height: 60vh; /* <== 16. Header background-image min-height */
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
Expand All @@ -283,7 +283,7 @@ iframe{
}

.loop {
border-bottom: 0.1em solid #ededee; /*<==17*/
border-bottom: 0.1em solid #ededee; /* <==17. Article divider color */
}
.loop.last {
border-bottom: 0 none;
Expand All @@ -307,7 +307,7 @@ article header h2 {
.meta,
.meta a,
.continue a {
color: #a4adb6; /*<==18*/
color: #a4adb6; /* <==18. Meta data anchor color */
}

.meta a:hover,
Expand All @@ -316,7 +316,7 @@ article header h2 {
.continue a:hover,
.continue a:focus,
.continue a:active {
color: #4b87aa; /*<==19*/
color: #4b87aa; /* <==19. Meta data anchor hover color */
}

.author {
Expand All @@ -334,7 +334,7 @@ article header h2 {

.continue a,
.site {
border-bottom: 1px solid #a4adb6; /*<==20*/
border-bottom: 1px solid #a4adb6; /* <==20. 'Continue reading' underline color */
}

.share {
Expand Down Expand Up @@ -393,4 +393,4 @@ article header h2 {
background: #068bd8;
border-color: #068bd8;
color: #fff;
}
}
Binary file added assets/screenshots/screenshot-desktop.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 assets/screenshots/screenshot-mobile.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions author.hbs
@@ -1,6 +1,6 @@
{{!< default}}

<header role="banner" class="header-main {{#if author.cover}}" style="background-image: url({{author.cover}}){{else}}no-image{{/if}}">
<header role="banner" class="header-main {{#if author.cover_image}}" style="background-image: url({{author.cover_image}}){{else}}no-image{{/if}}">
{{#if @blog.navigation}}
{{navigation}}
{{/if}}
Expand All @@ -16,9 +16,9 @@
</header>

<div class="loop">
<h1 class="title">{{#if author.image}}<span class="author" style="background-image:url('{{author.image}}');"><img src="{{author.image}}" alt="{{author.name}}'s picture"></span>&nbsp;{{/if}}Author: {{author.name}}</h1>
<h1 class="title">{{#if author.profile_image}}<span class="author" style="background-image:url('{{author.profile_image}}');"><img src="{{author.profile_image}}" alt="{{author.name}}'s picture"></span>&nbsp;{{/if}}Author: {{author.name}}</h1>
</div>

{{> "loop"}}

{{> "footer"}}
{{> "footer"}}
3 changes: 1 addition & 2 deletions default.hbs
Expand Up @@ -4,7 +4,6 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>{{meta_title}}{{#is 'post, page'}} | {{@blog.title}}{{/is}}</title>
<meta name="description" content="{{meta_description}}" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="{{asset "/favicon.ico"}}">
Expand All @@ -15,4 +14,4 @@
{{{body}}}
{{ghost_foot}}
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions index.hbs
@@ -1,6 +1,6 @@
{{!< default}}

<header role="banner" class="header-main {{#if @blog.cover}}" style="background-image: url({{@blog.cover}}){{else}}no-image{{/if}}">
<header role="banner" class="header-main {{#if @blog.cover_image}}" style="background-image: url({{@blog.cover_image}}){{else}}no-image{{/if}}">
{{#if @blog.navigation}}
{{navigation}}
{{/if}}
Expand All @@ -17,4 +17,4 @@

{{> "loop"}}

{{> "footer"}}
{{> "footer"}}
29 changes: 27 additions & 2 deletions package.json
@@ -1,4 +1,29 @@
{
"name": "Lenore",
"version": "1.2"
"name": "lenore",
"description": "A theme for writing.",
"version": "1.19.2",
"engines": {
"ghost": ">=1.0.0"
},
"license": "MIT",
"author": {
"name": "Danny Wahl",
"email": "danny@iywahl.com",
"url": "https://iyware.com"
},
"config": {
"posts_per_page": 5
},
"gpm": {
"type": "theme",
"categories": [
"Minimal",
"Personal Blogs"
],
"screenshots": {
"desktop": "assets/screenshots/screenshot-desktop.jpg",
"mobile": "assets/screenshots/screenshot-mobile.jpg"
},
"demo": "https://lenore.iyware.com"
}
}
6 changes: 3 additions & 3 deletions page.hbs
Expand Up @@ -2,7 +2,7 @@

{{#post}}

<header role="banner" class="header-main {{#if image}}" style="background-image: url({{image}}){{else}}no-image{{/if}}">
<header role="banner" class="header-main {{#if feature_image}}" style="background-image: url({{img_url feature_image}}){{else}}no-image{{/if}}">
{{#if @blog.navigation}}
{{navigation}}
{{/if}}
Expand All @@ -18,7 +18,7 @@
</header>

<article role="main" class="{{post_class}}">

<header>
<h1>{{title}}</h1>
</header>
Expand All @@ -30,4 +30,4 @@
</article>
{{/post}}

{{> "footer"}}
{{> "footer"}}
14 changes: 7 additions & 7 deletions partials/loop.hbs
@@ -1,9 +1,9 @@
{{#foreach posts}}
<div class="loop {{#if @last}}last{{/if}}">
<article class="{{post_class}}">
{{#if image}}
<a href="{{url}}" class="post-image" style="background-image:url('{{image}}')">
<img src="{{image}}" alt="Post '{{title}}' featured image">
{{#if feature_image}}
<a href="{{url}}" class="post-image" style="background-image:url('{{img_url feature_image}}')">
<img src="{{img_url feature_image}}" alt="Post '{{title}}' featured image">
</a>
{{/if}}

Expand All @@ -12,8 +12,8 @@

<small class="meta">
{{#author}}
{{#if image}}
<a href="{{url}}" class="author" style="background-image:url('{{image}}');"><img src="{{image}}" alt="{{name}}'s picture"></a> {{/if}}
{{#if profile_image}}
<a href="{{url}}" class="author" style="background-image:url('{{img_url profile_image}}');"><img src="{{img_url profile_image}}" alt="{{name}}'s picture"></a> {{/if}}
<a href="{{url}}">{{name}}</a>
{{/author}}
&nbsp;&bull;&nbsp;
Expand All @@ -28,7 +28,7 @@
<div class="text">
<p>{{excerpt words="45"}}</p>
</div>

<small class="continue">
<a href="{{url}}">Continue Reading</a>
</small>
Expand All @@ -37,4 +37,4 @@
</div>
{{/foreach}}

{{pagination}}
{{pagination}}

0 comments on commit 421106d

Please sign in to comment.