Commit graph

72 commits

Author SHA1 Message Date
Michael Rose
192c22a637 Place :hover declarations after :visited to fix hover animation
Fixes #1820
2018-09-05 15:16:31 -04:00
Michael Rose
3ada7c1483 Adjust toc indents 2018-08-15 09:46:57 -04:00
Michael Rose
3b77428c49 Allow heading levels 1-6 in table of contents
Adjust minimum and maximum levels to allow all headings and fix CSS to style indentation and nested lists properly in jekyll-toc and Kramdown generated table of contents.

Fixes #1782
2018-08-15 09:34:45 -04:00
Michael Rose
cd14423918 Reduce padding and adjust toc font-size
Fit more text to handle indentation better.

Ref: #1782
2018-08-15 09:32:55 -04:00
Pat Eskinasy
74def8eb65 Fixing scaling issue w. emoji in Sidebar Author Profile (#1780)
* Fixing scaling issue w. emoji in Sidebar Author Profile

Had the same issue as in mmistakes#1554

So should there be more demand for having emojis in sidebar, this style change fixes it

* Fix indendation and nesting
2018-08-10 08:57:27 -04:00
Michael Rose
623ac4a650 Adjust height of navigation toggle 2018-08-10 08:54:56 -04:00
Michael Rose
73f47af242 Switch $nav-height to a relative unit 2018-08-09 15:56:12 -04:00
Michael Rose
1fbbe993c6 Increase navigation min-height 2018-08-09 15:52:50 -04:00
Michael Rose
b3d7ea1fc6 Increase font-size to improve readability 2018-08-09 15:43:50 -04:00
Michael Rose
c259535e44 Use sentence case for better readability 2018-08-09 15:43:27 -04:00
Michael Rose
ec0f75b9c0 Adjust feature row spacing and font-sizes 2018-08-09 15:34:20 -04:00
Michael Rose
9c65724955 Style archive links with appropriate link color 2018-08-09 15:06:55 -04:00
Michael Rose
e707057fa8 Improve side navigation spacing in relation to masthead 2018-08-09 15:06:00 -04:00
Michael Rose
f0f5dded48 Add toc_sticky to stick table of contents
"Stick" table of contents to top of the page by adding:

```
toc: true
toc_sticky: true
```

to a post or page's YAML Front Matter.
Note: only supported with `single` layout.
2018-05-31 10:22:02 -04:00
Michael Rose
648254b2b5 Add support for captioning images in feature row helper
Use `image_caption` YAML front matter to assign a caption to the feature image, Markdown is allowed.

Close #1440
2018-05-15 15:41:45 -04:00
Michael Rose
f031c08c84 Fix table of contents missing borders
Fixes #1675
2018-05-15 14:36:10 -04:00
Troy Lindsay
8f900dd3f2 #1659: Prevent line breaking between icon & text in footer social links (#1660) 2018-05-11 12:42:13 -04:00
Troy Lindsay
37e5fd11d4 #1653: Add GitLab social icon brand color (#1654) 2018-05-08 10:43:53 -04:00
Michael Rose
a76c16ee23 Harmonize class names 2018-03-20 15:38:24 -04:00
Michael Rose
31b20a6ad0 Add wide modifier to archive layout 2018-03-20 14:47:13 -04:00
Michael Rose
ffef5a93de Clear floats 2018-03-20 14:39:15 -04:00
Michael Rose
d6605146ac Add posts, categories, category, tags, tag, and collection layouts
Replace sample pages with hard coded HTML and Liquid in favor of a layout that does all the heavy lifting. Assign the appropriate `layout` via YAML Front Matter and away you go.
2018-03-20 12:45:28 -04:00
Michael Rose
588a044986 Convert EOL sequence to LF 2018-03-06 16:12:46 -05:00
Michael Rose
acdd3443de
Add Algolia search provider (#1531)
* Support Lunr and Algolia search providers
* Document search providers and configuration
* Update CHANGELOG and history

close #1416
2018-02-16 14:20:42 -05:00
Peter Ahrens
ba4a07d771 Giving the people what they want: A new, wider "wide" class for the "single" layout. (#1516)
Add `wide` variant to single layout
2018-02-05 14:23:44 -05:00
Michael Rose
344d52f4c6 Fix border bottom for Gist line numbers 2018-01-23 15:59:12 -05:00
Michael Rose
a86af6d6dc Adjust feature row styling when used on an archive layout 2018-01-17 12:54:11 -05:00
Michael Rose
97387fa59a Remove misleading underline hover state
Implies the feature item's title and image are clickable, when in fact they aren't links.
2018-01-17 12:53:33 -05:00
Michael Rose
fb9f13c624 Reduce font-size of page meta in list/grid items 2018-01-17 12:44:21 -05:00
Michael Rose
3b65f1de8d Underline archive item titles 2018-01-17 12:35:45 -05:00
Michael Rose
cf9ac441bb Fix author sidebar icon colors for dark skins
Fixes #1482
2018-01-16 17:40:30 -05:00
Michael Rose
5de9991999 Fix syntax highlighting line number inconsistency
Globally enabling Rouge block line numbers in Kramdown _config.yml settings should be styled consistently with `{% highlight linenos %}` Jekyll tag.

Fixes #1467
2018-01-12 20:42:25 -05:00
Michael Rose
614b6bdf92 Improve greedy navigation's layout when JavaScript is disabled 2018-01-09 13:56:09 -05:00
Michael Rose
3f469f268f
Improve syntax highlighting styles (#1450)
* Cleanup syntax highlighting styles
* Replace hardcoded color values with [base16](http://chriskempson.com/projects/base16/) Sass variables
* Harmonize padding between GFM code blocks and `{% highlight %}` code blocks
*  Improve readability of line numbers
* Add longer code block example to test double digit line numbers
* Adjust code block colors for specific skins
2018-01-04 20:46:10 -05:00
Michael Rose
3e922ddf58
Upgrade Font Awesome to version 5 (#1446)
Upgrade Font Awesome to version 5 (SVG with JavaScript)

Close #1396
2018-01-04 14:27:27 -05:00
Michael Rose
e2b50a355f Fix stuck sidebar when resizing viewport
Close #1447
2018-01-03 14:20:41 -05:00
Michael Rose
61e2a1aa47 Round top right corner of code block icon 2018-01-03 10:11:39 -05:00
Michael Rose
f9f97d72e6 Reduce visual weight of code blocks
Flatten shadow and remove borders relying on background color to highlight code.
2018-01-03 10:11:10 -05:00
Michael Rose
3c5e913aaf Fix line number width in code blocks
Code blocks with short line widths can cause `td.gutter` width to stretch, adding in undesired white space.

Declaring widths on the table's columns fixes #1437

Add `{% highlight linenos %}` examples to test and demo sites.
2018-01-03 09:45:21 -05:00
Andrew Newhouse
9ca57649c1 Feature: Adding linkback functionality Author avatar & Name (#1386)
* adding linkback funct to author avatar & nm

* rm author_class; change linkback var to home; updating config docs
2017-12-11 12:37:10 -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
f39b15a362 Refine search styling 2017-11-15 15:50:51 -05:00
Nick Garlis
cc3b21bc86 Add Lunr Search (#1353)
* Add `search.html` layout and JavaScript
* Move `{{ content }}` before search input
* Add spaces for consistency

Close #1011
2017-11-15 14:43:31 -05:00
Michael Rose
47f537b40d Add plum skin 2017-11-06 16:20:33 -05:00
Michael Rose
fc852d3d47 Add neon skin 2017-11-06 12:18:47 -05:00
Pradhyo Bijja
e05159c290 Aqua skin (#1336)
* Add new skin and update docs

* Better screenshots for aqua skin
2017-11-06 11:24:00 -05:00
Michael Rose
7afdd57c8a Adjust syntax highlighted code blocks padding
Rouge 2 adds `<div class="highlight"></div>` to markup which can introducing styling defects like extra padding.
2017-10-20 15:54:43 -04:00
Michael Rose
9af1e8d548 Replace fieldset elements with div.form-group
Move Staticman v2 comment logic above v1 as it will be deprecated soon.
2017-10-05 09:56:54 -04:00
Tony Ho
ab6c416e7e Fix system font rendering in Chrome on macOS/OS X (#1290)
Use `BlinkMacSystemFont` instead of private font name.

Closes #1289
2017-10-03 08:29:33 -04:00
Michael Rose
93c4fbc4b9 Color "skins" (#1242)
* Add YIQ Color Contrast mixin
* Remove text underline from `.btn` links
* Move YIQ variables
* Simplify button classes using YIQ color contrast mixin
  - DRY up button CSS using Sass list and YIQ color contrast mixin.
  - Move `color` and `background-color` to new `btn--primary` class instead of assinging on the default class. Removes the need to override them.
* Add `.btn--primary` to buttons that just had `.btn`
* Apply changes to `/docs`
* Add `.btn--primary` class
* Update CHANGELOG and history
* Add sample form
* Abstract colors away into Sass variables for easier themeing
* Add "dark" skin
* Replace hardcoded color with SCSS variable
* Invert Font Awesome icons' colors in author sidebar and footer
* Add Sass changes to `/docs`
* Use primary button type instead of inverse
* Add missing `!default` on `$muted-text-color`
* Add `contrast` and `sunrise` skin colors
* Add `dirt` skin color
* Add `air` skin color option
* Add `mint` skin color
* Add `btn--primary` class to Submit Comment button
* Set skin to `default`
* Document skin color options
* Add note about skin SCSS import

Close #1208
2017-09-12 12:01:43 -04:00