Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
316 changes: 316 additions & 0 deletions css/store.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,316 @@
:root {
--grey-dark: #363434;
--grey: #ADADAD;
--grey-light: #F7F7F7;
--orange: #F05A28;
--orange-light: hsl(20, 84%, 80%);
--white: #fff;
}

body {
font-family: 'Roboto', sans-serif;
-webkit-font-smoothing: antialiased;
}



/*hamburger menu*/
.h-menu {
display: none;
position: absolute;
cursor: pointer;
}

.topnav {
display: flex;
}
#check {
display: none;
}

/*form*/


.all-container {
display:flex;
flex-direction: row;


}

/*main left area includes title and form*/
.main-section {
display: flex;
flex-direction: column;
margin-left: 90px;
margin-right: 90px;

}

/*page title*/
.page-title{

}

.page-title h1{
color: #F05A28;
}

/*form*/
.all-form {
display: flex;

width: 650px;
}

.orderform {
display:flex;
flex-direction: column;
width:100%;

}



.input {
border:solid 1.5px gray;
border-radius: 3px;
margin: 0 5px 1rem 0;
padding: 0.5rem;
}

input,
label {
width: auto;
}

button {
background-color:var(--orange);
padding: 20px;
margin: 15px 400px 100px 0px;
justify-content: left;
color: white;
border-radius: 5px;
border: none;
}


fieldset {
border: none;
display:flex;
gap: 15px;
width:auto;
}

.fillname {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
width: 600px;
justify-content: space-between;
}

.firstnametext {
margin-bottom: 13px;
}

.lastnametext {
margin-bottom: 13px;
}

#first_name {
width: 250px;
}

#last_name {
width: 250px;
}

#address2 {
width:575px;
}

#address {
width:575px;
}

.filladdress {
display: flex;
flex-direction: column;
}

.filllocation {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
width: 600px;
justify-content: space-between;

}

.citytext {
margin-bottom: 13px;
}

.postcodetext {
margin-bottom: 13px;
}

select {
width: 270px;
height: 40px;
background-color: white;
border-radius: 3px;
border:solid 1.5px gray;
border-radius: 3px;
margin: 0 5px 10px 0;
padding: 2px;


}


#postcode{
width: 250px;
}


.choosecolor {
margin: 20px 0 2px 0;
}

.colorchoice {
margin: 20px 0 20px 0;
}



/*image right of page*/
.img-right {

width:650px;
height:900px;

}

.imgmain {
display:flex;
flex-wrap: wrap;
height:100%;
width:100%;
}

@media screen and (max-width:768px) {

ul {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: var(--grey-light);
opacity: .9;
top: -800px;
gap: 10px;
z-index: 1;
transition: all 0.3s ease-in-out;
border-radius: 5px;
}

.fillname {
display: flex;
flex-direction: column;
align-items: stretch;
flex-wrap: wrap;}

.filllocation {
display: flex;
flex-direction: column;
flex-wrap: wrap;
align-items: stretch;
}

#address2 {
width:250px;
}

#address {
width:250px;
}

.all-container {
display: flex;
flex-direction: column;
}

.imgmain {
display:flex;
flex-wrap: wrap;
height:50%;
width:50%;
}

input,
label {
width: 80px;
}

}


@media screen and (max-width:480px){
.topnav{
display: none;
visibility: hidden;
align-items: center;
justify-content: center;
width: 180px;
height: 40vh;
flex-direction: column;
top: -600px;
border-radius: 5px;
border:#363434 solid 10px;
background-color: #F05A28;
z-index: 1;
gap: 8px;
opacity: 1;
position: fixed;
background-color: var(--grey-light);
}

.h-menu{
display: inline-block;
z-index: 4;
}

#check:checked ~ .h-menu{
transform: scale(20);
background-color: var(--orange);
opacity: 0.9;
}

#check:checked ~ .topnav{
top: 0;
}

fieldset {
border: none;
/* display: flex; */
gap: 15px;
/* width: min-content; */
}

input, label {
width: 113px;
}


fieldset {
border: none;
display: flex;
gap: 15px;
width: auto;
flex-direction: column;
}
}


Loading