-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.css
120 lines (119 loc) · 2.02 KB
/
index.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
* {
margin: 0%;
padding: 0%;
box-sizing: border-box;
font-family: Whitney, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
Helvetica, Arial, sans-serif;
}
#main-container {
width: 98%;
margin: 5px auto;
padding: auto 5%;
}
#main-container > div {
width: 100%;
margin: auto;
}
#home-pic {
width: 100%;
margin-top: 10px;
}
#home-pic:hover {
cursor: pointer;
transform: scale(1.04);
}
#main-container img {
cursor: pointer;
}
.image {
width: 100%;
border-radius: 5px;
margin-top: 10px;
border: 1px solid #ccc;
}
#products_grid1 {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: auto;
gap: 10px;
}
#products_grid2 {
display: grid;
grid-template-columns: repeat(5, 1fr);
grid-template-rows: auto;
gap: 10px;
}
#products_grid1 > div > img,
#products_grid2 > div > img {
width: 100%;
border-radius: 5px;
border: 1px solid #ccc;
}
#products_grid1 > div > img:hover,
#products_grid2 > div > img:hover {
transform: scale(1.05);
overflow: hidden;
}
/* crauser styling */
#crauser_1,
#crauser_2 {
width: 100%;
position: relative;
margin: auto;
/* vertical-align: middle; */
}
#crauser_1 > img,
#crauser_2 > img {
width: 100%;
margin: auto;
border-radius: 5px;
border: 1px solid #ccc;
}
/* Next & previous buttons */
.prev,
.next,
.prev1,
.next1 {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
padding: 10px 15px;
margin-top: -22px;
color: teal;
font-size: 18px;
background-color: transparent;
}
.prev,
.prev1 {
left: 0;
border-radius: 3px 0 0 3px;
}
.next,
.next1 {
right: 0;
border-radius: 3px 0 0 3px;
}
#crauser_1 > button:hover,
#crauser_2 > button:hover {
background-color: rgba(40, 24, 10, 0.8);
}
#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;
}