#catpics2019 https://t.co/HriBNzEWZP
Entries for #1
← first ← previous page 3 of 8 next → last →
Randomized color choices in SASS
For a bit of variety, I decided to figure out how to generate a new front page header background and link colors whenever I rebuilt the blog (new posts, etc). This is still a static site, so no wizzy javascript stuff, I just wanted to do it in SASS.
This is what I came up with.
```sass $colors-list: ( // background color, link color #DAE076 #AD5C55 #A9C9C5 #4A676D #AD5C55 #5E7D68 #374768 #718A8A, ); $color-index: random(length($colors-list));
// Header description box
$colors: nth($colors-list, $color-index);
$header-desc-background-color: nth($colors, 1);
// Link color
$link-color: nth($colors, 2);
```
I may rework this as a map (dictionary) later on so I can add other theme-y things, but it was kinda fun to work out for now.
RT @srhbutts #StopGamerGate2014
the "beat up sarkeesian" game guy is welcome in #gamergate because he "did nothing wrong." http://t.co/j…
She has experienced the typical belittling of female gamers, and wants to start speaking out. Proud of her #StopGamerGate2014
RT @TinaGillmor: @steveivy Watch G3 Episode #21 when we post probably on Sunday. http://t.co/Ro64H9nGo1. is a regular topic for us. @Halle…
RT @SecretGamerGrrl #StopGamerGate2014 because they've spent years at this http://t.co/sgx0UJN6Vn and plan to spread it around like this h…
RT @tortoiseontour #StopGamerGate2014 because this is what the owner of 8chan has to say about doxxing: http://t.co/ARVJmVjPJA
RT @nrrrdcore #GHC14 here is a panel that would have actually benefitted women: @adriarichards, @leighalexander, Kathy Sierra, @femfreq, &…
what would Russia or pro-Russian separatists in Ukraine gain from shooting down #MH17? No one seems to be asking.
Just saw twin teen sisters riding a tandem bike, the trailing one texting with both hands while the other steered #2013
← first ← previous page 3 of 8 next → last →