-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathawwwards.css
110 lines (83 loc) · 2.05 KB
/
awwwards.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
/* --- Awwwards Ribbons --- */
/* Base */
#awwwards {
position:absolute;
top:100px;
z-index:300000000000000;
}
/* Left */
#awwwards.left {
left:0;
}
/* Right */
#awwwards.right {
right:0;
}
/* Link */
#awwwards a {
display:block;
width:70px;
height:105px;
text-indent:-8000px;
background-repeat:no-repeat;
background-position: 0 0;
overflow:hidden;
}
/* Black */
#awwwards.left.black a {
background-image:url('ribbons/awwwards_sotd_black_left.png');
}
#awwwards.right.black a {
background-image:url('ribbons/awwwards_sotd_black_right.png');
}
/* White */
#awwwards.left.white a {
background-image:url('ribbons/awwwards_sotd_white_left.png');
}
#awwwards.right.white a {
background-image:url('ribbons/awwwards_sotd_white_right.png');
}
/* Green */
#awwwards.left.green a {
background-image:url('ribbons/awwwards_sotd_green_left.png');
}
#awwwards.right.green a {
background-image:url('ribbons/awwwards_sotd_green_right.png');
}
/* MEDIA QUERIES */
/* Retina Displays */
/* Target any device with retina display (ie iPad 3 and MacBook Pro) */
@media
only screen and (-Webkit-min-device-pixel-ratio: 1.5),
only screen and (-moz-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min-device-pixel-ratio: 1.5) {
#awwwards a {
-moz-background-size: 70px 105px;
-ie-background-size:70px 105px;
-o-background-size:70px 105px;
-webkit-background-size:70px 105px;
background-size:70px 105px;
}
/* Gray */
#awwwards.left.black a {
background-image:url('ribbons/awwwards_sotd_black_left2x.png');
}
#awwwards.right.black a {
background-image:url('ribbons/awwwards_sotd_black_right2x.png');
}
/* White */
#awwwards.left.white a {
background-image:url('ribbons/awwwards_sotd_white_left2x.png');
}
#awwwards.right.white a {
background-image:url('ribbons/awwwards_sotd_white_right2x.png');
}
/* Green */
#awwwards.left.green a {
background-image:url('ribbons/awwwards_sotd_green_left2x.png');
}
#awwwards.right.green a {
background-image:url('ribbons/awwwards_sotd_green_right2x.png');
}
}