Skip to content

Commit 1431901

Browse files
committed
HTML-CSS-Module-Project
update css and html page store
1 parent 805058e commit 1431901

2 files changed

Lines changed: 16 additions & 14 deletions

File tree

css/store.css

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,12 @@ body {
1313
--white: #fff;
1414
}
1515

16-
/* Navigation Styles */
16+
/* Navigation Styles*/
1717
header {
1818
justify-content: space-between;
1919
align-items: center;
20-
padding: 5px 100px;
20+
padding: 0 100px;
2121
display: flex;
22-
background-color: var(--grey-light);
23-
margin: 0;
2422
}
2523

2624
.logo-img {
@@ -36,7 +34,7 @@ ul {
3634
}
3735

3836
.nav-item {
39-
color: var(--grey-dark);
37+
color: #9E9C9C;
4038
text-decoration: none;
4139
padding: 15px;
4240
}
@@ -46,9 +44,8 @@ ul li a:hover {
4644
}
4745

4846
.nav-head {
49-
color: var(--grey-dark);
47+
color: #39393F;
5048
font-weight: 500;
51-
font-size: 14px;
5249
text-decoration: none;
5350
}
5451

@@ -71,13 +68,16 @@ ul li a:hover {
7168
font-size: 1.5rem;
7269
}
7370

74-
.main-img {
71+
.block {
72+
display: flex;
73+
flex-direction: row;
74+
margin: 40px 0 90px 0;
7575
width: 100%;
76-
height: 1000px;
77-
object-fit: cover;
78-
7976
}
8077

78+
.block-img {
79+
width: 45%;
80+
}
8181

8282
.name-area {
8383
display: flex;
@@ -122,13 +122,14 @@ ul li a:hover {
122122
}
123123

124124
/* Select option Styles */
125+
125126
.custom-select {
126127
width: 360px;
127128
height: 35px;
128129
font-style: italic;
129130
color: rgb(109, 100, 100);
130131
appearance: none;
131-
background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT6qA0AV5aK5pyy8f5I5MTztObvFsjzL5oZgg&usqp=CAU");
132+
background-image: url("");
132133
background-repeat: no-repeat;
133134
background-position: calc(100% - 3px);
134135
background-size: 30px;

store.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,9 @@
7979
</div>
8080
</form>
8181

82-
83-
<img class="main-img" src="./level-2/store-image_by-andrew-neel-unsplash.jpg">
82+
<div class="block">
83+
<img class="block-img" src="./level-2/store-image_by-andrew-neel-unsplash.jpg">
84+
</div>
8485

8586

8687
</div>

0 commit comments

Comments
 (0)