Last active
September 23, 2015 14:44
-
-
Save Pickra/36777b40ba90e6b1d622 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
$categories: ( | |
arts-and-media: ( | |
color: green | |
), | |
business: ( | |
color: purple | |
), | |
human-services: ( | |
color: pink | |
), | |
government-and-law: ( | |
color: cyan | |
), | |
stem-and-medicine: ( | |
color: orange | |
) | |
); | |
@each $item, $color in $categories { | |
.#{$item}-category { | |
background-color: #FFF; | |
border: 0.5vw solid map-get(map-get($categories, $item), color); | |
border-radius: 50%; | |
height: 22.5vw; | |
width: 22.5vw; | |
padding: 4vw 1vw 0; | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.arts-and-media-category { | |
background-color: #FFF; | |
border: 0.5vw solid green; | |
border-radius: 50%; | |
height: 22.5vw; | |
width: 22.5vw; | |
padding: 4vw 1vw 0; | |
} | |
.business-category { | |
background-color: #FFF; | |
border: 0.5vw solid purple; | |
border-radius: 50%; | |
height: 22.5vw; | |
width: 22.5vw; | |
padding: 4vw 1vw 0; | |
} | |
.human-services-category { | |
background-color: #FFF; | |
border: 0.5vw solid pink; | |
border-radius: 50%; | |
height: 22.5vw; | |
width: 22.5vw; | |
padding: 4vw 1vw 0; | |
} | |
.government-and-law-category { | |
background-color: #FFF; | |
border: 0.5vw solid cyan; | |
border-radius: 50%; | |
height: 22.5vw; | |
width: 22.5vw; | |
padding: 4vw 1vw 0; | |
} | |
.stem-and-medicine-category { | |
background-color: #FFF; | |
border: 0.5vw solid orange; | |
border-radius: 50%; | |
height: 22.5vw; | |
width: 22.5vw; | |
padding: 4vw 1vw 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment