Created
October 12, 2015 12:17
-
-
Save thesunwave/c5b8108f386d5b40eca3 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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
// ---- | |
// Sass (v3.4.14) | |
// Compass (v1.0.3) | |
// ---- | |
@import "compass" | |
.contest | |
&__header | |
&__active | |
position: relative | |
padding: 30px | |
border: 2px solid #e6ded1 | |
&__buttons | |
position: absolute | |
top: -36px | |
right: 0 | |
font: 500 18px/1 DINPro, Arial, sans-serif | |
text-transform: uppercase | |
&__last | |
@-moz-document url-prefix() | |
font-size: 0 | |
.button | |
display: inline-block | |
color: #FFF | |
padding: 9px 25px 7px | |
margin-right: 15px | |
text-decoration: none | |
&__orange | |
+filter-gradient(#ffa200, #ffb800, vertical) | |
background-color: #ffb100 | |
$experimental-support-for-svg: true | |
+background-image(linear-gradient(top, #ffa200 0%, #fc9a00 28%, #eb9300 47%, #ea9400 53%, #ed9700 59%, #f9ac00 72%, #ffbe00 84%, #ffbe00 94%, #ffb800 100%)) | |
&__blue | |
+filter-gradient(#00408a, #004697, vertical) | |
background-color: #00408a | |
$experimental-support-for-svg: true | |
+background-image(linear-gradient(top, #00408a 0%, #003878 25%, #003775 34%, #003777 47%, #003b80 56%, #003e87 59%, #0050ae 72%, #0058bc 78%, #0055b8 84%, #00489b 97%, #004697 100%)) | |
.active | |
&__head | |
min-height: 65px | |
&__header | |
font: bold 40px/1 DINPro, Arial, sans-serif | |
&--small | |
font: bold 19px/3 Arial, sans-serif | |
font-style: italic | |
&__image | |
position: relative | |
.active__badge | |
position: absolute | |
bottom: 4px | |
right: 1px | |
@media screen and (max-width: 1280px) | |
right: 0 | |
&__badge | |
font: normal 20px/1 DINPro, Arial, sans-serif | |
background-color: #004390 | |
color: #FFF | |
.italic | |
font-style: italic | |
strong | |
font-size: 25px | |
font-weight: bold | |
&--big | |
padding: 20px 30px | |
&--small | |
padding: 7px | |
&__list | |
font-size: 0 | |
text-align: justify | |
&__item | |
display: inline-block | |
position: relative | |
margin-right: 1.59717333% | |
height: 135px | |
@media screen and (max-width: 1280px) | |
margin-right: 1% | |
width: 117px | |
height: 117px | |
.active__badge | |
position: absolute | |
bottom: 0 | |
left: 0 | |
font: bold 16px/1 DINPro, Arial, sans-serif | |
&:last-child | |
margin-right: 0 | |
.last | |
&__item | |
display: inline-block | |
font-size: 0 | |
padding: 15px | |
margin-bottom: 15px | |
margin-right: 1.4% | |
border: 1px solid #e6ded1 | |
width: 44.996% | |
vertical-align: top | |
@media screen and (max-width: 1280px) | |
width: 44.293333333% | |
&:nth-child(2n) | |
margin-right: 0 | |
@-moz-document url-prefix() | |
margin-right: 1.85% | |
a | |
text-decoration: none | |
&-item | |
&__head | |
display: table-cell | |
vertical-align: middle | |
&__description | |
display: table | |
box-sizing: border-box | |
font: bold 18px/1 Arial, sans-serif | |
background: #f2eee8 | |
color: #444444 | |
padding: 5px 10px | |
margin-top: 5px | |
width: 100% | |
height: 38px | |
text-transform: uppercase | |
.header | |
&__head | |
font: bold 24px/3.3 Arial, sans-serif | |
color: #8d8984 | |
&__select | |
display: inline-block | |
background-color: #ffb100 | |
color: #FFF | |
padding: 0px 7px 4px | |
border-radius: 5px | |
border-radius: 15px | |
.image | |
&__contest | |
&--big | |
width: 100% | |
max-width: 720px | |
&--small | |
width: 100% | |
max-width: 135px | |
&--medium | |
width: 100% | |
max-width: 354px |
This file contains hidden or 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
.contest__active { position: relative; padding: 30px; border: 2px solid #e6ded1; } | |
.contest__buttons { position: absolute; top: -36px; right: 0; font: 500 18px/1 DINPro, Arial, sans-serif; text-transform: uppercase; } | |
@-moz-document url-prefix() { .contest__last { font-size: 0; } } | |
.contest .button { display: inline-block; color: #FFF; padding: 9px 25px 7px; margin-right: 15px; text-decoration: none; } | |
.contest .button__orange { *zoom: 1; filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FFFFA200', endColorstr='#FFFFB800'); background-color: #ffb100; background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmYTIwMCIvPjxzdG9wIG9mZnNldD0iMjglIiBzdG9wLWNvbG9yPSIjZmM5YTAwIi8+PHN0b3Agb2Zmc2V0PSI0NyUiIHN0b3AtY29sb3I9IiNlYjkzMDAiLz48c3RvcCBvZmZzZXQ9IjUzJSIgc3RvcC1jb2xvcj0iI2VhOTQwMCIvPjxzdG9wIG9mZnNldD0iNTklIiBzdG9wLWNvbG9yPSIjZWQ5NzAwIi8+PHN0b3Agb2Zmc2V0PSI3MiUiIHN0b3AtY29sb3I9IiNmOWFjMDAiLz48c3RvcCBvZmZzZXQ9Ijg0JSIgc3RvcC1jb2xvcj0iI2ZmYmUwMCIvPjxzdG9wIG9mZnNldD0iOTQlIiBzdG9wLWNvbG9yPSIjZmZiZTAwIi8+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjZmZiODAwIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmFkKSIgLz48L3N2Zz4g'); background-size: 100%; background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffa200), color-stop(28%, #fc9a00), color-stop(47%, #eb9300), color-stop(53%, #ea9400), color-stop(59%, #ed9700), color-stop(72%, #f9ac00), color-stop(84%, #ffbe00), color-stop(94%, #ffbe00), color-stop(100%, #ffb800)); background-image: -moz-linear-gradient(top, #ffa200 0%, #fc9a00 28%, #eb9300 47%, #ea9400 53%, #ed9700 59%, #f9ac00 72%, #ffbe00 84%, #ffbe00 94%, #ffb800 100%); background-image: -webkit-linear-gradient(top, #ffa200 0%, #fc9a00 28%, #eb9300 47%, #ea9400 53%, #ed9700 59%, #f9ac00 72%, #ffbe00 84%, #ffbe00 94%, #ffb800 100%); background-image: linear-gradient(to bottom, #ffa200 0%, #fc9a00 28%, #eb9300 47%, #ea9400 53%, #ed9700 59%, #f9ac00 72%, #ffbe00 84%, #ffbe00 94%, #ffb800 100%); } | |
.contest .button__blue { *zoom: 1; filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FF00408A', endColorstr='#FF004697'); background-color: #00408a; background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwNDA4YSIvPjxzdG9wIG9mZnNldD0iMjUlIiBzdG9wLWNvbG9yPSIjMDAzODc4Ii8+PHN0b3Agb2Zmc2V0PSIzNCUiIHN0b3AtY29sb3I9IiMwMDM3NzUiLz48c3RvcCBvZmZzZXQ9IjQ3JSIgc3RvcC1jb2xvcj0iIzAwMzc3NyIvPjxzdG9wIG9mZnNldD0iNTYlIiBzdG9wLWNvbG9yPSIjMDAzYjgwIi8+PHN0b3Agb2Zmc2V0PSI1OSUiIHN0b3AtY29sb3I9IiMwMDNlODciLz48c3RvcCBvZmZzZXQ9IjcyJSIgc3RvcC1jb2xvcj0iIzAwNTBhZSIvPjxzdG9wIG9mZnNldD0iNzglIiBzdG9wLWNvbG9yPSIjMDA1OGJjIi8+PHN0b3Agb2Zmc2V0PSI4NCUiIHN0b3AtY29sb3I9IiMwMDU1YjgiLz48c3RvcCBvZmZzZXQ9Ijk3JSIgc3RvcC1jb2xvcj0iIzAwNDg5YiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzAwNDY5NyIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=='); background-size: 100%; background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #00408a), color-stop(25%, #003878), color-stop(34%, #003775), color-stop(47%, #003777), color-stop(56%, #003b80), color-stop(59%, #003e87), color-stop(72%, #0050ae), color-stop(78%, #0058bc), color-stop(84%, #0055b8), color-stop(97%, #00489b), color-stop(100%, #004697)); background-image: -moz-linear-gradient(top, #00408a 0%, #003878 25%, #003775 34%, #003777 47%, #003b80 56%, #003e87 59%, #0050ae 72%, #0058bc 78%, #0055b8 84%, #00489b 97%, #004697 100%); background-image: -webkit-linear-gradient(top, #00408a 0%, #003878 25%, #003775 34%, #003777 47%, #003b80 56%, #003e87 59%, #0050ae 72%, #0058bc 78%, #0055b8 84%, #00489b 97%, #004697 100%); background-image: linear-gradient(to bottom, #00408a 0%, #003878 25%, #003775 34%, #003777 47%, #003b80 56%, #003e87 59%, #0050ae 72%, #0058bc 78%, #0055b8 84%, #00489b 97%, #004697 100%); } | |
.active__head { min-height: 65px; } | |
.active__header { font: bold 40px/1 DINPro, Arial, sans-serif; } | |
.active__header--small { font: bold 19px/3 Arial, sans-serif; font-style: italic; } | |
.active__image { position: relative; } | |
.active__image .active__badge { position: absolute; bottom: 4px; right: 1px; } | |
@media screen and (max-width: 1280px) { .active__image .active__badge { right: 0; } } | |
.active__badge { font: normal 20px/1 DINPro, Arial, sans-serif; background-color: #004390; color: #FFF; } | |
.active__badge .italic { font-style: italic; } | |
.active__badge strong { font-size: 25px; font-weight: bold; } | |
.active__badge--big { padding: 20px 30px; } | |
.active__badge--small { padding: 7px; } | |
.active__list { font-size: 0; text-align: justify; } | |
.active__item { display: inline-block; position: relative; margin-right: 1.59717%; height: 135px; } | |
@media screen and (max-width: 1280px) { .active__item { margin-right: 1%; width: 117px; height: 117px; } } | |
.active__item .active__badge { position: absolute; bottom: 0; left: 0; font: bold 16px/1 DINPro, Arial, sans-serif; } | |
.active__item:last-child { margin-right: 0; } | |
.last__item { display: inline-block; font-size: 0; padding: 15px; margin-bottom: 15px; margin-right: 1.4%; border: 1px solid #e6ded1; width: 44.996%; vertical-align: top; } | |
@media screen and (max-width: 1280px) { .last__item { width: 44.29333%; } } | |
.last__item:nth-child(2n) { margin-right: 0; } | |
@-moz-document url-prefix() { .last__item { margin-right: 1.85%; } } | |
.last__item a { text-decoration: none; } | |
.last-item__head { display: table-cell; vertical-align: middle; } | |
.last__description { display: table; box-sizing: border-box; font: bold 18px/1 Arial, sans-serif; background: #f2eee8; color: #444444; padding: 5px 10px; margin-top: 5px; width: 100%; height: 38px; text-transform: uppercase; } | |
.header__head { font: bold 24px/3.3 Arial, sans-serif; color: #8d8984; } | |
.header__select { display: inline-block; background-color: #ffb100; color: #FFF; padding: 0px 7px 4px; border-radius: 5px; border-radius: 15px; } | |
.image__contest--big { width: 100%; max-width: 720px; } | |
.image__contest--small { width: 100%; max-width: 135px; } | |
.image__contest--medium { width: 100%; max-width: 354px; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment