Commit graph

123 commits

Author SHA1 Message Date
Michael Rose
d082dc2a39 Fix sidebar navigation list toggle.
Prettier managled `@include breakpoint` media queries causing the input/checkbox toggle hack styles to go missing.

Fixes #1819
2018-09-05 15:29:45 -04:00
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
Michael Rose
f9132d8998 Truncate archive item titles' that overflow with an ellipsis
Fixes #1213
2017-09-06 15:02:41 -04:00
Michael Rose
20821e67b0 Reduce amount of blank pages when printing in Chrome
Close #1196
2017-08-22 15:32:48 -04:00
Lars Olesen
2939d45ecc Do not print the comments form (#1195)
Add `.page__comments-form` to "non-printing" selectors in print styles
2017-08-22 14:46:18 -04:00
Michael Rose
f1afdf0397 Extend grid view to the right to better fill the page
- Use a negative right margin to pull `.grid__wrapper` into the dead space left for a sidebar.
- Add sample documents to "portfolio" collection to test grid view
- Update CHANGELOG and history
2017-08-09 13:00:33 -04:00
Michael Rose
173f184047 Fix "follow" links z-index order to avoid overlapping issues
Close #1167
2017-08-09 09:03:09 -04:00
Michael Rose
192549ef25 Adjust width of .sidebar to match .sidebar__right
- Use `$right-sidebar-width-narrow` and `$right-sidebar-width` Sass variables to determine width of sidebar instead of Susy `span` function
2017-08-09 08:30:32 -04:00
Michael Rose
d59818981b Fix positioning of sidebar table of contents when using layout: splash
Close #1169
2017-08-09 08:28:21 -04:00
Michael Rose
bb402eaa46 Reduce indent of nested "table of contents" links 2017-08-08 15:19:41 -04:00
Michael Rose
fb0164b0ca Increase font-size of code blocks. 2017-08-08 15:15:57 -04:00
Michael Rose
bc53150b28 Remove outside and right borders in tables 2017-08-08 15:13:06 -04:00
Michael Rose
3b3905c44f Improve page and archive layouts (#1166)
* Fix collapsed white-space above pagination links

* Improve `page` and `archive` layout
- Center main content on page
- Harmonize sidebar columns to be equal widths

Fixes #1155

* Update CHANGELOG and history

* Position and align right sidebar with the top of the main content

* Offset right sidebar at `$large` viewport

* Add TOC bottom include test post

* Add right sidebar styling edits to documentation site

* Add TOC bottom include test post
2017-08-08 14:41:46 -04:00
Michael Rose
6b9afaa8b7 Fix disappearing author sidebar links
- Close #1136
2017-08-04 11:55:10 -04:00
Michael Rose
4ba7cccdc4 Merge branch 'susy-3-upgrade'
Conflicts:
	_sass/minimal-mistakes/_page.scss
	docs/_sass/minimal-mistakes/_page.scss
2017-08-03 16:27:21 -04:00
Michael Rose
48e2006622 Fix space alignment 2017-08-02 12:29:47 -04:00
Peter Dimou
5b4baee3b5 Refactor intro animations into a separate SASS variable (#1147) 2017-08-02 12:27:01 -04:00
Michael Rose
387f8149d6 Upgrade to Susy 3 and replace grid mixins with new span and gutter functions
Most of Susy's mixins have been deprecated, `@include container()`, `@include full()`, `@include span()`, `@include prefix()`, `@include suffix()`, `@include gallery()`, etc.

Fixes #1114
2017-07-21 16:08:29 -04:00
Michael Rose
3e347970c7 Add vertical scrollbar to sidebars that extend outside the viewport
Viewing overflowing sidebar content requires scrolling the entire page which is annoying and causes the reader to lose their place.

Use CSS `calc` to approximate height of the sidebar (`100vh` - height of the masthead) and apply `overflow-y: auto` to add vertical scrollbars when needed.

Fixes #706
2017-07-12 12:03:14 -04:00
palatinux
8c3fdb2382 Add $navicon-link-color-hover 2/2 (#1088)
Since the orig color-scheme doesn't always represent the nav/site colors
2017-07-07 15:11:58 -04:00
palatinux
951b2c7002 Add $navicon-link-color-hover 1/2 (#1089)
Since the orig color-scheme doesn't always represent the nav/site colors
2017-07-07 15:11:48 -04:00
Michael Rose
1ef63b55e5 Adjust nav list .active state to accommodate text that spans multiple lines. 2017-07-05 15:56:10 -04:00
Guillermo Calvo
b3410ed8b2 Add new brand variable: $bitbucket-color (#1009) 2017-05-16 08:21:32 -04:00
Michael Rose
3fc1bfde26 Move SCSS partials to /_sass/minimal-mistakes for easier CSS customization 2017-04-18 12:52:11 -04:00