Commit graph

130 commits

Author SHA1 Message Date
lifehackerhansol
b831905df1
_sass: navigation: disable padding on active on nav__items 2024-01-14 13:10:19 -08:00
lifehackerhansol
4da00c4028
_sass: navigation: disable site logo and title 2024-01-14 13:10:18 -08:00
lifehackerhansol
56cbbd3cca
_sass: base: add text selection custom colours 2024-01-14 13:10:18 -08:00
lifehackerhansol
c9a71194bf
treewide: add translation changes 2024-01-14 13:10:17 -08:00
lifehackerhansol
5db4d71fae
treewide: Add changes for guide progress table 2024-01-14 13:10:16 -08:00
Tom Manner
5ffad0d956
Color notices based on skin colors instead of fixed values (#2887)
* 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(#000, $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
iBug
6e4aa384d0
Remove G-stuff CSS (#2852) (#2855) 2021-03-03 09:39:28 -05:00
Michael Rose
d1dd94246c Fix Font Awesome icon color in various skins
Close #2724
2020-11-02 11:54:08 -05:00
Miguel Belardinelli Prytoluk
bdc8ac01e8 merging into master 2020-09-10 10:48:37 -03:00
Michael Rose
c6f10529a4
Refactor page meta (#2641)
* 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
Johannes Ganzenmüller
92f94d5549
Removed duplicated CSS definitions (#2666) 2020-08-30 20:30:38 -04:00
Miguel Belardinelli Prytoluk
e0b0448f05 added css changes, modified jquery.greedy-navigation and built the main.min.js again 2020-08-28 17:41:29 -03:00
Lim Jing Heng
f15e02ea58
Show date of posts (#2526)
* 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
Juan Ara
34ff24e31b
Configure entries layout list or grid (#2616)
* 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
iBug ♦
a89a015ce7
Change tab indent to space for consistency (#2614) 2020-07-23 12:09:36 -04:00
iBug ♦
adb301096f
Give H4 in notice some space from below (#2602) 2020-07-22 15:44:25 -04:00
iBug ♦
a3d1d904d5
Make sticky sidebar live well with short content (#2514) 2020-06-02 22:17:31 -04:00
iBug ♦
f3c74113fd
Fix #2478 "Follow menu falls under post links" (#2479)
* Fix #2478 "Follow menu falls under post links"

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

* rename .text to .label
2020-03-30 16:26:24 -04:00
Michael Rose
ece34c1c57 Fix author profile links z-index order on small screens
Close #2440
2020-03-16 10:33:42 -04:00
Michael Rose
b5abe62bf6 Add "click" overlay to close masthead and follow button menus when open
Fixes #1168
2020-03-09 14:49:15 -04:00
Michael Rose
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 #2423
2020-03-05 12:39:35 -05:00
Michael Rose
dc8a41bb60 Improve accessiblity of default skin by increasing color contrast 2020-03-04 16:33:50 -05:00
iBug ♦
060d50eda0
Disable box-shadow for radio and checkbox (#2398) 2020-02-17 15:26:10 -05:00
iBug ♦
ee9aa75213 Set background-color = inherit for <pre code> in notices (#2328) 2019-11-22 09:26:38 -05:00
iBug ♦
02dd27ccdc Make feature row live well with TOC, fix #2327 (#2329) 2019-11-22 09:15:38 -05:00
Wouter Janson
e09ff7efd7 Add social icon color for Keybase (#2302) 2019-11-12 15:14:32 -05: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
Baptiste M
9a8a64cfbe Fix and test case (#2285) 2019-10-17 20:15: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
Michael Rose
a2255d03e1 Fix overlapping links in post link type
Close #2222
2019-08-02 12:31:54 -04:00
Jim Drury
af772af56f Fixes aria issues on search form (#2211)
* 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 #2180
2019-07-17 16:05:50 -04:00
Michael Rose
8b708a0ee3 Use span instead of div element 2019-07-17 11:46:37 -04:00
Jan De Luyck
cfad550975 Display site subtitle in masthead (#2205)
* Add site subtitle
* Tabs vs spaces - the ancient conflict
* updates cfr PR #2205
* 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
Emanuele Barsanti
ca12dcd340 Arithmetic fix in _form.scss (#2169) 2019-05-26 20:36:29 -04:00
Michael Rose
8da334b517 Fix permalink stacking order 2019-05-07 14:53:15 -04:00
Michael Rose
06820bc6b1 Reset positioning of rel="permalink" anchors 2019-05-03 20:58:44 -04:00
Luis Puerto
e4c0689cda Add max-width Sass variable (#2093) 2019-04-08 20:59:57 -04:00
Michael Rose
29acb2a0bf Fix table of contents active link styling 2019-04-03 16:08:31 -04:00
Michael Rose
8625e0708a Add styling for GFM task lists
Close #2092
2019-03-13 08:30:30 -04:00
Michael Rose
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
Evan Debenham
282806ae07 Add logo and title customization to the masthead (#2026)
* 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
Erik Demaine
04e1614184 Define $active-color in terms of $primary-color 2019-01-04 15:46:01 -05:00
Erik Demaine
f2f580101e Scrollspy-style updating of hash and TOC highlighting 2019-01-04 12:45:04 -05:00
Michael Rose
1cd1e7112a Fix wide tables that overflow parent container
Close #2008
2019-01-01 18:31:32 -05:00
Michael Rose
b689af7eea Fix closed navicon on hover 2018-11-26 08:14:40 -05:00
Michael Rose
5a68b46e5a Add hover state 2018-11-25 22:17:23 -05:00
Michael Rose
22a9c523d6 Use dark syntax highlighting 2018-11-25 20:20:15 -05:00
Michael Rose
2729b692f3 Adjust navigation toggles 2018-11-25 20:20:03 -05:00
Michael Rose
cbcc53de31 Add focus color 2018-11-25 20:19:24 -05:00