jekyll-v4-theme-primer 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.md +22 -0
- data/README.md +116 -0
- data/_includes/.gitkeep +1 -0
- data/_includes/head-custom-google-analytics.html +10 -0
- data/_includes/head-custom.html +9 -0
- data/_includes/theme.html +11 -0
- data/_layouts/default.html +29 -0
- data/_layouts/home.html +4 -0
- data/_layouts/page.html +4 -0
- data/_layouts/post.html +4 -0
- data/_sass/@primer/css/actionlist/action-list-item-divider.scss +48 -0
- data/_sass/@primer/css/actionlist/action-list-item.scss +593 -0
- data/_sass/@primer/css/actionlist/action-list-tree.scss +118 -0
- data/_sass/@primer/css/actionlist/action-list-variables.scss +8 -0
- data/_sass/@primer/css/actionlist/action-list.scss +67 -0
- data/_sass/@primer/css/actionlist/index.scss +6 -0
- data/_sass/@primer/css/alerts/flash.scss +1 -0
- data/_sass/@primer/css/alerts/index.scss +3 -0
- data/_sass/@primer/css/autocomplete/autocomplete.scss +1 -0
- data/_sass/@primer/css/autocomplete/index.scss +4 -0
- data/_sass/@primer/css/autocomplete/suggester.scss +92 -0
- data/_sass/@primer/css/avatars/avatar-parent-child.scss +17 -0
- data/_sass/@primer/css/avatars/avatar-stack.scss +1 -0
- data/_sass/@primer/css/avatars/avatar.scss +1 -0
- data/_sass/@primer/css/avatars/circle-badge.scss +55 -0
- data/_sass/@primer/css/avatars/index.scss +7 -0
- data/_sass/@primer/css/base/base.scss +160 -0
- data/_sass/@primer/css/base/index.scss +6 -0
- data/_sass/@primer/css/base/kbd.scss +19 -0
- data/_sass/@primer/css/base/normalize.scss +381 -0
- data/_sass/@primer/css/base/octicons.scss +6 -0
- data/_sass/@primer/css/base/typography-base.scss +89 -0
- data/_sass/@primer/css/blankslate/blankslate.scss +1 -0
- data/_sass/@primer/css/blankslate/index.scss +2 -0
- data/_sass/@primer/css/box/box-overlay.scss +42 -0
- data/_sass/@primer/css/box/box.scss +1 -0
- data/_sass/@primer/css/box/index.scss +3 -0
- data/_sass/@primer/css/branch-name/branch-name.scss +31 -0
- data/_sass/@primer/css/branch-name/index.scss +3 -0
- data/_sass/@primer/css/breadcrumb/breadcrumb.scss +1 -0
- data/_sass/@primer/css/breadcrumb/index.scss +3 -0
- data/_sass/@primer/css/buttons/button-group.scss +92 -0
- data/_sass/@primer/css/buttons/button.scss +340 -0
- data/_sass/@primer/css/buttons/index.scss +4 -0
- data/_sass/@primer/css/buttons/misc.scss +231 -0
- data/_sass/@primer/css/color-modes/index.scss +12 -0
- data/_sass/@primer/css/color-modes/native.scss +22 -0
- data/_sass/@primer/css/color-modes/themes/dark.scss +6 -0
- data/_sass/@primer/css/color-modes/themes/dark_colorblind.scss +6 -0
- data/_sass/@primer/css/color-modes/themes/dark_dimmed.scss +6 -0
- data/_sass/@primer/css/color-modes/themes/dark_high_contrast.scss +6 -0
- data/_sass/@primer/css/color-modes/themes/dark_tritanopia.scss +6 -0
- data/_sass/@primer/css/color-modes/themes/light.scss +6 -0
- data/_sass/@primer/css/color-modes/themes/light_colorblind.scss +6 -0
- data/_sass/@primer/css/color-modes/themes/light_high_contrast.scss +6 -0
- data/_sass/@primer/css/color-modes/themes/light_tritanopia.scss +6 -0
- data/_sass/@primer/css/core/index.scss +30 -0
- data/_sass/@primer/css/dropdown/dropdown.scss +1 -0
- data/_sass/@primer/css/dropdown/index.scss +2 -0
- data/_sass/@primer/css/forms/FormControl.scss +1 -0
- data/_sass/@primer/css/forms/form-control.scss +267 -0
- data/_sass/@primer/css/forms/form-group.scss +287 -0
- data/_sass/@primer/css/forms/form-select.scss +46 -0
- data/_sass/@primer/css/forms/form-validation.scss +369 -0
- data/_sass/@primer/css/forms/index.scss +9 -0
- data/_sass/@primer/css/forms/input-group.scss +71 -0
- data/_sass/@primer/css/forms/radio-group.scss +62 -0
- data/_sass/@primer/css/header/header.scss +47 -0
- data/_sass/@primer/css/header/index.scss +2 -0
- data/_sass/@primer/css/index.scss +19 -0
- data/_sass/@primer/css/labels/counters.scss +1 -0
- data/_sass/@primer/css/labels/diffstat.scss +37 -0
- data/_sass/@primer/css/labels/index.scss +7 -0
- data/_sass/@primer/css/labels/issue-labels.scss +23 -0
- data/_sass/@primer/css/labels/labels.scss +1 -0
- data/_sass/@primer/css/labels/mixins.scss +37 -0
- data/_sass/@primer/css/labels/states.scss +1 -0
- data/_sass/@primer/css/layout/app-frame.scss +156 -0
- data/_sass/@primer/css/layout/container.scss +30 -0
- data/_sass/@primer/css/layout/grid-offset.scss +20 -0
- data/_sass/@primer/css/layout/grid.scss +65 -0
- data/_sass/@primer/css/layout/index.scss +8 -0
- data/_sass/@primer/css/layout/layout.scss +1 -0
- data/_sass/@primer/css/layout/page-layout.scss +413 -0
- data/_sass/@primer/css/layout/stack.scss +220 -0
- data/_sass/@primer/css/links/index.scss +3 -0
- data/_sass/@primer/css/links/link.scss +60 -0
- data/_sass/@primer/css/loaders/index.scss +2 -0
- data/_sass/@primer/css/loaders/loaders.scss +19 -0
- data/_sass/@primer/css/markdown/blob-csv.scss +29 -0
- data/_sass/@primer/css/markdown/code.scss +77 -0
- data/_sass/@primer/css/markdown/footnotes.scss +55 -0
- data/_sass/@primer/css/markdown/headings.scss +96 -0
- data/_sass/@primer/css/markdown/images.scss +130 -0
- data/_sass/@primer/css/markdown/index.scss +9 -0
- data/_sass/@primer/css/markdown/lists.scss +98 -0
- data/_sass/@primer/css/markdown/markdown-body.scss +96 -0
- data/_sass/@primer/css/markdown/tables.scss +36 -0
- data/_sass/@primer/css/marketing/buttons/button.scss +164 -0
- data/_sass/@primer/css/marketing/buttons/index.scss +3 -0
- data/_sass/@primer/css/marketing/index.scss +15 -0
- data/_sass/@primer/css/marketing/links/index.scss +3 -0
- data/_sass/@primer/css/marketing/links/link.scss +50 -0
- data/_sass/@primer/css/marketing/support/index.scss +2 -0
- data/_sass/@primer/css/marketing/support/variables.scss +127 -0
- data/_sass/@primer/css/marketing/type/index.scss +3 -0
- data/_sass/@primer/css/marketing/type/typography.scss +118 -0
- data/_sass/@primer/css/marketing/utilities/animations.scss +51 -0
- data/_sass/@primer/css/marketing/utilities/borders.scss +4 -0
- data/_sass/@primer/css/marketing/utilities/filters.scss +3 -0
- data/_sass/@primer/css/marketing/utilities/index.scss +6 -0
- data/_sass/@primer/css/marketing/utilities/layout.scss +51 -0
- data/_sass/@primer/css/navigation/filter-list.scss +82 -0
- data/_sass/@primer/css/navigation/index.scss +8 -0
- data/_sass/@primer/css/navigation/menu.scss +1 -0
- data/_sass/@primer/css/navigation/sidenav.scss +99 -0
- data/_sass/@primer/css/navigation/subnav.scss +146 -0
- data/_sass/@primer/css/navigation/tabnav.scss +1 -0
- data/_sass/@primer/css/navigation/underline-nav.scss +1 -0
- data/_sass/@primer/css/overlay/index.scss +2 -0
- data/_sass/@primer/css/overlay/overlay.scss +1 -0
- data/_sass/@primer/css/pagination/index.scss +3 -0
- data/_sass/@primer/css/pagination/pagination.scss +156 -0
- data/_sass/@primer/css/popover/index.scss +3 -0
- data/_sass/@primer/css/popover/popover.scss +1 -0
- data/_sass/@primer/css/primitives/index.scss +10 -0
- data/_sass/@primer/css/primitives/temp-typography-tokens.scss +22 -0
- data/_sass/@primer/css/product/index.scss +28 -0
- data/_sass/@primer/css/progress/index.scss +3 -0
- data/_sass/@primer/css/progress/progress.scss +1 -0
- data/_sass/@primer/css/select-menu/index.scss +3 -0
- data/_sass/@primer/css/select-menu/select-menu.scss +463 -0
- data/_sass/@primer/css/subhead/index.scss +3 -0
- data/_sass/@primer/css/subhead/subhead.scss +1 -0
- data/_sass/@primer/css/support/index.scss +10 -0
- data/_sass/@primer/css/support/mixins/color-modes.scss +109 -0
- data/_sass/@primer/css/support/mixins/layout.scss +58 -0
- data/_sass/@primer/css/support/mixins/misc.scss +73 -0
- data/_sass/@primer/css/support/mixins/typography.scss +91 -0
- data/_sass/@primer/css/support/variables/layout.scss +230 -0
- data/_sass/@primer/css/support/variables/misc.scss +18 -0
- data/_sass/@primer/css/support/variables/typography.scss +43 -0
- data/_sass/@primer/css/table-object/index.scss +1 -0
- data/_sass/@primer/css/table-object/table-object.scss +23 -0
- data/_sass/@primer/css/timeline/index.scss +2 -0
- data/_sass/@primer/css/timeline/timeline-item.scss +1 -0
- data/_sass/@primer/css/toasts/index.scss +2 -0
- data/_sass/@primer/css/toasts/toasts.scss +127 -0
- data/_sass/@primer/css/toggle-switch/index.scss +2 -0
- data/_sass/@primer/css/toggle-switch/toggle-switch.scss +1 -0
- data/_sass/@primer/css/tooltips/index.scss +2 -0
- data/_sass/@primer/css/tooltips/tooltips.scss +281 -0
- data/_sass/@primer/css/truncate/index.scss +2 -0
- data/_sass/@primer/css/truncate/truncate.scss +2 -0
- data/_sass/@primer/css/utilities/animations.scss +196 -0
- data/_sass/@primer/css/utilities/borders.scss +74 -0
- data/_sass/@primer/css/utilities/box-shadow.scss +25 -0
- data/_sass/@primer/css/utilities/colors.scss +95 -0
- data/_sass/@primer/css/utilities/details.scss +105 -0
- data/_sass/@primer/css/utilities/flexbox.scss +52 -0
- data/_sass/@primer/css/utilities/index.scss +14 -0
- data/_sass/@primer/css/utilities/layout.scss +96 -0
- data/_sass/@primer/css/utilities/margin.scss +71 -0
- data/_sass/@primer/css/utilities/padding.scss +56 -0
- data/_sass/@primer/css/utilities/typography.scss +332 -0
- data/_sass/@primer/css/utilities/visibility-display.scss +123 -0
- data/_sass/@primer/primitives/dist/scss/colors/_dark.scss +443 -0
- data/_sass/@primer/primitives/dist/scss/colors/_dark_colorblind.scss +443 -0
- data/_sass/@primer/primitives/dist/scss/colors/_dark_dimmed.scss +443 -0
- data/_sass/@primer/primitives/dist/scss/colors/_dark_high_contrast.scss +443 -0
- data/_sass/@primer/primitives/dist/scss/colors/_dark_tritanopia.scss +443 -0
- data/_sass/@primer/primitives/dist/scss/colors/_light.scss +443 -0
- data/_sass/@primer/primitives/dist/scss/colors/_light_colorblind.scss +443 -0
- data/_sass/@primer/primitives/dist/scss/colors/_light_high_contrast.scss +443 -0
- data/_sass/@primer/primitives/dist/scss/colors/_light_tritanopia.scss +443 -0
- data/_sass/@primer/primitives/dist/scss/spacing/_normal.scss +11 -0
- data/_sass/@primer/primitives/dist/scss/typography/_normal.scss +15 -0
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/base/size/size.scss +21 -0
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/base/typography/typography.scss +8 -0
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/border.scss +14 -0
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +10 -0
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +7 -0
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +7 -0
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/size.scss +51 -0
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/size/viewport.scss +10 -0
- data/_sass/@primer/primitives/tokens-v2-private/scss/tokens/functional/typography/typography.scss +44 -0
- data/_sass/@primer/view-components/LICENSE.txt +21 -0
- data/_sass/@primer/view-components/README.md +17 -0
- data/_sass/@primer/view-components/app/assets/javascripts/primer_view_components.js +2 -0
- data/_sass/@primer/view-components/app/assets/javascripts/primer_view_components.js.map +1 -0
- data/_sass/@primer/view-components/app/assets/styles/primer_view_components.css +3 -0
- data/_sass/@primer/view-components/app/assets/styles/primer_view_components.css.map +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/action_list.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/action_list.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/auto_complete.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/auto_complete.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/banner.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/banner.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/button_marketing.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/button_marketing.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/dialog.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/dialog.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/dropdown/menu.d.ts +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/dropdown/menu.js +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/dropdown.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/dropdown.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/dropdown.d.ts +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/dropdown.js +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/image_crop.d.ts +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/image_crop.js +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/layout.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/layout.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/menu.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/menu.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/modal_dialog.d.ts +18 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/modal_dialog.js +150 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/nav_list.d.ts +25 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/nav_list.js +130 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/segmented_control.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/segmented_control.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/segmented_control.d.ts +12 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/segmented_control.js +47 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/tab_nav.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/tab_nav.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/text_field.css +3 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/text_field.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/toggle_switch.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/toggle_switch.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/toggle_switch.d.ts +29 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/toggle_switch.js +144 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/tool_tip.d.ts +25 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/tool_tip.js +389 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/underline_nav.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/underline_nav.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/x_banner.d.ts +11 -0
- data/_sass/@primer/view-components/app/components/primer/alpha/x_banner.js +35 -0
- data/_sass/@primer/view-components/app/components/primer/beta/auto_complete/auto_complete.d.ts +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/auto_complete/auto_complete.js +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/avatar.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/avatar.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/avatar_stack.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/avatar_stack.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/blankslate.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/blankslate.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/border_box.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/border_box.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/breadcrumbs.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/breadcrumbs.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/button.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/button.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/clipboard_copy.d.ts +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/clipboard_copy.js +43 -0
- data/_sass/@primer/view-components/app/components/primer/beta/counter.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/counter.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/flash.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/flash.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/label.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/label.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/link.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/link.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/popover.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/popover.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/progress_bar.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/progress_bar.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/truncate.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/beta/truncate.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/local_time.d.ts +1 -0
- data/_sass/@primer/view-components/app/components/primer/local_time.js +1 -0
- data/_sass/@primer/view-components/app/components/primer/primer.d.ts +15 -0
- data/_sass/@primer/view-components/app/components/primer/primer.js +15 -0
- data/_sass/@primer/view-components/app/components/primer/state_component.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/state_component.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/subhead_component.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/subhead_component.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/tab_container_component.d.ts +1 -0
- data/_sass/@primer/view-components/app/components/primer/tab_container_component.js +1 -0
- data/_sass/@primer/view-components/app/components/primer/time_ago_component.d.ts +1 -0
- data/_sass/@primer/view-components/app/components/primer/time_ago_component.js +1 -0
- data/_sass/@primer/view-components/app/components/primer/timeline_item_component.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/timeline_item_component.css.json +1 -0
- data/_sass/@primer/view-components/app/components/primer/truncate.css +1 -0
- data/_sass/@primer/view-components/app/components/primer/truncate.css.json +1 -0
- data/_sass/@primer/view-components/lib/primer/forms/primer_multi_input.d.ts +10 -0
- data/_sass/@primer/view-components/lib/primer/forms/primer_multi_input.js +45 -0
- data/_sass/@primer/view-components/lib/primer/forms/primer_text_field.d.ts +1 -0
- data/_sass/@primer/view-components/lib/primer/forms/primer_text_field.js +62 -0
- data/_sass/@primer/view-components/package.json +95 -0
- data/_sass/@primer/view-components/static/arguments.json +2586 -0
- data/_sass/@primer/view-components/static/audited_at.json +100 -0
- data/_sass/@primer/view-components/static/constants.json +1157 -0
- data/_sass/@primer/view-components/static/statuses.json +100 -0
- data/_sass/jekyll-theme-primer.scss +8 -0
- data/_sass/primer.scss +4 -0
- data/_sass/rouge.scss +213 -0
- data/assets/css/style.scss +4 -0
- metadata +444 -0
@@ -0,0 +1,220 @@
|
|
1
|
+
// Stack layout helper component
|
2
|
+
|
3
|
+
.Stack {
|
4
|
+
|
5
|
+
// A Stack component lays elements horizontally or vertically on the page.
|
6
|
+
//
|
7
|
+
// Stack is a simple abstraction of CSS' Flexbox. Use it to structure elements
|
8
|
+
// that are visually grouped, following the same direction.
|
9
|
+
//
|
10
|
+
// Markup structure
|
11
|
+
// ================
|
12
|
+
//
|
13
|
+
// .Stack
|
14
|
+
// ├─ &.Stack--dir-[ inline | block ]-[ whenNarrow | whenRegular | whenWide ]
|
15
|
+
// ├─ &.Stack--gap-[ none | condensed | normal | spacious ]-[ whenNarrow | whenRegular | whenWide ]
|
16
|
+
// ├─ &.Stack--align-[ start | center | end | baseline ]-[ whenNarrow | whenRegular | whenWide ]
|
17
|
+
// ├─ &.Stack--alignWrap-[ start | center | end | distribute | distributeEvenly ]-[ whenNarrow | whenRegular | whenWide ]
|
18
|
+
// ├─ &.Stack--spread-[ start | center | end | distribute | distributeEvenly ]-[ whenNarrow | whenRegular | whenWide ]
|
19
|
+
// ├─ &.Stack--wrap-[ whenNarrow | whenRegular | whenWide ]
|
20
|
+
// ├─ &.Stack--nowrap-[ whenNarrow | whenRegular | whenWide ]
|
21
|
+
// ├─ &.Stack--showDividers-[ whenNarrow | whenRegular | whenWide ]
|
22
|
+
// │
|
23
|
+
// ├─ .Stack-divider
|
24
|
+
// ├─ .Stack-item
|
25
|
+
// │ ├─ &.Stack-item--expand-[ whenNarrow | whenRegular | whenWide ]
|
26
|
+
// │ ├─ &.Stack-item--keepSize-[ whenNarrow | whenRegular | whenWide ]
|
27
|
+
|
28
|
+
$Stack-gap-default: var(--primer-stack-gap-normal, 16px);
|
29
|
+
|
30
|
+
--Stack-gap-whenRegular: #{$Stack-gap-default};
|
31
|
+
--Stack-gap-whenNarrow: #{$Stack-gap-default};
|
32
|
+
--Stack-gap-whenWide: var(--Stack-gap-whenRegular);
|
33
|
+
--Stack-divider-color: var(--color-border-default);
|
34
|
+
|
35
|
+
display: flex;
|
36
|
+
flex-flow: column;
|
37
|
+
align-items: stretch;
|
38
|
+
align-content: flex-start;
|
39
|
+
gap: var(--Stack-gap-whenRegular);
|
40
|
+
|
41
|
+
@media ($viewport-narrow) {
|
42
|
+
gap: var(--Stack-gap-whenNarrow);
|
43
|
+
}
|
44
|
+
|
45
|
+
@media ($viewport-wide) {
|
46
|
+
gap: var(--Stack-gap-whenWide);
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
@mixin Stack--modifiers($viewportRange: '') {
|
51
|
+
// direction
|
52
|
+
|
53
|
+
.Stack--dir-inline#{$viewportRange} {
|
54
|
+
flex-flow: row;
|
55
|
+
}
|
56
|
+
|
57
|
+
.Stack--dir-block#{$viewportRange} {
|
58
|
+
flex-flow: column;
|
59
|
+
}
|
60
|
+
|
61
|
+
// gap
|
62
|
+
|
63
|
+
.Stack--gap-none#{$viewportRange} {
|
64
|
+
--Stack-gap#{$viewportRange}: 0;
|
65
|
+
}
|
66
|
+
|
67
|
+
.Stack--gap-condensed#{$viewportRange} {
|
68
|
+
--Stack-gap#{$viewportRange}: var(--primer-stack-gap-condensed, 8px);
|
69
|
+
}
|
70
|
+
|
71
|
+
.Stack--gap-normal#{$viewportRange} {
|
72
|
+
--Stack-gap#{$viewportRange}: var(--primer-stack-gap-normal, 16px);
|
73
|
+
}
|
74
|
+
|
75
|
+
// There's no .Stack--gap-spacious-whenNarrow
|
76
|
+
// Narrow viewports render `spacious` gap as `normal`
|
77
|
+
@if $viewportRange != '-whenNarrow' {
|
78
|
+
.Stack--gap-spacious#{$viewportRange} {
|
79
|
+
--Stack-gap#{$viewportRange}: var(--primer-stack-gap-spacious, 24px);
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
// align
|
84
|
+
|
85
|
+
.Stack--align-start#{$viewportRange} {
|
86
|
+
align-items: flex-start;
|
87
|
+
}
|
88
|
+
|
89
|
+
.Stack--align-center#{$viewportRange} {
|
90
|
+
align-items: center;
|
91
|
+
}
|
92
|
+
|
93
|
+
.Stack--align-end#{$viewportRange} {
|
94
|
+
align-items: flex-end;
|
95
|
+
}
|
96
|
+
|
97
|
+
.Stack--align-baseline#{$viewportRange} {
|
98
|
+
align-items: baseline;
|
99
|
+
}
|
100
|
+
|
101
|
+
// alignWrap
|
102
|
+
|
103
|
+
.Stack--alignWrap-start#{$viewportRange} {
|
104
|
+
align-content: flex-start;
|
105
|
+
}
|
106
|
+
|
107
|
+
.Stack--alignWrap-center#{$viewportRange} {
|
108
|
+
align-content: center;
|
109
|
+
}
|
110
|
+
|
111
|
+
.Stack--alignWrap-end#{$viewportRange} {
|
112
|
+
align-content: flex-end;
|
113
|
+
}
|
114
|
+
|
115
|
+
.Stack--alignWrap-distribute#{$viewportRange} {
|
116
|
+
align-content: space-between;
|
117
|
+
}
|
118
|
+
|
119
|
+
.Stack--alignWrap-distributeEvenly#{$viewportRange} {
|
120
|
+
align-content: space-evenly;
|
121
|
+
}
|
122
|
+
|
123
|
+
// spread
|
124
|
+
|
125
|
+
.Stack--spread-start#{$viewportRange} {
|
126
|
+
justify-content: flex-start;
|
127
|
+
}
|
128
|
+
|
129
|
+
.Stack--spread-center#{$viewportRange} {
|
130
|
+
justify-content: center;
|
131
|
+
}
|
132
|
+
|
133
|
+
.Stack--spread-end#{$viewportRange} {
|
134
|
+
justify-content: flex-end;
|
135
|
+
}
|
136
|
+
|
137
|
+
.Stack--spread-distribute#{$viewportRange} {
|
138
|
+
justify-content: space-between;
|
139
|
+
}
|
140
|
+
|
141
|
+
.Stack--spread-distributeEvenly#{$viewportRange} {
|
142
|
+
justify-content: space-evenly;
|
143
|
+
}
|
144
|
+
|
145
|
+
// wrap
|
146
|
+
|
147
|
+
.Stack--wrap#{$viewportRange} {
|
148
|
+
flex-wrap: wrap;
|
149
|
+
}
|
150
|
+
|
151
|
+
.Stack--nowrap#{$viewportRange} {
|
152
|
+
flex-wrap: nowrap;
|
153
|
+
}
|
154
|
+
|
155
|
+
// showDividers
|
156
|
+
|
157
|
+
.Stack--showDividers#{$viewportRange} > .Stack-divider,
|
158
|
+
.Stack--showDividers#{$viewportRange} > .Stack-item > .Stack-divider {
|
159
|
+
display: block;
|
160
|
+
}
|
161
|
+
|
162
|
+
:not(.Stack--dir-inline#{$viewportRange}) > .Stack-divider,
|
163
|
+
:not(.Stack--dir-inline#{$viewportRange}) > .Stack-item > .Stack-divider {
|
164
|
+
border-block-end: var(--primer-borderWidth-thin, 1px) solid var(--Stack-divider-color);
|
165
|
+
inline-size: auto;
|
166
|
+
block-size: 0;
|
167
|
+
}
|
168
|
+
|
169
|
+
.Stack--dir-inline#{$viewportRange} > .Stack-divider,
|
170
|
+
.Stack--dir-inline#{$viewportRange} > .Stack-item > .Stack-divider {
|
171
|
+
border-inline-end: var(--primer-borderWidth-thin, 1px) solid var(--Stack-divider-color);
|
172
|
+
inline-size: 0;
|
173
|
+
block-size: auto;
|
174
|
+
}
|
175
|
+
}
|
176
|
+
|
177
|
+
// Stack-divider
|
178
|
+
|
179
|
+
.Stack-divider {
|
180
|
+
display: none;
|
181
|
+
padding: 0;
|
182
|
+
margin: 0;
|
183
|
+
border: 0;
|
184
|
+
align-self: stretch;
|
185
|
+
}
|
186
|
+
|
187
|
+
// Stack-item
|
188
|
+
|
189
|
+
.Stack-item {
|
190
|
+
flex: 0 1 auto;
|
191
|
+
min-inline-size: 0;
|
192
|
+
}
|
193
|
+
|
194
|
+
@mixin Stack-item--modifiers($viewportRange: '') {
|
195
|
+
|
196
|
+
.Stack-item--expand#{$viewportRange} {
|
197
|
+
flex-grow: 1;
|
198
|
+
}
|
199
|
+
|
200
|
+
.Stack-item--keepSize#{$viewportRange} {
|
201
|
+
flex-shrink: 0;
|
202
|
+
}
|
203
|
+
}
|
204
|
+
|
205
|
+
// Responsive composition
|
206
|
+
|
207
|
+
@media ($viewport-narrow) {
|
208
|
+
@include Stack--modifiers('-whenNarrow');
|
209
|
+
@include Stack-item--modifiers('-whenNarrow');
|
210
|
+
}
|
211
|
+
|
212
|
+
@media ($viewport-regular) {
|
213
|
+
@include Stack--modifiers('-whenRegular');
|
214
|
+
@include Stack-item--modifiers('-whenRegular');
|
215
|
+
}
|
216
|
+
|
217
|
+
@media ($viewport-wide) {
|
218
|
+
@include Stack--modifiers('-whenWide');
|
219
|
+
@include Stack-item--modifiers('-whenWide');
|
220
|
+
}
|
@@ -0,0 +1,60 @@
|
|
1
|
+
// Links
|
2
|
+
|
3
|
+
.Link {
|
4
|
+
color: var(--color-accent-fg);
|
5
|
+
|
6
|
+
&:hover {
|
7
|
+
text-decoration: underline;
|
8
|
+
cursor: pointer;
|
9
|
+
}
|
10
|
+
|
11
|
+
&:focus,
|
12
|
+
&:focus-visible {
|
13
|
+
outline-offset: 0;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
.Link--primary {
|
18
|
+
color: var(--color-fg-default) !important;
|
19
|
+
|
20
|
+
&:hover {
|
21
|
+
color: var(--color-accent-fg) !important;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
.Link--secondary {
|
26
|
+
color: var(--color-fg-muted) !important;
|
27
|
+
|
28
|
+
&:hover {
|
29
|
+
color: var(--color-accent-fg) !important;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
.Link--muted {
|
34
|
+
color: var(--color-fg-muted) !important;
|
35
|
+
|
36
|
+
&:hover {
|
37
|
+
color: var(--color-accent-fg) !important;
|
38
|
+
text-decoration: none;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
// Set the link color only on hover
|
43
|
+
// Useful when you want only part of a link to turn blue on hover
|
44
|
+
.Link--onHover {
|
45
|
+
&:hover {
|
46
|
+
color: var(--color-accent-fg) !important;
|
47
|
+
text-decoration: underline;
|
48
|
+
cursor: pointer;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
// When using a color utility class inside of a link class,
|
53
|
+
// color should change with link on hover.
|
54
|
+
.Link--secondary,
|
55
|
+
.Link--primary,
|
56
|
+
.Link--muted {
|
57
|
+
&:hover [class*='color-fg'] {
|
58
|
+
color: inherit !important;
|
59
|
+
}
|
60
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
// Loaders
|
2
|
+
|
3
|
+
// Animated Ellipsis
|
4
|
+
|
5
|
+
.AnimatedEllipsis {
|
6
|
+
display: inline-block;
|
7
|
+
overflow: hidden;
|
8
|
+
vertical-align: bottom;
|
9
|
+
|
10
|
+
&::after {
|
11
|
+
display: inline-block;
|
12
|
+
content: '...';
|
13
|
+
animation: AnimatedEllipsis-keyframes 1.2s steps(4, jump-none) infinite;
|
14
|
+
}
|
15
|
+
|
16
|
+
@keyframes AnimatedEllipsis-keyframes {
|
17
|
+
0% { transform: translateX(-100%); }
|
18
|
+
}
|
19
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
// stylelint-disable selector-max-type
|
2
|
+
.markdown-body .csv-data {
|
3
|
+
td,
|
4
|
+
th {
|
5
|
+
// stylelint-disable-next-line primer/spacing
|
6
|
+
padding: 5px;
|
7
|
+
overflow: hidden;
|
8
|
+
font-size: $font-size-small;
|
9
|
+
line-height: $lh-condensed-ultra;
|
10
|
+
text-align: left;
|
11
|
+
white-space: nowrap;
|
12
|
+
}
|
13
|
+
|
14
|
+
.blob-num {
|
15
|
+
// stylelint-disable-next-line primer/spacing
|
16
|
+
padding: 10px $spacer-2 9px;
|
17
|
+
text-align: right;
|
18
|
+
background: var(--color-canvas-default);
|
19
|
+
border: 0;
|
20
|
+
}
|
21
|
+
|
22
|
+
tr { border-top: 0; }
|
23
|
+
|
24
|
+
th {
|
25
|
+
font-weight: $font-weight-bold;
|
26
|
+
background: var(--color-canvas-subtle);
|
27
|
+
border-top: 0;
|
28
|
+
}
|
29
|
+
}
|
@@ -0,0 +1,77 @@
|
|
1
|
+
// stylelint-disable selector-max-type
|
2
|
+
.markdown-body {
|
3
|
+
// Inline code snippets
|
4
|
+
code,
|
5
|
+
tt {
|
6
|
+
// stylelint-disable-next-line primer/spacing
|
7
|
+
padding: 0.2em 0.4em;
|
8
|
+
margin: 0;
|
9
|
+
// stylelint-disable-next-line primer/typography
|
10
|
+
font-size: 85%;
|
11
|
+
white-space: break-spaces; // keeps rendering spaces, but breaks them onto multiple lines
|
12
|
+
background-color: var(--color-neutral-muted);
|
13
|
+
border-radius: $border-radius;
|
14
|
+
|
15
|
+
br { display: none; }
|
16
|
+
}
|
17
|
+
|
18
|
+
del code { text-decoration: inherit; }
|
19
|
+
|
20
|
+
samp {
|
21
|
+
// stylelint-disable-next-line primer/typography
|
22
|
+
font-size: 85%;
|
23
|
+
}
|
24
|
+
|
25
|
+
pre {
|
26
|
+
word-wrap: normal;
|
27
|
+
|
28
|
+
code {
|
29
|
+
// stylelint-disable-next-line primer/typography
|
30
|
+
font-size: 100%;
|
31
|
+
}
|
32
|
+
|
33
|
+
// Code tags within code blocks (<pre>s)
|
34
|
+
> code {
|
35
|
+
padding: 0;
|
36
|
+
margin: 0;
|
37
|
+
word-break: normal;
|
38
|
+
white-space: pre;
|
39
|
+
background: transparent;
|
40
|
+
border: 0;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
.highlight {
|
45
|
+
margin-bottom: $spacer-3;
|
46
|
+
|
47
|
+
pre {
|
48
|
+
margin-bottom: 0;
|
49
|
+
word-break: normal;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
.highlight pre,
|
54
|
+
pre {
|
55
|
+
padding: $spacer-3;
|
56
|
+
overflow: auto;
|
57
|
+
// stylelint-disable-next-line primer/typography
|
58
|
+
font-size: 85%;
|
59
|
+
// stylelint-disable-next-line primer/typography
|
60
|
+
line-height: 1.45;
|
61
|
+
background-color: var(--color-canvas-subtle);
|
62
|
+
border-radius: $border-radius;
|
63
|
+
}
|
64
|
+
|
65
|
+
pre code,
|
66
|
+
pre tt {
|
67
|
+
display: inline;
|
68
|
+
max-width: auto;
|
69
|
+
padding: 0;
|
70
|
+
margin: 0;
|
71
|
+
overflow: visible;
|
72
|
+
line-height: inherit;
|
73
|
+
word-wrap: normal;
|
74
|
+
background-color: transparent;
|
75
|
+
border: 0;
|
76
|
+
}
|
77
|
+
}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
// stylelint-disable selector-max-type
|
2
|
+
// stylelint-disable selector-max-compound-selectors
|
3
|
+
|
4
|
+
.markdown-body {
|
5
|
+
[data-footnote-ref] {
|
6
|
+
&::before {
|
7
|
+
content: '[';
|
8
|
+
}
|
9
|
+
|
10
|
+
&::after {
|
11
|
+
content: ']';
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
.footnotes {
|
16
|
+
font-size: $h6-size;
|
17
|
+
color: var(--color-fg-muted);
|
18
|
+
border-top: $border;
|
19
|
+
|
20
|
+
ol {
|
21
|
+
padding-left: $spacer-3;
|
22
|
+
|
23
|
+
ul {
|
24
|
+
display: inline-block;
|
25
|
+
padding-left: $spacer-3;
|
26
|
+
margin-top: $spacer-3;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
li {
|
31
|
+
position: relative;
|
32
|
+
}
|
33
|
+
|
34
|
+
li:target::before {
|
35
|
+
position: absolute;
|
36
|
+
top: -$spacer-2;
|
37
|
+
right: -$spacer-2;
|
38
|
+
bottom: -$spacer-2;
|
39
|
+
left: -$spacer-4;
|
40
|
+
pointer-events: none;
|
41
|
+
content: '';
|
42
|
+
// stylelint-disable-next-line primer/borders
|
43
|
+
border: 2px $border-style var(--color-accent-emphasis);
|
44
|
+
border-radius: $border-radius;
|
45
|
+
}
|
46
|
+
|
47
|
+
li:target {
|
48
|
+
color: var(--color-fg-default);
|
49
|
+
}
|
50
|
+
|
51
|
+
.data-footnote-backref g-emoji {
|
52
|
+
font-family: monospace;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
@@ -0,0 +1,96 @@
|
|
1
|
+
// Needs refactoring
|
2
|
+
// stylelint-disable selector-max-compound-selectors, selector-max-specificity
|
3
|
+
// stylelint-disable selector-max-type
|
4
|
+
.markdown-body {
|
5
|
+
// Headings
|
6
|
+
h1,
|
7
|
+
h2,
|
8
|
+
h3,
|
9
|
+
h4,
|
10
|
+
h5,
|
11
|
+
h6 {
|
12
|
+
margin-top: $spacer-4;
|
13
|
+
margin-bottom: $spacer-3;
|
14
|
+
font-weight: $font-weight-bold;
|
15
|
+
line-height: $lh-condensed;
|
16
|
+
|
17
|
+
.octicon-link {
|
18
|
+
color: var(--color-fg-default);
|
19
|
+
vertical-align: middle;
|
20
|
+
visibility: hidden;
|
21
|
+
}
|
22
|
+
|
23
|
+
&:hover .anchor {
|
24
|
+
text-decoration: none;
|
25
|
+
|
26
|
+
.octicon-link {
|
27
|
+
visibility: visible;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
tt,
|
32
|
+
code {
|
33
|
+
// stylelint-disable-next-line primer/spacing
|
34
|
+
padding: 0 0.2em;
|
35
|
+
font-size: inherit;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
h1 {
|
40
|
+
// stylelint-disable-next-line primer/spacing
|
41
|
+
padding-bottom: 0.3em;
|
42
|
+
// stylelint-disable-next-line primer/typography
|
43
|
+
font-size: 2em;
|
44
|
+
border-bottom: $border-width $border-style var(--color-border-muted);
|
45
|
+
}
|
46
|
+
|
47
|
+
h2 {
|
48
|
+
// stylelint-disable-next-line primer/spacing
|
49
|
+
padding-bottom: 0.3em;
|
50
|
+
// stylelint-disable-next-line primer/typography
|
51
|
+
font-size: 1.5em;
|
52
|
+
border-bottom: $border-width $border-style var(--color-border-muted);
|
53
|
+
}
|
54
|
+
|
55
|
+
h3 {
|
56
|
+
// stylelint-disable-next-line primer/typography
|
57
|
+
font-size: 1.25em;
|
58
|
+
}
|
59
|
+
|
60
|
+
h4 {
|
61
|
+
font-size: 1em;
|
62
|
+
}
|
63
|
+
|
64
|
+
h5 {
|
65
|
+
// stylelint-disable-next-line primer/typography
|
66
|
+
font-size: 0.875em;
|
67
|
+
}
|
68
|
+
|
69
|
+
h6 {
|
70
|
+
// stylelint-disable-next-line primer/typography
|
71
|
+
font-size: 0.85em;
|
72
|
+
color: var(--color-fg-muted);
|
73
|
+
}
|
74
|
+
|
75
|
+
summary {
|
76
|
+
h1,
|
77
|
+
h2,
|
78
|
+
h3,
|
79
|
+
h4,
|
80
|
+
h5,
|
81
|
+
h6 {
|
82
|
+
display: inline-block;
|
83
|
+
|
84
|
+
.anchor {
|
85
|
+
// stylelint-disable-next-line primer/spacing
|
86
|
+
margin-left: -40px;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
h1,
|
91
|
+
h2 {
|
92
|
+
padding-bottom: 0;
|
93
|
+
border-bottom: 0;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
@@ -0,0 +1,130 @@
|
|
1
|
+
// Need to target base styles
|
2
|
+
// stylelint-disable selector-max-compound-selectors, selector-no-qualifying-type
|
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: var(--color-canvas-default);
|
12
|
+
|
13
|
+
&[align='right'] {
|
14
|
+
// stylelint-disable-next-line primer/spacing
|
15
|
+
padding-left: 20px;
|
16
|
+
}
|
17
|
+
|
18
|
+
&[align='left'] {
|
19
|
+
// stylelint-disable-next-line primer/spacing
|
20
|
+
padding-right: 20px;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
.emoji {
|
25
|
+
max-width: none;
|
26
|
+
vertical-align: text-top;
|
27
|
+
// Override `<img>` styles so Emojis don't clash with zebra striping in our tables
|
28
|
+
background-color: transparent;
|
29
|
+
}
|
30
|
+
|
31
|
+
// Gollum Image Tags
|
32
|
+
|
33
|
+
// Framed
|
34
|
+
span.frame {
|
35
|
+
display: block;
|
36
|
+
overflow: hidden;
|
37
|
+
|
38
|
+
> span {
|
39
|
+
display: block;
|
40
|
+
float: left;
|
41
|
+
width: auto;
|
42
|
+
// stylelint-disable-next-line primer/spacing
|
43
|
+
padding: 7px;
|
44
|
+
// stylelint-disable-next-line primer/spacing
|
45
|
+
margin: 13px 0 0;
|
46
|
+
overflow: hidden;
|
47
|
+
border: $border-width $border-style var(--color-border-default);
|
48
|
+
}
|
49
|
+
|
50
|
+
span img {
|
51
|
+
display: block;
|
52
|
+
float: left;
|
53
|
+
}
|
54
|
+
|
55
|
+
span span {
|
56
|
+
display: block;
|
57
|
+
// stylelint-disable-next-line primer/spacing
|
58
|
+
padding: 5px 0 0;
|
59
|
+
clear: both;
|
60
|
+
color: var(--color-fg-default);
|
61
|
+
}
|
62
|
+
}
|
63
|
+
|
64
|
+
span.align-center {
|
65
|
+
display: block;
|
66
|
+
overflow: hidden;
|
67
|
+
clear: both;
|
68
|
+
|
69
|
+
> span {
|
70
|
+
display: block;
|
71
|
+
// stylelint-disable-next-line primer/spacing
|
72
|
+
margin: 13px auto 0;
|
73
|
+
overflow: hidden;
|
74
|
+
text-align: center;
|
75
|
+
}
|
76
|
+
|
77
|
+
span img {
|
78
|
+
margin: 0 auto;
|
79
|
+
text-align: center;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
span.align-right {
|
84
|
+
display: block;
|
85
|
+
overflow: hidden;
|
86
|
+
clear: both;
|
87
|
+
|
88
|
+
> span {
|
89
|
+
display: block;
|
90
|
+
// stylelint-disable-next-line primer/spacing
|
91
|
+
margin: 13px 0 0;
|
92
|
+
overflow: hidden;
|
93
|
+
text-align: right;
|
94
|
+
}
|
95
|
+
|
96
|
+
span img {
|
97
|
+
margin: 0;
|
98
|
+
text-align: right;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
span.float-left {
|
103
|
+
display: block;
|
104
|
+
float: left;
|
105
|
+
// stylelint-disable-next-line primer/spacing
|
106
|
+
margin-right: 13px;
|
107
|
+
overflow: hidden;
|
108
|
+
|
109
|
+
span {
|
110
|
+
// stylelint-disable-next-line primer/spacing
|
111
|
+
margin: 13px 0 0;
|
112
|
+
}
|
113
|
+
}
|
114
|
+
|
115
|
+
span.float-right {
|
116
|
+
display: block;
|
117
|
+
float: right;
|
118
|
+
// stylelint-disable-next-line primer/spacing
|
119
|
+
margin-left: 13px;
|
120
|
+
overflow: hidden;
|
121
|
+
|
122
|
+
> span {
|
123
|
+
display: block;
|
124
|
+
// stylelint-disable-next-line primer/spacing
|
125
|
+
margin: 13px auto 0;
|
126
|
+
overflow: hidden;
|
127
|
+
text-align: right;
|
128
|
+
}
|
129
|
+
}
|
130
|
+
}
|