diff --git a/config.yaml b/config.yaml index f904dfb..ec9108e 100644 --- a/config.yaml +++ b/config.yaml @@ -54,6 +54,7 @@ enableEmoji: true params: # Background image of the landing page background: /images/site/background2.jpg + hero-background: /images/site/white-bg.jpg # Provide logos for your site. The inverted logo will be used in the initial # transparent navbar and the main logo will be used in the non-transparent navbar. diff --git a/content/posts/category/devrel/live-streaming-development/images/livestream.png b/content/posts/category/devrel/live-streaming-development/images/livestream.png new file mode 100644 index 0000000..3f51b0f Binary files /dev/null and b/content/posts/category/devrel/live-streaming-development/images/livestream.png differ diff --git a/content/posts/category/devrel/live-streaming-development/index.de.md b/content/posts/category/devrel/live-streaming-development/index.de.md new file mode 100644 index 0000000..37ec8b0 --- /dev/null +++ b/content/posts/category/devrel/live-streaming-development/index.de.md @@ -0,0 +1,34 @@ +--- +Title: "Live Streaming Development" +Date: 2021-04-30 +Author: davidgs +Category: DevRel, General +Tags: Live-streaming, Twitch.tv, IoT +Slug: live-streaming-development +hero: images/livestream.png +--- + +Ich arbeite in diesem Quartal an diesem massiven IoT-Projekt (Sie können [darüber lesen](/posts/category/camunda/iot-project), wenn Sie interessiert sind), das ein großer Hardware-Build sein wird, viel Software und eine Reihe von [Camunda Platform BPMN] (https://camunda.com?ref=davidgsiot). Ich habe noch nie wirklich live gestreamt, weil, weißt du, wer will mir dabei zusehen, wie ich dummes Zeug mache? + +## Liveübertragung! + +Meine Freundin [Rain](https://twitter.com/rainleander) begann sich mit IoT-Hardware und -Software zu beschäftigen, also bot ich ihr an, ihr zu zeigen, was ich tat, und ein Livestream wurde geboren! + +Wir haben uns entschlossen, jeden Freitag um 8:30 Uhr EDT live zu gehen und uns mit diesem Hardware- und Software-Build zu beschäftigen. Hier ist unser aktueller Zeitplan: + +| Datum | Thema | Link | +| ------ | ------- | ------ | +| 4. April 2021 | Hardware-Aufbau | [Wiederholung](https://www.twitch.tv/videos/1005977038) | +| 7. Mai 2021 | Software für einen Sensor | [live ansehen](https://twitch.tv/davidgsiot) | +| 14. Mai 2021 | Hardware-Hacking | [live ansehen](https://twitch.tv/davidgsiot) | +| 21. Mai 2021 | Software-Hacking | [live ansehen](https://twitch.tv/davidgsiot) | +| 28. Mai 2021 | Hardware-Anschlüsse | [live ansehen](https://twitch.tv/davidgsiot) | +| 4. Juni 2021 | Software-Tricks | [live ansehen](https://twitch.tv/davidgsiot) | +| 11. Juni 2021 | Hardware-Build | [live ansehen](https://twitch.tv/davidgsiot) | +| 18. Juni 2021 | Wieder Software! | [live ansehen](https://twitch.tv/davidgsiot) | + +Wir machen eine Pause für die Woche vom 25. Juni, während ich am Strand liege, und ich werde danach einen neuen Zeitplan veröffentlichen. + +## Wir sind super beliebt + +Bei unserem ersten Livestream sahen wir insgesamt 0 (null, null, nada, niemand), aber wir hatten ein paar Leute, die sich die Wiederholung anschauten. Fühlen Sie sich also frei, uns zuzusehen, wie wir herumalbern und ein paar grundlegende IoT-Sachen machen. diff --git a/content/posts/category/devrel/live-streaming-development/index.en.md b/content/posts/category/devrel/live-streaming-development/index.en.md new file mode 100644 index 0000000..9742e07 --- /dev/null +++ b/content/posts/category/devrel/live-streaming-development/index.en.md @@ -0,0 +1,34 @@ +--- +Title: "Live Streaming Development" +Date: 2021-04-30 +Author: davidgs +Category: DevRel, General +Tags: Live-streaming, Twitch.tv, IoT +Slug: live-streaming-development +hero: images/livestream.png +--- + +I'm working on this massive IoT project this quarter (you can [read about it](/posts/category/camunda/iot-project) if you're interested) which is going to be a big hardware build, lots of software, and a bunch of [Camunda Platform BPMN](https://camunda.com?ref=davidgsiot). I've never really live-streamed before because, you know, who wants to watch me do stupid stuff? + +## Live Stream! + +My friend [Rain](https://twitter.com/rainleander) was starting to dabble in IoT hardware and software, so I offered to show her what I was doing, and a livestream was born! + +We've decided to go live every Friday at 8:30am EDT and bang away at this hardware and software build. Here's our current schedule: + +| Date | Topic | Link | +|------|-------|------| +| April 4, 2021| Hardware building | [replay](https://www.twitch.tv/videos/1005977038) | +| May 7, 2021 | Software for a sensor | [watch live](https://twitch.tv/davidgsiot) | +| May 14, 2021 | Hardware Hacking | [watch live](https://twitch.tv/davidgsiot) | +| May 21, 2021 | Software Hacking | [watch live](https://twitch.tv/davidgsiot) | +| May 28, 2021 | Hardware Hookups | [watch live](https://twitch.tv/davidgsiot) | +| June 4, 2021 | Software Tricks | [watch live](https://twitch.tv/davidgsiot) | +| June 11, 2021 | Hardware build | [watch live](https://twitch.tv/davidgsiot) | +| June 18, 2021 | Software again! | [watch live](https://twitch.tv/davidgsiot) | + +We will take a break for the week of June 25th while I go lie on a beach, and I'll post a new schedule after that. + +## We're super popular + +On our first livestream we had a grand total of 0 (zero, nil, nada, no one) watching, but we've had a few folks go watch the replay. So feel freem to come watch us goof around and do some basic IoT stuff. \ No newline at end of file diff --git a/content/posts/category/devrel/live-streaming-development/index.es.md b/content/posts/category/devrel/live-streaming-development/index.es.md new file mode 100644 index 0000000..9a019f5 --- /dev/null +++ b/content/posts/category/devrel/live-streaming-development/index.es.md @@ -0,0 +1,34 @@ +--- +Title: "Live Streaming Development" +Date: 2021-04-30 +Author: davidgs +Category: DevRel, General +Tags: Live-streaming, Twitch.tv, IoT +Slug: live-streaming-development +hero: images/livestream.png +--- + +Estoy trabajando en este proyecto masivo de IoT este trimestre (puede [leer sobre él](/posts/category/camunda/iot-project) si está interesado) que será una gran construcción de hardware, mucho software y un montón de [Camunda Platform BPMN] (https://camunda.com?ref=davidgsiot). Nunca antes había transmitido en vivo porque, ya sabes, ¿quién quiere verme hacer cosas estúpidas? + +## Transmisión en vivo! + +Mi amiga [Rain](https://twitter.com/rainleander) estaba empezando a incursionar en el hardware y software de IoT, así que le ofrecí mostrarle lo que estaba haciendo, ¡y nació una transmisión en vivo! + +Decidimos poner en marcha todos los viernes a las 8:30 a. M. EDT y aprovechar esta compilación de hardware y software. Aquí está nuestro horario actual: + +| Fecha | Tema | Enlace | +| ------ | ------- | ------ | +| 4 de abril de 2021 | Construcción de hardware | [reproducción](https://www.twitch.tv/videos/1005977038) | +| 7 de mayo de 2021 | Software para un sensor | [ver en vivo](https://twitch.tv/davidgsiot) | +| 14 de mayo de 2021 | Piratería de hardware | [ver en vivo](https://twitch.tv/davidgsiot) | +| 21 de mayo de 2021 | Piratería de software | [ver en vivo](https://twitch.tv/davidgsiot) | +| 28 de mayo de 2021 | Conexiones de hardware | [ver en vivo](https://twitch.tv/davidgsiot) | +| 4 de junio de 2021 | Trucos de software | [ver en vivo](https://twitch.tv/davidgsiot) | +| 11 de junio de 2021 | Construcción de hardware | [ver en vivo](https://twitch.tv/davidgsiot) | +| 18 de junio de 2021 | ¡Software de nuevo! | [ver en vivo](https://twitch.tv/davidgsiot) | + +Tomaremos un descanso durante la semana del 25 de junio mientras yo voy a la playa y luego publicaré un nuevo horario. + +## Somos super populares + +En nuestra primera transmisión en vivo, tuvimos un total de 0 (cero, nada, nada, nadie) viendo, pero algunas personas fueron a ver la repetición. Así que siéntase libre de venir a vernos jugar y hacer algunas cosas básicas de IoT. diff --git a/content/posts/category/devrel/live-streaming-development/index.fr.md b/content/posts/category/devrel/live-streaming-development/index.fr.md new file mode 100644 index 0000000..1111ac0 --- /dev/null +++ b/content/posts/category/devrel/live-streaming-development/index.fr.md @@ -0,0 +1,34 @@ +--- +Title: "Live Streaming Development" +Date: 2021-04-30 +Author: davidgs +Category: DevRel, General +Tags: Live-streaming, Twitch.tv, IoT +Slug: live-streaming-development +hero: images/livestream.png +--- + +Je travaille sur cet énorme projet IoT ce trimestre (vous pouvez [lire à ce sujet](/posts/category/camunda/iot-project) si vous êtes intéressé) qui va être une grosse construction matérielle, beaucoup de logiciels , et un tas de [Camunda Platform BPMN] (https://camunda.com?ref=davidgsiot). Je n'ai jamais vraiment diffusé en direct auparavant parce que, vous savez, qui veut me regarder faire des trucs stupides? + +## Direct! + +Mon amie [Rain](https://twitter.com/rainleander) commençait à s'intéresser au matériel et aux logiciels IoT, alors j'ai proposé de lui montrer ce que je faisais, et un livestream est né! + +Nous avons décidé de mettre en ligne tous les vendredis à 8h30 HAE et de nous lancer dans cette version matérielle et logicielle. Voici notre calendrier actuel: + +| Date | Sujet | Lien | +| ------ | ------- | ------ | +| 4 avril 2021 | Construction de matériel | [relecture](https://www.twitch.tv/videos/1005977038) | +| 7 mai 2021 | Logiciel pour un capteur | [regarder en direct](https://twitch.tv/davidgsiot) | +| 14 mai 2021 | Piratage de matériel | [regarder en direct](https://twitch.tv/davidgsiot) | +| 21 mai 2021 | Piratage de logiciels | [regarder en direct](https://twitch.tv/davidgsiot) | +| 28 mai 2021 | Connexions matérielles | [regarder en direct](https://twitch.tv/davidgsiot) | +| 4 juin 2021 | Trucs logiciels | [regarder en direct](https://twitch.tv/davidgsiot) | +| 11 juin 2021 | Construction de matériel | [regarder en direct](https://twitch.tv/davidgsiot) | +| 18 juin 2021 | Logiciel à nouveau! | [regarder en direct](https://twitch.tv/davidgsiot) | + +Nous allons faire une pause pour la semaine du 25 juin pendant que je vais m'allonger sur une plage, et je posterai un nouvel horaire après cela. + +## Nous sommes très populaires + +Lors de notre premier livestream, nous avons eu un total de 0 (zéro, nul, nada, personne) à regarder, mais quelques personnes ont regardé la rediffusion. Alors n'hésitez pas à venir nous regarder faire des bêtises et faire des trucs de base sur l'IoT. diff --git a/content/posts/category/devrel/live-streaming-development/index.nl.md b/content/posts/category/devrel/live-streaming-development/index.nl.md new file mode 100644 index 0000000..2ba1fc0 --- /dev/null +++ b/content/posts/category/devrel/live-streaming-development/index.nl.md @@ -0,0 +1,34 @@ +--- +Title: "Live Streaming Development" +Date: 2021-04-30 +Author: davidgs +Category: DevRel, General +Tags: Live-streaming, Twitch.tv, IoT +Slug: live-streaming-development +hero: images/livestream.png +--- + +Ik werk dit kwartaal aan dit enorme IoT-project (je kunt [erover lezen](/posts/category/camunda/iot-project) als je geïnteresseerd bent) dat een grote hardware-build gaat worden, veel software , en een heleboel [Camunda Platform BPMN] (https://camunda.com?ref=davidgsiot). Ik heb nog nooit echt live gestreamd, want, weet je, wie wil me domme dingen zien doen? + +## Livestream! + +Mijn vriend [Rain](https://twitter.com/rainleander) begon zich te verdiepen in IoT-hardware en -software, dus ik bood aan haar te laten zien wat ik aan het doen was, en een livestream was geboren! + +We hebben besloten om elke vrijdag om 8.30 uur EDT live te gaan en weg te knallen bij deze hardware- en software-build. Dit is ons huidige schema: + +| Datum | Onderwerp | Link | +| ------ | ------- | ------ | +| 4 april 2021 | Hardware bouwen | [herhaling](https://www.twitch.tv/videos/1005977038) | +| 7 mei 2021 | Software voor een sensor | [bekijk live](https://twitch.tv/davidgsiot) | +| 14 mei 2021 | Hardware hacken | [bekijk live](https://twitch.tv/davidgsiot) | +| 21 mei 2021 | Software hacken | [bekijk live](https://twitch.tv/davidgsiot) | +| 28 mei 2021 | Hardware-aansluitingen | [bekijk live](https://twitch.tv/davidgsiot) | +| 4 juni 2021 | Softwaretrucs | [bekijk live](https://twitch.tv/davidgsiot) | +| 11 juni 2021 | Hardware bouwen | [bekijk live](https://twitch.tv/davidgsiot) | +| 18 juni 2021 | Software weer! | [bekijk live](https://twitch.tv/davidgsiot) | + +We nemen een pauze voor de week van 25 juni terwijl ik op het strand ga liggen, en daarna zal ik een nieuw schema posten. + +## We zijn super populair + +Tijdens onze eerste livestream hadden we een totaal van 0 (nul, nul, nada, niemand) kijken, maar we hebben een paar mensen laten kijken naar de herhaling. Dus voel je vrij om naar ons te kijken en wat basis IoT-dingen te doen. diff --git a/content/posts/category/programming/automating-myself-out-of-a-job/images/alex-knight-2EJCSULRwC8-unsplash-2.jpg b/content/posts/category/programming/automating-myself-out-of-a-job/images/alex-knight-2EJCSULRwC8-unsplash-2.jpg new file mode 100644 index 0000000..7b92ce0 Binary files /dev/null and b/content/posts/category/programming/automating-myself-out-of-a-job/images/alex-knight-2EJCSULRwC8-unsplash-2.jpg differ diff --git a/content/posts/category/programming/automating-myself-out-of-a-job/images/alex-knight-2EJCSULRwC8-unsplash-3.jpg b/content/posts/category/programming/automating-myself-out-of-a-job/images/alex-knight-2EJCSULRwC8-unsplash-3.jpg new file mode 100644 index 0000000..7f8c1a6 Binary files /dev/null and b/content/posts/category/programming/automating-myself-out-of-a-job/images/alex-knight-2EJCSULRwC8-unsplash-3.jpg differ diff --git a/content/posts/category/programming/automating-myself-out-of-a-job/index.en.md b/content/posts/category/programming/automating-myself-out-of-a-job/index.en.md new file mode 100644 index 0000000..c2180bb --- /dev/null +++ b/content/posts/category/programming/automating-myself-out-of-a-job/index.en.md @@ -0,0 +1,14 @@ +--- +title: "Automating Myself Out of a Job" +date: 2021-04-22T08:27:17-04:00 +Author: davidgs +Category: programming +Tags: golang +Slug: automating-myself-out-of-a-job +hero: images/alex-knight-2EJCSULRwC8-unsplash-2.jpg +draft: true +--- + +![A small white Robot looking up at you](/posts/category/programming/automating-myself-out-of-a-job/images/alex-knight-2EJCSULRwC8-unsplash-2.jpg) +Photo by [Alex Knight](https://unsplash.com/@agk42?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/s/photos/automation?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) + diff --git a/deploy b/deploy index 64b3e7d..e4834ad 100755 --- a/deploy +++ b/deploy @@ -4,4 +4,4 @@ USER=davidgs HOST=davidgs.com DIR=www -hugo && rsync -avz public/ ${USER}@${HOST}:~/${DIR} +hugo --minify && rsync -avz public/ ${USER}@${HOST}:~/${DIR} diff --git a/themes/davidgs/layouts/_default/single copy.html b/themes/davidgs/layouts/_default/single copy.html index 1751c09..0065350 100644 --- a/themes/davidgs/layouts/_default/single copy.html +++ b/themes/davidgs/layouts/_default/single copy.html @@ -35,7 +35,7 @@
-
+
diff --git a/themes/davidgs/layouts/_default/single.html b/themes/davidgs/layouts/_default/single.html index 8201b1a..491b6b9 100644 --- a/themes/davidgs/layouts/_default/single.html +++ b/themes/davidgs/layouts/_default/single.html @@ -6,6 +6,7 @@ /> + {{ end }} {{ define "navbar" }} @@ -46,9 +47,9 @@ .heroImageStyled { background-image: url('{{ strings.TrimSuffix "/" site.BaseURL }}{{ partial "helpers/get-hero.html" . }}'); } - #cf4a-sm { + /* #cf4a-sm { background-image: url('{{ strings.TrimSuffix "/" site.BaseURL}}{{ "/images/white-bg.jpg" }}') - } + } */
diff --git a/themes/davidgs/layouts/partials/scripts.html b/themes/davidgs/layouts/partials/scripts.html index cbac7e9..419d227 100644 --- a/themes/davidgs/layouts/partials/scripts.html +++ b/themes/davidgs/layouts/partials/scripts.html @@ -4,4 +4,4 @@ - + diff --git a/themes/davidgs/layouts/partials/sections/home.html b/themes/davidgs/layouts/partials/sections/home.html index 7ae39d2..6f0360d 100644 --- a/themes/davidgs/layouts/partials/sections/home.html +++ b/themes/davidgs/layouts/partials/sections/home.html @@ -23,16 +23,16 @@ {{ $authorImage:= "/images/default-avatar.png" }} {{ if $author.image }} -{{ $authorImage = $author.image }} + {{ $authorImage = $author.image }} {{ end }} {{ $authorRotation := $author.image }} {{ $scratch := newScratch }} {{ range $num, $pt := $authorRotation }} -{{ $authorImage := resources.Get $pt }} -{{ $authorImage := $authorImage.Fit "148x148" }} -{{ $scratch.Set $num $authorImage }} - + {{ $authorImage := resources.Get $pt }} + {{ $authorImage := $authorImage.Fit "148x148" }} + {{ $scratch.Set $num $authorImage }} {{ end }} +{{ $authorBG := "/images/white-bg.jpg"}} {{/* $authorImage := resources.Get $authorImage */}} {{/* $authorImage := $authorImage.Fit "148x148" */}} @@ -119,9 +119,9 @@ } } - #cf4a { - background-image: url('{{ strings.TrimSuffix "/" site.BaseURL}}{{"/images/white-bg.jpg"}}') - } + /* #cf4a { + background-image: url('{{ strings.TrimSuffix "/" site.BaseURL}}{{$authorBG}}') + } */
diff --git a/themes/davidgs/static/css/sections/home.css b/themes/davidgs/static/css/sections/home.css index 9968fed..d04c836 100644 --- a/themes/davidgs/static/css/sections/home.css +++ b/themes/davidgs/static/css/sections/home.css @@ -1,3 +1,5 @@ +/* David's CSS! */ + .home { height: 100vh; padding: 0; @@ -295,7 +297,6 @@ padding: 5px; margin-bottom: 10px; vertical-align: middle; - background-image: url("/images/white-bg.jpg"); } @@ -304,7 +305,6 @@ height: 148px; display: inline-block; margin-left: -126px; - background-image: url("/images/white-bg.jpg"); } /* #cf4a img { position:absolute; @@ -316,13 +316,12 @@ -webkit-animation-timing-function: ease-in-out; -webkit-animation-iteration-count: infinite; -webkit-animation-duration: 8s; - -webkit-background-image: url("/images/white-bg.jpg"); + background-color: white; -moz-animation-name: cf4FadeInOut; -moz-animation-timing-function: ease-in-out; -moz-animation-iteration-count: infinite; -moz-animation-duration: 8s; - -moz-background-image: url("/images/white-bg.jpg"); -o-animation-name: cf4FadeInOut; -o-animation-timing-function: ease-in-out; @@ -333,7 +332,6 @@ animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-duration: 8s; - background-image: url("/images/white-bg.jpg"); } #cf4a img:nth-of-type(1) { @@ -341,7 +339,7 @@ -moz-animation-delay: 6s; -o-animation-delay: 6s; animation-delay: 6s; - background-image: url("/images/white-bg.jpg"); + background-color: white; } #cf4a img:nth-of-type(2) { @@ -349,7 +347,7 @@ -moz-animation-delay: 4s; -o-animation-delay: 4s; animation-delay: 4s; - background-image: url("/images/white-bg.jpg"); + background-color: white; } #cf4a img:nth-of-type(3) { @@ -357,7 +355,7 @@ -moz-animation-delay: 2s; -o-animation-delay: 2s; animation-delay: 2s; - background-image: url("/images/white-bg.jpg"); + background-color: white; } #cf4a img:nth-of-type(4) { @@ -365,6 +363,6 @@ -moz-animation-delay: 0; -o-animation-delay: 0; animation-delay: 0; - background-image: url("/images/white-bg.jpg"); + background-color: white; } diff --git a/themes/davidgs/static/css/sections/posts.css b/themes/davidgs/static/css/sections/posts.css new file mode 100644 index 0000000..dd4bd34 --- /dev/null +++ b/themes/davidgs/static/css/sections/posts.css @@ -0,0 +1,6 @@ +img { + display: block; + margin: 1.0rem auto; + max-width: 100%; + height: auto; +} \ No newline at end of file diff --git a/themes/davidgs/static/css/style.css b/themes/davidgs/static/css/style.css index e243f58..d46ad58 100644 --- a/themes/davidgs/static/css/style.css +++ b/themes/davidgs/static/css/style.css @@ -1,5 +1,5 @@ /* This is empty CSS file intended to be overwritten by user's custom CSS file */ - +/* This is David's Custom css file! */ /* ============= Device specific fixes ======= */ /* Large screens such as TV */ @@ -123,24 +123,32 @@ width: 120px; height: 120px; display: inline-block; - margin-left: -126px; - background-image: url('{{ strings.TrimSuffix "/" site.BaseURL}}{{"/images/white-bg.jpg"}}'); + /* margin-left: -126px; */ + margin-bottom: 30px; + border-radius: 50%; + background-color: white; + padding-top: -10px; + + border-width: 10px; } #cf4a-sm img { position:absolute; width: 120px; height: 120px; - background-color: #e7e7ef; padding: 5px; margin-bottom: 10px; vertical-align: middle; - background-image: url('{{ strings.TrimSuffix "/" site.BaseURL}}{{"/images/white-bg.jpg"}}'); + background-color: white; + + margin-top: -7px; + } #cf4a-sm img { -webkit-animation-name: cf4FadeInOut; -webkit-animation-timing-function: ease-in-out; -webkit-animation-iteration-count: infinite; -webkit-animation-duration: 8s; + margin-top: -7px; -moz-animation-name: cf4FadeInOut; -moz-animation-timing-function: ease-in-out; @@ -156,35 +164,39 @@ animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-duration: 8s; - background-image: url('{{ strings.TrimSuffix "/" site.BaseURL}}{{"/images/white-bg.jpg"}}'); + background-color: white; } #cf4a-sm img:nth-of-type(1) { -webkit-animation-delay: 6s; -moz-animation-delay: 6s; -o-animation-delay: 6s; animation-delay: 6s; - background-image: url('{{ strings.TrimSuffix "/" site.BaseURL}}{{"/images/white-bg.jpg"}}'); + background-color: white; + margin-top: -7px; } #cf4a-sm img:nth-of-type(2) { -webkit-animation-delay: 4s; -moz-animation-delay: 4s; -o-animation-delay: 4s; animation-delay: 4s; - background-image: url('{{ strings.TrimSuffix "/" site.BaseURL}}{{"/images/white-bg.jpg"}}'); + background-color: white; + margin-top: -7px; } #cf4a-sm img:nth-of-type(3) { -webkit-animation-delay: 2s; -moz-animation-delay: 2s; -o-animation-delay: 2s; animation-delay: 2s; - background-image: url('{{ strings.TrimSuffix "/" site.BaseURL}}{{"/images/white-bg.jpg"}}'); + margin-top: -7px; + background-color: white; } #cf4a-sm img:nth-of-type(4) { -webkit-animation-delay: 0; -moz-animation-delay: 0; -o-animation-delay: 0; animation-delay: 0; - background-image: url('{{ strings.TrimSuffix "/" site.BaseURL}}{{"/images/white-bg.jpg"}}'); + margin-top: -7px; + background-color: white; } #cf4a-sm img { @@ -192,6 +204,7 @@ -webkit-animation-timing-function: ease-in-out; -webkit-animation-iteration-count: infinite; -webkit-animation-duration: 8s; + margin-top: -7px; -moz-animation-name: cf4FadeInOut; -moz-animation-timing-function: ease-in-out; @@ -207,33 +220,37 @@ animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-duration: 8s; - background-image: url('{{ strings.TrimSuffix "/" site.BaseURL}}{{"/images/white-bg.jpg"}}'); + background-color: white; } #cf4a-sm img:nth-of-type(1) { -webkit-animation-delay: 6s; -moz-animation-delay: 6s; -o-animation-delay: 6s; animation-delay: 6s; - background-image: url('{{ strings.TrimSuffix "/" site.BaseURL}}{{"/images/white-bg.jpg"}}'); + margin-top: -7px; + background-color: white; } #cf4a-sm img:nth-of-type(2) { -webkit-animation-delay: 4s; -moz-animation-delay: 4s; -o-animation-delay: 4s; animation-delay: 4s; - background-image: url('{{ strings.TrimSuffix "/" site.BaseURL}}{{"/images/white-bg.jpg"}}'); + margin-top: -7px; + background-color: white; } #cf4a-sm img:nth-of-type(3) { -webkit-animation-delay: 2s; -moz-animation-delay: 2s; -o-animation-delay: 2s; animation-delay: 2s; - background-image: url('{{ strings.TrimSuffix "/" site.BaseURL}}{{"/images/white-bg.jpg"}}'); + margin-top: -7px; + background-color: white; } #cf4a-sm img:nth-of-type(4) { -webkit-animation-delay: 0; -moz-animation-delay: 0; -o-animation-delay: 0; animation-delay: 0; - background-image: url('{{ strings.TrimSuffix "/" site.BaseURL}}{{"/images/white-bg.jpg"}}'); + margin-top: -7px; + background-color: white; }