From 40bbc8b9eb83f89c8b0124aa399bc59ed2587424 Mon Sep 17 00:00:00 2001 From: Eduardo Trujillo <ed@chromabits.com> Date: Mon, 28 Dec 2015 11:16:43 -0500 Subject: [PATCH] Add post on Fedora + MBP --- css/app.css | 339 +++++++++++++++------------ gulpfile.js | 1 + package.json | 5 +- posts/2015-12-28-fedora-23-on-mbp.md | 133 +++++++++++ scss/_code.scss | 4 +- scss/_settings.scss | 4 +- 6 files changed, 330 insertions(+), 156 deletions(-) create mode 100644 posts/2015-12-28-fedora-23-on-mbp.md diff --git a/css/app.css b/css/app.css index 8cd97c2..cf036cf 100644 --- a/css/app.css +++ b/css/app.css @@ -1,10 +1,16 @@ @charset "UTF-8"; -/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ /** - * 1. Set default font family to sans-serif. - * 2. Prevent iOS and IE text size adjust after device orientation change, - * without disabling user zoom. + * Foundation for Sites by ZURB + * Version 6.0.6 + * foundation.zurb.com + * Licensed under MIT Open Source */ +/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ +/** + * 1. Set default font family to sans-serif. + * 2. Prevent iOS and IE text size adjust after device orientation change, + * without disabling user zoom. + */ html { font-family: sans-serif; /* 1 */ @@ -14,19 +20,19 @@ html { /* 2 */ } /** - * Remove default margin. - */ + * Remove default margin. + */ body { margin: 0; } /* HTML5 display definitions - ========================================================================== */ + ========================================================================== */ /** - * Correct `block` display not defined for any HTML5 element in IE 8/9. - * Correct `block` display not defined for `details` or `summary` in IE 10/11 - * and Firefox. - * Correct `block` display not defined for `main` in IE 11. - */ + * Correct `block` display not defined for any HTML5 element in IE 8/9. + * Correct `block` display not defined for `details` or `summary` in IE 10/11 + * and Firefox. + * Correct `block` display not defined for `main` in IE 11. + */ article, aside, details, @@ -43,9 +49,9 @@ summary { display: block; } /** - * 1. Correct `inline-block` display not defined in IE 8/9. - * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. - */ + * 1. Correct `inline-block` display not defined in IE 8/9. + * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. + */ audio, canvas, progress, @@ -56,82 +62,82 @@ video { /* 2 */ } /** - * Prevent modern browsers from displaying `audio` without controls. - * Remove excess height in iOS 5 devices. - */ + * Prevent modern browsers from displaying `audio` without controls. + * Remove excess height in iOS 5 devices. + */ audio:not([controls]) { display: none; height: 0; } /** - * Address `[hidden]` styling not present in IE 8/9/10. - * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22. - */ + * Address `[hidden]` styling not present in IE 8/9/10. + * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22. + */ [hidden], template { display: none; } /* Links - ========================================================================== */ + ========================================================================== */ /** - * Remove the gray background color from active links in IE 10. - */ + * Remove the gray background color from active links in IE 10. + */ a { background-color: transparent; } /** - * Improve readability of focused elements when they are also in an - * active/hover state. - */ + * Improve readability of focused elements when they are also in an + * active/hover state. + */ a:active, a:hover { outline: 0; } /* Text-level semantics - ========================================================================== */ + ========================================================================== */ /** - * Address styling not present in IE 8/9/10/11, Safari, and Chrome. - */ + * Address styling not present in IE 8/9/10/11, Safari, and Chrome. + */ abbr[title] { border-bottom: 1px dotted; } /** - * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. - */ + * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. + */ b, strong { font-weight: bold; } /** - * Address styling not present in Safari and Chrome. - */ + * Address styling not present in Safari and Chrome. + */ dfn { font-style: italic; } /** - * Address variable `h1` font-size and margin within `section` and `article` - * contexts in Firefox 4+, Safari, and Chrome. - */ + * Address variable `h1` font-size and margin within `section` and `article` + * contexts in Firefox 4+, Safari, and Chrome. + */ h1 { font-size: 2em; margin: 0.67em 0; } /** - * Address styling not present in IE 8/9. - */ + * Address styling not present in IE 8/9. + */ mark { background: #ff0; color: #000; } /** - * Address inconsistent and variable font size in all browsers. - */ + * Address inconsistent and variable font size in all browsers. + */ small { font-size: 80%; } /** - * Prevent `sub` and `sup` affecting `line-height` in all browsers. - */ + * Prevent `sub` and `sup` affecting `line-height` in all browsers. + */ sub, sup { font-size: 75%; @@ -146,43 +152,43 @@ sub { bottom: -0.25em; } /* Embedded content - ========================================================================== */ + ========================================================================== */ /** - * Remove border when inside `a` element in IE 8/9/10. - */ + * Remove border when inside `a` element in IE 8/9/10. + */ img { border: 0; } /** - * Correct overflow not hidden in IE 9/10/11. - */ + * Correct overflow not hidden in IE 9/10/11. + */ svg:not(:root) { overflow: hidden; } /* Grouping content - ========================================================================== */ + ========================================================================== */ /** - * Address margin not present in IE 8/9 and Safari. - */ + * Address margin not present in IE 8/9 and Safari. + */ figure { margin: 1em 40px; } /** - * Address differences between Firefox and other browsers. - */ + * Address differences between Firefox and other browsers. + */ hr { box-sizing: content-box; height: 0; } /** - * Contain overflow in all browsers. - */ + * Contain overflow in all browsers. + */ pre { overflow: auto; } /** - * Address odd `em`-unit font size rendering in all browsers. - */ + * Address odd `em`-unit font size rendering in all browsers. + */ code, kbd, pre, @@ -191,17 +197,17 @@ samp { font-size: 1em; } /* Forms - ========================================================================== */ + ========================================================================== */ /** - * Known limitation: by default, Chrome and Safari on OS X allow very limited - * styling of `select`, unless a `border` property is set. - */ + * Known limitation: by default, Chrome and Safari on OS X allow very limited + * styling of `select`, unless a `border` property is set. + */ /** - * 1. Correct color not being inherited. - * Known issue: affects color of disabled elements. - * 2. Correct font properties not being inherited. - * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. - */ + * 1. Correct color not being inherited. + * Known issue: affects color of disabled elements. + * 2. Correct font properties not being inherited. + * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. + */ button, input, optgroup, @@ -215,28 +221,28 @@ textarea { /* 3 */ } /** - * Address `overflow` set to `hidden` in IE 8/9/10/11. - */ + * Address `overflow` set to `hidden` in IE 8/9/10/11. + */ button { overflow: visible; } /** - * Address inconsistent `text-transform` inheritance for `button` and `select`. - * All other form control elements do not inherit `text-transform` values. - * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. - * Correct `select` style inheritance in Firefox. - */ + * Address inconsistent `text-transform` inheritance for `button` and `select`. + * All other form control elements do not inherit `text-transform` values. + * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. + * Correct `select` style inheritance in Firefox. + */ button, select { text-transform: none; } /** - * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` - * and `video` controls. - * 2. Correct inability to style clickable `input` types in iOS. - * 3. Improve usability and consistency of cursor style between image-type - * `input` and others. - */ + * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` + * and `video` controls. + * 2. Correct inability to style clickable `input` types in iOS. + * 3. Improve usability and consistency of cursor style between image-type + * `input` and others. + */ button, html input[type="button"], input[type="reset"], @@ -247,34 +253,34 @@ input[type="submit"] { /* 3 */ } /** - * Re-set default cursor for disabled elements. - */ + * Re-set default cursor for disabled elements. + */ button[disabled], html input[disabled] { cursor: default; } /** - * Remove inner padding and border in Firefox 4+. - */ + * Remove inner padding and border in Firefox 4+. + */ button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } /** - * Address Firefox 4+ setting `line-height` on `input` using `!important` in - * the UA stylesheet. - */ + * Address Firefox 4+ setting `line-height` on `input` using `!important` in + * the UA stylesheet. + */ input { line-height: normal; } /** - * It's recommended that you don't attempt to style these elements. - * Firefox's implementation doesn't respect box-sizing, padding, or width. - * - * 1. Address box sizing set to `content-box` in IE 8/9/10. - * 2. Remove excess padding in IE 8/9/10. - */ + * It's recommended that you don't attempt to style these elements. + * Firefox's implementation doesn't respect box-sizing, padding, or width. + * + * 1. Address box sizing set to `content-box` in IE 8/9/10. + * 2. Remove excess padding in IE 8/9/10. + */ input[type="checkbox"], input[type="radio"] { box-sizing: border-box; @@ -283,18 +289,18 @@ input[type="radio"] { /* 2 */ } /** - * Fix the cursor style for Chrome's increment/decrement buttons. For certain - * `font-size` values of the `input`, it causes the cursor style of the - * decrement button to change from `default` to `text`. - */ + * Fix the cursor style for Chrome's increment/decrement buttons. For certain + * `font-size` values of the `input`, it causes the cursor style of the + * decrement button to change from `default` to `text`. + */ input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { height: auto; } /** - * 1. Address `appearance` set to `searchfield` in Safari and Chrome. - * 2. Address `box-sizing` set to `border-box` in Safari and Chrome. - */ + * 1. Address `appearance` set to `searchfield` in Safari and Chrome. + * 2. Address `box-sizing` set to `border-box` in Safari and Chrome. + */ input[type="search"] { -webkit-appearance: textfield; /* 1 */ @@ -302,26 +308,26 @@ input[type="search"] { /* 2 */ } /** - * Remove inner padding and search cancel button in Safari and Chrome on OS X. - * Safari (but not Chrome) clips the cancel button when the search input has - * padding (and `textfield` appearance). - */ + * Remove inner padding and search cancel button in Safari and Chrome on OS X. + * Safari (but not Chrome) clips the cancel button when the search input has + * padding (and `textfield` appearance). + */ input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } /** - * Define consistent border, margin, and padding. - */ + * Define consistent border, margin, and padding. + */ fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; } /** - * 1. Correct `color` not being inherited in IE 8/9/10/11. - * 2. Remove padding so people aren't caught out if they zero out fieldsets. - */ + * 1. Correct `color` not being inherited in IE 8/9/10/11. + * 2. Remove padding so people aren't caught out if they zero out fieldsets. + */ legend { border: 0; /* 1 */ @@ -329,23 +335,23 @@ legend { /* 2 */ } /** - * Remove default vertical scrollbar in IE 8/9/10/11. - */ + * Remove default vertical scrollbar in IE 8/9/10/11. + */ textarea { overflow: auto; } /** - * Don't inherit the `font-weight` (applied by a rule above). - * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. - */ + * Don't inherit the `font-weight` (applied by a rule above). + * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. + */ optgroup { font-weight: bold; } /* Tables - ========================================================================== */ + ========================================================================== */ /** - * Remove most spacing between table cells. - */ + * Remove most spacing between table cells. + */ table { border-collapse: collapse; border-spacing: 0; } @@ -354,9 +360,6 @@ td, th { padding: 0; } -body.is-reveal-open { - overflow: hidden; } - .foundation-mq { font-family: "small=0em&medium=40em&large=64em&xlarge=75em&xxlarge=90em"; } @@ -864,7 +867,7 @@ h4, h5, h6 { font-family: "adelle-sans", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif; - font-weight: normal; + font-weight: bold; font-style: normal; color: inherit; text-rendering: optimizeLegibility; @@ -902,7 +905,7 @@ h6 { h1 { font-size: 3rem; } h2 { - font-size: 2.5rem; } + font-size: 2.125rem; } h3 { font-size: 1.9375rem; } h4 { @@ -1205,7 +1208,7 @@ kbd { .button.hollow.warning:hover, .button.hollow.warning:focus { border-color: #805700; color: #805700; } - .button.disabled { + .button.disabled, .button[disabled] { opacity: 0.25; cursor: not-allowed; pointer-events: none; } @@ -1314,6 +1317,10 @@ label { display: table; width: 100%; margin-bottom: 1rem; } + .input-group > *:first-child { + border-radius: 0 0 0 0; } + .input-group > *:last-child > * { + border-radius: 0 0 0 0; } .input-group-label, .input-group-field, .input-group-button { display: table-cell; @@ -1333,6 +1340,10 @@ label { .input-group-label:last-child { border-left: 0; } +.input-group-field { + border-radius: 0; + height: 2.5rem; } + .input-group-button { height: 100%; padding-top: 0; @@ -1697,6 +1708,7 @@ select { border: 1px solid rgba(10, 10, 10, 0.25); border-radius: 0; position: relative; + color: #0a0a0a; background-color: white; } .callout > :first-child { margin-top: 0; } @@ -1704,30 +1716,14 @@ select { margin-bottom: 0; } .callout.primary { background-color: #def0fc; } - .callout.primary a { - color: #116ca8; } - .callout.primary a:hover { - color: #0a4063; } .callout.secondary { background-color: #ebebeb; } .callout.success { background-color: #e1faea; } - .callout.success a { - color: #1ea450; } - .callout.success a:hover { - color: #126330; } .callout.alert { background-color: #fce6e2; } - .callout.alert a { - color: #bf2b13; } - .callout.alert a:hover { - color: #791b0c; } .callout.warning { background-color: #fff3d9; } - .callout.warning a { - color: #b37a00; } - .callout.warning a:hover { - color: #664600; } .callout.small { padding-top: 0.5rem; padding-right: 0.5rem; @@ -1848,7 +1844,7 @@ select { border-color: #2199e8 transparent transparent; border-top-style: solid; position: absolute; - top: 12px; + top: 0.825rem; right: 5px; } .dropdown.menu .is-dropdown-submenu-parent.is-left-arrow > a::after { content: ''; @@ -1978,7 +1974,7 @@ select { vertical-align: top; } .media-object-section:first-child { padding-right: 1rem; } - .media-object-section:last-child:not( + &:first-child) { + .media-object-section:last-child:not( + .media-object-section:first-child) { padding-left: 1rem; } .media-object-section.middle { vertical-align: middle; } @@ -2066,6 +2062,9 @@ select { padding-bottom: 0; padding: 0.7rem 1rem; } +.no-js [data-responsive-menu] ul { + display: none; } + html, body { height: 100%; } @@ -2076,7 +2075,7 @@ body { position: relative; -webkit-backface-visibility: hidden; backface-visibility: hidden; - -webkit-overflow-scrolling: touch; } + -webkit-overflow-scrolling: auto; } .off-canvas-wrapper-inner { position: relative; @@ -2089,6 +2088,7 @@ body { .off-canvas-wrapper-inner::after { clear: both; } +.off-canvas-content, .off-canvas-content { min-height: 100%; background: #fefefe; @@ -2432,6 +2432,9 @@ body { .sticky.is-anchored.is-at-bottom { bottom: 0; } +body.is-reveal-open { + overflow: hidden; } + .reveal-overlay { display: none; position: fixed; @@ -2494,7 +2497,8 @@ body { height: 100vh; min-height: 100vh; max-width: none; - margin-left: 0; } + margin-left: 0; + border: none; } .switch { margin-bottom: 1rem; @@ -2686,7 +2690,9 @@ table.hover tr:nth-of-type(even):hover { line-height: 1; font-size: 12px; color: #2199e8; } - .tabs-title > a:hover, .tabs-title > a:focus, .tabs-title > a[aria-selected='true'] { + .tabs-title > a:hover { + background: #fefefe; } + .tabs-title > a:focus, .tabs-title > a[aria-selected='true'] { background: #e6e6e6; } .tabs-content { @@ -2840,19 +2846,46 @@ table.hover tr:nth-of-type(even):hover { display: table; } .top-bar::after { clear: both; } - .top-bar, .top-bar ul { + .top-bar, + .top-bar ul { background-color: #eee; } - .top-bar li > a, .top-bar ul li > a { - color: #fff; } + .top-bar a { + color: #fff; } .top-bar input { width: 200px; margin-right: 1rem; } + .top-bar input.button { + width: auto; } -@media screen and (min-width: 40em) { - .top-bar-left { - float: left; } +@media screen and (max-width: 39.9375em) { + .stacked-for-small .top-bar-right { + width: 100%; } + .stacked-for-small .top-bar-left { + width: 100%; } } + +@media screen and (max-width: 63.9375em) { + .stacked-for-medium .top-bar-right { + width: 100%; } + .stacked-for-medium .top-bar-left { + width: 100%; } } + +@media screen and (max-width: 74.9375em) { + .stacked-for-large .top-bar-right { + width: 100%; } + .stacked-for-large .top-bar-left { + width: 100%; } } + +@media screen and (max-width: 39.9375em) { .top-bar-right { - float: right; } } + width: 100%; } + .top-bar-left { + width: 100%; } } + +.top-bar-left { + float: left; } + +.top-bar-right { + float: right; } /*! * Font Awesome 4.5.0 by @davegandy - http://fontawesome.io - @fontawesome @@ -4938,13 +4971,15 @@ div.sourceCode { border: 1px #cacaca solid; background-color: #f7f7f7; margin-bottom: 0.625rem; - overflow-x: scroll; } + overflow-x: auto; } div.sourceCode pre { + padding: 0.625rem; border: none; background-color: transparent; } div.sourceCode code { border: none; - background-color: transparent; } + background-color: transparent; + padding: 0; } table.sourceCode { width: 100%; } diff --git a/gulpfile.js b/gulpfile.js index c1205a0..ba8d882 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -5,6 +5,7 @@ var sassPaths = [ 'bower_components/foundation-sites/scss', 'bower_components/motion-ui/src', 'bower_components/font-awesome/scss', + 'scss', ]; gulp.task('sass', function() { diff --git a/package.json b/package.json index e511d44..911c780 100644 --- a/package.json +++ b/package.json @@ -19,5 +19,8 @@ }, "author": "Eduardo Trujillo <ed@chromabits.com>", "license": "MIT", - "private": true + "private": true, + "dependencies": { + "bower": "~1.7.1" + } } diff --git a/posts/2015-12-28-fedora-23-on-mbp.md b/posts/2015-12-28-fedora-23-on-mbp.md new file mode 100644 index 0000000..e553798 --- /dev/null +++ b/posts/2015-12-28-fedora-23-on-mbp.md @@ -0,0 +1,133 @@ +--- +title: Using Fedora 23 on a MacBook Pro +date: Mon Dec 28 09:29:00 EDT 2015 +author: Eduardo Trujillo +uuid: af03d9f4-1318-43da-9852-a673db71e5dc +--- + +For the past few months, I've been using Fedora as my main OS on my laptop, a +2014-ish MacBook Pro. OSX is not bad, but it does not have native support for +things like Docker. + +I still have my OSX partition setup in case I need something that I can't do on +Linux (like updating the firmware or enabling/disabling the startup sound). + +These are some of notes I've collected along the way: + +## Writing the ISO to a USB stick + +If you are installing Fedora on a MBP, you are probably running OSX initially. +How do you write the ISO image into a USB stick and make it bootable? + +I've found that [Ubuntu's guide][ubuntu_guide] on the topic is the easiest +one to follow and works with the Fedora image too. + +Here's a quick summary: + +```bash +hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/fedora.iso +diskutil unmountDisk /dev/diskN +sudo dd if=~/path/to/target.img of=/dev/diskN bs=1m +diskutil eject /dev/diskN +``` + +See below on how to boot into the live image. + +## Dual-booting is possible without any additional software + +Some guides for installing Linux on MacBooks point you to installing UEFI +software like rEFInd. I would consider this an optional step since the laptop's +firmware has an OS selection screen built-in. + +For both, booting the live image and picking which OS to boot, all you have to +do is hold down the `alt` key while the laptop is booting and pick what you +want to boot. If you formatted the USB stick correctly, Fedora should be an +option. + +> **TIP:** You can setup a firmware password to protect the OS selection +screen (just like it would on a PC). + +## Going online (wireless-ly) + +Like on other laptops on Linux, the wireless card needs some drivers before you +can use it. + +On Fedora, the MacBook card's driver is available under the `akmod-wl` package. +However, you will first need to enable the RPM fusion repositories (both free +and non-free). + +The easiest way to do this is to use a Thunderbolt Ethernet adapter or to +tether your phone. Otherwise, you will porbably need to copy a couple of RPMs. + +> **TIP:** On some cases, the `kernel-headers` package will have a different +version from the current kernel in your system. This will prevent akmod from +compiling the module. You should run `dnf upgrade` if that happens. + +After restarting, the module should be compiled and you should be able to +connect to an access point. + +## Turning off that red light + +After booting Fedora (or any other Linux distribution), you will most likely +notice that there is an odd red light coming out your laptop's headphone jack. +This is normal. The headphone jack on MacBooks has a S/PDIF port built-in. + +The reason why the light is on while using Linux is that, by default, Linux +does not enable power saving mode on the audio card. However, its very easy to +enable it: + +```bash +# As root: +echo 1 > /sys/module/snd_hda_intel/parameters/power_save +``` + +Additional power saving toggles can be found using `powertop`. + +## Go to sleep + +For some reason, something keeps waking up the laptop after you press the +power button or close the lid. Having you laptop turn on inside your bag is not +fun! + +The workaround seems to disable a couple of wakeup triggers: + +```bash +# As root: +echo LID0 > /proc/acpi/wakeup +echo XHC1 > /proc/acpi/wakeup +``` + +The side effect being that your laptop won't turn on automatically when you +open the lid, however, you can now safely put it in your bag. + +## The webcam + +The only piece of hardware that you'll find that does not work on Linux is the +webcam. This is due to the fact that the drivers for it are not open source. + +There is, however, an [ongoing effort][effort] to build/reverse-engineer a +driver for Linux. + +## As a systemd unit + +I wrote a small unit file that will fix the red light and wake up issues at +boot time: + +```ini +[Unit] +Description=Improve MacBook setup + +[Service] +Type=oneshot +ExecStart=/bin/bash -c "echo 1 > /sys/module/snd_hda_intel/parameters/power_save && echo LID0 > /proc/acpi/wakeup && echo XHC1 > /proc/acpi/wakeup" + +[Install] +WantedBy=multi-user.target +``` + +Save this file as `/etc/systemd/system/mbp.service` and run +`systemctl daemon-reload && systemctl enable mbp` to load the unit on every +boot. + +[ubuntu_guide]: http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-mac-osx +[effort]: https://github.com/patjak/bcwc_pcie diff --git a/scss/_code.scss b/scss/_code.scss index b32b77c..3f0445b 100644 --- a/scss/_code.scss +++ b/scss/_code.scss @@ -2,9 +2,10 @@ div.sourceCode { border: 1px $medium-gray solid; background-color: scale-color($medium-gray, $lightness: 85%); margin-bottom: rem-calc(10); - overflow-x: scroll; + overflow-x: auto; pre { + padding: rem-calc(10); border: none; background-color: transparent; } @@ -12,6 +13,7 @@ div.sourceCode { code { border: none; background-color: transparent; + padding: 0; } } diff --git a/scss/_settings.scss b/scss/_settings.scss index cd4b21f..6477baa 100644 --- a/scss/_settings.scss +++ b/scss/_settings.scss @@ -94,7 +94,7 @@ $block-grid-max: 6; // ------------------ $header-font-family: $body-font-family; -$header-font-weight: $global-weight-normal; +$header-font-weight: $global-weight-bold; $header-font-style: normal; $font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace; $header-sizes: ( @@ -108,7 +108,7 @@ $header-sizes: ( ), medium: ( 'h1': 48, - 'h2': 40, + 'h2': 34, 'h3': 31, 'h4': 25, 'h5': 20, -- GitLab