-
Notifications
You must be signed in to change notification settings - Fork 26
/
jquery-google-reviews.css
148 lines (124 loc) · 2.14 KB
/
jquery-google-reviews.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
146
147
#google-reviews {
display: flex;
flex-wrap: wrap;
/*display: grid;*/
/*grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));*/
}
.review-item {
border: solid 1px rgba(190, 190, 190, .35);
margin: 0 auto;
padding: 1em;
flex: 1 1 50%;
display: flex;
flex-direction: column;
align-content: stretch;
}
@media ( max-width:1200px) {
.review-item {
flex: 1 1 50%;
}
}
@media ( max-width:450px) {
.review-item {
flex: 1 1 90%;
}
}
.review-item-long {
border: solid 1px rgba(190, 190, 190, .35);
margin: 0 auto;
padding: 1em;
flex: 1 1 90%;
display: flex;
flex-direction: column;
align-content: stretch;
}
@media ( max-width:1200px) {
.review-item-long {
flex: 1 1 90%;
}
}
@media ( max-width:450px) {
.review-item-long {
flex: 1 1 90%;
}
}
.review-header{
display: flex;
}
.review-picture{
width: 5em;
height: auto;
align-self: center;
margin-right: 1em;
}
.review-usergrade{
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
}
.review-meta, .review-stars {
text-align: center;
font-size: 115%;
}
.review-author {
text-transform: capitalize;
font-weight: bold;
}
.review-date {
opacity: .6;
display: block;
}
.review-text {
line-height: 1.55;
text-align: left;
max-width: 100%;
text-align: justify;
}
.review-stars ul {
display: inline-block;
list-style: none !important;
margin: 0;
padding: 0;
}
.review-stars ul li {
float: left;
list-style: none !important;
margin-right: 1px;
line-height: 1;
}
.review-stars ul li i {
color: #eb6e00;
/* Google's Star Orange in Nov 2017 */
font-size: 1.4em;
font-style: normal;
}
.review-stars ul li i.inactive {
color: #c6c6c6;
}
.star:after {
content: "\2605";
}
.buttons {
margin: 20px 0 0 0;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.more-reviews {
text-align: center;
}
.write-review {
text-align: center;
}
.more-reviews a,
.write-review a {
margin: 5px;
border: 1px #eb6e00 solid;
border-radius: 40px;
padding: 10px;
background-color: #eb6e00;
color: #FFF;
text-decoration: none;
}