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.
- checksums.yaml +4 -4
- data/_includes/head.html +16 -0
- data/_layouts/default.html +18 -5
- data/_sass/.DS_Store +0 -0
- data/_sass/_alert.scss +51 -0
- data/_sass/_badge.scss +53 -0
- data/_sass/_breadcrumb.scss +41 -0
- data/_sass/_button-group.scss +163 -0
- data/_sass/_buttons.scss +140 -0
- data/_sass/_card.scss +310 -0
- data/_sass/_carousel.scss +198 -0
- data/_sass/_close.scss +44 -0
- data/_sass/_code.scss +48 -0
- data/_sass/_custom-forms.scss +507 -0
- data/_sass/_dropdown.scss +191 -0
- data/_sass/_forms.scss +334 -0
- data/_sass/_functions.scss +86 -0
- data/_sass/_grid.scss +52 -0
- data/_sass/_images.scss +42 -0
- data/_sass/_input-group.scss +193 -0
- data/_sass/_jumbotron.scss +16 -0
- data/_sass/_list-group.scss +121 -0
- data/_sass/_media.scss +8 -0
- data/_sass/_mixins.scss +41 -0
- data/_sass/_modal.scss +186 -0
- data/_sass/_nav.scss +120 -0
- data/_sass/_navbar.scss +299 -0
- data/_sass/_pagination.scss +78 -0
- data/_sass/_popover.scss +183 -0
- data/_sass/_print.scss +141 -0
- data/_sass/_progress.scss +34 -0
- data/_sass/_reboot.scss +462 -0
- data/_sass/_root.scss +19 -0
- data/_sass/_spinners.scss +53 -0
- data/_sass/_tables.scss +187 -0
- data/_sass/_toasts.scss +43 -0
- data/_sass/_tooltip.scss +115 -0
- data/_sass/_transitions.scss +22 -0
- data/_sass/_type.scss +125 -0
- data/_sass/_utilities.scss +16 -0
- data/_sass/_variables.scss +1091 -0
- data/_sass/bootstrap-grid.scss +29 -0
- data/_sass/bootstrap-reboot.scss +12 -0
- data/_sass/bootstrap.scss +44 -0
- data/_sass/mixins/_alert.scss +13 -0
- data/_sass/mixins/_background-variant.scss +21 -0
- data/_sass/mixins/_badge.scss +11 -0
- data/_sass/mixins/_border-radius.scss +35 -0
- data/_sass/mixins/_box-shadow.scss +5 -0
- data/_sass/mixins/_breakpoints.scss +123 -0
- data/_sass/mixins/_buttons.scss +111 -0
- data/_sass/mixins/_caret.scss +62 -0
- data/_sass/mixins/_clearfix.scss +7 -0
- data/_sass/mixins/_float.scss +11 -0
- data/_sass/mixins/_forms.scss +198 -0
- data/_sass/mixins/_gradients.scss +45 -0
- data/_sass/mixins/_grid-framework.scss +66 -0
- data/_sass/mixins/_grid.scss +51 -0
- data/_sass/mixins/_hover.scss +37 -0
- data/_sass/mixins/_image.scss +36 -0
- data/_sass/mixins/_list-group.scss +21 -0
- data/_sass/mixins/_lists.scss +7 -0
- data/_sass/mixins/_nav-divider.scss +10 -0
- data/_sass/mixins/_pagination.scss +22 -0
- data/_sass/mixins/_reset-text.scss +17 -0
- data/_sass/mixins/_resize.scss +6 -0
- data/_sass/mixins/_screen-reader.scss +33 -0
- data/_sass/mixins/_size.scss +6 -0
- data/_sass/mixins/_table-row.scss +39 -0
- data/_sass/mixins/_text-emphasis.scss +14 -0
- data/_sass/mixins/_text-hide.scss +13 -0
- data/_sass/mixins/_text-truncate.scss +8 -0
- data/_sass/mixins/_transition.scss +16 -0
- data/_sass/mixins/_visibility.scss +7 -0
- data/_sass/utilities/_align.scss +8 -0
- data/_sass/utilities/_background.scss +19 -0
- data/_sass/utilities/_borders.scss +63 -0
- data/_sass/utilities/_clearfix.scss +3 -0
- data/_sass/utilities/_display.scss +38 -0
- data/_sass/utilities/_embed.scss +39 -0
- data/_sass/utilities/_flex.scss +51 -0
- data/_sass/utilities/_float.scss +9 -0
- data/_sass/utilities/_overflow.scss +5 -0
- data/_sass/utilities/_position.scss +32 -0
- data/_sass/utilities/_screenreaders.scss +11 -0
- data/_sass/utilities/_shadows.scss +6 -0
- data/_sass/utilities/_sizing.scss +20 -0
- data/_sass/utilities/_spacing.scss +73 -0
- data/_sass/utilities/_text.scss +67 -0
- data/_sass/utilities/_visibility.scss +11 -0
- data/assets/css/styles.scss +1 -0
- data/assets/{wxmp.png → images/wxmp.png} +0 -0
- data/assets/ts/app.ts +23 -0
- 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,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,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; }
|
data/assets/css/styles.scss
CHANGED
File without changes
|
data/assets/ts/app.ts
ADDED
@@ -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.
|
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-
|
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:
|
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:
|
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
|