Commit graph

298 commits

Author SHA1 Message Date
Aileen Nowak
c1b77b74cb Remove old body classes (#272)
refs TryGhost/Ghost#2597

Make Casper work without old body classes `.archive-template`, `.page` and use `.page-template` *only* for pages, as `.post-template` will not be available for pages anymore.
2016-10-07 14:02:00 +02:00
John O'Nolan
d6998b3ba5 Add screenshot assets 2016-09-27 14:27:58 +02:00
Sérgio Rodrigues
146f2ecaab Fix invalid css property declaration 2016-06-26 15:21:32 -03:00
Max.Nova
4614c6a162 Fixing Table of Contents in CSS 2016-05-22 12:31:02 -04:00
John O'Nolan
09b4830398 Add new subscribers form + visual fixes
- New opt-in form for subscribers features
- Bumped version to 1.3.0
- Resolved author image alignment, closes #238
2016-05-08 10:50:20 +02:00
Fong-Wan Chau
591d1fb782 Update normalize.css to v3.0.3 on 'screen.css' 2016-01-22 12:42:31 -04:00
Alex Jegtnes
f0ce0d8718 Disable ligatures in code blocks
I recently created a new Ghost blog and a colleague pointed out that ligatures for code blocks looked a bit off. They weren't enabled in Firefox by default, but in Chrome (possibly different browser defaults?). This PR standardises it and removes any ligatures from `<code>` and `<tt>` blocks.
2016-01-20 22:31:24 +00:00
John O'Nolan
1196a13aef Merge pull request #208 from emersonkeenan/master
Fix embedded gist indentation
2016-01-05 10:56:05 +02:00
Łukasz Kliś
c4f631b28d Added missing vendor prefixes 2015-06-30 13:41:17 +02:00
Łukasz Kliś
dd9d027709 Added box-sizing for a read next story link 2015-06-22 14:08:03 +02:00
Emerson Keenan
8fda6ac74f Fix embedded gist indentation
closes #204
- set text-rendering to auto inside embedded gist
2015-05-24 00:32:37 +10:00
Paul Adam Davis
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
John O'Nolan
c06a731384 No. 2015-04-22 20:34:39 +02:00
John O'Nolan
2773ac926a Fix footnotes line-height and return-link styling 2015-04-22 19:23:42 +02:00
HLFH
bc38e7df61 Social media icons with brand colors on hover 2015-04-19 20:35:28 +02:00
Paul Adam Davis
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
Paul Adam Davis
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
John O'Nolan
c94651d8fb Set min width on next-posts
Closes #194
2015-04-14 11:09:00 +02:00
John O'Nolan
5d01cb7a7c Merge pull request #189 from PaulAdamDavis/menu-icon
Remove some !important declarations
2015-04-11 11:11:59 +03:00
Paul Adam Davis
4f1c76f2e7 Remove some !important declarations
Relates to b071548

- Fixes an issue where the menu button would be the wrong colour

The navigation was using `!important` in a few places. I've changed the CSS a bit to no longer need these, but that means I've made some selectors slightly more specific.

The use of `!important` was to get around the hover state being persisted when the menu was opened but the mouse hadn't moved, which meant the menu button kept its white background when it should be black.
iMaking the hover state only apply when the nav is closed, gets around that.
2015-03-31 10:29:03 +01:00
John O'Nolan
dd02a12258 no message 2015-03-27 19:10:31 +02:00
Paul Adam Davis
b071548965 Add menu icon to icon font
Closes #186

- Adds the menu icon from Ghost's icon set
- Alters CSS to use that new icon
2015-03-23 16:21:53 +00:00
John O'Nolan
acc6896393 Style footnotes
Fixes #187
2015-03-23 12:21:28 +02:00
John O'Nolan
025fa6ea80 Change the horrendous mark colour 2015-03-16 12:31:15 +02:00
John O'Nolan
37d7d0b4f0 Sexier animation timing on menu 2015-03-09 16:05:25 +02:00
Matt Enlow
baea6bb2fd Fix transition property 2015-03-05 14:08:04 -07:00
Tom Kwok
7f42eaabfe Add -ms- prefix for IE9 2015-03-04 17:33:35 +08:00
John O'Nolan
dcfddacfa1 Merge pull request #182 from mankittens/master
Prefixed second instance of tt with pre
2015-03-04 11:13:00 +02:00
Matthew Guy
031ac1fb40 Prefixed second instance of tt with pre 2015-03-04 03:50:52 -05:00
Paul Adam Davis
0d3bafde1e Fix menu button overflow
References #180

- Adds `overflow-x: hidden` to `.site-wrapper` when navigation is open to prevent the menu button flowing into the navigation & covering the 'Menu' title text in Firefox.
2015-03-02 14:00:20 +00:00
John O'Nolan
7af816a48e Merge pull request #172 from mankittens/master
Improvement to .post-content .full-img
2015-03-02 09:32:12 +02:00
Matthew Guy
a5dcaf6cd5 Removed references to .full-img, debounce, and smartresize, and replaced with pure CSS
issue #172
New code will center all post images and allow them to extend beyond the main text column. No JavaScript or special classes required.
2015-03-02 02:21:19 -05:00
John O'Nolan
e59dcaa256 Fix vertical height bug
Introduced in @46dc55769e5f11bddde77ae131f0cb24f82fd9ea - vh is incompatible with % - all references to height needed to be updated in order for this to work correctly
2015-03-01 08:51:38 +02:00
John O'Nolan
8b35959ff6 Update Nav position
Fixes #178
2015-03-01 08:25:35 +02:00
John O'Nolan
8e220b089b Fix Safari mobile bug
Opacity: 0 on nav sidebar when closed
2015-02-28 16:07:43 +02:00
John O'Nolan
e4861a0d78 Fix for long nav items 2015-02-28 14:38:01 +02:00
John O'Nolan
243192f0d9 Updating nav styles 2015-02-28 14:34:58 +02:00
Paul Adam Davis
46dc55769e Navigation 2015-02-27 19:33:27 +00:00
nicdutil
e559857b12 fixed ie9 rotate issue with scroll-down arrow 2015-02-24 00:45:08 -05:00
Alexander Carr
bcb586b862 add 'text-rendering:geometricPrecision;' anywhere that seemed appropriate to support ligatures. closes #167 2015-02-18 17:25:18 -08:00
Matthew Guy
b064e9fc87 Fixed transition definitions
Made sure durations come before timing functions.

https://github.com/TryGhost/Casper/issues/168#issuecomment-74828463
2015-02-18 03:31:26 -05:00
Janos Kasza
6db90c9fec Fix gist line numbering issue #162 2015-01-22 11:49:02 +01:00
Marco Neumann
db4979d32d Fix multiple CSS problems, mostly reported by Firefox
- typo: `*zoom: ...;` should be `zoom: ...;`
 - outdated prefix: `white-space: -moz-pre-wrap;` is [not required as of Firefox 3.0](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space)
 - outdated prefix: `-moz-border-radius: ...;` is [not required as of Firefox 4.0](https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius)
 - outdated prefix: `-webkit-border-radius: ...;` is [not required as of Chrome 4.0 and Safari 5.0](https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius)
 - outdated prefix: for `background` `-moz-radial-gradient`, `-webkit-radial-gradient` and `-webkit-gradient` is [not required as of Firefox 16, Chrome 26 and Safari 6.1](http://www.w3schools.com/Css/css3_gradients.asp)
 - wrong attribute: `word-break: break-word;` should be `word-wrap: break-word;` (this makes sense because `hyphens: auto;` is set)
 - missing prefix: add `-moz-hyphens: auto;`, `-ms-hyphens: auto;` and `-webkit-hyphens: auto;` to `hyphens: auto;` (other browser [do not support `auto` mode](http://caniuse.com/#feat=css-hyphens))
2015-01-15 14:38:24 +01:00
Conrad Kleinespel
1292f2e22b support for pastebin 2014-11-29 00:09:46 +01:00
Matt Enlow
ba798581ec Remove old reference to medium desktop media queries from ToC 2014-09-28 14:19:58 -06:00
John O'Nolan
8bf2b72e69 Remove MS specific font feature styling 2014-09-25 19:28:43 +03:00
John O'Nolan
5968231807 Fix IE font feature rendering
See #124 (again)
2014-09-25 19:23:25 +03:00
John O'Nolan
e07d0d8775 Post image support 2014-09-25 17:35:06 +03:00
John O'Nolan
75c81be9c3 Typography overhaul 2014-09-25 16:41:04 +03:00
jeremija
a149b03a2f Fixes variable image width bug
closes #95
 - added onload event listeners to images
2014-09-15 21:51:59 +02:00
Jilles Soeters
2cf5c0cb87 Optimize index.js and add style consistency
Declared all jQuery objects once where needed instead of diving into the DOM multiple times for the same object.

Added style consistency between variable declarations, if/else statements and functions.
2014-09-07 23:34:40 +02:00
Minh Nguyen
bcce1e9a08 Fix bouncing scroll-down arrow bug in webkit
Webkit transform currently requires a vendor prefix. Without it, the arrow bounces and rotate to the original un-rotated state. See https://www.dropbox.com/s/46sjiihtjya42s8/wk-rotate.mov
2014-09-03 01:16:53 -04:00
John O'Nolan
5d0db596f8 Merge pull request #125 from designbyjake/master
Swap Noto Serif to PT Serif
2014-08-25 14:36:59 +02:00
Paul Adam Davis
094c09ade4 Rename icon assets & references
Closes #120

- Renames icon fonts and unicode references

This uses the same basic theory behind 8b25a3d07c which has been proven to work
2014-08-19 16:22:55 +01:00
Jake Giltsoff
c7554d995b Swap Noto Serif to PT Serif 2014-08-17 16:01:47 +01:00
Paul Adam Davis
869a4e25f9 Add nowrap to date & rss button
Closes #117, Closes https://github.com/TryGhost/Ghost/issues/3755

- Adds white-space: nowrap; to prevent strings wrapping and breaking onto multiple lines
2014-08-12 09:54:43 +01:00
John O'Nolan
5da18ddb3b Fix bug where footer text would wrap to a new line 2014-08-07 16:16:51 +03:00
John O'Nolan
b84309f482 Stop text from wrapping to a new line with icon
Fixes #112
2014-08-04 12:49:41 +03:00
John O'Nolan
45240cdc03 Prevent scroll-down contrast BG from overlapping in Firefox
Closes #110
2014-07-27 16:46:37 +02:00
John O'Nolan
5a4334106e OCD 2014-07-22 13:36:11 +02:00
John O'Nolan
97f3bfea82 Cleanup old styles + minor display bugfix 2014-07-22 13:35:00 +02:00
John O'Nolan
00eca81a1e Bouncy ball of love 2014-07-22 13:21:33 +02:00
John O'Nolan
5dc787d572 When cover images are used, add subtle gradient top overlay for more contrast behind nav buttons 2014-07-21 21:40:31 +02:00
John O'Nolan
c922b6bab5 Update pagination button styles to match new nav button styles 2014-07-21 20:42:29 +02:00
John O'Nolan
35adcc0fd3 Add post meta back into post.hbs 2014-07-21 20:37:05 +02:00
John O'Nolan
41d4e2525b Random padding fix 2014-07-21 20:27:14 +02:00
John O'Nolan
f6ee7d89f9 Add author image to post author-box, if available 2014-07-21 20:19:49 +02:00
John O'Nolan
91ca337fe6 Link post.hbs author to new author profile page, add icons to meta data 2014-07-21 19:52:45 +02:00
John O'Nolan
48164cc3cd Fix in case an author has a cover image but no profile image 2014-07-21 19:30:53 +02:00
John O'Nolan
4bd2ce6740 Make everything look good with no cover images + crossbrowser fixes 2014-07-21 19:07:56 +02:00
John O'Nolan
6ae074b724 Introduce new post loop partial + new multi-author post meta 2014-07-21 18:20:36 +02:00
John O'Nolan
088a867cea First pass on major Casper overhaul and new Multi-user support
- Introduces author.hbs page template
- Completely refactors header styling with new full-screen cover images
- Adds new, improved pagination with additional styles for archive pages
- Cleans up a fuckload of bloat and old styles
2014-07-21 14:45:34 +02:00
John O'Nolan
3db098c1e0 Revert "Sticky footer"
This reverts commit 3242e72cfc.
2014-07-20 17:28:49 +02:00
John O'Nolan
3242e72cfc Sticky footer 2014-07-20 17:27:20 +02:00
John O'Nolan
fe888da667 Bigger padding on mobile header 2014-07-20 17:07:00 +02:00
John O'Nolan
8464b3d7a7 Cleaning up old styles 2014-07-20 17:01:17 +02:00
John O'Nolan
cd5045999b Sexier blog description styling 2014-07-20 16:57:38 +02:00
John O'Nolan
448082bd48 New navigation structure to make way for MU changes 2014-07-20 16:43:44 +02:00
Jake Giltsoff
9a860f2b3f Typography updates 2014-07-12 18:56:26 +01:00
John O'Nolan
75fd290804 Updated homepage load-in animations 2014-07-11 12:22:28 +02:00
Paul Adam Davis
11008f9831 Add keyframe animations to the home page header 2014-07-11 09:49:40 +01:00
Namanyay Goel
5482da42b9 Fixing typo in screen.css
Line 135, 'corret' to 'correct'.
2014-06-01 23:08:09 +05:30
John O'Nolan
628789944e Fix giant gap on single post pages 2014-04-16 08:30:06 +02:00
John O'Nolan
e6c6767aa1 Better author meta mobile styles
Fixes #97
2014-04-16 08:27:44 +02:00
John O'Nolan
8a2edd67b0 Fix inconsistencies between archive header vs home header 2014-04-15 13:27:36 +02:00
John O'Nolan
b18c94f29e Revert "Better blockquotes"
This reverts commit a9eda22a4e.
2014-03-27 09:46:17 +01:00
John O'Nolan
3dcedcd0a3 Read more chiclet 2014-03-22 15:15:41 +01:00
John O'Nolan
cafb25786f Give post titles more weight 2014-03-22 13:32:31 +01:00
John O'Nolan
a9eda22a4e Better blockquotes 2014-03-22 12:08:52 +01:00
polygonix
381cdc7e29 Add tag.hbs template
Adds a tag.hbs template and some styles to correspond with it.
2014-03-19 11:10:43 +11:00
John O'Nolan
be45bc3ce5 Updated icon font 2014-03-03 10:21:19 +01:00
Fabian Becker
53b33f2d4a Update jquery.fitvids.js to 1.1
fixes #80
2014-03-01 03:51:08 +01:00
John O'Nolan
f39e92a5fd Merge pull request #79 from cobbspur/hover
Added hover state for Author meta anchor
2014-02-28 23:42:31 +01:00
John O'Nolan
348b8cf6ce Remove unused old Normalize.css file 2014-02-24 14:33:37 +01:00
John O'Nolan
a60dcf99d5 Remove CSS @import with inline minified normalize.css
See #57
2014-02-24 14:32:10 +01:00
cobbspur
835ec25f0b Added hover state for Author meta anchor 2014-02-23 12:20:41 +00:00
John O'Nolan
0efa582d77 Better responsive images
Closes #76
2014-01-31 14:35:24 +07:00
John O'Nolan
7546018136 Add support for author.url and author.location output
Closes #72
2014-01-27 19:16:17 +07:00
John O'Nolan
2d539998d4 Make blog title and description more legible on light backgrounds
Adds a light shadow to blog title and description to give slightly more contrast between text and background when a cover image is used with a predominently light colour. This is not a complete fix, because heavy shadows do not lend to the aesthetic of Casper - however it does go some way to making a small improvement to legibility in most cases.

Related: https://github.com/TryGhost/Ghost/issues/1768
2013-12-28 14:09:01 +01:00
Gopal Adhikari
9dcf734f04 Update normalize.css to v2.1.3 2013-11-16 23:43:35 -07:00
John O'Nolan
94f98f0d58 Replace Droid with Noto
Fixes #30 #46
2013-10-31 19:34:00 +01:00
John O'Nolan
2dcf64a8ce Proper spacing for iframe embeds and responsive videos 2013-10-31 19:22:54 +01:00
John O'Nolan
38be6803b4 Cleanup 2013-10-31 19:09:15 +01:00
John O'Nolan
9096fbd977 Remove unscoped IDs
Fixes #15
2013-10-31 19:07:10 +01:00
John O'Nolan
4616c5bd1d Responsive videos by default u guyz 2013-10-31 18:35:57 +01:00
John O'Nolan
0a7074a716 Oops 2013-10-30 16:56:55 +01:00
John O'Nolan
928e7e3ffe Make the single post view less shit when there's no blog logo 2013-10-30 16:55:54 +01:00
Will Glynn
23a97124ab <code>/<tt> elements should wrap since they're used inline 2013-10-25 08:29:57 -05:00
John O'Nolan
692166bc2a Fix positioning/rendering 2013-10-18 19:49:36 +02:00
John O'Nolan
d504ec0a16 Fix incorrect icon font implementation
Closes #35
2013-10-18 19:42:50 +02:00
Doug March
09061d71f0 Extra semicolon
Deleting an extra semicolon.
2013-10-17 23:26:54 -04:00
John O'Nolan
d70beddd28 Merge pull request #31 from alicoding/master
Auto height for img in post-content
2013-10-15 00:58:45 -07:00
Ali Al Dallal
8c52f22c9b Auto height for img in post-content 2013-10-14 12:16:00 -04:00
JoeBonham
4b334adf8a Fixed table.plain css
Looked to be LESS formatted CSS that hadn't been compiled. Just replaced with the equivalent compiled CSS.
2013-10-14 14:20:16 +01:00
John O'Nolan
c4c276653d Fix line-wrapping on gists 2013-09-27 16:59:50 +02:00
John O'Nolan
3b5443a97c Dropped old image fixtures 2013-09-27 10:59:09 +02:00
John O'Nolan
9ef17def42 Tweak to make gist embeds work with 100+ lines 2013-09-24 09:43:11 +02:00
John O'Nolan
bd71951dbb Updated CSS Table of Contents 2013-09-24 09:28:59 +02:00
John O'Nolan
ded174bab0 Added support for github gist embeds
Fixes #26
2013-09-24 09:21:52 +02:00
John O'Nolan
74dfeb37b0 Responsive styles to fix broken pagination on mobile 2013-09-08 22:59:40 +02:00
John O'Nolan
24f12d1656 Added new author/logo helpers, stripped static blog cover image 2013-09-02 22:59:53 +01:00
John O'Nolan
c068736354 Correcting cover image 2013-09-02 22:59:52 +01:00
John O'Nolan
03d79be55e New global footer 2013-09-02 22:59:52 +01:00
John O'Nolan
5f3d55ef7a First pass at properly documenting CSS and making it human readable 2013-09-02 22:59:52 +01:00
John O'Nolan
d93a50d48b New Stylez
* New pagination styles
* Refactored footer to global footer
* Introduced new RSS subscription tooltip
2013-09-02 22:59:52 +01:00
John O'Nolan
49e774889c Full refactor 2013-09-02 22:59:52 +01:00
John O'Nolan
5234629a60 Rework header/typography/icons 2013-09-02 22:59:52 +01:00
John O'Nolan
788c8ebff0 Tweaky 2013-09-02 22:59:51 +01:00
John O'Nolan
bf1dd0e9d4 THE NEXT ONE
* Introducing icon fonts
* New post footer
* Many responsive refinements and enhancements
* Few new helpers
2013-09-02 22:59:51 +01:00
John O'Nolan
b5021db970 The new header
* Experimental new Ghost watermark
* Ghost icon navigational styles
* Enhanced responsive styles
2013-09-02 22:59:51 +01:00
John O'Nolan
85b74ea393 Next pass on Casper refactor
* New Helpers
* Updated Helpers
* New reponsive header styles
* New global blog icon
* Responsive styles adjustments
2013-09-02 22:59:51 +01:00
John O'Nolan
2b847c0530 Massive overhaul / update.
Introducing
* New helpers
* New header image
* Responsive / mobile styles
* Mobile device metatags and optimisations
* Initial blog icon support
* Restyled homepage feed
2013-09-02 22:59:51 +01:00
John O'Nolan
75c3ad7f1b Prevent header image from being selectable 2013-09-02 22:59:51 +01:00
John O'Nolan
701746c102 Move home header image to inline img / refactor headings 2013-09-02 22:59:51 +01:00
John O'Nolan
4f1ff59839 Introducing new typographic styles + code cleanup 2013-09-02 22:59:51 +01:00
John O'Nolan
2faa6612b7 Tweak. 2013-09-02 22:59:51 +01:00
John O'Nolan
43d1e2723f Fixed word breaking bug
See TryGhost/Ghost@044cf21887
2013-09-02 22:59:50 +01:00
John O'Nolan
d6fec8d50f First pass at new Casper homepage 2013-09-02 22:59:50 +01:00
John O'Nolan
fd4aebe2e2 Break long words to new line.
Closes #16
2013-09-02 22:59:23 +01:00
John O'Nolan
73fc435125 Animation tweak 2013-09-02 22:59:23 +01:00
John O'Nolan
802bb02c63 Minor footer style tweaks and added new RSS/subscription button 2013-09-02 22:59:23 +01:00
John O'Nolan
21d2a929a9 Second pass on Casper refactor, added new footer areas on single post view. 2013-09-02 22:59:23 +01:00
John O'Nolan
e4ce16b517 First pass at refactoring styles 2013-09-02 22:59:23 +01:00
John O'Nolan
e8080571bd Updated Normalize.css from v1.0.2 to v2.1.2 2013-09-02 22:59:23 +01:00
John O'Nolan
61a960d03f Cleaning 2013-09-02 22:59:23 +01:00
John O'Nolan
2d5ce92bab Removed old stylesheet defaults 2013-09-02 22:57:55 +01:00
John O'Nolan
586b52bb21 Removed old image fixtures 2013-09-02 22:57:55 +01:00
John O'Nolan
820b222f8e Changed theme structure. Moved all assets into /assets/ 2013-09-02 22:56:52 +01:00