-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdetails.css
114 lines (100 loc) · 1.63 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
#container {
margin-top: 60px;
display: flex;
flex-direction: column;
justify-content: center;
}
#box{
width: 1140px;
display: flex;
flex-wrap: wrap;
margin: 0px auto;
padding: 10px;
}
#details {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: 15px;
}
#details img {
width: 250px;
height: 250px;
object-fit: fill;
}
#details p {
margin-block: 5px;
}
#details:hover{
transform: scale(1.1);
transition: transform 0.5s ease;
}
#content{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#content p{
padding: 5px 10px;
color: #fff;
text-align: center;
margin-block: 3px;
background-color: #8c0b91;
}
#content button{
border: none;
width: 100px;
margin-top: 3px;
margin-bottom: 10px;
background-color: #148000;
}
#content button a{
display: block;
text-decoration: none;
padding: 5px 10px;
font-weight: bold;
font-size: 1rem;
color: #fff;
}
@media (max-width:1180px){
#box{
width: 860px;
}
}
@media (max-width:880px){
#box{
width: 710px;
}
#details img{
width: 200px;
height: 200px;
}
}
@media (max-width:730px){
#box{
width: 560px;
}
#details img{
width: 150px;
height: 150px;
}
}
@media (max-width:580px){
#box{
width: 380px;
}
}
@media (max-width:400px){
#box{
width: 300px;
}
#details{
margin: 10px;
}
#details img{
width: 120px;
height: 120px;
}
}