vitrina 0.2.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (198) hide show
  1. checksums.yaml +4 -4
  2. data/.editorconfig +13 -0
  3. data/.github/FUNDING.yml +4 -0
  4. data/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
  5. data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  6. data/.github/workflows/gempush.yml +41 -0
  7. data/.gitignore +7 -0
  8. data/.travis.yml +8 -0
  9. data/404.md +5 -0
  10. data/CHANGELOG.md +81 -0
  11. data/Gemfile +9 -0
  12. data/LICENSE +21 -0
  13. data/README.md +501 -0
  14. data/_config.yml +39 -0
  15. data/_data/general.json +133 -0
  16. data/_data/home.json +316 -0
  17. data/_data/links.json +34 -0
  18. data/_data/resume.json +80 -0
  19. data/_includes/foot.html +6 -0
  20. data/_includes/footer.html +21 -0
  21. data/_includes/head.html +13 -0
  22. data/_includes/header.html +63 -0
  23. data/_includes/pagination.html +75 -0
  24. data/_includes/util/grid_columns.html +49 -0
  25. data/_includes/util/item_content.html +8 -0
  26. data/_includes/util/items.html +69 -0
  27. data/_includes/util/navbar_items.html +82 -0
  28. data/_includes/util/prepend_link.html +5 -0
  29. data/_includes/util/timeline_cards.html +20 -0
  30. data/_layouts/blog.html +53 -0
  31. data/_layouts/compress.html +10 -0
  32. data/_layouts/contact.html +32 -0
  33. data/_layouts/default.html +33 -0
  34. data/_layouts/error.html +10 -0
  35. data/_layouts/home.html +103 -0
  36. data/_layouts/papers.html +80 -0
  37. data/_layouts/post.html +33 -0
  38. data/_layouts/projects.html +58 -0
  39. data/_layouts/resume.html +62 -0
  40. data/_papers/A-systematic-review-on-the-productive-effects-of-hobbies.md +15 -0
  41. data/_papers/Applications-of-open-collaboration-in-software-development.md +14 -0
  42. data/_posts/2019-04-03-welcome-human.md +52 -0
  43. data/_projects/Make.md +5 -0
  44. data/_projects/Meet.md +5 -0
  45. data/_projects/Mood.md +5 -0
  46. data/_projects/Take.md +5 -0
  47. data/_projects/Think.md +5 -0
  48. data/_sass/_bulma.scss +3 -0
  49. data/_sass/_fork_awesome.scss +11 -0
  50. data/_sass/code.scss +128 -0
  51. data/_sass/customize.scss +69 -0
  52. data/_sass/elements.scss +489 -0
  53. data/assets/css/styles.scss +15 -0
  54. data/assets/img/card.png +0 -0
  55. data/assets/img/icon.png +0 -0
  56. data/assets/img/logo.png +0 -0
  57. data/assets/img/made-with-bulma.png +0 -0
  58. data/assets/img/make.png +0 -0
  59. data/assets/img/meet.png +0 -0
  60. data/assets/img/mood.png +0 -0
  61. data/assets/img/take.png +0 -0
  62. data/assets/img/think.png +0 -0
  63. data/assets/js/navbar.js +10 -0
  64. data/assets/js/validate.js +77 -0
  65. data/blog/index.html +4 -0
  66. data/contact.md +52 -0
  67. data/index.md +3 -0
  68. data/node_modules/.yarn-integrity +18 -0
  69. data/node_modules/bulma/CHANGELOG.md +1459 -0
  70. data/node_modules/bulma/LICENSE +21 -0
  71. data/node_modules/bulma/README.md +130 -0
  72. data/node_modules/bulma/bulma.sass +10 -0
  73. data/node_modules/bulma/css/bulma-rtl.css +11331 -0
  74. data/node_modules/bulma/css/bulma-rtl.css.map +1 -0
  75. data/node_modules/bulma/css/bulma-rtl.min.css +1 -0
  76. data/node_modules/bulma/css/bulma.css +11331 -0
  77. data/node_modules/bulma/css/bulma.css.map +1 -0
  78. data/node_modules/bulma/css/bulma.min.css +1 -0
  79. data/node_modules/bulma/package.json +56 -0
  80. data/node_modules/bulma/sass/.DS_Store +0 -0
  81. data/node_modules/bulma/sass/base/_all.sass +4 -0
  82. data/node_modules/bulma/sass/base/generic.sass +142 -0
  83. data/node_modules/bulma/sass/base/helpers.sass +1 -0
  84. data/node_modules/bulma/sass/base/minireset.sass +79 -0
  85. data/node_modules/bulma/sass/components/_all.sass +14 -0
  86. data/node_modules/bulma/sass/components/breadcrumb.sass +75 -0
  87. data/node_modules/bulma/sass/components/card.sass +79 -0
  88. data/node_modules/bulma/sass/components/dropdown.sass +81 -0
  89. data/node_modules/bulma/sass/components/level.sass +77 -0
  90. data/node_modules/bulma/sass/components/media.sass +52 -0
  91. data/node_modules/bulma/sass/components/menu.sass +57 -0
  92. data/node_modules/bulma/sass/components/message.sass +99 -0
  93. data/node_modules/bulma/sass/components/modal.sass +113 -0
  94. data/node_modules/bulma/sass/components/navbar.sass +441 -0
  95. data/node_modules/bulma/sass/components/pagination.sass +150 -0
  96. data/node_modules/bulma/sass/components/panel.sass +119 -0
  97. data/node_modules/bulma/sass/components/tabs.sass +174 -0
  98. data/node_modules/bulma/sass/elements/_all.sass +15 -0
  99. data/node_modules/bulma/sass/elements/box.sass +24 -0
  100. data/node_modules/bulma/sass/elements/button.sass +323 -0
  101. data/node_modules/bulma/sass/elements/container.sass +24 -0
  102. data/node_modules/bulma/sass/elements/content.sass +155 -0
  103. data/node_modules/bulma/sass/elements/form.sass +1 -0
  104. data/node_modules/bulma/sass/elements/icon.sass +21 -0
  105. data/node_modules/bulma/sass/elements/image.sass +71 -0
  106. data/node_modules/bulma/sass/elements/notification.sass +48 -0
  107. data/node_modules/bulma/sass/elements/other.sass +39 -0
  108. data/node_modules/bulma/sass/elements/progress.sass +67 -0
  109. data/node_modules/bulma/sass/elements/table.sass +129 -0
  110. data/node_modules/bulma/sass/elements/tag.sass +136 -0
  111. data/node_modules/bulma/sass/elements/title.sass +70 -0
  112. data/node_modules/bulma/sass/form/_all.sass +8 -0
  113. data/node_modules/bulma/sass/form/checkbox-radio.sass +21 -0
  114. data/node_modules/bulma/sass/form/file.sass +180 -0
  115. data/node_modules/bulma/sass/form/input-textarea.sass +64 -0
  116. data/node_modules/bulma/sass/form/select.sass +85 -0
  117. data/node_modules/bulma/sass/form/shared.sass +55 -0
  118. data/node_modules/bulma/sass/form/tools.sass +213 -0
  119. data/node_modules/bulma/sass/grid/_all.sass +4 -0
  120. data/node_modules/bulma/sass/grid/columns.sass +504 -0
  121. data/node_modules/bulma/sass/grid/tiles.sass +34 -0
  122. data/node_modules/bulma/sass/helpers/_all.sass +10 -0
  123. data/node_modules/bulma/sass/helpers/color.sass +37 -0
  124. data/node_modules/bulma/sass/helpers/float.sass +8 -0
  125. data/node_modules/bulma/sass/helpers/other.sass +8 -0
  126. data/node_modules/bulma/sass/helpers/overflow.sass +2 -0
  127. data/node_modules/bulma/sass/helpers/position.sass +5 -0
  128. data/node_modules/bulma/sass/helpers/spacing.sass +28 -0
  129. data/node_modules/bulma/sass/helpers/typography.sass +98 -0
  130. data/node_modules/bulma/sass/helpers/visibility.sass +122 -0
  131. data/node_modules/bulma/sass/layout/_all.sass +5 -0
  132. data/node_modules/bulma/sass/layout/footer.sass +9 -0
  133. data/node_modules/bulma/sass/layout/hero.sass +145 -0
  134. data/node_modules/bulma/sass/layout/section.sass +13 -0
  135. data/node_modules/bulma/sass/utilities/.DS_Store +0 -0
  136. data/node_modules/bulma/sass/utilities/_all.sass +8 -0
  137. data/node_modules/bulma/sass/utilities/animations.sass +5 -0
  138. data/node_modules/bulma/sass/utilities/controls.sass +50 -0
  139. data/node_modules/bulma/sass/utilities/derived-variables.scss +132 -0
  140. data/node_modules/bulma/sass/utilities/functions.sass +115 -0
  141. data/node_modules/bulma/sass/utilities/initial-variables.sass +78 -0
  142. data/node_modules/bulma/sass/utilities/mixins.sass +285 -0
  143. data/node_modules/fork-awesome/CHANGELOG.md +91 -0
  144. data/node_modules/fork-awesome/CONTRIBUTORS.md +31 -0
  145. data/node_modules/fork-awesome/LICENSES +452 -0
  146. data/node_modules/fork-awesome/README.md +93 -0
  147. data/node_modules/fork-awesome/css/fork-awesome.css +2573 -0
  148. data/node_modules/fork-awesome/css/fork-awesome.min.css +12 -0
  149. data/node_modules/fork-awesome/css/fork-awesome.min.css.map +1 -0
  150. data/node_modules/fork-awesome/css/v5-compat.css +446 -0
  151. data/node_modules/fork-awesome/css/v5-compat.min.css +12 -0
  152. data/node_modules/fork-awesome/css/v5-compat.min.css.map +1 -0
  153. data/node_modules/fork-awesome/fonts/forkawesome-webfont.eot +0 -0
  154. data/node_modules/fork-awesome/fonts/forkawesome-webfont.svg +2849 -0
  155. data/node_modules/fork-awesome/fonts/forkawesome-webfont.ttf +0 -0
  156. data/node_modules/fork-awesome/fonts/forkawesome-webfont.woff +0 -0
  157. data/node_modules/fork-awesome/fonts/forkawesome-webfont.woff2 +0 -0
  158. data/node_modules/fork-awesome/less/animated.less +34 -0
  159. data/node_modules/fork-awesome/less/bordered-pulled.less +25 -0
  160. data/node_modules/fork-awesome/less/core.less +12 -0
  161. data/node_modules/fork-awesome/less/fixed-width.less +6 -0
  162. data/node_modules/fork-awesome/less/fork-awesome.less +27 -0
  163. data/node_modules/fork-awesome/less/icons.less +879 -0
  164. data/node_modules/fork-awesome/less/larger.less +13 -0
  165. data/node_modules/fork-awesome/less/list.less +19 -0
  166. data/node_modules/fork-awesome/less/mixins.less +60 -0
  167. data/node_modules/fork-awesome/less/path.less +15 -0
  168. data/node_modules/fork-awesome/less/rotated-flipped.less +20 -0
  169. data/node_modules/fork-awesome/less/screen-reader.less +5 -0
  170. data/node_modules/fork-awesome/less/stacked.less +20 -0
  171. data/node_modules/fork-awesome/less/v5-compat.less +176 -0
  172. data/node_modules/fork-awesome/less/variables.less +890 -0
  173. data/node_modules/fork-awesome/package.json +49 -0
  174. data/node_modules/fork-awesome/scss/_animated.scss +34 -0
  175. data/node_modules/fork-awesome/scss/_bordered-pulled.scss +25 -0
  176. data/node_modules/fork-awesome/scss/_core.scss +12 -0
  177. data/node_modules/fork-awesome/scss/_fixed-width.scss +6 -0
  178. data/node_modules/fork-awesome/scss/_functions.scss +11 -0
  179. data/node_modules/fork-awesome/scss/_icons.scss +879 -0
  180. data/node_modules/fork-awesome/scss/_larger.scss +13 -0
  181. data/node_modules/fork-awesome/scss/_list.scss +19 -0
  182. data/node_modules/fork-awesome/scss/_mixins.scss +60 -0
  183. data/node_modules/fork-awesome/scss/_path.scss +15 -0
  184. data/node_modules/fork-awesome/scss/_rotated-flipped.scss +20 -0
  185. data/node_modules/fork-awesome/scss/_screen-reader.scss +5 -0
  186. data/node_modules/fork-awesome/scss/_stacked.scss +20 -0
  187. data/node_modules/fork-awesome/scss/_variables.scss +890 -0
  188. data/node_modules/fork-awesome/scss/fork-awesome.scss +28 -0
  189. data/package.json +32 -0
  190. data/papers.md +4 -0
  191. data/projects.md +4 -0
  192. data/resume.md +4 -0
  193. data/screenshot.png +0 -0
  194. data/scripts/build.sh +10 -0
  195. data/scripts/install.sh +4 -0
  196. data/scripts/validate.rb +28 -0
  197. data/vitrina.gemspec +23 -0
  198. metadata +199 -3
@@ -0,0 +1,34 @@
1
+ $tile-spacing: 0.75rem !default
2
+
3
+ .tile
4
+ align-items: stretch
5
+ display: block
6
+ flex-basis: 0
7
+ flex-grow: 1
8
+ flex-shrink: 1
9
+ min-height: min-content
10
+ // Modifiers
11
+ &.is-ancestor
12
+ margin-left: $tile-spacing * -1
13
+ margin-right: $tile-spacing * -1
14
+ margin-top: $tile-spacing * -1
15
+ &:last-child
16
+ margin-bottom: $tile-spacing * -1
17
+ &:not(:last-child)
18
+ margin-bottom: $tile-spacing
19
+ &.is-child
20
+ margin: 0 !important
21
+ &.is-parent
22
+ padding: $tile-spacing
23
+ &.is-vertical
24
+ flex-direction: column
25
+ & > .tile.is-child:not(:last-child)
26
+ margin-bottom: 1.5rem !important
27
+ // Responsiveness
28
+ +tablet
29
+ &:not(.is-child)
30
+ display: flex
31
+ @for $i from 1 through 12
32
+ &.is-#{$i}
33
+ flex: none
34
+ width: ($i / 12) * 100%
@@ -0,0 +1,10 @@
1
+ @charset "utf-8"
2
+
3
+ @import "color.sass"
4
+ @import "float.sass"
5
+ @import "other.sass"
6
+ @import "overflow.sass"
7
+ @import "position.sass"
8
+ @import "spacing.sass"
9
+ @import "typography.sass"
10
+ @import "visibility.sass"
@@ -0,0 +1,37 @@
1
+ @each $name, $pair in $colors
2
+ $color: nth($pair, 1)
3
+ .has-text-#{$name}
4
+ color: $color !important
5
+ a.has-text-#{$name}
6
+ &:hover,
7
+ &:focus
8
+ color: bulmaDarken($color, 10%) !important
9
+ .has-background-#{$name}
10
+ background-color: $color !important
11
+ @if length($pair) >= 4
12
+ $color-light: nth($pair, 3)
13
+ $color-dark: nth($pair, 4)
14
+ // Light
15
+ .has-text-#{$name}-light
16
+ color: $color-light !important
17
+ a.has-text-#{$name}-light
18
+ &:hover,
19
+ &:focus
20
+ color: bulmaDarken($color-light, 10%) !important
21
+ .has-background-#{$name}-light
22
+ background-color: $color-light !important
23
+ // Dark
24
+ .has-text-#{$name}-dark
25
+ color: $color-dark !important
26
+ a.has-text-#{$name}-dark
27
+ &:hover,
28
+ &:focus
29
+ color: bulmaLighten($color-dark, 10%) !important
30
+ .has-background-#{$name}-dark
31
+ background-color: $color-dark !important
32
+
33
+ @each $name, $shade in $shades
34
+ .has-text-#{$name}
35
+ color: $shade !important
36
+ .has-background-#{$name}
37
+ background-color: $shade !important
@@ -0,0 +1,8 @@
1
+ .is-clearfix
2
+ +clearfix
3
+
4
+ .is-pulled-left
5
+ float: left !important
6
+
7
+ .is-pulled-right
8
+ float: right !important
@@ -0,0 +1,8 @@
1
+ .is-radiusless
2
+ border-radius: 0 !important
3
+
4
+ .is-shadowless
5
+ box-shadow: none !important
6
+
7
+ .is-unselectable
8
+ @extend %unselectable
@@ -0,0 +1,2 @@
1
+ .is-clipped
2
+ overflow: hidden !important
@@ -0,0 +1,5 @@
1
+ .is-overlay
2
+ @extend %overlay
3
+
4
+ .is-relative
5
+ position: relative !important
@@ -0,0 +1,28 @@
1
+ .is-marginless
2
+ margin: 0 !important
3
+
4
+ .is-paddingless
5
+ padding: 0 !important
6
+
7
+ $spacing-shortcuts: ("margin": "m", "padding": "p") !default
8
+ $spacing-directions: ("top": "t", "right": "r", "bottom": "b", "left": "l") !default
9
+ $spacing-horizontal: "x" !default
10
+ $spacing-vertical: "y" !default
11
+ $spacing-values: ("0": 0, "1": 0.25rem, "2": 0.5rem, "3": 0.75rem, "4": 1rem, "5": 1.5rem, "6": 3rem) !default
12
+
13
+ @each $property, $shortcut in $spacing-shortcuts
14
+ @each $name, $value in $spacing-values
15
+ // Cardinal directions
16
+ @each $direction, $suffix in $spacing-directions
17
+ .#{$shortcut}#{$suffix}-#{$name}
18
+ #{$property}-#{$direction}: $value !important
19
+ // Horizontal axis
20
+ @if $spacing-horizontal != null
21
+ .#{$shortcut}#{$spacing-horizontal}-#{$name}
22
+ #{$property}-left: $value !important
23
+ #{$property}-right: $value !important
24
+ // Vertical axis
25
+ @if $spacing-vertical != null
26
+ .#{$shortcut}#{$spacing-vertical}-#{$name}
27
+ #{$property}-top: $value !important
28
+ #{$property}-bottom: $value !important
@@ -0,0 +1,98 @@
1
+ =typography-size($target:'')
2
+ @each $size in $sizes
3
+ $i: index($sizes, $size)
4
+ .is-size-#{$i}#{if($target == '', '', '-' + $target)}
5
+ font-size: $size !important
6
+
7
+ +typography-size()
8
+
9
+ +mobile
10
+ +typography-size('mobile')
11
+
12
+ +tablet
13
+ +typography-size('tablet')
14
+
15
+ +touch
16
+ +typography-size('touch')
17
+
18
+ +desktop
19
+ +typography-size('desktop')
20
+
21
+ +widescreen
22
+ +typography-size('widescreen')
23
+
24
+ +fullhd
25
+ +typography-size('fullhd')
26
+
27
+ $alignments: ('centered': 'center', 'justified': 'justify', 'left': 'left', 'right': 'right')
28
+
29
+ @each $alignment, $text-align in $alignments
30
+ .has-text-#{$alignment}
31
+ text-align: #{$text-align} !important
32
+
33
+ @each $alignment, $text-align in $alignments
34
+ +mobile
35
+ .has-text-#{$alignment}-mobile
36
+ text-align: #{$text-align} !important
37
+ +tablet
38
+ .has-text-#{$alignment}-tablet
39
+ text-align: #{$text-align} !important
40
+ +tablet-only
41
+ .has-text-#{$alignment}-tablet-only
42
+ text-align: #{$text-align} !important
43
+ +touch
44
+ .has-text-#{$alignment}-touch
45
+ text-align: #{$text-align} !important
46
+ +desktop
47
+ .has-text-#{$alignment}-desktop
48
+ text-align: #{$text-align} !important
49
+ +desktop-only
50
+ .has-text-#{$alignment}-desktop-only
51
+ text-align: #{$text-align} !important
52
+ +widescreen
53
+ .has-text-#{$alignment}-widescreen
54
+ text-align: #{$text-align} !important
55
+ +widescreen-only
56
+ .has-text-#{$alignment}-widescreen-only
57
+ text-align: #{$text-align} !important
58
+ +fullhd
59
+ .has-text-#{$alignment}-fullhd
60
+ text-align: #{$text-align} !important
61
+
62
+ .is-capitalized
63
+ text-transform: capitalize !important
64
+
65
+ .is-lowercase
66
+ text-transform: lowercase !important
67
+
68
+ .is-uppercase
69
+ text-transform: uppercase !important
70
+
71
+ .is-italic
72
+ font-style: italic !important
73
+
74
+ .has-text-weight-light
75
+ font-weight: $weight-light !important
76
+ .has-text-weight-normal
77
+ font-weight: $weight-normal !important
78
+ .has-text-weight-medium
79
+ font-weight: $weight-medium !important
80
+ .has-text-weight-semibold
81
+ font-weight: $weight-semibold !important
82
+ .has-text-weight-bold
83
+ font-weight: $weight-bold !important
84
+
85
+ .is-family-primary
86
+ font-family: $family-primary !important
87
+
88
+ .is-family-secondary
89
+ font-family: $family-secondary !important
90
+
91
+ .is-family-sans-serif
92
+ font-family: $family-sans-serif !important
93
+
94
+ .is-family-monospace
95
+ font-family: $family-monospace !important
96
+
97
+ .is-family-code
98
+ font-family: $family-code !important
@@ -0,0 +1,122 @@
1
+
2
+
3
+ $displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'
4
+
5
+ @each $display in $displays
6
+ .is-#{$display}
7
+ display: #{$display} !important
8
+ +mobile
9
+ .is-#{$display}-mobile
10
+ display: #{$display} !important
11
+ +tablet
12
+ .is-#{$display}-tablet
13
+ display: #{$display} !important
14
+ +tablet-only
15
+ .is-#{$display}-tablet-only
16
+ display: #{$display} !important
17
+ +touch
18
+ .is-#{$display}-touch
19
+ display: #{$display} !important
20
+ +desktop
21
+ .is-#{$display}-desktop
22
+ display: #{$display} !important
23
+ +desktop-only
24
+ .is-#{$display}-desktop-only
25
+ display: #{$display} !important
26
+ +widescreen
27
+ .is-#{$display}-widescreen
28
+ display: #{$display} !important
29
+ +widescreen-only
30
+ .is-#{$display}-widescreen-only
31
+ display: #{$display} !important
32
+ +fullhd
33
+ .is-#{$display}-fullhd
34
+ display: #{$display} !important
35
+
36
+ .is-hidden
37
+ display: none !important
38
+
39
+ .is-sr-only
40
+ border: none !important
41
+ clip: rect(0, 0, 0, 0) !important
42
+ height: 0.01em !important
43
+ overflow: hidden !important
44
+ padding: 0 !important
45
+ position: absolute !important
46
+ white-space: nowrap !important
47
+ width: 0.01em !important
48
+
49
+ +mobile
50
+ .is-hidden-mobile
51
+ display: none !important
52
+
53
+ +tablet
54
+ .is-hidden-tablet
55
+ display: none !important
56
+
57
+ +tablet-only
58
+ .is-hidden-tablet-only
59
+ display: none !important
60
+
61
+ +touch
62
+ .is-hidden-touch
63
+ display: none !important
64
+
65
+ +desktop
66
+ .is-hidden-desktop
67
+ display: none !important
68
+
69
+ +desktop-only
70
+ .is-hidden-desktop-only
71
+ display: none !important
72
+
73
+ +widescreen
74
+ .is-hidden-widescreen
75
+ display: none !important
76
+
77
+ +widescreen-only
78
+ .is-hidden-widescreen-only
79
+ display: none !important
80
+
81
+ +fullhd
82
+ .is-hidden-fullhd
83
+ display: none !important
84
+
85
+ .is-invisible
86
+ visibility: hidden !important
87
+
88
+ +mobile
89
+ .is-invisible-mobile
90
+ visibility: hidden !important
91
+
92
+ +tablet
93
+ .is-invisible-tablet
94
+ visibility: hidden !important
95
+
96
+ +tablet-only
97
+ .is-invisible-tablet-only
98
+ visibility: hidden !important
99
+
100
+ +touch
101
+ .is-invisible-touch
102
+ visibility: hidden !important
103
+
104
+ +desktop
105
+ .is-invisible-desktop
106
+ visibility: hidden !important
107
+
108
+ +desktop-only
109
+ .is-invisible-desktop-only
110
+ visibility: hidden !important
111
+
112
+ +widescreen
113
+ .is-invisible-widescreen
114
+ visibility: hidden !important
115
+
116
+ +widescreen-only
117
+ .is-invisible-widescreen-only
118
+ visibility: hidden !important
119
+
120
+ +fullhd
121
+ .is-invisible-fullhd
122
+ visibility: hidden !important
@@ -0,0 +1,5 @@
1
+ @charset "utf-8"
2
+
3
+ @import "hero.sass"
4
+ @import "section.sass"
5
+ @import "footer.sass"
@@ -0,0 +1,9 @@
1
+ $footer-background-color: $scheme-main-bis !default
2
+ $footer-color: false !default
3
+ $footer-padding: 3rem 1.5rem 6rem !default
4
+
5
+ .footer
6
+ background-color: $footer-background-color
7
+ padding: $footer-padding
8
+ @if $footer-color
9
+ color: $footer-color
@@ -0,0 +1,145 @@
1
+ $hero-body-padding: 3rem 1.5rem !default
2
+ $hero-body-padding-small: 1.5rem !default
3
+ $hero-body-padding-medium: 9rem 1.5rem !default
4
+ $hero-body-padding-large: 18rem 1.5rem !default
5
+
6
+ // Main container
7
+ .hero
8
+ align-items: stretch
9
+ display: flex
10
+ flex-direction: column
11
+ justify-content: space-between
12
+ .navbar
13
+ background: none
14
+ .tabs
15
+ ul
16
+ border-bottom: none
17
+ // Colors
18
+ @each $name, $pair in $colors
19
+ $color: nth($pair, 1)
20
+ $color-invert: nth($pair, 2)
21
+ &.is-#{$name}
22
+ background-color: $color
23
+ color: $color-invert
24
+ a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current),
25
+ strong
26
+ color: inherit
27
+ .title
28
+ color: $color-invert
29
+ .subtitle
30
+ color: bulmaRgba($color-invert, 0.9)
31
+ a:not(.button),
32
+ strong
33
+ color: $color-invert
34
+ .navbar-menu
35
+ +touch
36
+ background-color: $color
37
+ .navbar-item,
38
+ .navbar-link
39
+ color: bulmaRgba($color-invert, 0.7)
40
+ a.navbar-item,
41
+ .navbar-link
42
+ &:hover,
43
+ &.is-active
44
+ background-color: bulmaDarken($color, 5%)
45
+ color: $color-invert
46
+ .tabs
47
+ a
48
+ color: $color-invert
49
+ opacity: 0.9
50
+ &:hover
51
+ opacity: 1
52
+ li
53
+ &.is-active a
54
+ opacity: 1
55
+ &.is-boxed,
56
+ &.is-toggle
57
+ a
58
+ color: $color-invert
59
+ &:hover
60
+ background-color: bulmaRgba($scheme-invert, 0.1)
61
+ li.is-active a
62
+ &,
63
+ &:hover
64
+ background-color: $color-invert
65
+ border-color: $color-invert
66
+ color: $color
67
+ // Modifiers
68
+ @if type-of($color) == 'color'
69
+ &.is-bold
70
+ $gradient-top-left: darken(saturate(adjust-hue($color, -10deg), 10%), 10%)
71
+ $gradient-bottom-right: lighten(saturate(adjust-hue($color, 10deg), 5%), 5%)
72
+ background-image: linear-gradient(141deg, $gradient-top-left 0%, $color 71%, $gradient-bottom-right 100%)
73
+ +mobile
74
+ .navbar-menu
75
+ background-image: linear-gradient(141deg, $gradient-top-left 0%, $color 71%, $gradient-bottom-right 100%)
76
+ // Sizes
77
+ &.is-small
78
+ .hero-body
79
+ padding: $hero-body-padding-small
80
+ &.is-medium
81
+ +tablet
82
+ .hero-body
83
+ padding: $hero-body-padding-medium
84
+ &.is-large
85
+ +tablet
86
+ .hero-body
87
+ padding: $hero-body-padding-large
88
+ &.is-halfheight,
89
+ &.is-fullheight,
90
+ &.is-fullheight-with-navbar
91
+ .hero-body
92
+ align-items: center
93
+ display: flex
94
+ & > .container
95
+ flex-grow: 1
96
+ flex-shrink: 1
97
+ &.is-halfheight
98
+ min-height: 50vh
99
+ &.is-fullheight
100
+ min-height: 100vh
101
+
102
+ // Components
103
+
104
+ .hero-video
105
+ @extend %overlay
106
+ overflow: hidden
107
+ video
108
+ left: 50%
109
+ min-height: 100%
110
+ min-width: 100%
111
+ position: absolute
112
+ top: 50%
113
+ transform: translate3d(-50%, -50%, 0)
114
+ // Modifiers
115
+ &.is-transparent
116
+ opacity: 0.3
117
+ // Responsiveness
118
+ +mobile
119
+ display: none
120
+
121
+ .hero-buttons
122
+ margin-top: 1.5rem
123
+ // Responsiveness
124
+ +mobile
125
+ .button
126
+ display: flex
127
+ &:not(:last-child)
128
+ margin-bottom: 0.75rem
129
+ +tablet
130
+ display: flex
131
+ justify-content: center
132
+ .button:not(:last-child)
133
+ +ltr-property("margin", 1.5rem)
134
+
135
+ // Containers
136
+
137
+ .hero-head,
138
+ .hero-foot
139
+ flex-grow: 0
140
+ flex-shrink: 0
141
+
142
+ .hero-body
143
+ flex-grow: 1
144
+ flex-shrink: 0
145
+ padding: $hero-body-padding