-
Notifications
You must be signed in to change notification settings - Fork 0
/
4.css
121 lines (90 loc) · 2.22 KB
/
4.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
/* --- Awwwards Ribbons --- */
/* Base */
#awwwards {
position:absolute;
top:55px;
z-index:9999;
}
/* 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_honorable_black_left.png');
}
#awwwards.right.black a {
background-image:url('ribbons/awwwards_honorable_black_right.png');
}
/* White */
#awwwards.left.white a {
background-image:url('ribbons/awwwards_honorable_white_left.png');
}
#awwwards.right.white a {
background-image:url('ribbons/awwwards_honorable_white_right.png');
}
/* Green */
#awwwards.left.green a {
background-image:url('ribbons/awwwards_honorable_green_left.png');
}
#awwwards.right.green a {
background-image:url('ribbons/awwwards_honorable_green_right.png');
}
/* MEDIA QUERIES */
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
/* hidden */
#awwwards {
display: none;
}
}
/* 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_honorable_black_left2x.png');
}
#awwwards.right.black a {
background-image:url('ribbons/awwwards_honorable_black_right2x.png');
}
/* White */
#awwwards.left.white a {
background-image:url('ribbons/awwwards_honorable_white_left2x.png');
}
#awwwards.right.white a {
background-image:url('ribbons/awwwards_honorable_white_right2x.png');
}
/* Green */
#awwwards.left.green a {
background-image:url('ribbons/awwwards_honorable_green_left2x.png');
}
#awwwards.right.green a {
background-image:url('ribbons/awwwards_honorable_green_right2x.png');
}
}