-
Notifications
You must be signed in to change notification settings - Fork 3
/
Home&Living.css
98 lines (87 loc) · 1.58 KB
/
Home&Living.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
*{
margin: 0px;
padding: 0px;
box-sizing: border-box;
}
body{
width: 100%;
}
#container{
box-sizing: border-box;
width: 95%;
margin: 25px auto;
display: grid;
grid-template-columns: repeat(5,1fr);
gap:20px;
border: 1px solid #ccc;
padding: 10px;
/* margin: 33px; */
}
#container>div{
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
#container>div>img{
width:100%;
}
#container>div>img~div,h4,h4,button{
margin: 10px;
}
#container>div>img~button{
border: 1px solid #ccc;
color:red;
box-sizing: border-box;
padding: 5px;
border-radius: 3px;
cursor: pointer;
}
#container>div>img~button:hover{
color: white;
background-color: red;
}
#container>div>div{
display: flex;
}
#container>div>div>p{
margin-right: 5px;
}
#container>div>div>p:nth-child(2){
color: grey;
font-size: 14px;
padding-top: 5px;
text-decoration:line-through;
margin-left: 5px;
}
#container>div>div>p+p+p{
color: red;
font-size: 15px;
}
#sortbypriceAndName{
display: flex;
justify-content: end;
margin-top: 22px;
margin-right: 25px;
}
#sortNames{
height: 35px;
margin-right: 25px;
margin-left: 25px;
}
#end-container {
background-color: #fafbfc;
margin: 20px auto;
padding: 2% 5%;
}
#table {
width: 50%;
text-align: left;
font-size: 18px;
}
#end-container > div:nth-child(2) {
width: 100%;
margin: auto;
line-height: 25px;
margin-top: 20px;
}
#end-container > div:nth-child(2) > h4 {
margin: 10px auto;
}