minimal-mistakes-jekyll 4.6.0 → 4.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/LICENSE.txt +59 -21
  4. data/README.md +217 -160
  5. data/_data/navigation.yml +11 -11
  6. data/_data/ui-text.yml +931 -888
  7. data/_includes/analytics-providers/custom.html +2 -2
  8. data/_includes/analytics-providers/google-universal.html +9 -9
  9. data/_includes/analytics-providers/google.html +10 -10
  10. data/_includes/analytics.html +11 -11
  11. data/_includes/archive-single.html +37 -37
  12. data/_includes/author-profile-custom-links.html +6 -6
  13. data/_includes/author-profile.html +249 -249
  14. data/_includes/base_path +4 -4
  15. data/_includes/breadcrumbs.html +39 -39
  16. data/_includes/browser-upgrade.html +2 -2
  17. data/_includes/category-list.html +25 -25
  18. data/_includes/comment.html +22 -22
  19. data/_includes/comments-providers/custom.html +2 -2
  20. data/_includes/comments-providers/discourse.html +13 -13
  21. data/_includes/comments-providers/facebook.html +7 -7
  22. data/_includes/comments-providers/google-plus.html +1 -1
  23. data/_includes/comments-providers/scripts.html +17 -15
  24. data/_includes/comments-providers/staticman.html +41 -41
  25. data/_includes/comments-providers/staticman_v2.html +42 -0
  26. data/_includes/comments.html +168 -96
  27. data/_includes/feature_row +49 -49
  28. data/_includes/figure +12 -12
  29. data/_includes/footer.html +25 -25
  30. data/_includes/footer/custom.html +2 -2
  31. data/_includes/gallery +46 -46
  32. data/_includes/group-by-array +46 -46
  33. data/_includes/head.html +42 -42
  34. data/_includes/head/custom.html +4 -4
  35. data/_includes/masthead.html +23 -20
  36. data/_includes/nav_list +46 -46
  37. data/_includes/page__hero_video.html +4 -4
  38. data/_includes/page__taxonomy.html +6 -6
  39. data/_includes/paginator.html +69 -69
  40. data/_includes/post_pagination.html +13 -13
  41. data/_includes/read-time.html +14 -14
  42. data/_includes/scripts.html +15 -15
  43. data/_includes/seo.html +162 -147
  44. data/_includes/sidebar.html +22 -22
  45. data/_includes/social-share.html +13 -13
  46. data/_includes/tag-list.html +25 -25
  47. data/_includes/toc +6 -6
  48. data/_includes/toc.html +75 -0
  49. data/_includes/video +11 -11
  50. data/_layouts/archive-taxonomy.html +14 -14
  51. data/_layouts/archive.html +25 -25
  52. data/_layouts/compress.html +10 -10
  53. data/_layouts/default.html +1 -1
  54. data/_layouts/home.html +11 -11
  55. data/_layouts/single.html +92 -84
  56. data/_layouts/splash.html +21 -21
  57. data/_sass/minimal-mistakes.scss +1 -1
  58. data/_sass/minimal-mistakes/_animations.scss +20 -20
  59. data/_sass/minimal-mistakes/_archive.scss +317 -317
  60. data/_sass/minimal-mistakes/_base.scss +315 -315
  61. data/_sass/minimal-mistakes/_buttons.scss +97 -97
  62. data/_sass/minimal-mistakes/_footer.scss +82 -82
  63. data/_sass/minimal-mistakes/_forms.scss +399 -389
  64. data/_sass/minimal-mistakes/_masthead.scss +82 -82
  65. data/_sass/minimal-mistakes/_mixins.scss +91 -91
  66. data/_sass/minimal-mistakes/_navigation.scss +552 -552
  67. data/_sass/minimal-mistakes/_notices.scss +99 -99
  68. data/_sass/minimal-mistakes/_page.scss +430 -430
  69. data/_sass/minimal-mistakes/_reset.scss +186 -186
  70. data/_sass/minimal-mistakes/_sidebar.scss +262 -262
  71. data/_sass/minimal-mistakes/_syntax.scss +286 -146
  72. data/_sass/minimal-mistakes/_tables.scss +36 -36
  73. data/_sass/minimal-mistakes/_utilities.scss +519 -519
  74. data/_sass/minimal-mistakes/_variables.scss +137 -137
  75. data/_sass/minimal-mistakes/skins/_air.scss +22 -22
  76. data/_sass/minimal-mistakes/skins/_aqua.scss +30 -0
  77. data/_sass/minimal-mistakes/skins/_contrast.scss +33 -33
  78. data/_sass/minimal-mistakes/skins/_dark.scss +23 -23
  79. data/_sass/minimal-mistakes/skins/_default.scss +5 -5
  80. data/_sass/minimal-mistakes/skins/_dirt.scss +14 -14
  81. data/_sass/minimal-mistakes/skins/_mint.scss +22 -22
  82. data/_sass/minimal-mistakes/skins/_neon.scss +35 -0
  83. data/_sass/minimal-mistakes/skins/_plum.scss +42 -0
  84. data/_sass/minimal-mistakes/skins/_sunrise.scss +25 -25
  85. data/_sass/minimal-mistakes/vendor/breakpoint/_breakpoint.scss +114 -114
  86. data/_sass/minimal-mistakes/vendor/breakpoint/_context.scss +94 -94
  87. data/_sass/minimal-mistakes/vendor/breakpoint/_helpers.scss +151 -151
  88. data/_sass/minimal-mistakes/vendor/breakpoint/_legacy-settings.scss +49 -49
  89. data/_sass/minimal-mistakes/vendor/breakpoint/_no-query.scss +15 -15
  90. data/_sass/minimal-mistakes/vendor/breakpoint/_parsers.scss +215 -215
  91. data/_sass/minimal-mistakes/vendor/breakpoint/_respond-to.scss +82 -82
  92. data/_sass/minimal-mistakes/vendor/breakpoint/_settings.scss +70 -70
  93. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_double.scss +33 -33
  94. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_query.scss +82 -82
  95. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_resolution.scss +31 -31
  96. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_single.scss +26 -26
  97. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_triple.scss +36 -36
  98. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default-pair.scss +21 -21
  99. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default.scss +22 -22
  100. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss +21 -21
  101. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -60
  102. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/single/_default.scss +13 -13
  103. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/triple/_default.scss +18 -18
  104. data/_sass/minimal-mistakes/vendor/font-awesome/_animated.scss +34 -34
  105. data/_sass/minimal-mistakes/vendor/font-awesome/_bordered-pulled.scss +25 -25
  106. data/_sass/minimal-mistakes/vendor/font-awesome/_core.scss +12 -12
  107. data/_sass/minimal-mistakes/vendor/font-awesome/_fixed-width.scss +6 -6
  108. data/_sass/minimal-mistakes/vendor/font-awesome/_font-awesome.scss +18 -18
  109. data/_sass/minimal-mistakes/vendor/font-awesome/_icons.scss +789 -789
  110. data/_sass/minimal-mistakes/vendor/font-awesome/_larger.scss +13 -13
  111. data/_sass/minimal-mistakes/vendor/font-awesome/_list.scss +19 -19
  112. data/_sass/minimal-mistakes/vendor/font-awesome/_mixins.scss +60 -60
  113. data/_sass/minimal-mistakes/vendor/font-awesome/_path.scss +15 -15
  114. data/_sass/minimal-mistakes/vendor/font-awesome/_rotated-flipped.scss +20 -20
  115. data/_sass/minimal-mistakes/vendor/font-awesome/_screen-reader.scss +5 -5
  116. data/_sass/minimal-mistakes/vendor/font-awesome/_stacked.scss +20 -20
  117. data/_sass/minimal-mistakes/vendor/font-awesome/_variables.scss +800 -800
  118. data/_sass/minimal-mistakes/vendor/magnific-popup/_magnific-popup.scss +649 -649
  119. data/_sass/minimal-mistakes/vendor/magnific-popup/_settings.scss +45 -45
  120. data/_sass/minimal-mistakes/vendor/susy/_susy-prefix.scss +13 -13
  121. data/_sass/minimal-mistakes/vendor/susy/_susy.scss +5 -5
  122. data/_sass/minimal-mistakes/vendor/susy/plugins/_svg-grid.scss +5 -5
  123. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_prefix.scss +7 -7
  124. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-api.scss +114 -114
  125. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-grid-math.scss +67 -67
  126. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-settings.scss +14 -14
  127. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-unprefix.scss +18 -18
  128. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-utilities.scss +133 -133
  129. data/_sass/minimal-mistakes/vendor/susy/susy/_api.scss +318 -318
  130. data/_sass/minimal-mistakes/vendor/susy/susy/_normalize.scss +261 -261
  131. data/_sass/minimal-mistakes/vendor/susy/susy/_parse.scss +163 -163
  132. data/_sass/minimal-mistakes/vendor/susy/susy/_settings.scss +329 -329
  133. data/_sass/minimal-mistakes/vendor/susy/susy/_su-math.scss +441 -441
  134. data/_sass/minimal-mistakes/vendor/susy/susy/_su-validate.scss +213 -213
  135. data/_sass/minimal-mistakes/vendor/susy/susy/_syntax-helpers.scss +191 -191
  136. data/_sass/minimal-mistakes/vendor/susy/susy/_unprefix.scss +56 -56
  137. data/_sass/minimal-mistakes/vendor/susy/susy/_utilities.scss +167 -167
  138. data/assets/css/main.scss +7 -7
  139. data/assets/fonts/fontawesome-webfont.svg +2671 -2671
  140. data/assets/js/_main.js +72 -72
  141. data/assets/js/main.min.js +1 -1
  142. data/assets/js/plugins/jquery.fitvids.js +81 -81
  143. data/assets/js/plugins/jquery.greedy-navigation.js +77 -77
  144. metadata +8 -3
@@ -1,187 +1,187 @@
1
- /* ==========================================================================
2
- STYLE RESETS
3
- ========================================================================== */
4
-
5
- * { box-sizing: border-box; }
6
-
7
- html {
8
- /* apply a natural box layout model to all elements */
9
- box-sizing: border-box;
10
- background-color: $background-color;
11
- font-size: 16px;
12
-
13
- @include breakpoint($medium) {
14
- font-size: 18px;
15
- }
16
-
17
- @include breakpoint($large) {
18
- font-size: 20px;
19
- }
20
-
21
- @include breakpoint($x-large) {
22
- font-size: 22px;
23
- }
24
-
25
- -webkit-text-size-adjust: 100%;
26
- -ms-text-size-adjust: 100%;
27
- }
28
-
29
- /* Remove margin */
30
-
31
- body { margin: 0; }
32
-
33
- /* Selected elements */
34
-
35
- ::-moz-selection {
36
- color: #fff;
37
- background: #000;
38
- }
39
-
40
- ::selection {
41
- color: #fff;
42
- background: #000;
43
- }
44
-
45
- /* Display HTML5 elements in IE6-9 and FF3 */
46
-
47
- article,
48
- aside,
49
- details,
50
- figcaption,
51
- figure,
52
- footer,
53
- header,
54
- hgroup,
55
- main,
56
- nav,
57
- section {
58
- display: block;
59
- }
60
-
61
- /* Display block in IE6-9 and FF3 */
62
-
63
- audio,
64
- canvas,
65
- video {
66
- display: inline-block;
67
- *display: inline;
68
- *zoom: 1;
69
- }
70
-
71
- /* Prevents modern browsers from displaying 'audio' without controls */
72
-
73
- audio:not([controls]) {
74
- display: none;
75
- }
76
-
77
- a {
78
- color: $link-color;
79
- }
80
-
81
- /* Apply focus state */
82
-
83
- a:focus {
84
- @extend %tab-focus;
85
- }
86
-
87
- /* Remove outline from links */
88
-
89
- a:hover,
90
- a:active {
91
- outline: 0;
92
- }
93
-
94
- /* Prevent sub and sup affecting line-height in all browsers */
95
-
96
- sub,
97
- sup {
98
- position: relative;
99
- font-size: 75%;
100
- line-height: 0;
101
- vertical-align: baseline;
102
- }
103
-
104
- sup {
105
- top: -0.5em;
106
- }
107
-
108
- sub {
109
- bottom: -0.25em;
110
- }
111
-
112
- /* img border in anchor's and image quality */
113
-
114
- img {
115
- /* Responsive images (ensure images don't scale beyond their parents) */
116
- max-width: 100%; /* part 1: Set a maximum relative to the parent*/
117
- width: auto\9; /* IE7-8 need help adjusting responsive images*/
118
- height: auto; /* part 2: Scale the height according to the width, otherwise you get stretching*/
119
-
120
- vertical-align: middle;
121
- border: 0;
122
- -ms-interpolation-mode: bicubic;
123
- }
124
-
125
- /* Prevent max-width from affecting Google Maps */
126
-
127
- #map_canvas img,
128
- .google-maps img {
129
- max-width: none;
130
- }
131
-
132
- /* Consistent form font size in all browsers, margin changes, misc */
133
-
134
- button,
135
- input,
136
- select,
137
- textarea {
138
- margin: 0;
139
- font-size: 100%;
140
- vertical-align: middle;
141
- }
142
-
143
- button,
144
- input {
145
- *overflow: visible; /* inner spacing ie IE6/7*/
146
- line-height: normal; /* FF3/4 have !important on line-height in UA stylesheet*/
147
- }
148
-
149
- button::-moz-focus-inner,
150
- input::-moz-focus-inner { /* inner padding and border oddities in FF3/4*/
151
- padding: 0;
152
- border: 0;
153
- }
154
-
155
- button,
156
- html input[type="button"], // avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls
157
- input[type="reset"],
158
- input[type="submit"] {
159
- -webkit-appearance: button; /* corrects inability to style clickable `input` types in iOS*/
160
- cursor: pointer; /* improves usability and consistency of cursor style between image-type `input` and others*/
161
- }
162
-
163
- label,
164
- select,
165
- button,
166
- input[type="button"],
167
- input[type="reset"],
168
- input[type="submit"],
169
- input[type="radio"],
170
- input[type="checkbox"] {
171
- cursor: pointer; /* improves usability and consistency of cursor style between image-type `input` and others*/
172
- }
173
-
174
- input[type="search"] { /* Appearance in Safari/Chrome*/
175
- box-sizing: content-box;
176
- -webkit-appearance: textfield;
177
- }
178
-
179
- input[type="search"]::-webkit-search-decoration,
180
- input[type="search"]::-webkit-search-cancel-button {
181
- -webkit-appearance: none; /* inner-padding issues in Chrome OSX, Safari 5*/
182
- }
183
-
184
- textarea {
185
- overflow: auto; /* remove vertical scrollbar in IE6-9*/
186
- vertical-align: top; /* readability and alignment cross-browser*/
1
+ /* ==========================================================================
2
+ STYLE RESETS
3
+ ========================================================================== */
4
+
5
+ * { box-sizing: border-box; }
6
+
7
+ html {
8
+ /* apply a natural box layout model to all elements */
9
+ box-sizing: border-box;
10
+ background-color: $background-color;
11
+ font-size: 16px;
12
+
13
+ @include breakpoint($medium) {
14
+ font-size: 18px;
15
+ }
16
+
17
+ @include breakpoint($large) {
18
+ font-size: 20px;
19
+ }
20
+
21
+ @include breakpoint($x-large) {
22
+ font-size: 22px;
23
+ }
24
+
25
+ -webkit-text-size-adjust: 100%;
26
+ -ms-text-size-adjust: 100%;
27
+ }
28
+
29
+ /* Remove margin */
30
+
31
+ body { margin: 0; }
32
+
33
+ /* Selected elements */
34
+
35
+ ::-moz-selection {
36
+ color: #fff;
37
+ background: #000;
38
+ }
39
+
40
+ ::selection {
41
+ color: #fff;
42
+ background: #000;
43
+ }
44
+
45
+ /* Display HTML5 elements in IE6-9 and FF3 */
46
+
47
+ article,
48
+ aside,
49
+ details,
50
+ figcaption,
51
+ figure,
52
+ footer,
53
+ header,
54
+ hgroup,
55
+ main,
56
+ nav,
57
+ section {
58
+ display: block;
59
+ }
60
+
61
+ /* Display block in IE6-9 and FF3 */
62
+
63
+ audio,
64
+ canvas,
65
+ video {
66
+ display: inline-block;
67
+ *display: inline;
68
+ *zoom: 1;
69
+ }
70
+
71
+ /* Prevents modern browsers from displaying 'audio' without controls */
72
+
73
+ audio:not([controls]) {
74
+ display: none;
75
+ }
76
+
77
+ a {
78
+ color: $link-color;
79
+ }
80
+
81
+ /* Apply focus state */
82
+
83
+ a:focus {
84
+ @extend %tab-focus;
85
+ }
86
+
87
+ /* Remove outline from links */
88
+
89
+ a:hover,
90
+ a:active {
91
+ outline: 0;
92
+ }
93
+
94
+ /* Prevent sub and sup affecting line-height in all browsers */
95
+
96
+ sub,
97
+ sup {
98
+ position: relative;
99
+ font-size: 75%;
100
+ line-height: 0;
101
+ vertical-align: baseline;
102
+ }
103
+
104
+ sup {
105
+ top: -0.5em;
106
+ }
107
+
108
+ sub {
109
+ bottom: -0.25em;
110
+ }
111
+
112
+ /* img border in anchor's and image quality */
113
+
114
+ img {
115
+ /* Responsive images (ensure images don't scale beyond their parents) */
116
+ max-width: 100%; /* part 1: Set a maximum relative to the parent*/
117
+ width: auto\9; /* IE7-8 need help adjusting responsive images*/
118
+ height: auto; /* part 2: Scale the height according to the width, otherwise you get stretching*/
119
+
120
+ vertical-align: middle;
121
+ border: 0;
122
+ -ms-interpolation-mode: bicubic;
123
+ }
124
+
125
+ /* Prevent max-width from affecting Google Maps */
126
+
127
+ #map_canvas img,
128
+ .google-maps img {
129
+ max-width: none;
130
+ }
131
+
132
+ /* Consistent form font size in all browsers, margin changes, misc */
133
+
134
+ button,
135
+ input,
136
+ select,
137
+ textarea {
138
+ margin: 0;
139
+ font-size: 100%;
140
+ vertical-align: middle;
141
+ }
142
+
143
+ button,
144
+ input {
145
+ *overflow: visible; /* inner spacing ie IE6/7*/
146
+ line-height: normal; /* FF3/4 have !important on line-height in UA stylesheet*/
147
+ }
148
+
149
+ button::-moz-focus-inner,
150
+ input::-moz-focus-inner { /* inner padding and border oddities in FF3/4*/
151
+ padding: 0;
152
+ border: 0;
153
+ }
154
+
155
+ button,
156
+ html input[type="button"], // avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls
157
+ input[type="reset"],
158
+ input[type="submit"] {
159
+ -webkit-appearance: button; /* corrects inability to style clickable `input` types in iOS*/
160
+ cursor: pointer; /* improves usability and consistency of cursor style between image-type `input` and others*/
161
+ }
162
+
163
+ label,
164
+ select,
165
+ button,
166
+ input[type="button"],
167
+ input[type="reset"],
168
+ input[type="submit"],
169
+ input[type="radio"],
170
+ input[type="checkbox"] {
171
+ cursor: pointer; /* improves usability and consistency of cursor style between image-type `input` and others*/
172
+ }
173
+
174
+ input[type="search"] { /* Appearance in Safari/Chrome*/
175
+ box-sizing: content-box;
176
+ -webkit-appearance: textfield;
177
+ }
178
+
179
+ input[type="search"]::-webkit-search-decoration,
180
+ input[type="search"]::-webkit-search-cancel-button {
181
+ -webkit-appearance: none; /* inner-padding issues in Chrome OSX, Safari 5*/
182
+ }
183
+
184
+ textarea {
185
+ overflow: auto; /* remove vertical scrollbar in IE6-9*/
186
+ vertical-align: top; /* readability and alignment cross-browser*/
187
187
  }
@@ -1,263 +1,263 @@
1
- /* ==========================================================================
2
- SIDEBAR
3
- ========================================================================== */
4
-
5
- /*
6
- Default
7
- ========================================================================== */
8
-
9
- .sidebar {
10
- @include clearfix();
11
- margin-bottom: 1em;
12
- -webkit-transform: translate3d(0, 0 , 0);
13
- transform: translate3d(0, 0 , 0);
14
-
15
- @include breakpoint(max-width $large) {
16
- /* fix z-index order of follow links */
17
- position: relative;
18
- z-index: 10;
19
- }
20
-
21
- @include breakpoint($large) {
22
- float: left;
23
- width: calc(#{$right-sidebar-width-narrow} - 1em);
24
- opacity: 0.75;
25
- -webkit-transition: opacity 0.2s ease-in-out;
26
- transition: opacity 0.2s ease-in-out;
27
-
28
- &:hover {
29
- opacity: 1;
30
- }
31
-
32
- &.sticky {
33
- overflow-y: auto;
34
- /* calculate height of nav list */
35
- height: calc(100vh - 90px - 2em); // viewport height - approx. masthead height - main content top margin
36
- }
37
- }
38
-
39
- @include breakpoint($x-large) {
40
- width: calc(#{$right-sidebar-width} - 1em);
41
- }
42
-
43
- h2, h3, h4, h5, h6 {
44
- margin-bottom: 0;
45
- font-family: $sans-serif-narrow;
46
- }
47
-
48
- p, li {
49
- font-family: $sans-serif;
50
- font-size: $type-size-6;
51
- line-height: 1.5;
52
- }
53
-
54
- img {
55
- width: 100%;
56
- }
57
- }
58
-
59
- .sidebar__right {
60
- margin-bottom: 1em;
61
-
62
- @include breakpoint($large) {
63
- position: absolute;
64
- top: 0;
65
- right: 0;
66
- width: $right-sidebar-width-narrow;
67
- margin-right: -1 * $right-sidebar-width-narrow;
68
- padding-left: 1em;
69
- z-index: 10;
70
- }
71
-
72
- @include breakpoint($x-large) {
73
- width: $right-sidebar-width;
74
- margin-right: -1 * $right-sidebar-width;
75
- }
76
- }
77
-
78
- .splash .sidebar__right {
79
-
80
- @include breakpoint($large) {
81
- position: relative;
82
- float: right;
83
- margin-right: 0;
84
- }
85
-
86
- @include breakpoint($x-large) {
87
- margin-right: 0;
88
- }
89
- }
90
-
91
- /*
92
- Author profile and links
93
- ========================================================================== */
94
-
95
- .author__avatar {
96
- display: table-cell;
97
- vertical-align: top;
98
- width: 36px;
99
- height: 36px;
100
-
101
- @include breakpoint($large) {
102
- display: block;
103
- width: auto;
104
- height: auto;
105
- }
106
-
107
- img {
108
- max-width: 110px;
109
- border-radius: 50%;
110
-
111
- @include breakpoint($large) {
112
- padding: 5px;
113
- border: 1px solid $border-color;
114
- }
115
- }
116
- }
117
-
118
- .author__content {
119
- display: table-cell;
120
- vertical-align: top;
121
- padding-left: 15px;
122
- padding-right: 25px;
123
- line-height: 1;
124
-
125
- @include breakpoint($large) {
126
- display: block;
127
- width: 100%;
128
- padding-left: 0;
129
- padding-right: 0;
130
- }
131
- }
132
-
133
- .author__name {
134
- margin: 0;
135
-
136
- @include breakpoint($large) {
137
- margin-top: 10px;
138
- margin-bottom: 10px;
139
- }
140
- }
141
- .sidebar .author__name {
142
- font-family: $sans-serif;
143
- font-size: $type-size-5;
144
- }
145
-
146
- .author__bio {
147
- margin: 0;
148
-
149
- @include breakpoint($large) {
150
- margin-top: 10px;
151
- margin-bottom: 20px;
152
- }
153
- }
154
-
155
- .author__urls-wrapper {
156
- position: relative;
157
- display: table-cell;
158
- vertical-align: middle;
159
- font-family: $sans-serif;
160
- z-index: 10;
161
- position: relative;
162
- cursor: pointer;
163
-
164
- li:last-child {
165
- a {
166
- margin-bottom: 0;
167
- }
168
- }
169
-
170
- @include breakpoint($large) {
171
- display: block;
172
- }
173
-
174
- button {
175
- margin-bottom: 0;
176
-
177
- @include breakpoint($large) {
178
- display: none;
179
- }
180
- }
181
- }
182
-
183
- .author__urls {
184
- display: none;
185
- position: absolute;
186
- right: 0;
187
- margin-top: 15px;
188
- padding: 10px;
189
- list-style-type: none;
190
- border: 1px solid $border-color;
191
- border-radius: $border-radius;
192
- background: $background-color;
193
- z-index: -1;
194
- box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
195
- cursor: default;
196
-
197
- &.is--visible {
198
- display: block;
199
- }
200
-
201
- @include breakpoint($large) {
202
- display: block;
203
- position: relative;
204
- margin: 0;
205
- padding: 0;
206
- border: 0;
207
- background: transparent;
208
- box-shadow: none;
209
- }
210
-
211
- &:before {
212
- display: block;
213
- content: "";
214
- position: absolute;
215
- top: -11px;
216
- left: calc(50% - 10px);
217
- width: 0;
218
- border-style: solid;
219
- border-width: 0 10px 10px;
220
- border-color: $border-color transparent;
221
- z-index: 0;
222
-
223
- @include breakpoint($large) {
224
- display: none;
225
- }
226
- }
227
-
228
- &:after {
229
- display: block;
230
- content: "";
231
- position: absolute;
232
- top: -10px;
233
- left: calc(50% - 10px);
234
- width: 0;
235
- border-style: solid;
236
- border-width: 0 10px 10px;
237
- border-color: $background-color transparent;
238
- z-index: 1;
239
-
240
- @include breakpoint($large) {
241
- display: none;
242
- }
243
- }
244
-
245
- li {
246
- white-space: nowrap;
247
- }
248
-
249
- a {
250
- display: block;
251
- margin-bottom: 5px;
252
- padding-right: 5px;
253
- padding-top: 2px;
254
- padding-bottom: 2px;
255
- color: inherit;
256
- font-size: $type-size-5;
257
- text-decoration: none;
258
-
259
- &:hover {
260
- text-decoration: underline;
261
- }
262
- }
1
+ /* ==========================================================================
2
+ SIDEBAR
3
+ ========================================================================== */
4
+
5
+ /*
6
+ Default
7
+ ========================================================================== */
8
+
9
+ .sidebar {
10
+ @include clearfix();
11
+ margin-bottom: 1em;
12
+ -webkit-transform: translate3d(0, 0 , 0);
13
+ transform: translate3d(0, 0 , 0);
14
+
15
+ @include breakpoint(max-width $large) {
16
+ /* fix z-index order of follow links */
17
+ position: relative;
18
+ z-index: 10;
19
+ }
20
+
21
+ @include breakpoint($large) {
22
+ float: left;
23
+ width: calc(#{$right-sidebar-width-narrow} - 1em);
24
+ opacity: 0.75;
25
+ -webkit-transition: opacity 0.2s ease-in-out;
26
+ transition: opacity 0.2s ease-in-out;
27
+
28
+ &:hover {
29
+ opacity: 1;
30
+ }
31
+
32
+ &.sticky {
33
+ overflow-y: auto;
34
+ /* calculate height of nav list */
35
+ height: calc(100vh - 90px - 2em); // viewport height - approx. masthead height - main content top margin
36
+ }
37
+ }
38
+
39
+ @include breakpoint($x-large) {
40
+ width: calc(#{$right-sidebar-width} - 1em);
41
+ }
42
+
43
+ h2, h3, h4, h5, h6 {
44
+ margin-bottom: 0;
45
+ font-family: $sans-serif-narrow;
46
+ }
47
+
48
+ p, li {
49
+ font-family: $sans-serif;
50
+ font-size: $type-size-6;
51
+ line-height: 1.5;
52
+ }
53
+
54
+ img {
55
+ width: 100%;
56
+ }
57
+ }
58
+
59
+ .sidebar__right {
60
+ margin-bottom: 1em;
61
+
62
+ @include breakpoint($large) {
63
+ position: absolute;
64
+ top: 0;
65
+ right: 0;
66
+ width: $right-sidebar-width-narrow;
67
+ margin-right: -1 * $right-sidebar-width-narrow;
68
+ padding-left: 1em;
69
+ z-index: 10;
70
+ }
71
+
72
+ @include breakpoint($x-large) {
73
+ width: $right-sidebar-width;
74
+ margin-right: -1 * $right-sidebar-width;
75
+ }
76
+ }
77
+
78
+ .splash .sidebar__right {
79
+
80
+ @include breakpoint($large) {
81
+ position: relative;
82
+ float: right;
83
+ margin-right: 0;
84
+ }
85
+
86
+ @include breakpoint($x-large) {
87
+ margin-right: 0;
88
+ }
89
+ }
90
+
91
+ /*
92
+ Author profile and links
93
+ ========================================================================== */
94
+
95
+ .author__avatar {
96
+ display: table-cell;
97
+ vertical-align: top;
98
+ width: 36px;
99
+ height: 36px;
100
+
101
+ @include breakpoint($large) {
102
+ display: block;
103
+ width: auto;
104
+ height: auto;
105
+ }
106
+
107
+ img {
108
+ max-width: 110px;
109
+ border-radius: 50%;
110
+
111
+ @include breakpoint($large) {
112
+ padding: 5px;
113
+ border: 1px solid $border-color;
114
+ }
115
+ }
116
+ }
117
+
118
+ .author__content {
119
+ display: table-cell;
120
+ vertical-align: top;
121
+ padding-left: 15px;
122
+ padding-right: 25px;
123
+ line-height: 1;
124
+
125
+ @include breakpoint($large) {
126
+ display: block;
127
+ width: 100%;
128
+ padding-left: 0;
129
+ padding-right: 0;
130
+ }
131
+ }
132
+
133
+ .author__name {
134
+ margin: 0;
135
+
136
+ @include breakpoint($large) {
137
+ margin-top: 10px;
138
+ margin-bottom: 10px;
139
+ }
140
+ }
141
+ .sidebar .author__name {
142
+ font-family: $sans-serif;
143
+ font-size: $type-size-5;
144
+ }
145
+
146
+ .author__bio {
147
+ margin: 0;
148
+
149
+ @include breakpoint($large) {
150
+ margin-top: 10px;
151
+ margin-bottom: 20px;
152
+ }
153
+ }
154
+
155
+ .author__urls-wrapper {
156
+ position: relative;
157
+ display: table-cell;
158
+ vertical-align: middle;
159
+ font-family: $sans-serif;
160
+ z-index: 10;
161
+ position: relative;
162
+ cursor: pointer;
163
+
164
+ li:last-child {
165
+ a {
166
+ margin-bottom: 0;
167
+ }
168
+ }
169
+
170
+ @include breakpoint($large) {
171
+ display: block;
172
+ }
173
+
174
+ button {
175
+ margin-bottom: 0;
176
+
177
+ @include breakpoint($large) {
178
+ display: none;
179
+ }
180
+ }
181
+ }
182
+
183
+ .author__urls {
184
+ display: none;
185
+ position: absolute;
186
+ right: 0;
187
+ margin-top: 15px;
188
+ padding: 10px;
189
+ list-style-type: none;
190
+ border: 1px solid $border-color;
191
+ border-radius: $border-radius;
192
+ background: $background-color;
193
+ z-index: -1;
194
+ box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
195
+ cursor: default;
196
+
197
+ &.is--visible {
198
+ display: block;
199
+ }
200
+
201
+ @include breakpoint($large) {
202
+ display: block;
203
+ position: relative;
204
+ margin: 0;
205
+ padding: 0;
206
+ border: 0;
207
+ background: transparent;
208
+ box-shadow: none;
209
+ }
210
+
211
+ &:before {
212
+ display: block;
213
+ content: "";
214
+ position: absolute;
215
+ top: -11px;
216
+ left: calc(50% - 10px);
217
+ width: 0;
218
+ border-style: solid;
219
+ border-width: 0 10px 10px;
220
+ border-color: $border-color transparent;
221
+ z-index: 0;
222
+
223
+ @include breakpoint($large) {
224
+ display: none;
225
+ }
226
+ }
227
+
228
+ &:after {
229
+ display: block;
230
+ content: "";
231
+ position: absolute;
232
+ top: -10px;
233
+ left: calc(50% - 10px);
234
+ width: 0;
235
+ border-style: solid;
236
+ border-width: 0 10px 10px;
237
+ border-color: $background-color transparent;
238
+ z-index: 1;
239
+
240
+ @include breakpoint($large) {
241
+ display: none;
242
+ }
243
+ }
244
+
245
+ li {
246
+ white-space: nowrap;
247
+ }
248
+
249
+ a {
250
+ display: block;
251
+ margin-bottom: 5px;
252
+ padding-right: 5px;
253
+ padding-top: 2px;
254
+ padding-bottom: 2px;
255
+ color: inherit;
256
+ font-size: $type-size-5;
257
+ text-decoration: none;
258
+
259
+ &:hover {
260
+ text-decoration: underline;
261
+ }
262
+ }
263
263
  }