forked from zammer/Dino_Pairs
-
Notifications
You must be signed in to change notification settings - Fork 12
/
ribbon.css
145 lines (124 loc) · 3.99 KB
/
ribbon.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
.ribbon-holder {
position: absolute;
overflow: hidden;
height: 10em;
top: 0;
}
.right.ribbon-holder {
right: 0;
}
.left.ribbon-holder {
left: 0;
}
.ribbon, .ribbon:hover {
text-decoration: none !important;
}
.ribbon {
font-family: "Open Sans", sans-serif;
letter-spacing: -.1px;
opacity: 0.95;
padding: 0.25em 0;
position: relative;
display: block;
top: 3em;
/* Defaults friendly for white pages. */
-webkit-box-shadow: 0 0 5px #333;
-moz-box-shadow: 0 0 5px #333;
-ms-box-shadow: 0 0 5px #333;
-o-box-shadow: 0 0 5px #3338;
box-shadow: 0 0 5px #333;
color: #FFF;
}
.ribbon .text {
padding: 0.1em 3em;
}
.right .ribbon {
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
right: -3em;
}
.left .ribbon {
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform: rotate(-45deg);
left: -2.5em;
}
.white.ribbon {
color: #111;
background-color: #F5F5F5;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f3f3f3), color-stop(100%,#ffffff));
background: -webkit-linear-gradient(top, #f3f3f3 0%,#ffffff 100%);
background: -moz-linear-gradient(top, #f3f3f3 0%, #ffffff 100%);
background: -ms-linear-gradient(top, #f3f3f3 0%,#ffffff 100%);
background: -o-linear-gradient(top, #f3f3f3 0%,#ffffff 100%);
background: linear-gradient(top, #f3f3f3 0%,#ffffff 100%);
-webkit-box-shadow: 0 0 13px #999;
-moz-box-shadow: 0 0 13px #999;
-ms-box-shadow: 0 0 13px #999;
-o-box-shadow: 0 0 13px #999;
box-shadow: 0 0 13px #999;
text-shadow: 0 0 .05em;
}
.white.ribbon .text {
border: 1px solid #cecece;
}
.red.ribbon {
background-color: #9a0000;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9a0000), color-stop(100%,#a90000));
background: -webkit-linear-gradient(top, #9a0000 0%,#a90000 100%);
background: -moz-linear-gradient(top, #9a0000 0%, #a90000 100%);
background: -ms-linear-gradient(top, #9a0000 0%,#a90000 100%);
background: -o-linear-gradient(top, #9a0000 0%,#a90000 100%);
background: linear-gradient(top, #9a0000 0%,#a90000 100%);
}
.red.ribbon .text {
border: 1px solid #bf6060;
}
.green.ribbon {
background-color: #006e00;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#006e00), color-stop(100%,#007200));
background: -webkit-linear-gradient(top, #006e00 0%,#007200 100%);
background: -moz-linear-gradient(top, #006e00 0%, #007200 100%);
background: -ms-linear-gradient(top, #006e00 0%,#007200 100%);
background: -o-linear-gradient(top, #006e00 0%,#007200 100%);
background: linear-gradient(top, #006e00 0%,#007200 100%);
}
.green.ribbon .text {
border: 1px solid #6bac6b;
}
.darkblue.ribbon {
background-color: #121621;
color: #ecedee;
}
.darkblue.ribbon .text {
border: 1px solid #53565e;
}
.orange.ribbon {
background-color: #E57504;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dc7202), color-stop(100%,#ee7906));
background: -webkit-linear-gradient(top, #dc7202 0%,#ee7906 100%);
background: -moz-linear-gradient(top, #dc7202 0%, #ee7906 100%);
background: -ms-linear-gradient(top, #dc7202 0%,#ee7906 100%);
background: -o-linear-gradient(top, #dc7202 0%,#ee7906 100%);
background: linear-gradient(top, #dc7202 0%,#ee7906 100%);
}
.orange.ribbon .text {
border: 1px solid #ebaa65;
}
.gray.ribbon {
background-color: #6d6d6d;
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6a6a6a), color-stop(100%,#6d6d6d));
background: -webkit-linear-gradient(top, #6a6a6a 0%,#6d6d6d 100%);
background: -moz-linear-gradient(top, #6a6a6a 0%, #6d6d6d 100%);
background: -ms-linear-gradient(top, #6a6a6a 0%,#6d6d6d 100%);
background: -o-linear-gradient(top, #6a6a6a 0%,#6d6d6d 100%);
background: linear-gradient(top, #6a6a6a 0%,#6d6d6d 100%);
}
.gray.ribbon .text {
border: 1px solid #a4a4a4;
}