-
Notifications
You must be signed in to change notification settings - Fork 60
/
style.css
128 lines (113 loc) · 2.34 KB
/
style.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
/*
* Design by Robert Mayer:https://goo.gl/CJ7yC8
*
*I intentionally left out the line that was supposed to be below the subheader simply because I don't like how it looks.
*
* Chronicle Display Roman font was substituted for similar fonts from Google Fonts.
*/
body {
background-color: #050708da;
}
.wrapper {
height: 420px;
width: 654px;
margin: 50px auto;
border-radius: 7px 7px 7px 7px;
/* VIA CSS MATIC https://goo.gl/cIbnS */
-webkit-box-shadow: 0px 14px 32px 0px rgba(0, 0, 0, 0.15);
-moz-box-shadow: 0px 14px 32px 0px rgba(0, 0, 0, 0.15);
box-shadow: 0px 14px 32px 0px rgba(0, 0, 0, 0.15);
}
.product-img {
float: left;
height: 420px;
width: 327px;
}
.product-img img {
border-radius: 7px 0 0 7px;
}
.product-info {
float: left;
height: 420px;
width: 327px;
border-radius: 0 7px 10px 7px;
background-color: #222121;
}
.product-text {
height: 300px;
width: 327px;
}
.product-text h1 {
margin: 0 0 0 38px;
padding-top: 52px;
font-size: 34px;
color: #e0e0e0;
}
.product-text h1,
.product-price-btn p {
font-family: 'Bentham', serif;
}
.product-text h2 {
margin: 0 0 47px 38px;
font-size: 13px;
font-family: 'Raleway', sans-serif;
font-weight: 400;
text-transform: uppercase;
color: #d2d2d2;
letter-spacing: 0.2em;
}
.product-text p {
height: 125px;
margin: 0 0 0 38px;
font-family: 'Playfair Display', serif;
color: #dfdada;
line-height: 1.7em;
font-size: 15px;
font-weight: lighter;
overflow: hidden;
}
.product-price-btn {
height: 103px;
width: 327px;
margin-top: 17px;
position: relative;
}
.product-price-btn p {
display: inline-block;
position: absolute;
top: -13px;
height: 50px;
font-family: 'Trocchi', serif;
margin: 0 0 0 38px;
font-size: 28px;
font-weight: lighter;
color: #d6d6d6;
}
span {
display: inline-block;
height: 50px;
font-family: 'Suranna', serif;
font-size: 34px;
}
.product-price-btn button {
float: right;
display: inline-block;
height: 50px;
width: 176px;
margin: 0 40px 0 16px;
box-sizing: border-box;
border: transparent;
border-radius: 60px;
font-family: 'Raleway', sans-serif;
font-size: 14px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.2em;
color: #e4e1e1;
background-color: #0e5db8;
cursor: pointer;
outline: none;
}
.product-price-btn button:hover {
background-color: #3176dd;
}