/
testimonials.css.scss
98 lines (89 loc) · 1.87 KB
/
testimonials.css.scss
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
#testimonials {
a.more {
display: block;
width: 100%;
height: 30px;
background: gray;
}
ul {
margin-top: 20px;
li {
margin-bottom: 20px;
img {
width: 80px;
height: 80px;
border: 1px solid #ddd;
@include border-radius(8px);
@include box-shadow(#ddd 0px 0px 5px);
}
blockquote {
position: relative;
width: 300px;
padding: 10px;
margin: 0;
border: 1px solid #ddd;
@include border-radius(8px);
@include box-shadow(#fff 0px 0px 20px 3px inset);
&:after {
content: "";
display: block;
position: absolute;
width: 10px;
height: 10px;
top: 50%;
margin-top: -5px;
@include rotate(45deg);
border: solid #ddd;
}
}
&.odd {
float: left;
clear: left;
margin-right: 30px;
img, div {
float: left;
}
div {
margin-left: 20px;
text-align: left;
}
blockquote {
background-color: #f2f4f9;
&:after {
left: 0;
margin-left: -7px;
border-width: 0 0 1px 1px;
background-color: #f9fafc;
}
}
}
&.even {
float: right;
clear: right;
img, div {
float: right;
}
div {
margin-right: 20px;
text-align: right;
}
blockquote {
background-color: #edf5ee;
&:after {
right: 0;
margin-right: -7px;
border-width: 1px 1px 0 0;
background: #f5f9f5;
}
}
}
cite {
display: block;
margin: 0 5px 0 5px;
color: #999;
font-size: 13px;
font-style: normal;
}
}
}
}