hardpool-flat 0.1.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/footer.html +32 -0
  3. data/_includes/footer.project.html +20 -0
  4. data/_includes/head.html +2 -1
  5. data/_includes/header.1.html +74 -0
  6. data/_includes/header.html +39 -5
  7. data/_includes/header.project.html +69 -0
  8. data/_includes/qv_modal.html +41 -0
  9. data/_includes/scripts.html +10 -0
  10. data/_includes/section_row.html +39 -0
  11. data/_includes/seo.html +8 -3
  12. data/_layouts/contained.html +7 -0
  13. data/_layouts/default.html +25 -3
  14. data/_layouts/page.html +2 -3
  15. data/_layouts/portfolio-landing.html +137 -0
  16. data/_layouts/portfolio-post-bnr.html +14 -0
  17. data/_layouts/portfolio-post.html +118 -0
  18. data/_layouts/portfolio.html +27 -0
  19. data/_layouts/posts.html +26 -0
  20. data/_layouts/project.html +30 -0
  21. data/_sass/_mixins.scss +10 -0
  22. data/_sass/_var.scss +24 -24
  23. data/_sass/bootstrap/_alert.scss +0 -0
  24. data/_sass/bootstrap/_badge.scss +0 -0
  25. data/_sass/bootstrap/_breadcrumb.scss +0 -0
  26. data/_sass/bootstrap/_button-group.scss +0 -0
  27. data/_sass/bootstrap/_buttons.scss +0 -0
  28. data/_sass/bootstrap/_card.scss +0 -0
  29. data/_sass/bootstrap/_carousel.scss +0 -0
  30. data/_sass/bootstrap/_close.scss +0 -0
  31. data/_sass/bootstrap/_code.scss +0 -0
  32. data/_sass/bootstrap/_custom-forms.scss +0 -0
  33. data/_sass/bootstrap/_dropdown.scss +0 -0
  34. data/_sass/bootstrap/_forms.scss +0 -0
  35. data/_sass/bootstrap/_functions.scss +0 -0
  36. data/_sass/bootstrap/_grid.scss +0 -0
  37. data/_sass/bootstrap/_images.scss +0 -0
  38. data/_sass/bootstrap/_input-group.scss +0 -0
  39. data/_sass/bootstrap/_jumbotron.scss +0 -0
  40. data/_sass/bootstrap/_list-group.scss +0 -0
  41. data/_sass/bootstrap/_media.scss +0 -0
  42. data/_sass/bootstrap/_mixins.scss +0 -0
  43. data/_sass/bootstrap/_modal.scss +0 -0
  44. data/_sass/bootstrap/_nav.scss +0 -0
  45. data/_sass/bootstrap/_navbar.scss +0 -0
  46. data/_sass/bootstrap/_pagination.scss +0 -0
  47. data/_sass/bootstrap/_popover.scss +0 -0
  48. data/_sass/bootstrap/_print.scss +0 -0
  49. data/_sass/bootstrap/_progress.scss +0 -0
  50. data/_sass/bootstrap/_reboot.scss +0 -0
  51. data/_sass/bootstrap/_root.scss +0 -0
  52. data/_sass/bootstrap/_tables.scss +0 -0
  53. data/_sass/bootstrap/_tooltip.scss +0 -0
  54. data/_sass/bootstrap/_transitions.scss +0 -0
  55. data/_sass/bootstrap/_type.scss +0 -0
  56. data/_sass/bootstrap/_utilities.scss +0 -0
  57. data/_sass/bootstrap/_variables.scss +0 -0
  58. data/_sass/bootstrap/bootstrap-grid.scss +0 -0
  59. data/_sass/bootstrap/bootstrap-reboot.scss +0 -0
  60. data/_sass/bootstrap/bootstrap.scss +11 -10
  61. data/_sass/bootstrap/mixins/_alert.scss +0 -0
  62. data/_sass/bootstrap/mixins/_background-variant.scss +0 -0
  63. data/_sass/bootstrap/mixins/_badge.scss +0 -0
  64. data/_sass/bootstrap/mixins/_border-radius.scss +0 -0
  65. data/_sass/bootstrap/mixins/_box-shadow.scss +0 -0
  66. data/_sass/bootstrap/mixins/_breakpoints.scss +0 -0
  67. data/_sass/bootstrap/mixins/_buttons.scss +0 -0
  68. data/_sass/bootstrap/mixins/_caret.scss +0 -0
  69. data/_sass/bootstrap/mixins/_clearfix.scss +0 -0
  70. data/_sass/bootstrap/mixins/_float.scss +0 -0
  71. data/_sass/bootstrap/mixins/_forms.scss +0 -0
  72. data/_sass/bootstrap/mixins/_gradients.scss +0 -0
  73. data/_sass/bootstrap/mixins/_grid-framework.scss +0 -0
  74. data/_sass/bootstrap/mixins/_grid.scss +0 -0
  75. data/_sass/bootstrap/mixins/_hover.scss +0 -0
  76. data/_sass/bootstrap/mixins/_image.scss +0 -0
  77. data/_sass/bootstrap/mixins/_list-group.scss +0 -0
  78. data/_sass/bootstrap/mixins/_lists.scss +0 -0
  79. data/_sass/bootstrap/mixins/_nav-divider.scss +0 -0
  80. data/_sass/bootstrap/mixins/_pagination.scss +0 -0
  81. data/_sass/bootstrap/mixins/_reset-text.scss +0 -0
  82. data/_sass/bootstrap/mixins/_resize.scss +0 -0
  83. data/_sass/bootstrap/mixins/_screen-reader.scss +0 -0
  84. data/_sass/bootstrap/mixins/_size.scss +0 -0
  85. data/_sass/bootstrap/mixins/_table-row.scss +0 -0
  86. data/_sass/bootstrap/mixins/_text-emphasis.scss +0 -0
  87. data/_sass/bootstrap/mixins/_text-hide.scss +0 -0
  88. data/_sass/bootstrap/mixins/_text-truncate.scss +0 -0
  89. data/_sass/bootstrap/mixins/_transition.scss +0 -0
  90. data/_sass/bootstrap/mixins/_visibility.scss +0 -0
  91. data/_sass/bootstrap/utilities/_align.scss +0 -0
  92. data/_sass/bootstrap/utilities/_background.scss +0 -0
  93. data/_sass/bootstrap/utilities/_borders.scss +0 -0
  94. data/_sass/bootstrap/utilities/_clearfix.scss +0 -0
  95. data/_sass/bootstrap/utilities/_display.scss +0 -0
  96. data/_sass/bootstrap/utilities/_embed.scss +0 -0
  97. data/_sass/bootstrap/utilities/_flex.scss +0 -0
  98. data/_sass/bootstrap/utilities/_float.scss +0 -0
  99. data/_sass/bootstrap/utilities/_position.scss +0 -0
  100. data/_sass/bootstrap/utilities/_screenreaders.scss +0 -0
  101. data/_sass/bootstrap/utilities/_shadows.scss +0 -0
  102. data/_sass/bootstrap/utilities/_sizing.scss +0 -0
  103. data/_sass/bootstrap/utilities/_spacing.scss +0 -0
  104. data/_sass/bootstrap/utilities/_text.scss +0 -0
  105. data/_sass/bootstrap/utilities/_visibility.scss +0 -0
  106. data/_sass/colors.scss +5 -0
  107. data/_sass/primer/base/README.md +25 -0
  108. data/_sass/primer/base/base.scss +86 -0
  109. data/_sass/primer/base/index.scss +6 -0
  110. data/_sass/primer/base/kbd.scss +21 -0
  111. data/_sass/primer/base/normalize.scss +421 -0
  112. data/_sass/primer/base/typography-base.scss +88 -0
  113. data/_sass/primer/markdown/README.md +25 -0
  114. data/_sass/primer/markdown/blob-csv.scss +29 -0
  115. data/_sass/primer/markdown/code.scss +158 -0
  116. data/_sass/primer/markdown/headings.scss +72 -0
  117. data/_sass/primer/markdown/images.scss +131 -0
  118. data/_sass/primer/markdown/index.scss +8 -0
  119. data/_sass/primer/markdown/lists.scss +77 -0
  120. data/_sass/primer/markdown/markdown-body.scss +99 -0
  121. data/_sass/primer/markdown/tables.scss +37 -0
  122. data/_sass/primer/support/README.md +25 -0
  123. data/_sass/primer/support/index.scss +11 -0
  124. data/_sass/primer/support/mixins/buttons.scss +167 -0
  125. data/_sass/primer/support/mixins/layout.scss +58 -0
  126. data/_sass/primer/support/mixins/misc.scss +29 -0
  127. data/_sass/primer/support/mixins/typography.scss +84 -0
  128. data/_sass/primer/support/variables/color-system.scss +243 -0
  129. data/_sass/primer/support/variables/colors.scss +63 -0
  130. data/_sass/primer/support/variables/layout.scss +129 -0
  131. data/_sass/primer/support/variables/misc.scss +26 -0
  132. data/_sass/primer/support/variables/typography.scss +42 -0
  133. data/_sass/theme.scss +7 -0
  134. data/_sass/theme/_animations.scss +14 -0
  135. data/_sass/theme/_global.scss +25 -22
  136. data/_sass/theme/_header.scss +197 -11
  137. data/_sass/theme/_page.scss +313 -0
  138. data/assets/js/bootstrap.bundle.min.js +7 -0
  139. data/assets/js/jquery-3.3.1.slim.min.js +2 -0
  140. data/assets/js/main.bundle.js +1 -0
  141. metadata +53 -9
  142. data/_layouts/post.html +0 -6
@@ -0,0 +1,8 @@
1
+ @import "../support/index.scss";
2
+ @import "./markdown-body.scss";
3
+ @import "./headings.scss";
4
+ @import "./lists.scss";
5
+ @import "./tables.scss";
6
+ @import "./images.scss";
7
+ @import "./code.scss";
8
+ @import "./blob-csv.scss";
@@ -0,0 +1,77 @@
1
+ // Base styles
2
+ // stylelint-disable selector-no-qualifying-type
3
+ // stylelint-disable selector-max-type
4
+ .markdown-body {
5
+
6
+ // Lists, Blockquotes & Such
7
+ ul,
8
+ ol {
9
+ // stylelint-disable-next-line primer/spacing
10
+ padding-left: 2em;
11
+
12
+ &.no-list {
13
+ padding: 0;
14
+ list-style-type: none;
15
+ }
16
+ }
17
+
18
+ // Did someone complain about list spacing? Encourage them
19
+ // to create the spacing with their markdown formatting.
20
+ // List behavior should be controled by the markup, not the css.
21
+ //
22
+ // For lists with padding between items, use blank
23
+ // lines between items. This will generate paragraphs with
24
+ // padding to space things out.
25
+ //
26
+ // - item
27
+ //
28
+ // - item
29
+ //
30
+ // - item
31
+ //
32
+ // For list without padding, don't use blank lines.
33
+ //
34
+ // - item
35
+ // - item
36
+ // - item
37
+ //
38
+ // Modifying the css to emulate these behaviors merely brakes
39
+ // one case in the process of solving another. Don't change
40
+ // this unless it's really really a bug.
41
+ ul ul,
42
+ ul ol,
43
+ ol ol,
44
+ ol ul {
45
+ margin-top: 0;
46
+ margin-bottom: 0;
47
+ }
48
+
49
+ li {
50
+ word-wrap: break-all;
51
+ }
52
+
53
+ li > p {
54
+ margin-top: $spacer-3;
55
+ }
56
+
57
+ li + li {
58
+ margin-top: $em-spacer-3;
59
+ }
60
+
61
+ dl {
62
+ padding: 0;
63
+
64
+ dt {
65
+ padding: 0;
66
+ margin-top: $spacer-3;
67
+ font-size: 1em;
68
+ font-style: italic;
69
+ font-weight: $font-weight-bold;
70
+ }
71
+
72
+ dd {
73
+ padding: 0 $spacer-3;
74
+ margin-bottom: $spacer-3;
75
+ }
76
+ }
77
+ }
@@ -0,0 +1,99 @@
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
+ font-family: $body-font;
9
+ font-size: $h4-size;
10
+ line-height: $body-line-height;
11
+ word-wrap: break-word;
12
+
13
+ @import "../base/kbd.scss"; // adds support for keyboard shortcuts
14
+
15
+ // Clearfix on the markdown body
16
+ &::before {
17
+ display: table;
18
+ content: "";
19
+ }
20
+
21
+ &::after {
22
+ display: table;
23
+ clear: both;
24
+ content: "";
25
+ }
26
+
27
+ > *:first-child {
28
+ margin-top: 0 !important;
29
+ }
30
+
31
+ > *:last-child {
32
+ margin-bottom: 0 !important;
33
+ }
34
+
35
+ // Anchors like <a name="examples">. These sometimes end up wrapped around
36
+ // text when users mistakenly forget to close the tag or use self-closing tag
37
+ // syntax. We don't want them to appear like links.
38
+ // FIXME: a:not(:link):not(:visited) would be a little clearer here (and
39
+ // possibly faster to match), but it breaks styling of <a href> elements due
40
+ // to https://bugs.webkit.org/show_bug.cgi?id=142737.
41
+ a:not([href]) {
42
+ color: inherit;
43
+ text-decoration: none;
44
+ }
45
+
46
+ // Link Colors
47
+ .absent {
48
+ color: $text-red;
49
+ }
50
+
51
+ .anchor {
52
+ float: left;
53
+ padding-right: $spacer-1;
54
+ // stylelint-disable-next-line primer/spacing
55
+ margin-left: -20px;
56
+ line-height: $lh-condensed-ultra;
57
+
58
+ &:focus {
59
+ outline: none;
60
+ }
61
+ }
62
+
63
+ p,
64
+ blockquote,
65
+ ul,
66
+ ol,
67
+ dl,
68
+ table,
69
+ pre,
70
+ details {
71
+ margin-top: 0;
72
+ margin-bottom: $spacer-3;
73
+ }
74
+
75
+ hr {
76
+ height: $em-spacer-3;
77
+ padding: 0;
78
+ margin: $spacer-4 0;
79
+ // stylelint-disable-next-line primer/colors
80
+ background-color: $gray-200;
81
+ border: 0;
82
+ }
83
+
84
+ blockquote {
85
+ // stylelint-disable-next-line primer/spacing
86
+ padding: 0 1em;
87
+ color: $text-gray-light;
88
+ // stylelint-disable-next-line primer/borders
89
+ border-left: 0.25em $border-style lighten($gray-300, 5%);
90
+
91
+ > :first-child {
92
+ margin-top: 0;
93
+ }
94
+
95
+ > :last-child {
96
+ margin-bottom: 0;
97
+ }
98
+ }
99
+ }
@@ -0,0 +1,37 @@
1
+ // Needs refactoring
2
+ // stylelint-disable selector-max-type
3
+ .markdown-body {
4
+ // Tables
5
+ table {
6
+ display: block;
7
+ width: 100%;
8
+ overflow: auto;
9
+ height: auto;
10
+
11
+ th {
12
+ font-weight: $font-weight-bold;
13
+ }
14
+
15
+ th,
16
+ td {
17
+ // stylelint-disable-next-line primer/spacing
18
+ padding: 6px 13px;
19
+ // stylelint-disable-next-line primer/borders
20
+ border: $border-width $border-style lighten($gray-300, 5%);
21
+ }
22
+
23
+ tr {
24
+ background-color: $bg-white;
25
+ // stylelint-disable-next-line primer/borders
26
+ border-top: $border-width $border-style darken($gray-300, 4%);
27
+
28
+ &:nth-child(2n) {
29
+ background-color: $bg-gray;
30
+ }
31
+ }
32
+
33
+ img {
34
+ background-color: transparent;
35
+ }
36
+ }
37
+ }
@@ -0,0 +1,25 @@
1
+ ---
2
+ bundle: "support"
3
+ generated: true
4
+ ---
5
+
6
+ # Primer CSS: `support` bundle
7
+
8
+ ## Usage
9
+
10
+ Primer CSS source files are written in [SCSS]. To include this Primer CSS module in your own build, ensure that your `node_modules` directory is listed in your Sass include paths, then import it with:
11
+
12
+ ```scss
13
+ @import "@primer/css/support/index.scss";
14
+ ```
15
+
16
+ ## Build
17
+
18
+ The `@primer/css` npm package includes a standalone CSS build of this module in `dist/support.css`.
19
+
20
+ ## License
21
+
22
+ [MIT](https://github.com/primer/css/blob/master/LICENSE) &copy; [GitHub](https://github.com/)
23
+
24
+
25
+ [scss]: https://sass-lang.com/documentation/syntax#scss
@@ -0,0 +1,11 @@
1
+ // variables
2
+ @import "./variables/typography.scss";
3
+ @import "./variables/colors.scss";
4
+ @import "./variables/layout.scss";
5
+ @import "./variables/misc.scss";
6
+
7
+ // mixins
8
+ @import "./mixins/typography.scss";
9
+ @import "./mixins/layout.scss";
10
+ @import "./mixins/buttons.scss";
11
+ @import "./mixins/misc.scss";
@@ -0,0 +1,167 @@
1
+ // Button color generator for primary and themed buttons
2
+
3
+ // New button hotness
4
+ @mixin btn-solid($color, $bg, $bg2) {
5
+ color: $color;
6
+ background-color: $bg2;
7
+ background-image: linear-gradient(-180deg, $bg 0%, $bg2 90%);
8
+
9
+ @if $bg == $gray-000 {
10
+ &:focus,
11
+ &.focus {
12
+ box-shadow: $btn-input-focus-shadow;
13
+ }
14
+
15
+ &:hover,
16
+ &.hover {
17
+ background-color: darken($bg2, 3%);
18
+ background-image: linear-gradient(-180deg, darken($bg, 3%) 0%, darken($bg2, 3%) 90%);
19
+ background-position: 0 -$em-spacer-5;
20
+ border-color: rgba($black, 0.35);
21
+ }
22
+
23
+ &:active,
24
+ &.selected,
25
+ &[aria-selected=true],
26
+ [open] > & {
27
+ background-color: darken(desaturate($bg, 10%), 6%);
28
+ background-image: none;
29
+ border-color: rgba($black, 0.35); // repeat to avoid shift on click-drag off of button
30
+ box-shadow: $btn-active-shadow;
31
+ }
32
+
33
+ &:disabled,
34
+ &.disabled,
35
+ &[aria-disabled=true] {
36
+ color: rgba($color, 0.4);
37
+ background-color: $bg2;
38
+ background-image: none;
39
+ border-color: $border-color-button;
40
+ box-shadow: none;
41
+ }
42
+
43
+ }
44
+ @else {
45
+ &:focus,
46
+ &.focus {
47
+ box-shadow: 0 0 0 0.2em rgba($bg, 0.4);
48
+ }
49
+
50
+ &:hover,
51
+ &.hover {
52
+ background-color: darken($bg2, 2%);
53
+ background-image: linear-gradient(-180deg, darken($bg, 2%) 0%, darken($bg2, 2%) 90%);
54
+ background-position: 0 -$em-spacer-5;
55
+ border-color: $black-fade-50;
56
+ }
57
+
58
+ &:active,
59
+ &.selected,
60
+ &[aria-selected=true],
61
+ [open] > & {
62
+ background-color: darken(mix($bg, $bg2, 50%), 7%);
63
+ background-image: none;
64
+ border-color: $black-fade-50; // repeat to avoid shift on click-drag off of button
65
+ box-shadow: $btn-active-shadow;
66
+ }
67
+
68
+ &:disabled,
69
+ &.disabled,
70
+ &[aria-disabled=true] {
71
+ color: rgba($color, 0.75);
72
+ background-color: mix($bg2, $white, 50%);
73
+ background-image: none;
74
+ border-color: $border-color-button;
75
+ box-shadow: none;
76
+ }
77
+
78
+ .Counter {
79
+ color: darken($bg, 8%);
80
+ background-color: $white;
81
+ }
82
+ }
83
+ }
84
+
85
+ // Inverse button hover style
86
+ @mixin btn-inverse($color, $bg, $bg2) {
87
+ color: $color;
88
+ background-color: $bg;
89
+ background-image: linear-gradient(-180deg, $bg 0%, $bg2 90%);
90
+
91
+ &:focus {
92
+ box-shadow: 0 0 0 0.2em rgba($color, 0.4);
93
+ }
94
+
95
+ &:hover {
96
+ color: $text-white;
97
+ background-color: $color;
98
+ background-image: linear-gradient(-180deg, lighten($color, 10%) 0%, $color 90%);
99
+ border-color: $black-fade-50;
100
+
101
+ .Counter {
102
+ color: $text-white;
103
+ }
104
+ }
105
+
106
+ &:active,
107
+ &.selected,
108
+ &[aria-selected=true],
109
+ [open] > & {
110
+ color: $text-white;
111
+ background-color: darken($color, 5%);
112
+ background-image: none;
113
+ border-color: $black-fade-50;
114
+ box-shadow: $btn-active-shadow;
115
+ }
116
+
117
+ &:disabled,
118
+ &.disabled,
119
+ &[aria-disabled=true] {
120
+ color: rgba($color, 0.4);
121
+ background-color: $bg2;
122
+ background-image: none;
123
+ border-color: $border-color-button;
124
+ box-shadow: none;
125
+ }
126
+ }
127
+
128
+ // Outline color generator for btn-outline to make the hover state inverse the text and bg colors.
129
+ @mixin btn-outline($text-color: $text-blue, $bg-color: $bg-white) {
130
+ color: $text-color;
131
+ background-color: $bg-color;
132
+ background-image: none;
133
+
134
+ .Counter {
135
+ background-color: rgba($black, 0.07);
136
+ }
137
+
138
+ &:hover,
139
+ &:active,
140
+ &.selected,
141
+ &[aria-selected=true],
142
+ [open] > & {
143
+ color: $bg-color;
144
+ background-color: $text-color;
145
+ background-image: none;
146
+ border-color: $text-color;
147
+
148
+ .Counter {
149
+ color: $text-color;
150
+ background-color: $bg-color;
151
+ }
152
+ }
153
+
154
+ &:focus {
155
+ border-color: $text-color;
156
+ box-shadow: 0 0 0 0.2em rgba($text-color, 0.4);
157
+ }
158
+
159
+ &:disabled,
160
+ &.disabled,
161
+ &[aria-disabled=true] {
162
+ color: $black-fade-30;
163
+ background-color: $bg-white;
164
+ border-color: $black-fade-15;
165
+ box-shadow: none;
166
+ }
167
+ }
@@ -0,0 +1,58 @@
1
+ // Responsive media queries
2
+
3
+ @mixin breakpoint($breakpoint) {
4
+ @if $breakpoint == "" {
5
+ @content;
6
+ }
7
+
8
+ @else {
9
+ // Retrieves the value from the key
10
+ $value: map-get($breakpoints, $breakpoint);
11
+
12
+ // If the key exists in the map
13
+ @if $value != null {
14
+ // Prints a media query based on the value
15
+ @media (min-width: $value) {
16
+ @content;
17
+ }
18
+ }
19
+
20
+ // If the key doesn't exist in the map
21
+ @else {
22
+ @warn "Unfortunately, no value could be retrieved from `#{$breakpoint}`. "
23
+ + "Please make sure it is defined in `$breakpoints` map.";
24
+ }
25
+ }
26
+ }
27
+
28
+ // Retina media query
29
+
30
+ @mixin retina-media-query {
31
+ @media
32
+ only screen and (-webkit-min-device-pixel-ratio: 2),
33
+ only screen and (min--moz-device-pixel-ratio: 2),
34
+ only screen and (-moz-min-device-pixel-ratio: 2),
35
+ only screen and (-o-min-device-pixel-ratio: 2/1),
36
+ only screen and (min-device-pixel-ratio: 2),
37
+ only screen and (min-resolution: 192dpi),
38
+ only screen and (min-resolution: 2dppx) {
39
+ @content;
40
+ }
41
+ }
42
+
43
+ // Clearfix
44
+ //
45
+ // Clears floats via mixin.
46
+
47
+ @mixin clearfix {
48
+ &::before {
49
+ display: table;
50
+ content: "";
51
+ }
52
+
53
+ &::after {
54
+ display: table;
55
+ clear: both;
56
+ content: "";
57
+ }
58
+ }