codebuild 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/LICENSE.txt +1 -1
  4. data/README.md +10 -2
  5. data/docs/.gitignore +4 -0
  6. data/docs/CNAME +1 -0
  7. data/docs/Gemfile +3 -0
  8. data/docs/LICENSE +21 -0
  9. data/docs/README.md +25 -0
  10. data/docs/_config.yml +73 -0
  11. data/docs/_docs/contributing.md +99 -0
  12. data/docs/_docs/conventions.md +51 -0
  13. data/docs/_docs/deploy.md +69 -0
  14. data/docs/_docs/dsl.md +12 -0
  15. data/docs/_docs/dsl/project.md +80 -0
  16. data/docs/{dsl → _docs/dsl}/role.md +39 -1
  17. data/docs/_docs/dsl/schedule.md +29 -0
  18. data/docs/_docs/examples.md +12 -0
  19. data/docs/_docs/examples/ecs.md +94 -0
  20. data/docs/_docs/examples/jets.md +68 -0
  21. data/docs/_docs/examples/ruby.md +44 -0
  22. data/docs/_docs/github_oauth.md +51 -0
  23. data/docs/_docs/install.md +14 -0
  24. data/docs/_docs/next-steps.md +16 -0
  25. data/docs/_docs/settings.md +34 -0
  26. data/docs/_docs/start.md +46 -0
  27. data/docs/_docs/type-option.md +72 -0
  28. data/docs/_docs/variables.md +90 -0
  29. data/docs/_includes/commands.html +86 -0
  30. data/docs/_includes/content.html +25 -0
  31. data/docs/_includes/edit-on-github.html +9 -0
  32. data/docs/_includes/footer.html +41 -0
  33. data/docs/_includes/google_analytics.html +10 -0
  34. data/docs/_includes/head.html +45 -0
  35. data/docs/_includes/js.html +18 -0
  36. data/docs/_includes/nav.html +17 -0
  37. data/docs/_includes/prev_next.md +19 -0
  38. data/docs/_includes/reference.md +1 -0
  39. data/docs/_includes/subnav.html +38 -0
  40. data/docs/_includes/tutorials.md +38 -0
  41. data/docs/_layouts/default.html +12 -0
  42. data/docs/_reference/codebuild-completion.md +44 -0
  43. data/docs/_reference/codebuild-completion_script.md +25 -0
  44. data/docs/_reference/codebuild-delete.md +26 -0
  45. data/docs/_reference/codebuild-deploy.md +58 -0
  46. data/docs/_reference/codebuild-init.md +87 -0
  47. data/docs/_reference/codebuild-start.md +43 -0
  48. data/docs/_reference/codebuild-version.md +21 -0
  49. data/docs/_sass/_bootstrap-overrides.scss +40 -0
  50. data/docs/_sass/_contact.scss +49 -0
  51. data/docs/_sass/_cta.scss +37 -0
  52. data/docs/_sass/_download.scss +31 -0
  53. data/docs/_sass/_features.scss +47 -0
  54. data/docs/_sass/_footer.scss +49 -0
  55. data/docs/_sass/_global.scss +102 -0
  56. data/docs/_sass/_main.scss +364 -0
  57. data/docs/_sass/_masthead.scss +70 -0
  58. data/docs/_sass/_mixins.scss +79 -0
  59. data/docs/_sass/_navbar.scss +92 -0
  60. data/docs/_sass/_syntax.scss +65 -0
  61. data/docs/_sass/_table.scss +34 -0
  62. data/docs/_sass/_timeline.scss +207 -0
  63. data/docs/_sass/_variables.scss +24 -0
  64. data/docs/bin/web +8 -0
  65. data/docs/docs.md +22 -0
  66. data/docs/favicon.ico +0 -0
  67. data/docs/img/docs/codebuild-output.png +0 -0
  68. data/docs/img/logos/boltops-logo-full.png +0 -0
  69. data/docs/img/logos/boltops-logo.png +0 -0
  70. data/docs/img/logos/project-logo.png +0 -0
  71. data/docs/index.html +35 -0
  72. data/docs/js/nav.js +39 -0
  73. data/docs/js/new-age.js +38 -0
  74. data/docs/js/new-age.min.js +6 -0
  75. data/docs/new-age.scss +20 -0
  76. data/docs/quick-start.md +72 -0
  77. data/docs/reference.md +12 -0
  78. data/docs/support.md +22 -0
  79. data/docs/vendor/bootstrap/css/bootstrap-grid.css +1339 -0
  80. data/docs/vendor/bootstrap/css/bootstrap-grid.css.map +1 -0
  81. data/docs/vendor/bootstrap/css/bootstrap-grid.min.css +1 -0
  82. data/docs/vendor/bootstrap/css/bootstrap-grid.min.css.map +1 -0
  83. data/docs/vendor/bootstrap/css/bootstrap-reboot.css +459 -0
  84. data/docs/vendor/bootstrap/css/bootstrap-reboot.css.map +1 -0
  85. data/docs/vendor/bootstrap/css/bootstrap-reboot.min.css +1 -0
  86. data/docs/vendor/bootstrap/css/bootstrap-reboot.min.css.map +1 -0
  87. data/docs/vendor/bootstrap/css/bootstrap.css +9320 -0
  88. data/docs/vendor/bootstrap/css/bootstrap.css.map +1 -0
  89. data/docs/vendor/bootstrap/css/bootstrap.min.css +6 -0
  90. data/docs/vendor/bootstrap/css/bootstrap.min.css.map +1 -0
  91. data/docs/vendor/bootstrap/js/bootstrap.js +3535 -0
  92. data/docs/vendor/bootstrap/js/bootstrap.min.js +7 -0
  93. data/docs/vendor/font-awesome/css/font-awesome.css +2337 -0
  94. data/docs/vendor/font-awesome/css/font-awesome.min.css +4 -0
  95. data/docs/vendor/font-awesome/fonts/FontAwesome.otf +0 -0
  96. data/docs/vendor/font-awesome/fonts/fontawesome-webfont.eot +0 -0
  97. data/docs/vendor/font-awesome/fonts/fontawesome-webfont.svg +2671 -0
  98. data/docs/vendor/font-awesome/fonts/fontawesome-webfont.ttf +0 -0
  99. data/docs/vendor/font-awesome/fonts/fontawesome-webfont.woff +0 -0
  100. data/docs/vendor/font-awesome/fonts/fontawesome-webfont.woff2 +0 -0
  101. data/docs/vendor/font-awesome/less/animated.less +34 -0
  102. data/docs/vendor/font-awesome/less/bordered-pulled.less +25 -0
  103. data/docs/vendor/font-awesome/less/core.less +12 -0
  104. data/docs/vendor/font-awesome/less/fixed-width.less +6 -0
  105. data/docs/vendor/font-awesome/less/font-awesome.less +18 -0
  106. data/docs/vendor/font-awesome/less/icons.less +789 -0
  107. data/docs/vendor/font-awesome/less/larger.less +13 -0
  108. data/docs/vendor/font-awesome/less/list.less +19 -0
  109. data/docs/vendor/font-awesome/less/mixins.less +60 -0
  110. data/docs/vendor/font-awesome/less/path.less +15 -0
  111. data/docs/vendor/font-awesome/less/rotated-flipped.less +20 -0
  112. data/docs/vendor/font-awesome/less/screen-reader.less +5 -0
  113. data/docs/vendor/font-awesome/less/stacked.less +20 -0
  114. data/docs/vendor/font-awesome/less/variables.less +799 -0
  115. data/docs/vendor/font-awesome/scss/_animated.scss +34 -0
  116. data/docs/vendor/font-awesome/scss/_bordered-pulled.scss +25 -0
  117. data/docs/vendor/font-awesome/scss/_core.scss +12 -0
  118. data/docs/vendor/font-awesome/scss/_fixed-width.scss +6 -0
  119. data/docs/vendor/font-awesome/scss/_icons.scss +789 -0
  120. data/docs/vendor/font-awesome/scss/_larger.scss +13 -0
  121. data/docs/vendor/font-awesome/scss/_list.scss +19 -0
  122. data/docs/vendor/font-awesome/scss/_mixins.scss +60 -0
  123. data/docs/vendor/font-awesome/scss/_path.scss +15 -0
  124. data/docs/vendor/font-awesome/scss/_rotated-flipped.scss +20 -0
  125. data/docs/vendor/font-awesome/scss/_screen-reader.scss +5 -0
  126. data/docs/vendor/font-awesome/scss/_stacked.scss +20 -0
  127. data/docs/vendor/font-awesome/scss/_variables.scss +799 -0
  128. data/docs/vendor/font-awesome/scss/font-awesome.scss +18 -0
  129. data/docs/vendor/jquery-easing/jquery.easing.compatibility.js +59 -0
  130. data/docs/vendor/jquery-easing/jquery.easing.js +166 -0
  131. data/docs/vendor/jquery-easing/jquery.easing.min.js +1 -0
  132. data/docs/vendor/jquery/jquery.js +10253 -0
  133. data/docs/vendor/jquery/jquery.min.js +4 -0
  134. data/docs/vendor/simple-line-icons/css/simple-line-icons.css +778 -0
  135. data/docs/vendor/simple-line-icons/fonts/Simple-Line-Icons.eot +0 -0
  136. data/docs/vendor/simple-line-icons/fonts/Simple-Line-Icons.svg +200 -0
  137. data/docs/vendor/simple-line-icons/fonts/Simple-Line-Icons.ttf +0 -0
  138. data/docs/vendor/simple-line-icons/fonts/Simple-Line-Icons.woff +0 -0
  139. data/docs/vendor/simple-line-icons/fonts/Simple-Line-Icons.woff2 +0 -0
  140. data/docs/vendor/simple-line-icons/less/simple-line-icons.less +982 -0
  141. data/docs/vendor/simple-line-icons/scss/simple-line-icons.scss +979 -0
  142. data/docs/vendor/tether/tether.js +1811 -0
  143. data/docs/vendor/tether/tether.min.js +1 -0
  144. data/exe/cb +1 -1
  145. data/exe/codebuild +1 -1
  146. data/lib/codebuild.rb +0 -1
  147. data/lib/codebuild/aws_services/helpers.rb +1 -1
  148. data/lib/codebuild/cli.rb +2 -1
  149. data/lib/codebuild/core.rb +2 -2
  150. data/lib/codebuild/dsl/project.rb +3 -3
  151. data/lib/codebuild/help/init.md +38 -2
  152. data/lib/codebuild/help/start.md +7 -1
  153. data/lib/codebuild/init.rb +19 -9
  154. data/lib/codebuild/project.rb +3 -2
  155. data/lib/codebuild/role.rb +2 -0
  156. data/lib/codebuild/schedule.rb +5 -0
  157. data/lib/codebuild/setting.rb +2 -3
  158. data/lib/codebuild/stack.rb +25 -0
  159. data/lib/codebuild/start.rb +22 -3
  160. data/lib/codebuild/variables.rb +17 -0
  161. data/lib/codebuild/version.rb +1 -1
  162. data/lib/template/{.codebuild → project}/buildspec.yml +7 -7
  163. data/lib/template/{.codebuild → project}/project.rb.tt +8 -0
  164. data/lib/template/{.codebuild → project}/role.rb +0 -0
  165. data/lib/template/project/schedule.rb +3 -0
  166. data/lib/template/top/settings.yml +9 -0
  167. data/lib/template/top/variables/base.rb +1 -0
  168. data/lib/template/top/variables/development.rb +1 -0
  169. data/lib/template/top/variables/production.rb +1 -0
  170. metadata +150 -11
  171. data/docs/dsl/project.md +0 -46
  172. data/docs/dsl/schedule.md +0 -12
  173. data/docs/github_oauth.md +0 -39
  174. data/docs/type.md +0 -39
  175. data/lib/template/.codebuild/settings.yml +0 -13
@@ -0,0 +1,49 @@
1
+ // Styling for the download section
2
+ section.contact {
3
+ text-align: center;
4
+ h2 {
5
+ margin-top: 0;
6
+ margin-bottom: 25px;
7
+ i {
8
+ color: $brand-google-plus;
9
+ }
10
+ }
11
+ ul.list-social {
12
+ margin-bottom: 0;
13
+ li {
14
+ a {
15
+ font-size: 40px;
16
+ line-height: 80px;
17
+ display: block;
18
+ width: 80px;
19
+ height: 80px;
20
+ color: white;
21
+ border-radius: 100%;
22
+ }
23
+ &.social-twitter {
24
+ a {
25
+ background-color: $brand-twitter;
26
+ &:hover {
27
+ background-color: darken($brand-twitter, 5%);
28
+ }
29
+ }
30
+ }
31
+ &.social-facebook {
32
+ a {
33
+ background-color: $brand-facebook;
34
+ &:hover {
35
+ background-color: darken($brand-facebook, 5%);
36
+ }
37
+ }
38
+ }
39
+ &.social-google-plus {
40
+ a {
41
+ background-color: $brand-google-plus;
42
+ &:hover {
43
+ background-color: darken($brand-google-plus, 5%);
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,37 @@
1
+ // Styling for the call to action section
2
+ section.cta {
3
+ position: relative;
4
+ padding: 50px 0;
5
+ text-align: center;
6
+ margin: 0 auto;
7
+ // background-image: url('../img/bg-cta.jpg');
8
+ background-position: center;
9
+ @include background-cover;
10
+ .cta-content {
11
+ position: relative;
12
+ z-index: 1;
13
+ h2 {
14
+ text-align: center;
15
+ margin: 0 auto 25px auto;
16
+ font-size: 50px;
17
+ max-width: 450px;
18
+ color: white;
19
+ }
20
+ @media (min-width: 768px) {
21
+ h2 {
22
+ text-align: center;
23
+ margin: 0 auto;
24
+ font-size: 80px;
25
+ }
26
+ }
27
+ }
28
+ .overlay {
29
+ position: absolute;
30
+ top: 0;
31
+ left: 0;
32
+ width: 100%;
33
+ height: 100%;
34
+ // background-color: fade-out(black, .5);
35
+ background-color: #730c0c;
36
+ }
37
+ }
@@ -0,0 +1,31 @@
1
+ // Styling for the download section
2
+ section.download {
3
+ color: white;
4
+ position: relative;
5
+ padding: 80px 0;
6
+ h2 {
7
+ font-size: 50px;
8
+ margin-top: 0;
9
+ }
10
+ .badges {
11
+ .badge-link {
12
+ display: block;
13
+ margin-bottom: 25px;
14
+ &:last-child {
15
+ margin-bottom: 0;
16
+ }
17
+ img {
18
+ height: 60px;
19
+ }
20
+ @media(min-width: 768px) {
21
+ display: inline-block;
22
+ margin-bottom: 0;
23
+ }
24
+ }
25
+ }
26
+ @media(min-width: 768px) {
27
+ h2 {
28
+ font-size: 70px;
29
+ }
30
+ }
31
+ }
@@ -0,0 +1,47 @@
1
+ // Styling for the features section
2
+ section.features {
3
+ h3 {
4
+ // background-color: green;
5
+ // font-size: 1.6em;
6
+ }
7
+ .section-heading {
8
+ margin-bottom: 20px;
9
+ h2 {
10
+ margin-top: 0;
11
+ }
12
+ p {
13
+ margin-bottom: 0;
14
+ }
15
+ }
16
+ .device-container,
17
+ .feature-item {
18
+ max-width: 300px;
19
+ margin: 0 auto;
20
+ }
21
+ .device-container {
22
+ margin-bottom: 100px;
23
+ @media(min-width: 992px) {
24
+ margin-bottom: 0;
25
+ }
26
+ }
27
+ .feature-item {
28
+ margin-bottom: 100px;
29
+ text-align: center;
30
+ h3 {
31
+ font-size: 30px;
32
+ }
33
+ i {
34
+ font-size: 80px;
35
+ background: -webkit-linear-gradient(to left, $theme-secondary, $theme-tertiary);
36
+ background: linear-gradient(to left, $theme-secondary, $theme-tertiary);
37
+ -webkit-background-clip: text;
38
+ -webkit-text-fill-color: transparent;
39
+ }
40
+ }
41
+ @media(min-width: 992px) {
42
+ .device-container,
43
+ .feature-item {
44
+ max-width: none;
45
+ }
46
+ }
47
+ }
@@ -0,0 +1,49 @@
1
+ // Styling for the footer
2
+ footer {
3
+ padding: 25px 0;
4
+ text-align: center;
5
+ background-color: $gray-darker;
6
+ color: white;
7
+ p {
8
+ margin: 0;
9
+ }
10
+ ul {
11
+ margin-bottom: 0;
12
+ li {
13
+ a {
14
+ font-size: 1.2em;
15
+ color: white;
16
+ &:hover,
17
+ &:focus,
18
+ &:active,
19
+ &.active {
20
+ text-decoration: none;
21
+ }
22
+ }
23
+ }
24
+ }
25
+
26
+ ul.list-inline {
27
+ li {
28
+ display: inline;
29
+ margin: 0 5px;
30
+ a.btn-social {
31
+ display: inline-block;
32
+ width: 50px;
33
+ height: 50px;
34
+ border: 2px solid #fff;
35
+ border-radius: 100%;
36
+ text-align: center;
37
+ font-size: 20px;
38
+ line-height: 45px;
39
+ }
40
+ }
41
+ }
42
+ }
43
+
44
+ .footer-col {
45
+ padding-top: 20px;
46
+ @media(min-width: 992px) {
47
+ padding-top: 10px;
48
+ }
49
+ }
@@ -0,0 +1,102 @@
1
+ // Global styling for this template
2
+ html,
3
+ body {
4
+ width: 100%;
5
+ height: 100%;
6
+ }
7
+
8
+ body {
9
+ @include body-font;
10
+ }
11
+
12
+ a {
13
+ color: #0275d8;
14
+ @include transition-all;
15
+ &:hover,
16
+ &:focus {
17
+ color: darken(#0275d8, 10%);
18
+ }
19
+ }
20
+
21
+ hr {
22
+ max-width: 100px;
23
+ margin: 25px auto 0;
24
+ border-width: 1px;
25
+ border-color: fade-out($gray-darker, .9);
26
+ }
27
+
28
+ hr.light {
29
+ border-color: white;
30
+ }
31
+
32
+ h1,
33
+ h2,
34
+ h3,
35
+ h4,
36
+ h5,
37
+ h6 {
38
+ @include heading-font;
39
+ }
40
+
41
+ p {
42
+ font-size: 1em;
43
+ line-height: 1.5;
44
+ margin-bottom: 20px;
45
+ @media (min-width:992px) {
46
+ font-size: 1.1em;
47
+ }
48
+ }
49
+
50
+ li {
51
+ font-size: 16px;
52
+ @media (min-width:992px) {
53
+ font-size: 18px;
54
+ }
55
+ }
56
+
57
+ // code blocks
58
+ pre {
59
+ font-size: 12px;
60
+ }
61
+
62
+ table td {
63
+ vertical-align: top;
64
+ }
65
+
66
+ code {
67
+ font-size: 80%;
68
+ }
69
+
70
+
71
+ section {
72
+ padding: 60px 0;
73
+ h2 {
74
+ // font-size: 50px;
75
+ }
76
+ }
77
+
78
+ ::-moz-selection {
79
+ color: white;
80
+ background: $gray-darker;
81
+ text-shadow: none;
82
+ }
83
+
84
+ ::selection {
85
+ color: white;
86
+ background: $gray-darker;
87
+ text-shadow: none;
88
+ }
89
+
90
+ img::selection {
91
+ color: white;
92
+ background: transparent;
93
+ }
94
+
95
+ img::-moz-selection {
96
+ color: white;
97
+ background: transparent;
98
+ }
99
+
100
+ body {
101
+ -webkit-tap-highlight-color: $gray-darker;
102
+ }
@@ -0,0 +1,364 @@
1
+ .masthead {
2
+ h1 {
3
+ font-size: 2.2em;
4
+ font-weight: bold;
5
+ }
6
+ h2 {
7
+ font-size: 1.7em;
8
+ line-height: 1.3em;
9
+ padding-bottom: 20px;
10
+ }
11
+ }
12
+ .homepage-logo {
13
+ width: 60%;
14
+ margin: auto;
15
+ text-align: center;
16
+ display: block;
17
+ padding-bottom: 30px;
18
+
19
+ @media (min-width: 575px) {
20
+ width: 100%;
21
+ position: absolute;
22
+ top: 50%;
23
+ max-width: none;
24
+ margin: 0;
25
+ transform: translateY(-50%);
26
+ }
27
+ }
28
+
29
+ pre {
30
+ background-color: #ecf0f1;
31
+ padding: 10px;
32
+ margin: 0 0 10.5px;
33
+ }
34
+
35
+ .navbar-logo {
36
+ max-height: 25px;
37
+ @media (min-width: 992px) {
38
+ max-height: 55px;
39
+ }
40
+ }
41
+
42
+ ol.overview-stages li {
43
+ padding: 10px 0;
44
+ }
45
+
46
+ section#main {
47
+ text-align: center;
48
+ color: #fff;
49
+ background: $site-color-primary;
50
+ }
51
+
52
+ section#main .container {
53
+ padding-top: 60px;
54
+ padding-bottom: 50px;
55
+ }
56
+
57
+ section#main img {
58
+ display: block;
59
+ margin: 0 auto 20px;
60
+ }
61
+
62
+ section#main .intro-text .name {
63
+ display: block;
64
+ text-transform: uppercase;
65
+ font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
66
+ font-size: 2em;
67
+ font-weight: 700;
68
+ }
69
+
70
+ section#main .intro-text .skills {
71
+ font-size: 1.25em;
72
+ font-weight: 300;
73
+ }
74
+
75
+ @media(min-width:768px) {
76
+ section#main {
77
+ text-align: left;
78
+ }
79
+
80
+ section#main .container {
81
+ padding-top: 60px;
82
+ padding-bottom: 40px;
83
+ }
84
+
85
+ section#main .intro-text .name {
86
+ font-size: 4.75em;
87
+ }
88
+
89
+ section#main .intro-text .skills {
90
+ font-size: 1.75em;
91
+ }
92
+ }
93
+
94
+ .content-body {
95
+ text-align: left;
96
+ margin-top: 30px;
97
+ @media (min-width: 992px) {
98
+ margin-top: 35px;
99
+ }
100
+ }
101
+
102
+ .content-body {
103
+ img {
104
+ max-width: 95%;
105
+ }
106
+ }
107
+
108
+ .content-body {
109
+ h1 {
110
+ font-size: 1.8em;
111
+ }
112
+ h2 {
113
+ font-size: 1.4em;
114
+ }
115
+ h3 {
116
+ font-size: 1.2em;
117
+ }
118
+ }
119
+
120
+ .content-body ul,
121
+ .content-body ol {
122
+ margin-top: 0;
123
+ }
124
+ .content-body ul li,
125
+ .content-body ol li {
126
+ }
127
+
128
+ .content-nav {
129
+ /*background-color: green;*/
130
+ margin-top: 20px;
131
+ font-size: 1.25em;
132
+ }
133
+
134
+ .content-nav ul, .content-nav ol {
135
+ list-style-type: none;
136
+ margin-left: 0;
137
+ padding-left: 10px;
138
+ }
139
+
140
+ .content-nav a {
141
+ color: #484d4e;
142
+ }
143
+
144
+ .content-nav a.active {
145
+ color: #101010;
146
+ text-decoration: underline;
147
+ font-weight: bold;
148
+ }
149
+
150
+ .reference-nav {
151
+ // background-color: blue;
152
+ margin-top: 30px;
153
+ margin-bottom: -10px;
154
+ }
155
+
156
+ footer h3 {
157
+ margin-bottom: 25px;
158
+ }
159
+
160
+ footer img.footer-logo {
161
+ width: 240px;
162
+ }
163
+
164
+ img.doc-photo {
165
+ width: 100%;
166
+ }
167
+
168
+ .commands {
169
+ max-width: 400px;
170
+ margin-right: auto;
171
+ }
172
+
173
+ /*footer*/
174
+ ul.tools {
175
+ margin-top: 0;
176
+ }
177
+ ul.tools li {
178
+ font-size: 1.3em;
179
+ }
180
+
181
+
182
+
183
+ .btn-xl {
184
+ padding: 20px 40px;
185
+ border-color: $site-color-primary;
186
+ border-radius: 3px;
187
+ text-transform: uppercase;
188
+ font-family: $site-color-primary;
189
+ font-size: 18px;
190
+ font-weight: 700;
191
+ color: #fff;
192
+ background-color: $site-color-primary;
193
+ }
194
+
195
+ .edit-on-github {
196
+ font-size: 0.75em;
197
+ border-top: thin solid white;
198
+ border-bottom: thin solid white;
199
+ padding: 20px 0;
200
+ margin-top: 80px;
201
+ // background-color: red;
202
+ }
203
+
204
+ .edit-on-github h2 {
205
+ font-size: 1.8em;
206
+ // font-weight: bold;
207
+ }
208
+
209
+ .use-cases {
210
+ font-size: 1.25em;
211
+ }
212
+
213
+ .use-cases li {
214
+ margin-bottom: 15px;
215
+ }
216
+
217
+ .keyboard-tip {
218
+ display: none;
219
+ }
220
+ @media(min-width:992px) {
221
+ .keyboard-tip {
222
+ display: block;
223
+ font-size: 0.9em;
224
+ }
225
+ }
226
+
227
+
228
+ // https://coolestguidesontheplanet.com/videodrome/youtube/
229
+ // I added another box wrapper to control the width
230
+ .content-body {
231
+ .video-box {
232
+ max-width: 600px;
233
+ text-align: left;
234
+ margin: 0 auto 0 0;
235
+ padding-bottom: 20px;
236
+ .video-container {
237
+ position:relative;
238
+ padding-bottom:56.25%;
239
+ padding-top:30px;
240
+ height:0;
241
+ overflow:hidden;
242
+ }
243
+
244
+ .video-container iframe, .video-container object, .video-container embed {
245
+ position:absolute;
246
+ top:0;
247
+ left:0;
248
+ width:100%;
249
+ height:100%;
250
+ }
251
+ }
252
+ }
253
+
254
+ .content-body-list {
255
+ .video-container iframe, .video-container object, .video-container embed {
256
+ width: 180px;
257
+ @media (min-width: 768px) {
258
+ /* 16:9 ratio */
259
+ width: 300px;
260
+ height: 169px;
261
+ }
262
+ }
263
+ }
264
+
265
+ #timeline {
266
+ img {
267
+ width: 100%;
268
+ height: 100%;
269
+ object-fit: contain;
270
+ }
271
+ }
272
+
273
+ .learning-content {
274
+ padding-top: 30px;
275
+ }
276
+
277
+ .article-box {
278
+ padding-top: 20px;
279
+ }
280
+
281
+ .related-body {
282
+ font-family: "Calibre", -apple-system, BlinkMacSystemFont, "Avenir Next", "Avenir", "Segoe UI", "Lucida Grande", "Helvetica Neue", "Helvetica", "Fira Sans", "Roboto", "Noto", "Droid Sans", "Cantarell", "Oxygen", "Ubuntu", "Franklin Gothic Medium", "Century Gothic", "Liberation Sans", sans-serif;
283
+ font-size: 1.15em;
284
+ padding-bottom: 10px;
285
+ position: relative;
286
+ // background-color: yellow;
287
+ // border: 1px solid red;
288
+ @media (min-width: 1000px) {
289
+ margin-top: 0;
290
+ padding-bottom: 30px;
291
+ height: 230px;
292
+ }
293
+
294
+ .related-thumbnail {
295
+ float: left;
296
+ width: 110px;
297
+ vertical-align: middle;
298
+ text-align: center;
299
+ display: table-cell;
300
+ height: 70px;
301
+ // background-color: green;
302
+ @media (min-width: 768px) {
303
+ width: 150px;
304
+ height: 120px;
305
+ }
306
+ @media (min-width: 1000px) {
307
+ width: inherit;
308
+ height: 160px;
309
+ text-align: center;
310
+ // background-color: orange;
311
+ display: block;
312
+ float: none;
313
+ }
314
+ img.center-crop {
315
+ object-fit: contain;
316
+ object-position: center; /* Center the image within the element */
317
+ height: 64px;
318
+ @media (min-width: 768px) {
319
+ height: 110px;
320
+ }
321
+ @media (min-width: 1000px) {
322
+ height: 160px;
323
+ }
324
+ }
325
+ }
326
+ .related-link {
327
+ // background-color: red;
328
+ vertical-align: top;
329
+ display: table-cell;
330
+ height: 70px;
331
+ padding-left: 15px;
332
+ @media (min-width: 1000px) {
333
+ height: 50px;
334
+ display: block;
335
+ clear: both;
336
+ padding-top: 10px;
337
+ margin-bottom: 5px;
338
+ text-align: center;
339
+ }
340
+ a {
341
+ display: block;
342
+ vertical-align: middle;
343
+ line-height: normal;
344
+ }
345
+ }
346
+ }
347
+
348
+ .related-body:after {
349
+ content: "";
350
+ display: table;
351
+ clear: both;
352
+ }
353
+
354
+ .related-filler {
355
+ @media (min-width: 1000px) {
356
+ padding: 30px;
357
+ }
358
+ }
359
+
360
+ blockquote {
361
+ padding: 12px 24px;
362
+ margin: 0 0 24px;
363
+ border-left: 5px solid #eee;
364
+ }