50 lines
1.5 KiB
Plaintext
50 lines
1.5 KiB
Plaintext
// -*- css -*-
|
|
|
|
@textColor: #fff;
|
|
|
|
@baseColor: #46a546;
|
|
|
|
@startColor: lighten(@baseColor, 15%);
|
|
@endColor: darken(@baseColor, 15%);
|
|
|
|
@borderWidth: 10px;
|
|
@borderColor: darken(@baseColor, 20%);
|
|
|
|
@transparencyColor: #040;
|
|
|
|
body {
|
|
background: @transparencyColor;
|
|
}
|
|
|
|
.icon {
|
|
width: 512px - @borderWidth * 2;
|
|
height: 512px - @borderWidth * 2;
|
|
padding: 0;
|
|
margin: 0;
|
|
|
|
border: solid @borderColor @borderWidth;
|
|
|
|
font-family: "Helvetica Neue";
|
|
font-size: 240px;
|
|
line-height: 466px - @borderWidth * 2;
|
|
|
|
color: @textColor;
|
|
text-shadow: 0px 5px 10px black;
|
|
text-align: center;
|
|
|
|
background-color: mix(@startColor, @endColor, 60%);
|
|
background-image: -moz-linear-gradient(top, @startColor, @endColor); // FF 3.6+
|
|
background-image: -ms-linear-gradient(top, @startColor, @endColor); // IE10
|
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), to(@endColor)); // Safari 4+, Chrome 2+
|
|
background-image: -webkit-linear-gradient(top, @startColor, @endColor); // Safari 5.1+, Chrome 10+
|
|
background-image: -o-linear-gradient(top, @startColor, @endColor); // Opera 11.10
|
|
background-image: linear-gradient(top, @startColor, @endColor); // The standard
|
|
background-repeat: repeat-x;
|
|
|
|
-webkit-border-radius: 80px;
|
|
-moz-border-radius: 80px;
|
|
border-radius: 80px;
|
|
|
|
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@startColor,@endColor)); // IE9 and down
|
|
}
|