mirror of
https://github.com/GenZmeY/casper-i18n.git
synced 2025-07-12 16:56:06 +00:00
Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
b06c57f1e1 | |||
99ff118174 | |||
054cd87653 | |||
5060c945e6 | |||
d07d6dee09 | |||
0d8228ff05 | |||
27270d3de3 | |||
09476487f0 | |||
d2d796241b | |||
c1b77b74cb |
@ -295,6 +295,10 @@ li li {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
li > p:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
hr {
|
||||
display: block;
|
||||
height: 1px;
|
||||
@ -833,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
|
||||
}
|
||||
|
||||
@ -976,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;
|
||||
}
|
||||
@ -1019,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;
|
||||
}
|
||||
@ -1117,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;
|
||||
@ -1138,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;
|
||||
}
|
||||
|
||||
@ -1400,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;
|
||||
}
|
||||
|
||||
@ -1629,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;
|
||||
}
|
||||
|
||||
@ -1758,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;
|
||||
}
|
||||
@ -1785,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;
|
||||
}
|
||||
@ -1900,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;
|
||||
@ -1987,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;
|
||||
}
|
||||
|
||||
@ -2051,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;
|
||||
}
|
||||
|
||||
@ -2136,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;
|
||||
}
|
||||
|
||||
|
@ -42,7 +42,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 --}}
|
||||
|
@ -1,11 +1,10 @@
|
||||
{
|
||||
"name": "casper",
|
||||
"description": "The default personal blogging theme for Ghost. Beautiful, minimal and responsive.",
|
||||
"homepage": "http://github.com/TryGhost/Casper",
|
||||
"demo": "https://demo.ghost.io",
|
||||
"version": "1.3.2",
|
||||
"version": "1.3.4",
|
||||
"engines": {
|
||||
"ghost": "^0.9.0"
|
||||
"ghost": ">=0.9.0 <1.0.0"
|
||||
},
|
||||
"license": "MIT",
|
||||
"screenshots": {
|
||||
@ -30,7 +29,7 @@
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/TryGhost/Casper.git"
|
||||
"url": "https://github.com/TryGhost/Casper.git"
|
||||
},
|
||||
"bugs": "https://github.com/TryGhost/Casper/issues",
|
||||
"contributors": "https://github.com/TryGhost/Casper/graphs/contributors"
|
||||
|
Reference in New Issue
Block a user