Commit graph

37 commits

Author SHA1 Message Date
Michael Rose 97cf6e189b
Remove extra semi-colon 2021-08-10 15:17:34 -04:00
iBug ff5b354a9a
Enable magnific popup on <a> tags only when it has <img> (#3114) 2021-08-08 14:01:59 -04:00
PHOENiX 784264d1e6
Add .webp to supported lightbox images (#2788) 2021-02-05 20:14:21 -05:00
iBug ♦ b7144931c7
Change "fa" to "fas" for Font Awesome 5 (#2649)
* main.js: fa -> fas for FA 5

* Update CHANGELOG and history
2020-08-14 15:21:38 -04:00
Michael Rose 6d28d12d1d
Flexbox sticky footer (#2289)
* Remove sticky footer JavaScript

* Use flexbox to force footer to the bottom of every page

* Fix flexbox in Internet Explorer
2019-10-21 10:41:36 -04:00
iBug ♦ 3b3da46fea Show a permalink anchor when hovering over headings in main content (#2251)
* Implement heading permalinks, close #2246

Thanks to jekyll/jekyll for CSS.
Link anchor is visible when the mouse hovers over the title line.

* Build the updated _main.js
2019-10-04 10:59:44 -04:00
Jeckari cf0c046dd2 Made Gumshoe contingent upon a TOC being present. This prevents a console error on pages without a TOC. (#2124) 2019-04-12 11:42:10 -04:00
Michael Rose a44dc2f914
Replace jQuery Smooth Scroll with Smooth Scroll + Gumshoe (#2082)
* Replace jQuery Smooth Scroll with Smooth Scroll + Gumshoe
* Change smooth scrolling speed
* Set maximum smooth scroll duration
* Remove Font Awesome CSS Ppseudo elements attribute from JS script

Close #2050, close #2075
2019-03-22 16:01:28 -04:00
safaer 1e78b160ca exit search screen with Esc key (#2055)
* exit search with esc key feature is added
* closing search screen with esc key feature is added to _main.js
2019-02-11 16:00:14 -05:00
정승원 81f7851347 [fix] syntax error of non-english character (#2042)
* Dear the make of one of the world's greatest jekyll theme.

[problem]
I found that
'Syntax Error' occurs when non-english character is included in some html elements(e.g h2, h3 ...) and 'toc' is generated based of that elements.

[debug]
Click the any element of auto generated 'toc' in the below link.
https://aliwo.github.io/swblog/series/principles_of_python/object/#%EA%B0%9D%EC%B2%B4%EC%99%80-%ED%81%B4%EB%9E%98%EC%8A%A4%EC%9D%98-%EC%A0%95%EC%9D%98

[fix]
This happens because escaped url string get right in to jquery. So I fixed it with
javascript's 'decodeURI' function! :)

* rollback unnecessary changes
2019-02-08 12:28:56 -05:00
Erik Demaine 1b7e8335fe Fix scrollspy on link clicking, and # for top of page (#2023) 2019-01-15 08:08:41 -05:00
Erik Demaine 6990f8fcc9 Use jQuery throttle library 2019-01-04 12:57:33 -05:00
Erik Demaine f2f580101e Scrollspy-style updating of hash and TOC highlighting 2019-01-04 12:45:04 -05:00
Erik Demaine 33551c8cdb Clicking TOC links changes hash fragment (#2019)
* Fix smooth scroll breaking back button #1767
* Change URL's hash fragment when clicking on TOC
* Switch from hashchange to popstate event handler

This seems to have better behavior with the Forward button, on page load,
and always scrolls in the right direction.

Close #1767
2019-01-04 12:31:38 -05:00
Michael Rose 356c1eb093 Focus Algolia search input 2018-02-16 15:12:57 -05:00
Michael Rose e2b50a355f Fix stuck sidebar when resizing viewport
Close #1447
2018-01-03 14:20:41 -05:00
Michael Rose 7eb00bbd61
Feature: Incorporate site search into masthead (#1383)
* Integrate search into masthead
* Fix cutoff descenders in archive article titles
* Remove search page from `/test` site
* Enable masthead search
* Remove dedicated search page
* Fix masthead search form padding
* Improve insertion of search content
* Speed up page transition
* Add fade transition to search content
* Rename visibility class names
* Add `site.search` to _config.yml
* Document site search feature
* Update CHANGELOG and history
2017-12-07 08:56:14 -05:00
Michael Rose 6b9afaa8b7 Fix disappearing author sidebar links
- Close #1136
2017-08-04 11:55:10 -04:00
Michael Rose 55843c5dca Remove position: sticky JavaScript polyfill
- Fallback to default positioning for browser that don't support it IE, Chrome < 56, etc.
- Issue #752
2017-01-05 11:48:37 -05:00
Michael Rose 9a9cbc01e3 Make footer stick to the bottom of the page
- Use JavaScript to determine height of `.page_footer` to apply padding to `body` avoiding any content overlap
- Absolute position `.page_footer` to bottom of the page
2016-07-20 09:10:37 -04:00
Matthew Aguirre cd79ac9a64 Fixed condition that should be notted. 2016-07-14 10:24:10 -04:00
Matthew Aguirre e5147f8de9 Fixed overlay when 'author__urls-wrapper button' is not present. 2016-07-14 10:13:08 -04:00
Michael Rose 54a8646901 Enable image popup on < 500px wide screens
- Close #385
2016-07-07 09:53:25 -04:00
Matthew Aguirre c3e2272a6f Updated check for button vizability instead of window width. 2016-06-23 21:00:40 -04:00
Matthew Aguirre 9bd96ec92f Fixed disappearing menu. 2016-06-22 18:59:16 -04:00
Michael Rose 4df2367e1c Add "priority plus" navigation pattern for masthead links 2016-03-21 16:01:19 -04:00
Michael Rose a2a4f84580 Improve social follow popover button 2016-03-21 00:03:46 -04:00
Michael Rose 780b30c9f6 Massage the grid layout 2016-03-20 15:20:33 -04:00
Michael Rose af16afdaf2 Combine SCSS and JS into one assets folder 2016-03-17 21:32:55 -04:00
Michael Rose c19cd2a391 Replace Grunt tasks with Gulp 2016-03-07 22:20:32 -05:00
Michael Rose d5a0a2e585 Fix typo in menu button class
- .navtoogle should be .navtoggle
- Fixes #175
2015-08-19 12:50:58 -04:00
Craig Dodd f06b4c163d Remove trailing whitespace 2015-04-17 11:43:36 +01:00
Michael Rose d0313bd423 Fix broken TOC toggle 2014-10-03 15:14:20 -04:00
Michael Rose 33d5d966f3 Remove style conflict between Gist lines and navicon-lines.
Fixes #49
2014-04-15 15:42:47 -04:00
Michael Rose db2981d253 Add .JPG and .jpeg extensions to Magnific Popup lightbox call. Fixes #33 2014-03-14 08:37:12 -04:00
Michael Rose 82e306ebc9 Improve responsive nav experience 2014-02-13 14:20:28 -05:00
Michael Rose a472d16bdf Init Gruntjs build script 2013-09-09 10:12:07 -04:00