mirror of
https://github.com/GenZmeY/casper-i18n.git
synced 2025-07-12 16:56:06 +00:00
Compare commits
23 Commits
Author | SHA1 | Date | |
---|---|---|---|
26a25208e1 | |||
805925528c | |||
68e48cfb04 | |||
c578765491 | |||
ba5d559d8c | |||
b06c57f1e1 | |||
99ff118174 | |||
054cd87653 | |||
5060c945e6 | |||
d07d6dee09 | |||
0d8228ff05 | |||
27270d3de3 | |||
09476487f0 | |||
d2d796241b | |||
c1b77b74cb | |||
95cec988f5 | |||
12e897d374 | |||
d6998b3ba5 | |||
5c51195ca6 | |||
234be3c976 | |||
146f2ecaab | |||
5e679999e7 | |||
4614c6a162 |
2
LICENSE
2
LICENSE
@ -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
|
||||
obtaining a copy of this software and associated documentation
|
||||
|
@ -6,11 +6,5 @@ To download, visit the [releases](https://github.com/TryGhost/Casper/releases) p
|
||||
|
||||
## 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.
|
||||
|
@ -10,14 +10,15 @@
|
||||
3. Utilities
|
||||
4. General
|
||||
5. Single Post
|
||||
6. Tag Archive
|
||||
7. Read Next
|
||||
6. Author Profile
|
||||
7. Read More
|
||||
8. Third Party Elements
|
||||
9. Pagination
|
||||
10. Footer
|
||||
11. Media Queries (Tablet)
|
||||
12. Media Queries (Mobile)
|
||||
13. Animations
|
||||
10. Subscribe
|
||||
11. Footer
|
||||
12. Media Queries (Tablet)
|
||||
13. Media Queries (Mobile)
|
||||
14. Animations
|
||||
|
||||
*/
|
||||
|
||||
@ -294,6 +295,10 @@ li li {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
li > p:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
hr {
|
||||
display: block;
|
||||
height: 1px;
|
||||
@ -501,8 +506,8 @@ button {
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
font-size: 11px; // Hack because Firefox sucks ass.
|
||||
line-height: 13px; // Hack because Firefox sucks ass.
|
||||
font-size: 11px; /* Hacks targeting Firefox. */
|
||||
line-height: 13px; /* Hacks targeting Firefox. */
|
||||
font-weight: 300;
|
||||
text-align: center;
|
||||
letter-spacing: 1px;
|
||||
@ -832,8 +837,8 @@ body.nav-opened .nav {
|
||||
/* Hide when there's no cover image or on page2+ */
|
||||
.no-cover .scroll-down,
|
||||
.no-cover.main-header:after,
|
||||
.archive-template .scroll-down,
|
||||
.archive-template .main-header:after {
|
||||
.paged .scroll-down,
|
||||
.paged .main-header:after {
|
||||
display: none
|
||||
}
|
||||
|
||||
@ -975,13 +980,13 @@ body.nav-opened .nav {
|
||||
/* Add subtle load-in animation for content on the home page */
|
||||
.home-template .page-title {
|
||||
-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;
|
||||
animation-delay: 0.2s;
|
||||
}
|
||||
.home-template .page-description {
|
||||
-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;
|
||||
animation-delay: 0.1s;
|
||||
}
|
||||
@ -1018,6 +1023,10 @@ body:not(.post-template) .post-title {
|
||||
font-size: 3.6rem;
|
||||
}
|
||||
|
||||
body.page-template .post-title {
|
||||
font-size: 5rem;
|
||||
}
|
||||
|
||||
.post-title a {
|
||||
text-decoration: none;
|
||||
}
|
||||
@ -1116,19 +1125,23 @@ body:not(.post-template) .post-title {
|
||||
5. Single Post - When you click on an individual post
|
||||
========================================================================== */
|
||||
|
||||
.post-template .post-header {
|
||||
.post-template .post-header,
|
||||
.page-template .post-header {
|
||||
margin-bottom: 3.4rem;
|
||||
}
|
||||
|
||||
.post-template .post-title {
|
||||
.post-template .post-title,
|
||||
.page-template .post-title {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.post-template .post-meta {
|
||||
.post-template .post-meta,
|
||||
.page-template .post-meta {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.post-template .post-date {
|
||||
.post-template .post-date,
|
||||
.page-template .post-date {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: none;
|
||||
@ -1137,19 +1150,22 @@ body:not(.post-template) .post-title {
|
||||
/* Stop elements, such as img wider than the post content, from
|
||||
creating horizontal scroll - slight hack due to imperfections
|
||||
with browser width % calculations and rounding */
|
||||
.post-template .content {
|
||||
.post-template .content,
|
||||
.page-template .content {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Tweak the .post wrapper style */
|
||||
.post-template .post {
|
||||
.post-template .post,
|
||||
.page-template .post {
|
||||
margin-top: 0;
|
||||
border-bottom: none;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
/* Kill that stylish little circle that was on the border, too */
|
||||
.post-template .post:after {
|
||||
.post-template .post:after,
|
||||
.page-template .post:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@ -1399,7 +1415,7 @@ body:not(.post-template) .post-title {
|
||||
|
||||
/* Turn off meta for page2+ to make room for extra
|
||||
pagination prev/next links */
|
||||
.archive-template .author-profile .author-meta {
|
||||
.paged .author-profile .author-meta {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@ -1628,12 +1644,12 @@ body:not(.post-template) .post-title {
|
||||
}
|
||||
|
||||
/* On page2+ make all the headers smaller */
|
||||
.archive-template .main-header {
|
||||
.paged .main-header {
|
||||
max-height: 30vh;
|
||||
}
|
||||
|
||||
/* On page2+ show extra pagination controls at the top of post list */
|
||||
.archive-template .extra-pagination {
|
||||
.paged .extra-pagination {
|
||||
display: block;
|
||||
}
|
||||
|
||||
@ -1757,7 +1773,7 @@ body:not(.post-template) .post-title {
|
||||
.scroll-down,
|
||||
.home-template .main-header:after { display: none; }
|
||||
|
||||
.archive-template .main-header {
|
||||
.paged .main-header {
|
||||
min-height: 180px;
|
||||
padding: 10% 0;
|
||||
}
|
||||
@ -1784,6 +1800,10 @@ body:not(.post-template) .post-title {
|
||||
font-size: 3.2rem;
|
||||
}
|
||||
|
||||
body.page-template .post-title {
|
||||
font-size: 4.5rem;
|
||||
}
|
||||
|
||||
hr {
|
||||
margin: 2.4em 0;
|
||||
}
|
||||
@ -1885,7 +1905,7 @@ body:not(.post-template) .post-title {
|
||||
|
||||
|
||||
/* ==========================================================================
|
||||
12. Media Queries - Smaller than 500px
|
||||
13. Media Queries - Smaller than 500px
|
||||
========================================================================== */
|
||||
|
||||
@media only screen and (max-width: 500px) {
|
||||
@ -1899,7 +1919,7 @@ body:not(.post-template) .post-title {
|
||||
height: 30vh;
|
||||
}
|
||||
|
||||
.archive-template .main-header {
|
||||
.paged .main-header {
|
||||
max-height: 20vh;
|
||||
min-height: 160px;
|
||||
padding: 10% 0;
|
||||
@ -1986,11 +2006,13 @@ body:not(.post-template) .post-title {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.post-template .post-header {
|
||||
.post-template .post-header,
|
||||
.page-template .post-header {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.post-template .post-date {
|
||||
.post-template .post-date,
|
||||
.page-template .post-date {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
@ -2050,7 +2072,12 @@ body:not(.post-template) .post-title {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
.post-template .site-footer {
|
||||
body.page-template .post-title {
|
||||
font-size: 2.8rem;
|
||||
}
|
||||
|
||||
.post-template .site-footer,
|
||||
.page-template .site-footer {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
@ -2135,7 +2162,7 @@ body:not(.post-template) .post-title {
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
.archive-template .main-header .page-description {
|
||||
.paged .main-header .page-description {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@ -2160,7 +2187,7 @@ body:not(.post-template) .post-title {
|
||||
|
||||
|
||||
/* ==========================================================================
|
||||
13. Animations
|
||||
14. Animations
|
||||
========================================================================== */
|
||||
|
||||
/* Used to fade in title/desc on the home page */
|
||||
|
BIN
assets/screenshot-desktop.jpg
Normal file
BIN
assets/screenshot-desktop.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 71 KiB |
BIN
assets/screenshot-mobile.jpg
Normal file
BIN
assets/screenshot-mobile.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 115 KiB |
@ -17,8 +17,9 @@
|
||||
<link rel="shortcut icon" href="{{asset "favicon.ico"}}">
|
||||
|
||||
{{!-- 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="{{asset "css/screen.css"}}" />
|
||||
|
||||
|
||||
{{!-- Ghost outputs important style and meta data with this tag --}}
|
||||
{{ghost_head}}
|
||||
@ -42,7 +43,7 @@
|
||||
</div>
|
||||
|
||||
{{!-- 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_foot}}
|
||||
{{!-- Fitvids makes video embeds responsive and awesome --}}
|
||||
|
36
package.json
36
package.json
@ -1,4 +1,36 @@
|
||||
{
|
||||
"name": "Casper",
|
||||
"version": "1.3.0"
|
||||
"name": "casper",
|
||||
"description": "The default personal blogging theme for Ghost. Beautiful, minimal and responsive.",
|
||||
"demo": "https://demo.ghost.io",
|
||||
"version": "1.3.6",
|
||||
"engines": {
|
||||
"ghost": ">=0.9.0 <1.0.0"
|
||||
},
|
||||
"license": "MIT",
|
||||
"screenshots": {
|
||||
"desktop": "assets/screenshot-desktop.jpg",
|
||||
"mobile": "assets/screenshot-mobile.jpg"
|
||||
},
|
||||
"author": {
|
||||
"name": "Ghost Foundation",
|
||||
"email": "hello@ghost.org",
|
||||
"url": "https://ghost.org"
|
||||
},
|
||||
"gpm": {
|
||||
"type": "theme",
|
||||
"categories": [
|
||||
"Minimal",
|
||||
"Personal Blogs"
|
||||
]
|
||||
},
|
||||
"keywords": [
|
||||
"ghost",
|
||||
"theme"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/TryGhost/Casper.git"
|
||||
},
|
||||
"bugs": "https://github.com/TryGhost/Casper/issues",
|
||||
"contributors": "https://github.com/TryGhost/Casper/graphs/contributors"
|
||||
}
|
||||
|
@ -5,7 +5,7 @@
|
||||
</a>
|
||||
<ul>
|
||||
{{#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}}
|
||||
</ul>
|
||||
{{#if @labs.subscribers}}
|
||||
|
Reference in New Issue
Block a user