Commit Graph

136 Commits

Author SHA1 Message Date
4f76c2546a Try fixing copy button flying out 2024-05-06 21:06:32 +08:00
14e3fa2b28 Add success indicator for code block copy button 2024-05-06 01:20:41 +08:00
dc965c5bbe Release 4.26.0 💎 2024-05-05 19:54:28 +08:00
0527e17354 Add "copy to clipboard" button for code blocks ()
* Add copy-to-clipboard button and JS

* Ignore line numbers if present

* Rewrite heading permalink code to use vanilla JS

* README: Add credits to zenorocha/clipboard.js (MIT License)

@iBug really wants a place here in the Credits section :P

* Add .no-copy for hiding the button, update docs

* Add td.rouge-code to selectors

* Fix navigator.clipboard branch

* Add screenreader text for copy button

* Restore focus to the button after copying

* Add site-wide enable switch
2024-05-05 19:43:24 +08:00
1b06aff3bc Release 4.25.1 💎 2024-04-28 01:13:45 +08:00
6e94773083 Release 4.25.0 💎 2024-04-23 01:50:35 +08:00
8d3592ff70 Consolidate hard-coded version numbers where possible
Now only 4 files left untouchable.
Search README.md for "Dev note" for details.
2024-04-23 01:28:03 +08:00
3051fcd3c9 Fix inline code style not applied to stylized text ()
* bug: inline code style not applied to stylized text

* Use double colons for pseudoelements
2022-05-27 10:06:37 -04:00
23e7ad2903 Use <a> color for blockquote.notice border ()
Close 
2022-05-27 09:59:38 -04:00
0f06cb8225 Enable toc sidebar scrolling ()
* Enable toc sidebar scrolling

* Refactor style rules

* Move style rules from 'navigation' to 'sidebar'

* Remove custom scrollbar styles
2021-07-30 15:54:49 -04:00
65e79f5a7d Add Microformats ()
* Add rel=me to author profile links

* Add h-card Microformats markup

* Add h-entry microformat markup

* Fix missing anchor tag

* Fix h-entry microformat markup on single template

* Use minimal subset of Microformat elements

* Move dt-published to `page__date.html` and remove dt-updated
* Remove "author" and "summary"

Leaves "url" as a hidden element

* Add page link to h1 tag

The h1 tag now contains the Schema-org `url` itemprop and the
Microformats `url` class in an anchor tag.  The anchor tag is styled to
not look like a link.

* Put author 'u-url' on author__name h3

This also puts the same `{{ author.home | default: '/' | absolute_url }}`
construct on `author__avatar` to remove the Jekyll `author.home`
conditional.

Also addresses SCSS text color error.
2021-07-23 14:16:08 -04:00
5ffad0d956 Color notices based on skin colors instead of fixed values ()
* Made notice Sass color mixing in based on $background-color and $text-color instead of hard-coded black and white values.

* Made some style adjustments to notices to improve readability.

Notice links are slightly darkened from the notice color, mostly because the gray-on-gray default notice links were very hard to read.  Rather than being $notice-color, they are `mix(, $notice-color, 10%)`.
The notice background mix and code-background mix can now be set with the SCSS variables $notice-background-mix and $code-notice-background-mix.
The default mix for background was adjusted to 80%, from 90%.
The default mix for code-background was adjusted to 90%, from 95%.
Skins that still didn't read well were adjusted individually.

* Adjusted sunrise $notice-background-mix to 75%

* Adjusted dark theme notice background mix colors back to the default

Co-authored-by: Tom Manner <tsmanner@us.ibm.com>
2021-04-13 16:00:24 -04:00
6e4aa384d0 Remove G-stuff CSS () () 2021-03-03 09:39:28 -05:00
d1dd94246c Fix Font Awesome icon color in various skins
Close 
2020-11-02 11:54:08 -05:00
bdc8ac01e8 merging into master 2020-09-10 10:48:37 -03:00
c6f10529a4 Refactor page meta ()
* Rename include

* Add grid view test pages

* Rename `.post__meta-sep` and use CSS to add line break

* Improve collection grid archive

* Improve page grid archive

* Enable `grid`

* Don't show date icon if there is no `date` value

* Add blank line at EOF

* Add space

* Wrap date and reading time in named `span` elements
2020-08-30 20:52:12 -04:00
92f94d5549 Removed duplicated CSS definitions () 2020-08-30 20:30:38 -04:00
e0b0448f05 added css changes, modified jquery.greedy-navigation and built the main.min.js again 2020-08-28 17:41:29 -03:00
f15e02ea58 Show date of posts ()
* add date to read-time.html

* add option for show_date, dynamic icon style

* change read-time to post__meta

* cleanup post__metal.html

* cleanup post__meta include variables

* put date before read time

* remove space in include variable

* allow customisation of post__meta separator

* add some documentation

* oops fix typo derp

* add post date image

* change page meta separator customisation to CSS
2020-08-04 10:39:01 -04:00
34ff24e31b Configure entries layout list or grid ()
* Configure entries layout `list` or `grid`

This allows to use grid layout on `page.entries_layout` on the home layout.

Included a break since when using grid the post images are too close to the horizontal line bellow `posts` text.

There's a entries div now surrounding the posts since the first row of the grid was having a slight padding on the left. The home now behaves like posts/categories/tags pages with grid but including the paginator.

For best results on desktop use `classes: wide` and `paginate: 4` on `_config.yml` (or multiples of 4 if you want more rows)

* Fix indent

* Archive subtitle leaves space on the bottom

* Now space is added through style
2020-07-24 15:53:21 -04:00
a89a015ce7 Change tab indent to space for consistency () 2020-07-23 12:09:36 -04:00
adb301096f Give H4 in notice some space from below () 2020-07-22 15:44:25 -04:00
a3d1d904d5 Make sticky sidebar live well with short content () 2020-06-02 22:17:31 -04:00
f3c74113fd Fix "Follow menu falls under post links" ()
* Fix  "Follow menu falls under post links"

* Do it the other way
2020-04-08 09:15:07 -04:00
7790757722 Use css padding for author urls to fix underline hover state ()
* Use scss padding for sidebar author urls

* rename .text to .label
2020-03-30 16:26:24 -04:00
ece34c1c57 Fix author profile links z-index order on small screens
Close 
2020-03-16 10:33:42 -04:00
b5abe62bf6 Add "click" overlay to close masthead and follow button menus when open
Fixes 
2020-03-09 14:49:15 -04:00
0cf1a2e114 Improve headline hierarchy
Add headline specific Sass variables:

```scss
$h-size-1: 1.563em !default; // ~25.008px
$h-size-2: 1.25em !default; // ~20px
$h-size-3: 1.125em !default; // ~18px
$h-size-4: 1.0625em !default; // ~17px
$h-size-5: 1.03125em !default; // ~16.5px
$h-size-6: 1em !default; // ~16px
```

Fixes 
2020-03-05 12:39:35 -05:00
dc8a41bb60 Improve accessiblity of default skin by increasing color contrast 2020-03-04 16:33:50 -05:00
060d50eda0 Disable box-shadow for radio and checkbox () 2020-02-17 15:26:10 -05:00
ee9aa75213 Set background-color = inherit for <pre code> in notices () 2019-11-22 09:26:38 -05:00
02dd27ccdc Make feature row live well with TOC, fix () 2019-11-22 09:15:38 -05:00
e09ff7efd7 Add social icon color for Keybase () 2019-11-12 15:14:32 -05:00
6d28d12d1d Flexbox sticky footer ()
* 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
9a8a64cfbe Fix and test case () 2019-10-17 20:15:36 -04:00
3b3da46fea Show a permalink anchor when hovering over headings in main content ()
* Implement heading permalinks, close 

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
a2255d03e1 Fix overlapping links in post link type
Close 
2019-08-02 12:31:54 -04:00
af772af56f Fixes aria issues on search form ()
* Fixes aria issues on search form
* Swapping aria-label for <label> tag in search
* Removing background gray caused by adding <form> tag to search
* Removing redundant space
* Making form not submit if key is enter

Close 
2019-07-17 16:05:50 -04:00
8b708a0ee3 Use span instead of div element 2019-07-17 11:46:37 -04:00
cfad550975 Display site subtitle in masthead ()
* Add site subtitle
* Tabs vs spaces - the ancient conflict
* updates cfr PR 
* Perhaps also add the closing anchor
* Make sure we check for the right variables...
* Brown paper bag - subtitle, not description
2019-07-17 11:43:25 -04:00
ca12dcd340 Arithmetic fix in _form.scss () 2019-05-26 20:36:29 -04:00
8da334b517 Fix permalink stacking order 2019-05-07 14:53:15 -04:00
06820bc6b1 Reset positioning of rel="permalink" anchors 2019-05-03 20:58:44 -04:00
e4c0689cda Add max-width Sass variable () 2019-04-08 20:59:57 -04:00
29acb2a0bf Fix table of contents active link styling 2019-04-03 16:08:31 -04:00
8625e0708a Add styling for GFM task lists
Close 
2019-03-13 08:30:30 -04:00
59111d1e01 Remove Google+
Google+ is being shutdown on April 2, 2019. Social sharing buttong, comment provider, and author link configs have been removed from the theme.

ref: https://support.google.com/plus/answer/9195133
2019-03-05 18:53:30 -05:00
282806ae07 Add logo and title customization to the masthead ()
* Add logo and title customization to the masthead

* Adjust config description

* Add test site logo to `/test`

* Document `site.logo` and `site.masthead_title`

* Update CHANGELOG and history
2019-01-15 09:07:56 -05:00
04e1614184 Define $active-color in terms of $primary-color 2019-01-04 15:46:01 -05:00
f2f580101e Scrollspy-style updating of hash and TOC highlighting 2019-01-04 12:45:04 -05:00