diff --git a/assets/sass/base/_layout.sass b/assets/sass/base/_layout.sass index c9d7040c..994ab17f 100644 --- a/assets/sass/base/_layout.sass +++ b/assets/sass/base/_layout.sass @@ -32,6 +32,12 @@ &.vertical-#{$value} vertical-align: #{$value} -@each $value in 2, 3, 4, 5 +@for $value from 2 through 5 .is-#{$value} width: calc(100% / #{$value}) + +$properties: ( mb: 'margin-bottom', ml: 'margin-left', mr: 'margin-right', mt: 'margin-top', pb: 'padding-bottom', pl: 'padding-left', pr: 'padding-right', pt: 'padding-top' ) +@each $key, $property in $properties + @for $value from 1 through 5 + .#{$key}-#{$value} + #{$property}: #{$value}em !important diff --git a/assets/sass/base/_utilities.sass b/assets/sass/base/_utilities.sass new file mode 100644 index 00000000..66693cff --- /dev/null +++ b/assets/sass/base/_utilities.sass @@ -0,0 +1,2 @@ +.is-circle + border-radius: 50% diff --git a/assets/sass/main.sass b/assets/sass/main.sass index 2bb020da..dfbd5094 100644 --- a/assets/sass/main.sass +++ b/assets/sass/main.sass @@ -7,15 +7,6 @@ $blue: #0678BE $primary: $blue -.is-circle - border-radius: 50% - -$properties: ( mb: 'margin-bottom', ml: 'margin-left', mr: 'margin-right', mt: 'margin-top', pb: 'padding-bottom', pl: 'padding-left', pr: 'padding-right', pt: 'padding-top' ) -@each $key, $property in $properties - @for $value from 1 through 5 - .#{$key}-#{$value} - #{$property}: #{$value}em !important - @import 'node_modules/bulma/bulma' @import 'base' @@ -23,6 +14,7 @@ $properties: ( mb: 'margin-bottom', ml: 'margin-left', mr: 'margin-right', mt: ' @import 'base/layout' @import 'base/typography' +@import 'base/utilities' @import 'components/availability' @import 'components/badges' diff --git a/package.json b/package.json index 4552bfd3..725c38ee 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "js:watch": "onchange $npm_package_config_jsInputDir -v -- npm run js", "prod": "npm run production", "production": "cross-env ENV=prod npm run build", - "sass": "npm run sass:concat && npm run sass:$ENV:compile && npm run sass:$ENV:move", + "sass": "npm run sass:$ENV:compile && npm run sass:concat && npm run sass:$ENV:move", "sass:clean": "rm -rf $npm_package_config_cssOutputDir output_*/assets/css/", "sass:concat": "mkdir -p $npm_package_config_cssOutputDir && concat node_modules/font-awesome/css/font-awesome.css node_modules/prismjs/themes/prism-twilight.css $npm_package_config_cssOutputFile -o $npm_package_config_cssOutputFile", "sass:dev:compile": "node-sass assets/sass/main.sass $npm_package_config_cssOutputFile --source-map true", diff --git a/source/_includes/availability.html.twig b/source/_includes/availability.html.twig index bd8b4685..c76756e7 100644 --- a/source/_includes/availability.html.twig +++ b/source/_includes/availability.html.twig @@ -1,9 +1,11 @@
Availability
-
- {% for key, availability in site.availability %} - {% include 'availability/' ~ availability with { value: key } %} - {% endfor %} +
+
+ {% for key, availability in site.availability %} + {% include 'availability/' ~ availability with { value: key } %} + {% endfor %} +
diff --git a/source/_includes/availability/limited.html.twig b/source/_includes/availability/limited.html.twig index b27b555a..d6a6777a 100644 --- a/source/_includes/availability/limited.html.twig +++ b/source/_includes/availability/limited.html.twig @@ -1,5 +1,7 @@

- + + + {{ value == 'full' ? 'Currently have limited full-time capacity' }} {{ value == 'part' ? 'Currently have limited part-time capacity' }} diff --git a/source/_includes/availability/no.html.twig b/source/_includes/availability/no.html.twig index 71f5e283..edd96c9e 100644 --- a/source/_includes/availability/no.html.twig +++ b/source/_includes/availability/no.html.twig @@ -1,5 +1,7 @@

- + + + {{ value == 'full' ? 'Currently no spare full-time capacity.' }} {{ value == 'part' ? 'Currently no spare part-time capacity.' }} diff --git a/source/_includes/availability/yes.html.twig b/source/_includes/availability/yes.html.twig index 5087a3e9..da8cbc6b 100644 --- a/source/_includes/availability/yes.html.twig +++ b/source/_includes/availability/yes.html.twig @@ -1,5 +1,7 @@

- + + + {{ value == 'full' ? 'Currently have available full-time capacity' }} {{ value == 'part' ? 'Currently have available part-time capacity' }} diff --git a/source/_includes/nav.html.twig b/source/_includes/nav.html.twig index 4e5d5dd6..c954766f 100644 --- a/source/_includes/nav.html.twig +++ b/source/_includes/nav.html.twig @@ -1,31 +1,31 @@

diff --git a/source/_includes/posts/latest.html.twig b/source/_includes/posts/latest.html.twig index 16cf9b34..9c8e31f7 100644 --- a/source/_includes/posts/latest.html.twig +++ b/source/_includes/posts/latest.html.twig @@ -2,17 +2,17 @@
Latest blog posts
- +
+
+ {% endfor %} {% endif %} diff --git a/source/_includes/talks-table.html.twig b/source/_includes/talks-table.html.twig index 939cda7c..45add50a 100644 --- a/source/_includes/talks-table.html.twig +++ b/source/_includes/talks-table.html.twig @@ -68,7 +68,10 @@ class="button is-primary" title="Read or leave feedback for this talk" > - joind.in + + joind.in {% endif %} diff --git a/source/contact.html.twig b/source/contact.html.twig index 474c785c..1197c0e9 100644 --- a/source/contact.html.twig +++ b/source/contact.html.twig @@ -7,29 +7,39 @@ use: [posts]

To send me an email, complete the form below.

-
+
- +
+ +
-