Commit Graph

135 Commits

Author SHA1 Message Date
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