-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdetails.css
95 lines (92 loc) · 1.65 KB
/
details.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
main {
width: 76%;
margin-top: 170px;
display: flex;
margin-left: auto;
margin-right: auto;
margin-bottom: 50px;
}
#preview {
width: 40%;
}
#description {
margin-left: 3%;
width: 55%;
}
.preview-img {
width: 100%;
}
#heading {
font-size: 44px;
letter-spacing: -2px;
font-weight: 300;
margin:0;
}
#description h3 {
font-size: 20px;
font-weight: 300;
}
#price {
font-weight: bold;
letter-spacing: 1px;
color: #009688;
}
#details {
color: #86939e;
}
#photos {
display: flex;
align-items:center;
}
.img-thumbnail {
width: 15%;
margin-right: 3%;
cursor: pointer;
}
.selected {
border: 2px solid #009688;
padding: 4px;
border-radius: 5px;
width: 14% !important;
}
#add-to-cart {
background-color: #009688;
color: #fff;
padding: 10px 20px;
font-size: 18px;
letter-spacing: 2px;
border: none;
margin-top: 50px;
border-radius: 5px;
box-shadow: 0 2px 10px rgb(0 , 0 , 0 , 50%);
cursor: pointer;
}
#add-to-cart:hover {
box-shadow: 0 2px 10px rgb(0 ,0 ,0 , 80%);
}
#add-to-cart:active {
transform: scale(1.1);
}
@media(max-width:1050px) {
main {
width: 85%;
}
}
@media(max-width:900px) {
main {
width: 95%;
}
}
@media(max-width:800px) {
main {
flex-direction: column;
align-items: center;
margin-top: 110px;
}
main section {
width: 90% !important;
}
h1 {
font-size: 30px !important;
}
}