-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
165 lines (146 loc) · 2.62 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
header {
background-color: #04aa6d;
color: #fff;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 10px;
}
header h1 {
margin: 0;
margin-bottom: 0;
}
h2,h3{
margin-bottom:0;
}
nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: row;
}
nav li {
margin: 0 10px;
}
nav a {
color: #fff;
text-decoration: none;
}
nav a:hover {
text-decoration-color: black;
text-decoration: underline;
}
/* Bordered form */
form {
border: 3px solid #f1f1f1;
}
/* Full-width inputs */
input[type="text"],
input[type="password"] {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
}
/* Set a style for all buttons */
button {
background-color: #04aa6d;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
}
/* Add a hover effect for buttons */
button:hover {
opacity: 0.8;
}
/* Extra style for the cancel button (red) */
.cancelbtn {
width: auto;
padding: 10px 18px;
background-color: #f44336;
}
/* Center the avatar image inside this container */
.imgcontainer {
text-align: center;
margin: 24px 0 12px 0;
}
/* Avatar image */
img.avatar {
width: 40%;
border-radius: 50%;
}
/* The "Forgot password" text */
span.psw {
float: right;
padding-top: 16px;
}
/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
span.psw {
display: block;
float: none;
}
.cancelbtn {
width: 100%;
}
}
.product {
/* display: inline-block; */
width: 300px;
height: 650px;
margin: 4px;
border: 2px solid black;
padding: 10px;
display: grid,flex;
grid-template-columns: 120px 120px 120px;
align-items:flex-start;
justify-content: space-between;
}
.product-name{
max-width: 100%;
height: auto;
margin-bottom: 00px;
width:285px;
height:25px;
}
.product img {
max-width: 100%;
height: auto;
margin-bottom: 00px;
width: 275px;
height: 260px;
/* object-fit: cover; */
}
.product-price {
font-weight: bold;
margin-bottom: 0;
font-size: auto;
height: 20px;
width: 285px;
}
.product-description {
margin-top: 0;
margin-bottom: 0px;
font-size: auto;
height: 150px;
width: 285px;
}
form {
display: flex;
flex-direction: column;
}
form label {
margin-bottom: 10;
}