Compare commits

..

14 Commits
1.2.0 ... 1.2.3

Author SHA1 Message Date
cfbb7842a9 Upgrading Casper to 1.2.3 2015-05-14 15:48:09 +01:00
6f5138dcd2 Merge pull request #203 from PaulAdamDavis/menu-button-border
Remove border from menu button on small screens
2015-05-14 15:29:50 +01:00
6c04f651aa Remove border from menu button on small screens
No issue

In #189 I reworked much of the CSS for the menu button. The border on the menu button is supposed to be removed on small screens, but I missed that. This removes it.
2015-04-23 12:39:19 +01:00
f81730e108 Upgrading Casper to 1.2.2 2015-04-22 22:11:36 +01:00
c06a731384 No. 2015-04-22 20:34:39 +02:00
2773ac926a Fix footnotes line-height and return-link styling 2015-04-22 19:23:42 +02:00
cc59624ba4 Upgrading Casper to 1.2.1 2015-04-22 14:08:38 +01:00
6b42e9535c Merge pull request #200 from HLFH/master
Social media icons with brand colors on hover
2015-04-19 22:52:24 +03:00
bc38e7df61 Social media icons with brand colors on hover 2015-04-19 20:35:28 +02:00
ab2a8261d7 Merge pull request #197 from PaulAdamDavis/copyright-footer
Fix copyright footer bug
2015-04-16 14:20:14 +03:00
ffea9590ea Fix copyright footer bug
Closes #196

- Absolutely positions the `.site-footer` when it's adjacent to the `.read-next` container

I've opted to use absolute positioning here because we can't be 10% sure what the height of the footer will be at smaller viewport widths as the `@blog.title` length can vary, so adding loads of breakpoints with negative margins isn't really viable.
2015-04-16 10:43:35 +01:00
d32e9db4cb Merge pull request #195 from PaulAdamDavis/icon-caching
Add version number to icon font src urls
2015-04-15 13:01:02 +03:00
88666559f6 Add version number to icon font src urls
No issue

To prevent browsers using an older version of the icon font when a newer version is available, we must add a version number to that src url.

This number must be incremented when the file files change, so this also adds a note explaining that.
2015-04-15 10:44:01 +01:00
c94651d8fb Set min width on next-posts
Closes #194
2015-04-14 11:09:00 +02:00
2 changed files with 34 additions and 17 deletions

View File

@ -107,11 +107,11 @@ table { border-collapse: collapse; border-spacing: 0; }
/* Import the font file with the icons in it */
@font-face {
font-family: "casper-icons";
src:url("../fonts/casper-icons.eot");
src:url("../fonts/casper-icons.eot?#iefix") format("embedded-opentype"),
url("../fonts/casper-icons.woff") format("woff"),
url("../fonts/casper-icons.ttf") format("truetype"),
url("../fonts/casper-icons.svg#icons") format("svg");
src:url("../fonts/casper-icons.eot?v=1");
src:url("../fonts/casper-icons.eot?v=1#iefix") format("embedded-opentype"),
url("../fonts/casper-icons.woff?v=1") format("woff"),
url("../fonts/casper-icons.ttf?v=1") format("truetype"),
url("../fonts/casper-icons.svg?v=1#icons") format("svg");
font-weight: normal;
font-style: normal;
}
@ -164,6 +164,11 @@ table { border-collapse: collapse; border-spacing: 0; }
.icon-menu:before {
content: "\f609";
}
/*
IMPORTANT: When making any changes to the icon font, be sure to increment
the version number by 1 in the @font-face rule. `?v=1` becomes `?v=2`
This forces browsers to download the new font file.
*/
/* ==========================================================================
@ -916,10 +921,6 @@ body.nav-opened .nav {
padding-bottom: 4rem;
border-bottom: #EBF2F6 1px solid;
word-wrap: break-word;
-moz-hyphens: auto;
-ms-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}
/* Add a little circle in the middle of the border-bottom on our .post
@ -1099,6 +1100,7 @@ body:not(.post-template) .post-title {
.footnotes {
font-style: italic;
font-size: 1.3rem;
line-height: 1.6em;
}
.footnotes li {
@ -1109,6 +1111,10 @@ body:not(.post-template) .post-title {
margin: 0;
}
.footnotes p a:last-child {
text-decoration: none;
}
/* The author credit area after the post */
.post-footer {
@ -1180,8 +1186,14 @@ body:not(.post-template) .post-title {
text-decoration: none;
}
.post-footer .share a:hover {
color: #50585D;
.post-footer .share .icon-twitter:hover {
color: #55acee;
}
.post-footer .share .icon-facebook:hover {
color: #3b5998;
}
.post-footer .share .icon-google-plus:hover {
color: #dd4b39;
}
@ -1322,9 +1334,6 @@ body:not(.post-template) .post-title {
7. Read More - Next/Prev Post Links
========================================================================== */
.middle {
}
.read-next {
display: -webkit-box;
display: -webkit-flex;
@ -1335,7 +1344,6 @@ body:not(.post-template) .post-title {
-ms-flex-align: stretch;
align-items: stretch;
margin-top: 10rem;
margin-bottom: calc(-8rem - 37px);
}
.read-next-story {
@ -1347,6 +1355,7 @@ body:not(.post-template) .post-title {
-webkit-flex-grow: 1;
-ms-flex-positive: 1;
flex-grow: 1;
min-width: 50%;
text-decoration: none;
position: relative;
text-align: center;
@ -1434,6 +1443,14 @@ body:not(.post-template) .post-title {
border-left: rgba(0,0,100,0.04) 1px solid;
}
/* Correctly position site-footer when next to the .read-next container */
.read-next + .site-footer {
position: absolute;
bottom: 0;
left: 0;
right: 0;
margin: 0;
}
/* ==========================================================================
8. Third Party Elements - Embeds from other services
@ -1756,7 +1773,7 @@ body:not(.post-template) .post-title {
.menu-button {
padding: 0 5px;
border-radius: 0;
border-color: transparent;
border-width: 0;
color: #2e2e2e;
background: transparent;
}

View File

@ -1,4 +1,4 @@
{
"name": "Casper",
"version": "1.2.0"
"version": "1.2.3"
}