apx-docs-theme 0.1.7 → 0.1.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/footer.html +8 -9
  3. data/_includes/head.html +20 -9
  4. data/_includes/js_files.html +21 -3
  5. data/_includes/navbar.html +28 -0
  6. data/_includes/sidebar.html +43 -0
  7. data/_layouts/default.html +10 -10
  8. data/_layouts/docs.html +12 -20
  9. data/_sass/bootstrap/_alert.scss +51 -0
  10. data/_sass/bootstrap/_badge.scss +53 -0
  11. data/_sass/bootstrap/_breadcrumb.scss +41 -0
  12. data/_sass/bootstrap/_button-group.scss +163 -0
  13. data/_sass/bootstrap/_buttons.scss +73 -101
  14. data/_sass/bootstrap/_card.scss +310 -0
  15. data/_sass/bootstrap/_carousel.scss +130 -202
  16. data/_sass/bootstrap/_close.scss +23 -15
  17. data/_sass/bootstrap/_code.scss +15 -36
  18. data/_sass/bootstrap/_custom-forms.scss +507 -0
  19. data/_sass/bootstrap/_dropdown.scss +191 -0
  20. data/_sass/bootstrap/_forms.scss +215 -498
  21. data/_sass/bootstrap/_functions.scss +86 -0
  22. data/_sass/bootstrap/_grid.scss +29 -61
  23. data/_sass/bootstrap/_images.scss +42 -0
  24. data/_sass/bootstrap/_input-group.scss +193 -0
  25. data/_sass/bootstrap/_jumbotron.scss +9 -47
  26. data/_sass/bootstrap/_list-group.scss +70 -79
  27. data/_sass/bootstrap/_media.scss +3 -61
  28. data/_sass/bootstrap/_mixins.scss +19 -18
  29. data/_sass/bootstrap/_modal.scss +186 -0
  30. data/_sass/bootstrap/_nav.scss +120 -0
  31. data/_sass/bootstrap/_navbar.scss +192 -555
  32. data/_sass/bootstrap/_pagination.scss +59 -70
  33. data/_sass/bootstrap/_popover.scss +183 -0
  34. data/_sass/bootstrap/_print.scss +89 -49
  35. data/_sass/bootstrap/_progress.scss +34 -0
  36. data/_sass/bootstrap/_reboot.scss +462 -0
  37. data/_sass/bootstrap/_root.scss +19 -0
  38. data/_sass/bootstrap/_spinners.scss +53 -0
  39. data/_sass/bootstrap/_tables.scss +119 -166
  40. data/_sass/bootstrap/_toasts.scss +43 -0
  41. data/_sass/bootstrap/_tooltip.scss +93 -79
  42. data/_sass/bootstrap/_transitions.scss +22 -0
  43. data/_sass/bootstrap/_type.scss +66 -239
  44. data/_sass/bootstrap/_utilities.scss +16 -55
  45. data/_sass/bootstrap/_variables.scss +926 -709
  46. data/_sass/bootstrap/bootstrap-grid.scss +29 -0
  47. data/_sass/bootstrap/bootstrap-reboot.scss +12 -0
  48. data/_sass/bootstrap/bootstrap.scss +44 -0
  49. data/_sass/bootstrap/mixins/_alert.scss +13 -0
  50. data/_sass/bootstrap/mixins/_background-variant.scss +14 -5
  51. data/_sass/bootstrap/mixins/_badge.scss +11 -0
  52. data/_sass/bootstrap/mixins/_border-radius.scss +25 -8
  53. data/_sass/bootstrap/mixins/_box-shadow.scss +5 -0
  54. data/_sass/bootstrap/mixins/_breakpoints.scss +123 -0
  55. data/_sass/bootstrap/mixins/_buttons.scss +86 -40
  56. data/_sass/bootstrap/mixins/_caret.scss +62 -0
  57. data/_sass/bootstrap/mixins/_clearfix.scss +3 -18
  58. data/_sass/bootstrap/mixins/_float.scss +11 -0
  59. data/_sass/bootstrap/mixins/_forms.scss +176 -66
  60. data/_sass/bootstrap/mixins/_gradients.scss +17 -30
  61. data/_sass/bootstrap/mixins/_grid-framework.scss +51 -66
  62. data/_sass/bootstrap/mixins/_grid.scss +34 -105
  63. data/_sass/bootstrap/mixins/_hover.scss +37 -0
  64. data/_sass/bootstrap/mixins/_image.scss +18 -15
  65. data/_sass/bootstrap/mixins/_list-group.scss +10 -21
  66. data/_sass/bootstrap/mixins/_lists.scss +7 -0
  67. data/_sass/bootstrap/mixins/_nav-divider.scss +4 -4
  68. data/_sass/bootstrap/mixins/_pagination.scss +10 -12
  69. data/_sass/bootstrap/mixins/_reset-text.scss +7 -8
  70. data/_sass/bootstrap/mixins/_resize.scss +1 -1
  71. data/_sass/bootstrap/mixins/_screen-reader.scss +33 -0
  72. data/_sass/bootstrap/mixins/_size.scss +1 -5
  73. data/_sass/bootstrap/mixins/_table-row.scss +26 -15
  74. data/_sass/bootstrap/mixins/_text-emphasis.scss +7 -5
  75. data/_sass/bootstrap/mixins/_text-hide.scss +13 -0
  76. data/_sass/bootstrap/mixins/{_text-overflow.scss → _text-truncate.scss} +2 -2
  77. data/_sass/bootstrap/mixins/_transition.scss +16 -0
  78. data/_sass/bootstrap/mixins/_visibility.scss +7 -0
  79. data/_sass/bootstrap/utilities/_align.scss +8 -0
  80. data/_sass/bootstrap/utilities/_background.scss +19 -0
  81. data/_sass/bootstrap/utilities/_borders.scss +63 -0
  82. data/_sass/bootstrap/utilities/_clearfix.scss +3 -0
  83. data/_sass/bootstrap/utilities/_display.scss +38 -0
  84. data/_sass/bootstrap/utilities/_embed.scss +39 -0
  85. data/_sass/bootstrap/utilities/_flex.scss +51 -0
  86. data/_sass/bootstrap/utilities/_float.scss +9 -0
  87. data/_sass/bootstrap/utilities/_overflow.scss +5 -0
  88. data/_sass/bootstrap/utilities/_position.scss +32 -0
  89. data/_sass/bootstrap/utilities/_screenreaders.scss +11 -0
  90. data/_sass/bootstrap/utilities/_shadows.scss +6 -0
  91. data/_sass/bootstrap/utilities/_sizing.scss +20 -0
  92. data/_sass/bootstrap/utilities/_spacing.scss +73 -0
  93. data/_sass/bootstrap/utilities/_text.scss +67 -0
  94. data/_sass/bootstrap/utilities/_visibility.scss +11 -0
  95. data/_sass/markdown/code.scss +65 -0
  96. data/_sass/markdown/color-system.scss +114 -0
  97. data/_sass/markdown/images.scss +119 -0
  98. data/_sass/markdown/markdown-body.scss +103 -0
  99. data/_sass/markdown/markdown.scss +15 -0
  100. data/_sass/rouge.scss +209 -0
  101. data/_sass/theme.scss +35 -0
  102. data/_sass/{_typeahead.scss → typeahead.scss} +0 -0
  103. data/assets/css/main.scss +1 -90
  104. data/assets/img/{bg.jpg → jumbotron.jpg} +0 -0
  105. data/assets/js/bootstrap.min.js +6 -6
  106. data/assets/js/jquery-3.3.1.min.js +2 -0
  107. data/assets/js/main.js +2 -1
  108. data/assets/js/search.json +11 -0
  109. data/assets/js/typeahead.bundle.js +2621 -0
  110. data/assets/js/typeahead.bundle.min.js +4 -4
  111. metadata +81 -50
  112. data/_includes/pages_nav.html +0 -40
  113. data/_includes/topnav.html +0 -37
  114. data/_sass/_bootstrap.scss +0 -56
  115. data/_sass/_syntax-highlighting.scss +0 -71
  116. data/_sass/bootstrap/_alerts.scss +0 -73
  117. data/_sass/bootstrap/_badges.scss +0 -68
  118. data/_sass/bootstrap/_breadcrumbs.scss +0 -28
  119. data/_sass/bootstrap/_button-groups.scss +0 -244
  120. data/_sass/bootstrap/_component-animations.scss +0 -37
  121. data/_sass/bootstrap/_dropdowns.scss +0 -216
  122. data/_sass/bootstrap/_glyphicons.scss +0 -307
  123. data/_sass/bootstrap/_input-groups.scss +0 -171
  124. data/_sass/bootstrap/_labels.scss +0 -66
  125. data/_sass/bootstrap/_modals.scss +0 -150
  126. data/_sass/bootstrap/_navs.scss +0 -242
  127. data/_sass/bootstrap/_normalize.scss +0 -424
  128. data/_sass/bootstrap/_pager.scss +0 -54
  129. data/_sass/bootstrap/_panels.scss +0 -271
  130. data/_sass/bootstrap/_popovers.scss +0 -131
  131. data/_sass/bootstrap/_progress-bars.scss +0 -87
  132. data/_sass/bootstrap/_responsive-embed.scss +0 -35
  133. data/_sass/bootstrap/_responsive-utilities.scss +0 -179
  134. data/_sass/bootstrap/_scaffolding.scss +0 -161
  135. data/_sass/bootstrap/_theme.scss +0 -291
  136. data/_sass/bootstrap/_thumbnails.scss +0 -38
  137. data/_sass/bootstrap/_wells.scss +0 -29
  138. data/_sass/bootstrap/mixins/_alerts.scss +0 -14
  139. data/_sass/bootstrap/mixins/_center-block.scss +0 -7
  140. data/_sass/bootstrap/mixins/_hide-text.scss +0 -21
  141. data/_sass/bootstrap/mixins/_labels.scss +0 -12
  142. data/_sass/bootstrap/mixins/_nav-vertical-align.scss +0 -9
  143. data/_sass/bootstrap/mixins/_opacity.scss +0 -8
  144. data/_sass/bootstrap/mixins/_panels.scss +0 -24
  145. data/_sass/bootstrap/mixins/_progress-bar.scss +0 -10
  146. data/_sass/bootstrap/mixins/_reset-filter.scss +0 -8
  147. data/_sass/bootstrap/mixins/_responsive-visibility.scss +0 -21
  148. data/_sass/bootstrap/mixins/_tab-focus.scss +0 -9
  149. data/_sass/bootstrap/mixins/_vendor-prefixes.scss +0 -222
  150. data/assets/css/font-awesome.min.css +0 -4
  151. data/assets/fonts/FontAwesome.otf +0 -0
  152. data/assets/fonts/fontawesome-webfont.eot +0 -0
  153. data/assets/fonts/fontawesome-webfont.svg +0 -2671
  154. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  155. data/assets/fonts/fontawesome-webfont.woff +0 -0
  156. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
@@ -0,0 +1,67 @@
1
+ // stylelint-disable declaration-no-important
2
+
3
+ //
4
+ // Text
5
+ //
6
+
7
+ .text-monospace { font-family: $font-family-monospace; }
8
+
9
+ // Alignment
10
+
11
+ .text-justify { text-align: justify !important; }
12
+ .text-wrap { white-space: normal !important; }
13
+ .text-nowrap { white-space: nowrap !important; }
14
+ .text-truncate { @include text-truncate; }
15
+
16
+ // Responsive alignment
17
+
18
+ @each $breakpoint in map-keys($grid-breakpoints) {
19
+ @include media-breakpoint-up($breakpoint) {
20
+ $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
21
+
22
+ .text#{$infix}-left { text-align: left !important; }
23
+ .text#{$infix}-right { text-align: right !important; }
24
+ .text#{$infix}-center { text-align: center !important; }
25
+ }
26
+ }
27
+
28
+ // Transformation
29
+
30
+ .text-lowercase { text-transform: lowercase !important; }
31
+ .text-uppercase { text-transform: uppercase !important; }
32
+ .text-capitalize { text-transform: capitalize !important; }
33
+
34
+ // Weight and italics
35
+
36
+ .font-weight-light { font-weight: $font-weight-light !important; }
37
+ .font-weight-lighter { font-weight: $font-weight-lighter !important; }
38
+ .font-weight-normal { font-weight: $font-weight-normal !important; }
39
+ .font-weight-bold { font-weight: $font-weight-bold !important; }
40
+ .font-weight-bolder { font-weight: $font-weight-bolder !important; }
41
+ .font-italic { font-style: italic !important; }
42
+
43
+ // Contextual colors
44
+
45
+ .text-white { color: $white !important; }
46
+
47
+ @each $color, $value in $theme-colors {
48
+ @include text-emphasis-variant(".text-#{$color}", $value);
49
+ }
50
+
51
+ .text-body { color: $body-color !important; }
52
+ .text-muted { color: $text-muted !important; }
53
+
54
+ .text-black-50 { color: rgba($black, .5) !important; }
55
+ .text-white-50 { color: rgba($white, .5) !important; }
56
+
57
+ // Misc
58
+
59
+ .text-hide {
60
+ @include text-hide($ignore-warning: true);
61
+ }
62
+
63
+ .text-decoration-none { text-decoration: none !important; }
64
+
65
+ // Reset
66
+
67
+ .text-reset { color: inherit !important; }
@@ -0,0 +1,11 @@
1
+ //
2
+ // Visibility utilities
3
+ //
4
+
5
+ .visible {
6
+ @include invisible(visible);
7
+ }
8
+
9
+ .invisible {
10
+ @include invisible(hidden);
11
+ }
@@ -0,0 +1,65 @@
1
+ // from primer github pages theme
2
+ .markdown-body {
3
+
4
+ // Inline code snippets
5
+ code,
6
+ tt {
7
+ padding: 0.2em 0.4em;
8
+ margin: 0;
9
+ font-size: 85%;
10
+ background-color: rgba($black, 0.05);
11
+ border-radius: $border-radius;
12
+
13
+ br { display: none; }
14
+ }
15
+
16
+ del code { text-decoration: inherit; }
17
+
18
+ pre {
19
+ word-wrap: normal;
20
+ box-shadow: $box-shadow-sm !important;
21
+
22
+ // Code tags within code blocks (<pre>s)
23
+ > code {
24
+ padding: 0;
25
+ margin: 0;
26
+ font-size: 100%;
27
+ word-break: normal;
28
+ white-space: pre;
29
+ background: transparent;
30
+ border: 0;
31
+ }
32
+ }
33
+
34
+ .highlight {
35
+ margin-bottom: $spacer-3;
36
+
37
+ pre {
38
+ margin-bottom: 0;
39
+ word-break: normal;
40
+ }
41
+ }
42
+
43
+ .highlight pre,
44
+ pre {
45
+ padding: $spacer-3;
46
+ overflow: auto;
47
+ font-size: 85%;
48
+ line-height: 1.45;
49
+ background-color: $gray-100;
50
+ border-radius: $border-radius;
51
+ }
52
+
53
+ pre code,
54
+ pre tt {
55
+ display: inline;
56
+ max-width: auto;
57
+ padding: 0;
58
+ margin: 0;
59
+ overflow: visible;
60
+ line-height: inherit;
61
+ word-wrap: normal;
62
+ background-color: transparent;
63
+ border: 0;
64
+ }
65
+ }
@@ -0,0 +1,114 @@
1
+ //
2
+ //
3
+ // -------- Grays --------
4
+ $gray-000: #fafbfc !default;
5
+ $gray-100: #f6f8fa !default;
6
+ $gray-200: #e1e4e8 !default;
7
+ $gray-300: #d1d5da !default;
8
+ $gray-400: #959da5 !default;
9
+ $gray-500: #6a737d !default;
10
+ $gray-600: #586069 !default;
11
+ $gray-700: #444d56 !default;
12
+ $gray-800: #2f363d !default;
13
+ $gray-900: #24292e !default; // body font color
14
+
15
+ // -------- Blue --------
16
+ $blue-000: #f1f8ff !default;
17
+ $blue-100: #dbedff !default;
18
+ $blue-200: #c8e1ff !default;
19
+ $blue-300: #79b8ff !default;
20
+ $blue-400: #2188ff !default;
21
+ $blue-500: #0366d6 !default; // Default: Passes AA with #fff
22
+ $blue-600: #005cc5 !default;
23
+ $blue-700: #044289 !default;
24
+ $blue-800: #032f62 !default;
25
+ $blue-900: #05264c !default; // Passes with 1/2/300 blues
26
+
27
+ // -------- Green --------
28
+ $green-000: #f0fff4 !default;
29
+ $green-100: #dcffe4 !default;
30
+ $green-200: #bef5cb !default;
31
+ $green-300: #85e89d !default;
32
+ $green-400: #34d058 !default;
33
+ $green-500: #28a745 !default; // Default. passes AA Large
34
+ $green-600: #22863a !default; // Text green, passes AA on #fff
35
+ $green-700: #176f2c !default;
36
+ $green-800: #165c26 !default;
37
+ $green-900: #144620 !default;
38
+
39
+ // -------- Yellow --------
40
+ $yellow-000: #fffdef !default;
41
+ $yellow-100: #fffbdd !default;
42
+ $yellow-200: #fff5b1 !default;
43
+ $yellow-300: #ffea7f !default;
44
+ $yellow-400: #ffdf5d !default;
45
+ $yellow-500: #ffd33d !default;
46
+ $yellow-600: #f9c513 !default;
47
+ $yellow-700: #dbab09 !default;
48
+ $yellow-800: #b08800 !default;
49
+ $yellow-900: #735c0f !default;
50
+
51
+ // -------- Orange --------
52
+ $orange-000: #fff8f2 !default;
53
+ $orange-100: #ffebda !default;
54
+ $orange-200: #ffd1ac !default;
55
+ $orange-300: #ffab70 !default;
56
+ $orange-400: #fb8532 !default;
57
+ $orange-500: #f66a0a !default; // Default. passes AA Large with #fff
58
+ $orange-600: #e36209 !default;
59
+ $orange-700: #d15704 !default;
60
+ $orange-800: #c24e00 !default;
61
+ $orange-900: #a04100 !default;
62
+
63
+ // -------- Red --------
64
+ $red-000: #ffeef0 !default;
65
+ $red-100: #ffdce0 !default;
66
+ $red-200: #fdaeb7 !default;
67
+ $red-300: #f97583 !default;
68
+ $red-400: #ea4a5a !default;
69
+ $red-500: #d73a49 !default; // Default. passes AA
70
+ $red-600: #cb2431 !default;
71
+ $red-700: #b31d28 !default;
72
+ $red-800: #9e1c23 !default;
73
+ $red-900: #86181d !default;
74
+
75
+ // -------- Purple --------
76
+ $purple-000: #f5f0ff !default;
77
+ $purple-100: #e6dcfd !default;
78
+ $purple-200: #d1bcf9 !default;
79
+ $purple-300: #b392f0 !default;
80
+ $purple-400: #8a63d2 !default;
81
+ $purple-500: #6f42c1 !default; // passes AA with #fff
82
+ $purple-600: #5a32a3 !default;
83
+ $purple-700: #4c2889 !default;
84
+ $purple-800: #3a1d6e !default;
85
+ $purple-900: #29134e !default;
86
+
87
+ // -------- Fades --------
88
+ // Black based on same hue as $gray-900
89
+ $black: #1b1f23 !default;
90
+ $white: #fff !default;
91
+
92
+ $black-fade-15: rgba($black, 0.15) !default;
93
+ $black-fade-30: rgba($black, 0.3) !default;
94
+ $black-fade-50: rgba($black, 0.5) !default;
95
+ $black-fade-70: rgba($black, 0.7) !default;
96
+ $black-fade-85: rgba($black, 0.85) !default;
97
+
98
+ $white-fade-15: rgba($white, 0.15) !default;
99
+ $white-fade-30: rgba($white, 0.3) !default;
100
+ $white-fade-50: rgba($white, 0.5) !default;
101
+ $white-fade-70: rgba($white, 0.7) !default;
102
+ $white-fade-85: rgba($white, 0.85) !default;
103
+
104
+ // -------- Color defaults --------
105
+ $red: $red-500 !default;
106
+ $purple: $purple-500 !default;
107
+ $blue: $blue-500 !default;
108
+ $green: $green-500 !default;
109
+ $yellow: $yellow-500 !default;
110
+ $orange: $orange-500 !default;
111
+
112
+ $gray-dark: $gray-900 !default;
113
+ $gray-light: $gray-400 !default;
114
+ $gray: $gray-500 !default;
@@ -0,0 +1,119 @@
1
+ // Need to target base styles
2
+ // stylelint-disable selector-max-compound-selectors, selector-no-qualifying-type, primer/selector-no-utility
3
+ // stylelint-disable selector-max-type
4
+ .markdown-body {
5
+ // Images & Stuff
6
+ img {
7
+ max-width: 100%;
8
+ // because we put padding on the images to hide header lines, and some people
9
+ // specify the width of their images in their markdown.
10
+ box-sizing: content-box;
11
+ background-color: $bg-white;
12
+
13
+ &[align=right] {
14
+ padding-left: 20px;
15
+ }
16
+
17
+ &[align=left] {
18
+ padding-right: 20px;
19
+ }
20
+ }
21
+
22
+ .emoji {
23
+ max-width: none;
24
+ vertical-align: text-top;
25
+ // Override `<img>` styles so Emjois don't clash with zebra striping in our tables
26
+ background-color: transparent;
27
+ }
28
+
29
+ // Gollum Image Tags
30
+
31
+ // Framed
32
+ span.frame {
33
+ display: block;
34
+ overflow: hidden;
35
+
36
+ > span {
37
+ display: block;
38
+ float: left;
39
+ width: auto;
40
+ padding: 7px;
41
+ margin: 13px 0 0;
42
+ overflow: hidden;
43
+ border: 1px solid lighten($gray-300, 5%);
44
+ }
45
+
46
+ span img {
47
+ display: block;
48
+ float: left;
49
+ }
50
+
51
+ span span {
52
+ display: block;
53
+ padding: 5px 0 0;
54
+ clear: both;
55
+ color: $text-gray-dark;
56
+ }
57
+ }
58
+
59
+ span.align-center {
60
+ display: block;
61
+ overflow: hidden;
62
+ clear: both;
63
+
64
+ > span {
65
+ display: block;
66
+ margin: 13px auto 0;
67
+ overflow: hidden;
68
+ text-align: center;
69
+ }
70
+
71
+ span img {
72
+ margin: 0 auto;
73
+ text-align: center;
74
+ }
75
+ }
76
+
77
+ span.align-right {
78
+ display: block;
79
+ overflow: hidden;
80
+ clear: both;
81
+
82
+ > span {
83
+ display: block;
84
+ margin: 13px 0 0;
85
+ overflow: hidden;
86
+ text-align: right;
87
+ }
88
+
89
+ span img {
90
+ margin: 0;
91
+ text-align: right;
92
+ }
93
+ }
94
+
95
+ span.float-left {
96
+ display: block;
97
+ float: left;
98
+ margin-right: 13px;
99
+ overflow: hidden;
100
+
101
+ span {
102
+ margin: 13px 0 0;
103
+ }
104
+ }
105
+
106
+ span.float-right {
107
+ display: block;
108
+ float: right;
109
+ margin-left: 13px;
110
+ overflow: hidden;
111
+
112
+ > span {
113
+ display: block;
114
+ margin: 13px auto 0;
115
+ overflow: hidden;
116
+ text-align: right;
117
+ }
118
+ }
119
+ }
@@ -0,0 +1,103 @@
1
+ // All of our block level items should have the same margin
2
+ // stylelint-disable selector-max-type
3
+
4
+ // This is styling for generic markdownized text. Anything you put in a
5
+ // container with .markdown-body on it should render generally well. It also
6
+ // includes some GitHub Flavored Markdown specific styling (like @mentions)
7
+ .markdown-body {
8
+ word-wrap: break-word;
9
+
10
+ // Clearfix on the markdown body
11
+ &::before {
12
+ display: table;
13
+ content: "";
14
+ }
15
+
16
+ &::after {
17
+ display: table;
18
+ clear: both;
19
+ content: "";
20
+ }
21
+
22
+ > *:first-child {
23
+ margin-top: 0 !important;
24
+ }
25
+
26
+ > *:last-child {
27
+ margin-bottom: 0 !important;
28
+ }
29
+
30
+ // Anchors like <a name="examples">. These sometimes end up wrapped around
31
+ // text when users mistakenly forget to close the tag or use self-closing tag
32
+ // syntax. We don't want them to appear like links.
33
+ // FIXME: a:not(:link):not(:visited) would be a little clearer here (and
34
+ // possibly faster to match), but it breaks styling of <a href> elements due
35
+ // to https://bugs.webkit.org/show_bug.cgi?id=142737.
36
+ a:not([href]) {
37
+ color: inherit;
38
+ text-decoration: none;
39
+ }
40
+
41
+ // Link Colors
42
+ .absent {
43
+ color: $red-600;
44
+ }
45
+
46
+ .anchor {
47
+ float: left;
48
+ padding-right: $spacer-1;
49
+ margin-left: -20px;
50
+ line-height: $lh-condensed-ultra;
51
+
52
+ &:focus {
53
+ outline: none;
54
+ }
55
+ }
56
+
57
+ p,
58
+ blockquote,
59
+ ul,
60
+ ol,
61
+ dl,
62
+ table,
63
+ pre {
64
+ margin-top: 0;
65
+ margin-bottom: $spacer-3;
66
+ }
67
+
68
+ hr {
69
+ height: $em-spacer-3;
70
+ padding: 0;
71
+ margin: $spacer-4 0;
72
+ background-color: $gray-200;
73
+ border: 0;
74
+ }
75
+
76
+ blockquote {
77
+ padding: 0 1em;
78
+ color: $gray-500;
79
+ border-left: 0.25em solid lighten($gray-300, 5%);
80
+
81
+ > :first-child {
82
+ margin-top: 0;
83
+ }
84
+
85
+ > :last-child {
86
+ margin-bottom: 0;
87
+ }
88
+ }
89
+
90
+ kbd {
91
+ display: inline-block;
92
+ padding: 3px 5px;
93
+ font-size: 11px;
94
+ line-height: 10px;
95
+ color: $gray-700;
96
+ vertical-align: middle;
97
+ background-color: $gray-000;
98
+ border: solid 1px darken($gray-300, 4%);
99
+ border-bottom-color: $gray-400;
100
+ border-radius: 3px;
101
+ box-shadow: inset 0 -1px 0 $gray-400;
102
+ }
103
+ }