bourbon 2.0.0.rc1 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. data/_config.yml +42 -0
  2. data/_includes/animation.html +20 -0
  3. data/_includes/appearance.html +8 -0
  4. data/_includes/background-image.html +36 -0
  5. data/_includes/background-size.html +12 -0
  6. data/_includes/border-image.html +11 -0
  7. data/_includes/border-radius.html +26 -0
  8. data/_includes/box-shadow.html +20 -0
  9. data/_includes/box-sizing.html +8 -0
  10. data/_includes/buttons.html +52 -0
  11. data/_includes/clearfix.html +11 -0
  12. data/_includes/columns.html +9 -0
  13. data/_includes/compact.html +9 -0
  14. data/_includes/complete-list.html +115 -0
  15. data/_includes/flex-box.html +23 -0
  16. data/_includes/flex-grid.html +28 -0
  17. data/_includes/font-family.html +21 -0
  18. data/_includes/footer.html +37 -0
  19. data/_includes/golden-ratio.html +16 -0
  20. data/_includes/grid-width.html +15 -0
  21. data/_includes/hide-text.html +12 -0
  22. data/_includes/html5-input-types.html +22 -0
  23. data/_includes/inline-block.html +8 -0
  24. data/_includes/intro.html +5 -0
  25. data/_includes/linear-gradient-function.html +21 -0
  26. data/_includes/linear-gradient.html +24 -0
  27. data/_includes/modular-scale.html +20 -0
  28. data/_includes/navigation.html +43 -0
  29. data/_includes/position.html +18 -0
  30. data/_includes/radial-gradient-function.html +24 -0
  31. data/_includes/radial-gradient.html +26 -0
  32. data/_includes/timing-functions.html +47 -0
  33. data/_includes/tint-shade.html +13 -0
  34. data/_includes/transform-origin.html +8 -0
  35. data/_includes/transform.html +10 -0
  36. data/_includes/transitions.html +9 -0
  37. data/_includes/user-select.html +8 -0
  38. data/_site/images/border.png +0 -0
  39. data/_site/images/bourbon-logo.png +0 -0
  40. data/_site/index.html +890 -0
  41. data/_site/stylesheets/style.css +1226 -0
  42. data/app/assets/stylesheets/_bourbon.scss +4 -0
  43. data/app/assets/stylesheets/addons/_button.scss +11 -7
  44. data/app/assets/stylesheets/addons/_font-face.scss +12 -0
  45. data/app/assets/stylesheets/addons/_position.scss +42 -0
  46. data/app/assets/stylesheets/css3/_animation.scss +9 -27
  47. data/app/assets/stylesheets/css3/_appearance.scss +1 -5
  48. data/app/assets/stylesheets/css3/_background-size.scss +1 -5
  49. data/app/assets/stylesheets/css3/_border-radius.scss +8 -19
  50. data/app/assets/stylesheets/css3/_box-shadow.scss +1 -3
  51. data/app/assets/stylesheets/css3/_box-sizing.scss +1 -3
  52. data/app/assets/stylesheets/css3/_columns.scss +10 -30
  53. data/app/assets/stylesheets/css3/_flex-box.scss +11 -26
  54. data/app/assets/stylesheets/css3/_prefixer.scss +12 -0
  55. data/app/assets/stylesheets/css3/_transform.scss +2 -10
  56. data/app/assets/stylesheets/css3/_transition.scss +9 -25
  57. data/app/assets/stylesheets/css3/_user-select.scss +1 -4
  58. data/app/assets/stylesheets/functions/_transition-property-name.scss +22 -0
  59. data/doc/README.md +36 -0
  60. data/images/border.png +0 -0
  61. data/images/bourbon-logo.png +0 -0
  62. data/index.html +80 -0
  63. data/lib/bourbon/sass_extensions/functions/compact.rb +3 -2
  64. data/lib/bourbon/version.rb +1 -1
  65. data/readme.md +8 -8
  66. data/stylesheets/sass/_animation-keyframes.scss +31 -0
  67. data/stylesheets/sass/_base.scss +304 -0
  68. data/stylesheets/sass/_demos.scss +198 -0
  69. data/stylesheets/sass/_mixins.scss +21 -0
  70. data/stylesheets/sass/_normalize.scss +264 -0
  71. data/stylesheets/sass/_pygments-theme-dark.scss +38 -0
  72. data/stylesheets/sass/_pygments-theme-light.scss +37 -0
  73. data/stylesheets/sass/style.scss +10 -0
  74. data/stylesheets/style.css +1226 -0
  75. metadata +69 -11
@@ -0,0 +1,12 @@
1
+ @mixin prefixer ($property, $value,
2
+ $webkit: true,
3
+ $moz: true,
4
+ $ms: false,
5
+ $o: false,
6
+ $spec: true) {
7
+ @if $webkit { -webkit-#{$property}: $value; }
8
+ @if $moz { -moz-#{$property}: $value; }
9
+ @if $ms { -ms-#{$property}: $value; }
10
+ @if $o { -o-#{$property}: $value; }
11
+ @if $spec { #{$property}: $value; }
12
+ }
@@ -1,19 +1,11 @@
1
1
  @mixin transform($property: none) {
2
2
  // none | <transform-function>
3
- -webkit-transform: $property;
4
- -moz-transform: $property;
5
- -ms-transform: $property;
6
- -o-transform: $property;
7
- transform: $property;
3
+ @include prefixer(transform, $property, webkit, moz, ms, o);
8
4
  }
9
5
 
10
6
  @mixin transform-origin($axes: 50%) {
11
7
  // x-axis - left | center | right | length | %
12
8
  // y-axis - top | center | bottom | length | %
13
9
  // z-axis - length
14
- -webkit-transform-origin: $axes;
15
- -moz-transform-origin: $axes;
16
- -ms-transform-origin: $axes;
17
- -o-transform-origin: $axes;
18
- transform-origin: $axes;
10
+ @include prefixer(transform-origin, $axes, webkit, moz, ms, o);
19
11
  }
@@ -12,11 +12,7 @@
12
12
  $full: compact($prop-1, $prop-2, $prop-3, $prop-4, $prop-5,
13
13
  $prop-6, $prop-7, $prop-8, $prop-9);
14
14
 
15
- -webkit-transition: $full;
16
- -moz-transition: $full;
17
- -ms-transition: $full;
18
- -o-transition: $full;
19
- transition: $full;
15
+ @include prefixer(transition, $full, webkit, moz, ms, o);
20
16
  }
21
17
 
22
18
 
@@ -30,11 +26,11 @@
30
26
  $full: compact($prop-1, $prop-2, $prop-3, $prop-4, $prop-5,
31
27
  $prop-6, $prop-7, $prop-8, $prop-9);
32
28
 
33
- -webkit-transition-property: $full;
34
- -moz-transition-property: $full;
35
- -ms-transition-property: $full;
36
- -o-transition-property: $full;
37
- transition-property: $full;
29
+ -webkit-transition-property: transition-property-names($full, 'webkit');
30
+ -moz-transition-property: transition-property-names($full, 'moz');
31
+ -ms-transition-property: transition-property-names($full, 'ms');
32
+ -o-transition-property: transition-property-names($full, 'o');
33
+ transition-property: transition-property-names($full, false);
38
34
  }
39
35
 
40
36
  @mixin transition-duration ($time-1: 0,
@@ -46,11 +42,7 @@
46
42
  $full: compact($time-1, $time-2, $time-3, $time-4, $time-5,
47
43
  $time-6, $time-7, $time-8, $time-9);
48
44
 
49
- -webkit-transition-duration: $full;
50
- -moz-transition-duration: $full;
51
- -ms-transition-duration: $full;
52
- -o-transition-duration: $full;
53
- transition-duration: $full;
45
+ @include prefixer(transition-duration, $full, webkit, moz, ms, o);
54
46
  }
55
47
 
56
48
  @mixin transition-timing-function ($motion-1: ease,
@@ -63,11 +55,7 @@
63
55
  $motion-6, $motion-7, $motion-8, $motion-9);
64
56
 
65
57
  // ease | linear | ease-in | ease-out | ease-in-out | cubic-bezier()
66
- -webkit-transition-timing-function: $full;
67
- -moz-transition-timing-function: $full;
68
- -ms-transition-timing-function: $full;
69
- -o-transition-timing-function: $full;
70
- transition-timing-function: $full;
58
+ @include prefixer(transition-timing-function, $full, webkit, moz, ms, o);
71
59
  }
72
60
 
73
61
  @mixin transition-delay ($time-1: 0,
@@ -79,10 +67,6 @@
79
67
  $full: compact($time-1, $time-2, $time-3, $time-4, $time-5,
80
68
  $time-6, $time-7, $time-8, $time-9);
81
69
 
82
- -webkit-transition-delay: $full;
83
- -moz-transition-delay: $full;
84
- -ms-transition-delay: $full;
85
- -o-transition-delay: $full;
86
- transition-delay: $full;
70
+ @include prefixer(transition-transition-delay, $full, webkit, moz, ms, o);
87
71
  }
88
72
 
@@ -1,6 +1,3 @@
1
1
  @mixin user-select($arg: none) {
2
- -webkit-user-select: $arg;
3
- -moz-user-select: $arg;
4
- -ms-user-select: $arg;
5
- user-select: $arg;
2
+ @include prefixer(user-select, $arg, webkit, moz, ms);
6
3
  }
@@ -0,0 +1,22 @@
1
+ // Return vendor-prefixed property names if appropriate
2
+ // Example: transition-property-names((transform, color, background), moz) -> -moz-transform, color, background
3
+ //************************************************************************//
4
+ @function transition-property-names($props, $vendor: false) {
5
+ $new-props: ();
6
+
7
+ @each $prop in $props {
8
+ $new-props: append($new-props, transition-property-name($prop, $vendor), comma);
9
+ }
10
+
11
+ @return $new-props;
12
+ }
13
+
14
+ @function transition-property-name($prop, $vendor: false) {
15
+ // put other properties that need to be prefixed here aswell
16
+ @if $vendor and $prop == transform {
17
+ @return unquote('-'+$vendor+'-'+$prop);
18
+ }
19
+ @else {
20
+ @return $prop;
21
+ }
22
+ }
@@ -0,0 +1,36 @@
1
+ ------------------------------------------------------------------------------------------
2
+ Bourbon README for getting the gh-pages server up and running
3
+ ------------------------------------------------------------------------------------------
4
+
5
+ Run the server locally:
6
+ jekyll --server
7
+
8
+ Watch the sass folder from root directory:
9
+ sass --watch stylesheets/sass:stylesheets -r ./stylesheets/sass/bourbon/lib/bourbon.rb
10
+
11
+ ------------------------------------------------------------------------------------------
12
+
13
+ To pull in the latest changes on gh-pages branch:
14
+ git pull --rebase origin gh-pages
15
+
16
+ To pull in the latest Bourbon changes, you must fetch and merge master into gh-pages:
17
+ git fetch origin master && git merge master
18
+
19
+ To update the bourbon files with the latest version; from the root directory:
20
+ bourbon update
21
+
22
+ ------------------------------------------------------------------------------------------
23
+
24
+ For Code Highlighting within Jekyll:
25
+ gem install pygmentize
26
+
27
+ {% highlight scss %}
28
+ <code here>
29
+ {% endhighlight %}
30
+
31
+
32
+ Jekyll Wiki:
33
+ https://github.com/mojombo/jekyll/wiki
34
+
35
+ Pygmentize:
36
+ http://pygments.org/
Binary file
Binary file
@@ -0,0 +1,80 @@
1
+ ---
2
+ title: Bourbon Sass Mixins Library
3
+ ---
4
+
5
+ <!DOCTYPE html>
6
+ <html lang="en">
7
+ <head>
8
+ <meta charset="utf-8">
9
+ <title>{{ page.title }}</title>
10
+ <link rel="stylesheet" href="stylesheets/style.css">
11
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
12
+ </head>
13
+ <body>
14
+ <div class="main-content">
15
+ {% include navigation.html %}
16
+
17
+ <div class="main-inner">
18
+ <section class="intro-wrapper">
19
+ <h1 class="logo">Bourbon &ndash; Sass Mixin Library</h1>
20
+ <h2 class="tagline">A simple and lightweight mixin library for Sass.</h2>
21
+
22
+ {% include intro.html %}
23
+ </section>
24
+
25
+ <section class="mixins">
26
+ <h1 id="mixins">Mixins</h1>
27
+ {% include animation.html %}
28
+ {% include appearance.html %}
29
+ {% include background-image.html %}
30
+ {% include background-size.html %}
31
+ {% include border-image.html %}
32
+ {% include border-radius.html %}
33
+ {% include box-shadow.html %}
34
+ {% include box-sizing.html %}
35
+ {% include columns.html %}
36
+ {% include flex-box.html %}
37
+ {% include inline-block.html %}
38
+ {% include linear-gradient.html %}
39
+ {% include radial-gradient.html %}
40
+ {% include transform.html %}
41
+ {% include transitions.html %}
42
+ {% include user-select.html %}
43
+ </section>
44
+
45
+ <section ckass="functions">
46
+ <h1 id="functions">Functions</h1>
47
+ {% include compact.html %}
48
+ {% include flex-grid.html %}
49
+ {% include golden-ratio.html %}
50
+ {% include grid-width.html %}
51
+ {% include linear-gradient-function.html %}
52
+ {% include modular-scale.html %}
53
+ {% include radial-gradient-function.html %}
54
+ {% include tint-shade.html %}
55
+ </section>
56
+
57
+ <section class="addons">
58
+ <h1 id="add-ons">Add-ons</h1>
59
+ {% include buttons.html %}
60
+ {% include clearfix.html %}
61
+ {% include font-family.html %}
62
+ {% include hide-text.html %}
63
+ {% include html5-input-types.html %}
64
+ {% include timing-functions.html %}
65
+ </section>
66
+
67
+ <section class="complete-list">
68
+ <h1 id="complete-list">Complete List</h1>
69
+ {% include complete-list.html %}
70
+ </section>
71
+
72
+ <section class="footer">
73
+ <h1 id="footer"></h1>
74
+ {% include footer.html %}
75
+ </section>
76
+
77
+ </div>
78
+ </div>
79
+ </body>
80
+ </html>
@@ -4,8 +4,9 @@ module Bourbon::SassExtensions::Functions::Compact
4
4
  def compact(*args)
5
5
  sep = :comma
6
6
  if args.size == 1 && args.first.is_a?(Sass::Script::List)
7
- args = args.first.value
8
- sep = args.first.separator
7
+ list = args.first
8
+ args = list.value
9
+ sep = list.separator
9
10
  end
10
11
  Sass::Script::List.new(args.reject{|a| !a.to_bool}, sep)
11
12
  end
@@ -1,3 +1,3 @@
1
1
  module Bourbon
2
- VERSION = "2.0.0.rc1"
2
+ VERSION = "2.1.0"
3
3
  end
data/readme.md CHANGED
@@ -117,14 +117,14 @@ Bourbon aims to provide support for CSS3 properties that are not yet fully suppo
117
117
 
118
118
  border-radius
119
119
  @ border-radius(*args)
120
- @ border-radius-top(*args)
121
- @ border-radius-top-left(*args)
122
- @ border-radius-top-right(*args)
123
- @ border-radius-bottom(*args)
124
- @ border-radius-bottom-left(*args)
125
- @ border-radius-bottom-right(*args)
126
- @ border-radius-left(*args)
127
- @ border-radius-right(*args)
120
+ @ border-top-radius(*args)
121
+ @ border-top-left-radius(*args)
122
+ @ border-top-right-radius(*args)
123
+ @ border-bottom-radius(*args)
124
+ @ border-bottom-left-radius(*args)
125
+ @ border-bottom-right-radius(*args)
126
+ @ border-left-radius(*args)
127
+ @ border-right-radius(*args)
128
128
 
129
129
  @ box-shadow(*args)
130
130
  @ box-sizing(*args)
@@ -0,0 +1,31 @@
1
+
2
+ // scale animation
3
+ @mixin scale {
4
+ 0% {
5
+ @include transform(scale(1.0));
6
+ }
7
+ 50% {
8
+ @include transform(scale(2.0));
9
+ }
10
+ 100% {
11
+ @include transform(scale(1.0));
12
+ }
13
+ }
14
+ @-webkit-keyframes scale { @include scale; }
15
+ @-moz-keyframes scale { @include scale; }
16
+ @keyframes scale { @include scale; }
17
+
18
+ @mixin slide {
19
+ 0% {
20
+ left: 0;
21
+ }
22
+ 50% {
23
+ left: 100px;
24
+ }
25
+ 100% {
26
+ left: 0;
27
+ }
28
+ }
29
+ @-webkit-keyframes slide { @include slide; }
30
+ @-moz-keyframes slide { @include slide; }
31
+ @keyframes slide { @include slide; }
@@ -0,0 +1,304 @@
1
+ html, body {
2
+ background-color: $background-color;
3
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
4
+ font-size: 13px;
5
+ height: 100%;
6
+ width: 100%;
7
+ }
8
+
9
+ html {
10
+ padding: 0;
11
+ }
12
+
13
+ h1 {
14
+ font-weight: 300;
15
+ margin-top: 0;
16
+ }
17
+
18
+ h1, h2 {
19
+ font-size: golden-ratio(14px, 1) + 4px;
20
+ }
21
+
22
+ h2 {
23
+ font-weight: 300;
24
+ margin-bottom: 0.5em;
25
+ margin-top: 0;
26
+ }
27
+
28
+ p, div.highlight {
29
+ & + h2 {
30
+ margin-top: 2em;
31
+ }
32
+ }
33
+
34
+ h3 {
35
+ font-size: 18px;
36
+ font-weight: 400;
37
+ margin-bottom: 0.5em;
38
+ margin-top: 2em;
39
+ }
40
+
41
+ h4, h5, h6 {
42
+ font-size: golden-ratio(13px, 0);
43
+ margin-top: 0;
44
+ }
45
+
46
+ p {
47
+ // margin-top: 0;
48
+ line-height: 1.5em;
49
+ }
50
+
51
+ a, a:link, a:active, a:visited {
52
+ color: hsl(212, 89%, 55%);
53
+ text-decoration: none;
54
+ }
55
+
56
+ a:hover {
57
+ color: hsl(212, 94%, 36%);
58
+ }
59
+
60
+ //************************************************************************//
61
+ // Navigation
62
+ //************************************************************************//
63
+ nav.fixed-nav {
64
+ @extend .clearfix;
65
+ clear: left;
66
+ float: left;
67
+ min-height: 300px;
68
+ width: grid-width(2);
69
+
70
+ ul {
71
+ // border: 1px solid darken($base-border-color, 10%);
72
+ border-bottom: 0;
73
+ border-left: 0;
74
+ border-top: 0;
75
+ height: 100%;
76
+ margin: 0;
77
+ overflow-y: scroll;
78
+ padding: 0;
79
+ position: fixed;
80
+ width: inherit;
81
+
82
+ input[type="search"] {
83
+ margin-left: 20px;
84
+ }
85
+
86
+ li {
87
+ line-height: 180%;
88
+ list-style-type: none;
89
+ text-transform: capitalize;
90
+
91
+ &:first-child {
92
+ margin-top: 15px;
93
+ }
94
+
95
+ &.title:not(:first-child) {
96
+ margin-bottom: 5px;
97
+ margin-top: 15px;
98
+ }
99
+
100
+ &.title.complete-list h3 {
101
+ border-bottom: 0;
102
+ @include box-shadow(none);
103
+ }
104
+
105
+ a {
106
+ display: block;
107
+ padding: 0 20px;
108
+ @include transition;
109
+
110
+ h3 {
111
+ border-bottom: 1px solid darken($base-border-color, 10%);
112
+ @include box-shadow(0 1px 0 white);
113
+ color: hsl(0, 0%, 30%);
114
+ font-size: 12px;
115
+ font-weight: bold;
116
+ margin: 0;
117
+ text-shadow: 0 1px 0 white;
118
+ text-transform: uppercase;
119
+
120
+ &:hover {
121
+ color: hsl(0, 0%, 40%);
122
+ }
123
+ }
124
+ }
125
+ }
126
+ }
127
+ }
128
+
129
+
130
+ //************************************************************************//
131
+ // Global styles
132
+ //************************************************************************//
133
+ div.main-content {
134
+ @extend .clearfix;
135
+ margin: 0 auto;
136
+ padding: 0px $gw-gutter;
137
+ width: grid-width(9);
138
+ }
139
+
140
+ div.main-inner {
141
+ background: white;
142
+ border: 1px solid darken($base-border-color, 10%);
143
+ border-bottom: 0;
144
+ border-top: 0;
145
+ @include box-sizing(border-box);
146
+ clear: right;
147
+ float: left;
148
+ padding: 35px 0px;
149
+ width: grid-width(7) + $gw-gutter;
150
+
151
+
152
+ h2.tagline {
153
+ padding: 0 28px;
154
+ margin: 20px 0 0;
155
+ }
156
+
157
+ // Top Level Section
158
+ //************************************************************************//
159
+ > section {
160
+ h1 {
161
+ background-color: hsl(43, 23%, 94%);
162
+ border: 1px solid hsl(0, 0%, 88%);
163
+ border-left: 0;
164
+ border-right: 0;
165
+ @include box-shadow(1px 0 0 $background-color, -1px 0 0 $background-color);
166
+ font-size: 27px;
167
+ font-weight: 500;
168
+ line-height: 100%;
169
+ margin: 30px 0 0;
170
+ margin-top: 40px;
171
+ padding: 15px 28px;
172
+ text-shadow: 0 1px 0 white;
173
+
174
+ &.logo {
175
+ background-color: transparent;
176
+ background-image: url(../images/bourbon-logo.png);
177
+ background-repeat: no-repeat;
178
+ border: 0;
179
+ @include box-shadow(none);
180
+ height: 58px;
181
+ margin-left: 24px;
182
+ margin-top: 0;
183
+ padding: 0;
184
+ text-indent: -9999px;
185
+ }
186
+ }
187
+ }
188
+
189
+ > section > section {
190
+ border-bottom: 1px solid $base-border-color;
191
+ padding: 30px 28px;
192
+ @include transition;
193
+
194
+ // View Source Link
195
+ //************************************************************************//
196
+ a.view-source {
197
+ color: hsl(43, 13%, 75%);
198
+ float: right;
199
+ font-size: $base-font-size;
200
+ margin-top: 5px;
201
+ padding: 2px 20px;
202
+ text-shadow: 0 1px 0 white;
203
+ text-transform: capitalize;
204
+ @include transition;
205
+ opacity: 0;
206
+
207
+ &:hover {
208
+ background-color: $background-color;
209
+ @include border-radius(20px);
210
+ color: hsl(43, 13%, 60%);
211
+ }
212
+ }
213
+
214
+ // Show link on hover
215
+ &:hover {
216
+ a.view-source {
217
+ opacity: 1;
218
+ }
219
+ }
220
+
221
+ // Intro Text
222
+ //************************************************************************//
223
+ &#intro {
224
+ border-bottom: none;
225
+ padding-bottom: 0px;
226
+ padding-top: 0;
227
+
228
+ & + h1 {
229
+ margin-top: 40px;
230
+ }
231
+
232
+ p a + a {
233
+ margin-left: 20px;
234
+ }
235
+
236
+ p:last-child {
237
+ margin: 20px 0 50px;
238
+ }
239
+ }
240
+
241
+ &:last-child {
242
+ border: 0;
243
+ }
244
+ }
245
+
246
+
247
+ // Target Styles
248
+ //************************************************************************//
249
+ > section > section {
250
+ &:target {
251
+ @include box-shadow(inset 4px 0 0px 0 hsl(14, 97%, 55%));
252
+ @include transition(all 0.3s);
253
+
254
+ h2 {
255
+ font-weight: 500;
256
+ }
257
+ }
258
+ }
259
+ }
260
+
261
+ // Wrapper for any occasion
262
+ div.wrapper {
263
+ margin-bottom: 20px;
264
+ }
265
+
266
+ // Code highlighting styling
267
+ div.highlight {
268
+ background-color: transparent;
269
+ width: 100%;
270
+ }
271
+
272
+ pre {
273
+ background-color: $highlight-color;
274
+ @include border-radius(3px);
275
+ @include box-shadow(0 0 0 1px darken($highlight-color, 8%));
276
+ margin: 1em 0;
277
+ overflow: auto;
278
+ padding: 7px;
279
+ @include transition;
280
+ white-space: pre;
281
+ word-wrap: normal;
282
+
283
+ // render a nice scrollbar in overflowed pre area's
284
+ &::-webkit-scrollbar {
285
+ height: 7px;
286
+ -webkit-appearance: none;
287
+ width: 7px;
288
+ }
289
+
290
+ &::-webkit-scrollbar-thumb {
291
+ background-color: desaturate(darken($highlight-color, 10%), 5%);
292
+ border-radius: 4px;
293
+ -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
294
+ }
295
+ &::-webkit-scrollbar-corner {
296
+ }
297
+ }
298
+
299
+ p code, ul code, ol code {
300
+ background-color: $background-color;
301
+ border: 1px solid $base-border-color;
302
+ color: hsl(0, 0%, 27%);
303
+ padding: 0 .2em;
304
+ }