Commit graph

126 commits

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