Compare commits

...

13 Commits
1.3.3 ... 1.3.7

Author SHA1 Message Date
0c27a8eaee Upgrading Casper to 1.3.7 2017-06-16 09:50:53 +01:00
2334ca8aa4 Allow line breaks from Bio (#310) 2017-06-05 09:06:47 +01:00
26a25208e1 Upgrading Casper to 1.3.6 2017-03-01 13:47:57 +01:00
805925528c move font above css include (#279) 2017-02-24 12:23:02 +07:00
68e48cfb04 Remove role attributes intended for tabbed navigation
Closes #285
2017-02-23 13:25:47 +07:00
c578765491 Upgrading Casper to 1.3.5 2017-01-12 12:41:55 +01:00
ba5d559d8c 2017 2017-01-04 10:53:34 +00:00
b06c57f1e1 Upgrading Casper to 1.3.4 2016-10-24 16:51:12 +01:00
99ff118174 Merge pull request #274 from eibt/patch-1
Use protocol-relative URL for jQuery script
2016-10-24 14:35:22 +01:00
054cd87653 No margin-bottom for last p inside li tags (#262)
Fixes #241.
2016-10-24 20:17:30 +07:00
5060c945e6 Fixed page title and description being visible before fading in (#268) 2016-10-24 20:15:01 +07:00
d07d6dee09 🐛 Fix .post-title (#273)
no issue

fixes the post-title font-size again, as it didn't work with two body:notstatements.
2016-10-24 20:11:49 +07:00
0d8228ff05 Use protocol-relative URL for jQuery script
Use protocol-relative URL in the script element that includes jQuery to improve availability and consistency as it's being used for Google Fonts too.
2016-10-13 17:03:11 -06:00
6 changed files with 29 additions and 20 deletions

View File

@ -1,4 +1,4 @@
Copyright (c) 2013-2016 Ghost Foundation Copyright (c) 2013-2017 Ghost Foundation
Permission is hereby granted, free of charge, to any person Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation obtaining a copy of this software and associated documentation

View File

@ -6,11 +6,5 @@ To download, visit the [releases](https://github.com/TryGhost/Casper/releases) p
## Copyright & License ## Copyright & License
Copyright (c) 2013-2016 Ghost Foundation - Released under the MIT License. Copyright (c) 2013-2017 Ghost Foundation - Released under the [MIT license](LICENSE).
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -295,6 +295,10 @@ li li {
margin: 0; margin: 0;
} }
li > p:last-of-type {
margin-bottom: 0;
}
hr { hr {
display: block; display: block;
height: 1px; height: 1px;
@ -976,13 +980,13 @@ body.nav-opened .nav {
/* Add subtle load-in animation for content on the home page */ /* Add subtle load-in animation for content on the home page */
.home-template .page-title { .home-template .page-title {
-webkit-animation: fade-in-down 0.6s; -webkit-animation: fade-in-down 0.6s;
animation: fade-in-down 0.6s; animation: fade-in-down 0.6s both;
-webkit-animation-delay: 0.2s; -webkit-animation-delay: 0.2s;
animation-delay: 0.2s; animation-delay: 0.2s;
} }
.home-template .page-description { .home-template .page-description {
-webkit-animation: fade-in-down 0.9s; -webkit-animation: fade-in-down 0.9s;
animation: fade-in-down 0.9s; animation: fade-in-down 0.9s both;
-webkit-animation-delay: 0.1s; -webkit-animation-delay: 0.1s;
animation-delay: 0.1s; animation-delay: 0.1s;
} }
@ -1015,11 +1019,14 @@ body.nav-opened .nav {
box-shadow: #FFF 0 0 0 5px; box-shadow: #FFF 0 0 0 5px;
} }
body:not(.post-template) .post-title, body:not(.post-template) .post-title {
body:not(.page-template) .post-title {
font-size: 3.6rem; font-size: 3.6rem;
} }
body.page-template .post-title {
font-size: 5rem;
}
.post-title a { .post-title a {
text-decoration: none; text-decoration: none;
} }
@ -1385,6 +1392,7 @@ body:not(.page-template) .post-title {
color: #50585D; color: #50585D;
letter-spacing: 0; letter-spacing: 0;
text-indent: 0; text-indent: 0;
white-space: pre;
} }
.author-meta { .author-meta {
@ -1789,11 +1797,14 @@ body:not(.page-template) .post-title {
font-size: 0.95em font-size: 0.95em
} }
body:not(.post-template) .post-title, body:not(.post-template) .post-title {
body:not(.page-template) .post-title {
font-size: 3.2rem; font-size: 3.2rem;
} }
body.page-template .post-title {
font-size: 4.5rem;
}
hr { hr {
margin: 2.4em 0; margin: 2.4em 0;
} }
@ -2058,11 +2069,14 @@ body:not(.page-template) .post-title {
font-size: 1.8rem; font-size: 1.8rem;
} }
body:not(.post-template) .post-title, body:not(.post-template) .post-title {
body:not(.page-template) .post-title {
font-size: 2.5rem; font-size: 2.5rem;
} }
body.page-template .post-title {
font-size: 2.8rem;
}
.post-template .site-footer, .post-template .site-footer,
.page-template .site-footer { .page-template .site-footer {
margin-top: 0; margin-top: 0;

View File

@ -17,8 +17,9 @@
<link rel="shortcut icon" href="{{asset "favicon.ico"}}"> <link rel="shortcut icon" href="{{asset "favicon.ico"}}">
{{!-- Styles'n'Scripts --}} {{!-- Styles'n'Scripts --}}
<link rel="stylesheet" type="text/css" href="{{asset "css/screen.css"}}" />
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Merriweather:300,700,700italic,300italic|Open+Sans:700,400" /> <link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Merriweather:300,700,700italic,300italic|Open+Sans:700,400" />
<link rel="stylesheet" type="text/css" href="{{asset "css/screen.css"}}" />
{{!-- Ghost outputs important style and meta data with this tag --}} {{!-- Ghost outputs important style and meta data with this tag --}}
{{ghost_head}} {{ghost_head}}
@ -42,7 +43,7 @@
</div> </div>
{{!-- jQuery needs to come before `{{ghost_foot}}` so that jQuery can be used in code injection --}} {{!-- jQuery needs to come before `{{ghost_foot}}` so that jQuery can be used in code injection --}}
<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.0.min.js"></script> <script type="text/javascript" src="//code.jquery.com/jquery-1.12.0.min.js"></script>
{{!-- Ghost outputs important scripts and data with this tag --}} {{!-- Ghost outputs important scripts and data with this tag --}}
{{ghost_foot}} {{ghost_foot}}
{{!-- Fitvids makes video embeds responsive and awesome --}} {{!-- Fitvids makes video embeds responsive and awesome --}}

View File

@ -2,7 +2,7 @@
"name": "casper", "name": "casper",
"description": "The default personal blogging theme for Ghost. Beautiful, minimal and responsive.", "description": "The default personal blogging theme for Ghost. Beautiful, minimal and responsive.",
"demo": "https://demo.ghost.io", "demo": "https://demo.ghost.io",
"version": "1.3.3", "version": "1.3.7",
"engines": { "engines": {
"ghost": ">=0.9.0 <1.0.0" "ghost": ">=0.9.0 <1.0.0"
}, },

View File

@ -5,7 +5,7 @@
</a> </a>
<ul> <ul>
{{#foreach navigation}} {{#foreach navigation}}
<li class="nav-{{slug}}{{#if current}} nav-current{{/if}}" role="presentation"><a href="{{url absolute="true"}}">{{label}}</a></li> <li class="nav-{{slug}}{{#if current}} nav-current{{/if}}"><a href="{{url absolute="true"}}">{{label}}</a></li>
{{/foreach}} {{/foreach}}
</ul> </ul>
{{#if @labs.subscribers}} {{#if @labs.subscribers}}