-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathrecent_reviews.css
More file actions
112 lines (95 loc) · 2.2 KB
/
recent_reviews.css
File metadata and controls
112 lines (95 loc) · 2.2 KB
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
/* http://nicolasgallagher.com/pure-css-speech-bubbles/ */
.triangle-border {
position:relative;
padding:15px;
margin:.5em 0 1em;
border:5px solid #06f;
color:#333;
background:#fff;
/* css3 */
-webkit-border-radius:10px;
-moz-border-radius:10px;
border-radius:10px;
}
/* THE TRIANGLE
------------------------------------------------------------------------------------------------------------------------------- */
.triangle-border:before {
content:"";
position:absolute;
bottom:-20px; /* value = - border-top-width - border-bottom-width */
left:40px; /* controls horizontal position */
border-width:20px 20px 0;
border-style:solid;
border-color:#06f transparent;
/* reduce the damage in FF3.0 */
display:block;
width:0;
}
/* creates the smaller triangle */
.triangle-border:after {
content:"";
position:absolute;
bottom:-13px; /* value = - border-top-width - border-bottom-width */
left:47px; /* value = (:before left) + (:before border-left) - (:after border-left) */
border-width:13px 13px 0;
border-style:solid;
border-color:#fff transparent;
/* reduce the damage in FF3.0 */
display:block;
width:0;
}
a img {
border: none;
}
.review {
width: 100%;
display: inline-block;
margin-bottom: 10px;
}
.review_body {
padding: 10px;
}
.review_body p {
font-style:italic;
}
.review_body h3 {
margin-top: 1px;
font-weight: bold;
font-size: 120%;
}
.author {
margin-top: 5px;
font-size: 150%;
}
.product_name {
width: 70%;
display: inline-block;
}
.picture_right {
float: right;
margin-right: 5px;
}
/* ----------------------------
Support for star ratings
---------------------------- */
.rating {
display: inline-block;
background: transparent url(stars.png) repeat-x scroll 0px 0px;
height: 30px;
width: 150px;
}
.rating .ratingHighlight {
display: inline-block;
background: transparent url(stars.png) repeat-x scroll 0px -30px;
height: 30px;
}
.rating span {
display: none;
}
#module {
width: 300px;
padding: 5px;
margin: 15px;
font-family: Helvetica;
font-size: 80%;
}