yoyoyo 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/head.html +16 -0
  3. data/_layouts/default.html +18 -5
  4. data/_sass/.DS_Store +0 -0
  5. data/_sass/_alert.scss +51 -0
  6. data/_sass/_badge.scss +53 -0
  7. data/_sass/_breadcrumb.scss +41 -0
  8. data/_sass/_button-group.scss +163 -0
  9. data/_sass/_buttons.scss +140 -0
  10. data/_sass/_card.scss +310 -0
  11. data/_sass/_carousel.scss +198 -0
  12. data/_sass/_close.scss +44 -0
  13. data/_sass/_code.scss +48 -0
  14. data/_sass/_custom-forms.scss +507 -0
  15. data/_sass/_dropdown.scss +191 -0
  16. data/_sass/_forms.scss +334 -0
  17. data/_sass/_functions.scss +86 -0
  18. data/_sass/_grid.scss +52 -0
  19. data/_sass/_images.scss +42 -0
  20. data/_sass/_input-group.scss +193 -0
  21. data/_sass/_jumbotron.scss +16 -0
  22. data/_sass/_list-group.scss +121 -0
  23. data/_sass/_media.scss +8 -0
  24. data/_sass/_mixins.scss +41 -0
  25. data/_sass/_modal.scss +186 -0
  26. data/_sass/_nav.scss +120 -0
  27. data/_sass/_navbar.scss +299 -0
  28. data/_sass/_pagination.scss +78 -0
  29. data/_sass/_popover.scss +183 -0
  30. data/_sass/_print.scss +141 -0
  31. data/_sass/_progress.scss +34 -0
  32. data/_sass/_reboot.scss +462 -0
  33. data/_sass/_root.scss +19 -0
  34. data/_sass/_spinners.scss +53 -0
  35. data/_sass/_tables.scss +187 -0
  36. data/_sass/_toasts.scss +43 -0
  37. data/_sass/_tooltip.scss +115 -0
  38. data/_sass/_transitions.scss +22 -0
  39. data/_sass/_type.scss +125 -0
  40. data/_sass/_utilities.scss +16 -0
  41. data/_sass/_variables.scss +1091 -0
  42. data/_sass/bootstrap-grid.scss +29 -0
  43. data/_sass/bootstrap-reboot.scss +12 -0
  44. data/_sass/bootstrap.scss +44 -0
  45. data/_sass/mixins/_alert.scss +13 -0
  46. data/_sass/mixins/_background-variant.scss +21 -0
  47. data/_sass/mixins/_badge.scss +11 -0
  48. data/_sass/mixins/_border-radius.scss +35 -0
  49. data/_sass/mixins/_box-shadow.scss +5 -0
  50. data/_sass/mixins/_breakpoints.scss +123 -0
  51. data/_sass/mixins/_buttons.scss +111 -0
  52. data/_sass/mixins/_caret.scss +62 -0
  53. data/_sass/mixins/_clearfix.scss +7 -0
  54. data/_sass/mixins/_float.scss +11 -0
  55. data/_sass/mixins/_forms.scss +198 -0
  56. data/_sass/mixins/_gradients.scss +45 -0
  57. data/_sass/mixins/_grid-framework.scss +66 -0
  58. data/_sass/mixins/_grid.scss +51 -0
  59. data/_sass/mixins/_hover.scss +37 -0
  60. data/_sass/mixins/_image.scss +36 -0
  61. data/_sass/mixins/_list-group.scss +21 -0
  62. data/_sass/mixins/_lists.scss +7 -0
  63. data/_sass/mixins/_nav-divider.scss +10 -0
  64. data/_sass/mixins/_pagination.scss +22 -0
  65. data/_sass/mixins/_reset-text.scss +17 -0
  66. data/_sass/mixins/_resize.scss +6 -0
  67. data/_sass/mixins/_screen-reader.scss +33 -0
  68. data/_sass/mixins/_size.scss +6 -0
  69. data/_sass/mixins/_table-row.scss +39 -0
  70. data/_sass/mixins/_text-emphasis.scss +14 -0
  71. data/_sass/mixins/_text-hide.scss +13 -0
  72. data/_sass/mixins/_text-truncate.scss +8 -0
  73. data/_sass/mixins/_transition.scss +16 -0
  74. data/_sass/mixins/_visibility.scss +7 -0
  75. data/_sass/utilities/_align.scss +8 -0
  76. data/_sass/utilities/_background.scss +19 -0
  77. data/_sass/utilities/_borders.scss +63 -0
  78. data/_sass/utilities/_clearfix.scss +3 -0
  79. data/_sass/utilities/_display.scss +38 -0
  80. data/_sass/utilities/_embed.scss +39 -0
  81. data/_sass/utilities/_flex.scss +51 -0
  82. data/_sass/utilities/_float.scss +9 -0
  83. data/_sass/utilities/_overflow.scss +5 -0
  84. data/_sass/utilities/_position.scss +32 -0
  85. data/_sass/utilities/_screenreaders.scss +11 -0
  86. data/_sass/utilities/_shadows.scss +6 -0
  87. data/_sass/utilities/_sizing.scss +20 -0
  88. data/_sass/utilities/_spacing.scss +73 -0
  89. data/_sass/utilities/_text.scss +67 -0
  90. data/_sass/utilities/_visibility.scss +11 -0
  91. data/assets/css/styles.scss +1 -0
  92. data/assets/{wxmp.png → images/wxmp.png} +0 -0
  93. data/assets/ts/app.ts +23 -0
  94. metadata +94 -5
@@ -0,0 +1,9 @@
1
+ @each $breakpoint in map-keys($grid-breakpoints) {
2
+ @include media-breakpoint-up($breakpoint) {
3
+ $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
4
+
5
+ .float#{$infix}-left { @include float-left; }
6
+ .float#{$infix}-right { @include float-right; }
7
+ .float#{$infix}-none { @include float-none; }
8
+ }
9
+ }
@@ -0,0 +1,5 @@
1
+ // stylelint-disable declaration-no-important
2
+
3
+ @each $value in $overflows {
4
+ .overflow-#{$value} { overflow: $value !important; }
5
+ }
@@ -0,0 +1,32 @@
1
+ // stylelint-disable declaration-no-important
2
+
3
+ // Common values
4
+ @each $position in $positions {
5
+ .position-#{$position} { position: $position !important; }
6
+ }
7
+
8
+ // Shorthand
9
+
10
+ .fixed-top {
11
+ position: fixed;
12
+ top: 0;
13
+ right: 0;
14
+ left: 0;
15
+ z-index: $zindex-fixed;
16
+ }
17
+
18
+ .fixed-bottom {
19
+ position: fixed;
20
+ right: 0;
21
+ bottom: 0;
22
+ left: 0;
23
+ z-index: $zindex-fixed;
24
+ }
25
+
26
+ .sticky-top {
27
+ @supports (position: sticky) {
28
+ position: sticky;
29
+ top: 0;
30
+ z-index: $zindex-sticky;
31
+ }
32
+ }
@@ -0,0 +1,11 @@
1
+ //
2
+ // Screenreaders
3
+ //
4
+
5
+ .sr-only {
6
+ @include sr-only();
7
+ }
8
+
9
+ .sr-only-focusable {
10
+ @include sr-only-focusable();
11
+ }
@@ -0,0 +1,6 @@
1
+ // stylelint-disable declaration-no-important
2
+
3
+ .shadow-sm { box-shadow: $box-shadow-sm !important; }
4
+ .shadow { box-shadow: $box-shadow !important; }
5
+ .shadow-lg { box-shadow: $box-shadow-lg !important; }
6
+ .shadow-none { box-shadow: none !important; }
@@ -0,0 +1,20 @@
1
+ // stylelint-disable declaration-no-important
2
+
3
+ // Width and height
4
+
5
+ @each $prop, $abbrev in (width: w, height: h) {
6
+ @each $size, $length in $sizes {
7
+ .#{$abbrev}-#{$size} { #{$prop}: $length !important; }
8
+ }
9
+ }
10
+
11
+ .mw-100 { max-width: 100% !important; }
12
+ .mh-100 { max-height: 100% !important; }
13
+
14
+ // Viewport additional helpers
15
+
16
+ .min-vw-100 { min-width: 100vw !important; }
17
+ .min-vh-100 { min-height: 100vh !important; }
18
+
19
+ .vw-100 { width: 100vw !important; }
20
+ .vh-100 { height: 100vh !important; }
@@ -0,0 +1,73 @@
1
+ // stylelint-disable declaration-no-important
2
+
3
+ // Margin and Padding
4
+
5
+ @each $breakpoint in map-keys($grid-breakpoints) {
6
+ @include media-breakpoint-up($breakpoint) {
7
+ $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
8
+
9
+ @each $prop, $abbrev in (margin: m, padding: p) {
10
+ @each $size, $length in $spacers {
11
+ .#{$abbrev}#{$infix}-#{$size} { #{$prop}: $length !important; }
12
+ .#{$abbrev}t#{$infix}-#{$size},
13
+ .#{$abbrev}y#{$infix}-#{$size} {
14
+ #{$prop}-top: $length !important;
15
+ }
16
+ .#{$abbrev}r#{$infix}-#{$size},
17
+ .#{$abbrev}x#{$infix}-#{$size} {
18
+ #{$prop}-right: $length !important;
19
+ }
20
+ .#{$abbrev}b#{$infix}-#{$size},
21
+ .#{$abbrev}y#{$infix}-#{$size} {
22
+ #{$prop}-bottom: $length !important;
23
+ }
24
+ .#{$abbrev}l#{$infix}-#{$size},
25
+ .#{$abbrev}x#{$infix}-#{$size} {
26
+ #{$prop}-left: $length !important;
27
+ }
28
+ }
29
+ }
30
+
31
+ // Negative margins (e.g., where `.mb-n1` is negative version of `.mb-1`)
32
+ @each $size, $length in $spacers {
33
+ @if $size != 0 {
34
+ .m#{$infix}-n#{$size} { margin: -$length !important; }
35
+ .mt#{$infix}-n#{$size},
36
+ .my#{$infix}-n#{$size} {
37
+ margin-top: -$length !important;
38
+ }
39
+ .mr#{$infix}-n#{$size},
40
+ .mx#{$infix}-n#{$size} {
41
+ margin-right: -$length !important;
42
+ }
43
+ .mb#{$infix}-n#{$size},
44
+ .my#{$infix}-n#{$size} {
45
+ margin-bottom: -$length !important;
46
+ }
47
+ .ml#{$infix}-n#{$size},
48
+ .mx#{$infix}-n#{$size} {
49
+ margin-left: -$length !important;
50
+ }
51
+ }
52
+ }
53
+
54
+ // Some special margin utils
55
+ .m#{$infix}-auto { margin: auto !important; }
56
+ .mt#{$infix}-auto,
57
+ .my#{$infix}-auto {
58
+ margin-top: auto !important;
59
+ }
60
+ .mr#{$infix}-auto,
61
+ .mx#{$infix}-auto {
62
+ margin-right: auto !important;
63
+ }
64
+ .mb#{$infix}-auto,
65
+ .my#{$infix}-auto {
66
+ margin-bottom: auto !important;
67
+ }
68
+ .ml#{$infix}-auto,
69
+ .mx#{$infix}-auto {
70
+ margin-left: auto !important;
71
+ }
72
+ }
73
+ }
@@ -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
+ }
@@ -1,3 +1,4 @@
1
1
  ---
2
2
  ---
3
+ @import "bootstrap";
3
4
  @import "main";
File without changes
@@ -0,0 +1,23 @@
1
+ class Student {
2
+ fullName: string;
3
+ constructor(
4
+ public firstName: string,
5
+ public middleInitial: string,
6
+ public lastName: string
7
+ ) {
8
+ this.fullName = firstName + " " + middleInitial + " " + lastName;
9
+ }
10
+ }
11
+
12
+ interface Person {
13
+ firstName: string;
14
+ lastName: string;
15
+ }
16
+
17
+ function greeter(person: Person) {
18
+ return "Hello, " + person.firstName + " " + person.lastName;
19
+ }
20
+
21
+ let user = new Student("Jane", "M.", "User");
22
+
23
+ document.body.innerHTML = greeter(user);
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yoyoyo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hertz Zhang
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-23 00:00:00.000000000 Z
11
+ date: 2019-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.5'
19
+ version: 3.8.5
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.5'
26
+ version: 3.8.5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jekyll-feed
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -90,6 +90,7 @@ files:
90
90
  - LICENSE
91
91
  - README.md
92
92
  - _includes/categories.html
93
+ - _includes/head.html
93
94
  - _includes/navigation.html
94
95
  - _includes/tags.html
95
96
  - _layouts/about.html
@@ -97,9 +98,97 @@ files:
97
98
  - _layouts/default.html
98
99
  - _layouts/home.html
99
100
  - _layouts/post.html
101
+ - _sass/.DS_Store
102
+ - _sass/_alert.scss
103
+ - _sass/_badge.scss
104
+ - _sass/_breadcrumb.scss
105
+ - _sass/_button-group.scss
106
+ - _sass/_buttons.scss
107
+ - _sass/_card.scss
108
+ - _sass/_carousel.scss
109
+ - _sass/_close.scss
110
+ - _sass/_code.scss
111
+ - _sass/_custom-forms.scss
112
+ - _sass/_dropdown.scss
113
+ - _sass/_forms.scss
114
+ - _sass/_functions.scss
115
+ - _sass/_grid.scss
116
+ - _sass/_images.scss
117
+ - _sass/_input-group.scss
118
+ - _sass/_jumbotron.scss
119
+ - _sass/_list-group.scss
120
+ - _sass/_media.scss
121
+ - _sass/_mixins.scss
122
+ - _sass/_modal.scss
123
+ - _sass/_nav.scss
124
+ - _sass/_navbar.scss
125
+ - _sass/_pagination.scss
126
+ - _sass/_popover.scss
127
+ - _sass/_print.scss
128
+ - _sass/_progress.scss
129
+ - _sass/_reboot.scss
130
+ - _sass/_root.scss
131
+ - _sass/_spinners.scss
132
+ - _sass/_tables.scss
133
+ - _sass/_toasts.scss
134
+ - _sass/_tooltip.scss
135
+ - _sass/_transitions.scss
136
+ - _sass/_type.scss
137
+ - _sass/_utilities.scss
138
+ - _sass/_variables.scss
139
+ - _sass/bootstrap-grid.scss
140
+ - _sass/bootstrap-reboot.scss
141
+ - _sass/bootstrap.scss
100
142
  - _sass/main.scss
143
+ - _sass/mixins/_alert.scss
144
+ - _sass/mixins/_background-variant.scss
145
+ - _sass/mixins/_badge.scss
146
+ - _sass/mixins/_border-radius.scss
147
+ - _sass/mixins/_box-shadow.scss
148
+ - _sass/mixins/_breakpoints.scss
149
+ - _sass/mixins/_buttons.scss
150
+ - _sass/mixins/_caret.scss
151
+ - _sass/mixins/_clearfix.scss
152
+ - _sass/mixins/_float.scss
153
+ - _sass/mixins/_forms.scss
154
+ - _sass/mixins/_gradients.scss
155
+ - _sass/mixins/_grid-framework.scss
156
+ - _sass/mixins/_grid.scss
157
+ - _sass/mixins/_hover.scss
158
+ - _sass/mixins/_image.scss
159
+ - _sass/mixins/_list-group.scss
160
+ - _sass/mixins/_lists.scss
161
+ - _sass/mixins/_nav-divider.scss
162
+ - _sass/mixins/_pagination.scss
163
+ - _sass/mixins/_reset-text.scss
164
+ - _sass/mixins/_resize.scss
165
+ - _sass/mixins/_screen-reader.scss
166
+ - _sass/mixins/_size.scss
167
+ - _sass/mixins/_table-row.scss
168
+ - _sass/mixins/_text-emphasis.scss
169
+ - _sass/mixins/_text-hide.scss
170
+ - _sass/mixins/_text-truncate.scss
171
+ - _sass/mixins/_transition.scss
172
+ - _sass/mixins/_visibility.scss
173
+ - _sass/utilities/_align.scss
174
+ - _sass/utilities/_background.scss
175
+ - _sass/utilities/_borders.scss
176
+ - _sass/utilities/_clearfix.scss
177
+ - _sass/utilities/_display.scss
178
+ - _sass/utilities/_embed.scss
179
+ - _sass/utilities/_flex.scss
180
+ - _sass/utilities/_float.scss
181
+ - _sass/utilities/_overflow.scss
182
+ - _sass/utilities/_position.scss
183
+ - _sass/utilities/_screenreaders.scss
184
+ - _sass/utilities/_shadows.scss
185
+ - _sass/utilities/_sizing.scss
186
+ - _sass/utilities/_spacing.scss
187
+ - _sass/utilities/_text.scss
188
+ - _sass/utilities/_visibility.scss
101
189
  - assets/css/styles.scss
102
- - assets/wxmp.png
190
+ - assets/images/wxmp.png
191
+ - assets/ts/app.ts
103
192
  homepage: https://github.com/hertzZhang/yoyoyo
104
193
  licenses:
105
194
  - MIT