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 Karma - desktop - Store.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Karma design.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Karma design.zip
Binary file not shown.
Empty file added css/sto
Empty file.
313 changes: 313 additions & 0 deletions css/store.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,313 @@


/*nav bar or headear*/
.nav-list {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
list-style: none;
position: relative;

}

.nav-items {
display: flex;
padding: 0 1.5rem;

}

.nav-links {
color: var(--grey);
text-decoration: none;
display: inline-block;
text-align: center;
position: relative;
}

.nav-links:hover {
color: var(--orange);
}

.nav-items:first-child > a {
color: var(--grey-dark);
}

.nav-items:first-child > a:hover{
color: var(--orange);
}



/* main */
.main {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}

/* form section*/
.form {
width: 50%;
display: flex;
flex-direction: column;
padding: 2rem;
gap: 30px;
}
/* form */
form {
display: flex;
flex-direction: column;
gap: 20px;

}


.form h1 {
color: var(--orange);

}


label {
font-size: 12px;
font-weight: 400;
color: var(--grey);
}

.fieldset {
display: flex;
flex-direction: row;
align-items: stretch;
flex-wrap: wrap;
border: none;
gap: 30px;
}

.name {
display: flex;
flex-direction: column;
flex-wrap: wrap;
gap: 5px;
}


input{
height: 30px;
padding: 2px;
}

input:focus {
outline-color: var(--black) ;
}

input[type="checkbox"] {
color: var(--orange);
background-color: var(--orange);
}

.address{
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 5px;
}
#postcode {
width: 100px;
text-transform: uppercase;
}
/* select & option */
select {
font-style: italic;
font-size: 12px;
font-weight: 400;
color: var(--grey-dark);
width: 250px;
height: 30px;
}

select:focus {
outline-color: var(--orange) ;
}

/* radio-box */
.radio-box {
display: flex;
flex-direction: column;
gap: 10px;
margin-top: 10px;
}

.radio-box legend {
font-size: 12px;
font-weight: 400;
color: var(--grey-dark);
}

.radio-box ul {
display: flex;
gap: 20px;
list-style: none;
}

/* changed radio-box color */
.radio-box input[type="radio"] {
appearance: none;
width: 15px;
height: 15px;
border: 1px solid var(--grey-dark);
border-radius: 50%;
background-clip: content-box;
padding: 2px;
display: inline-block;
margin-right: .1rem;
vertical-align: -3px;
}

.radio-box input[type="radio"]:checked {
background-color: var(--orange);
}

/* check box */
.check-box {
gap: 2px;
margin-top: 20px;
}

.check-box a {
color: var(--orange);
}

/* change checkbox mark */

.check-box input[type="checkbox"] {
appearance: none;
width: 15px;
height: 15px;
border: 1px solid var(--grey-dark);
border-radius: 20%;
background-clip: content-box;
padding: 1px;
background-color: var(--white);
display: inline-block;
margin-right: .1rem;
vertical-align: -3px;
}

.check-box input[type="checkbox"]:checked {
background-image: url(/level-2/checkmark.svg);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
background-color: transparent;
}

/* button */
button {
background-color: var(--orange);
color: var(--white);
border: 1px solid var(--orange);
border-radius: 5px;
padding: 10px 25px;
transition: all .3s ease-in-out;
}

button:hover {
color: var(--orange);
background-color: var(--white);
border: 1px solid var(--orange);
}
/* section two */

.img-section {
background-image: url("/level-2/store-image_by-andrew-neel-unsplash.jpg");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
width: 50%;
margin: 0;
}

/* tablet and mobile size */
@media screen and (max-width: 890px) {

/* fix textbox names */
.fieldset {
display: flex;
flex-direction: column;
align-items: stretch;
flex-wrap: wrap;
}

/* fix positions */
.store-main {
display: flex;
flex-direction: column;
flex-wrap: wrap;
align-items: center;
}

select {
width: 320px;
}

.form-section {
width: 100%;
display: flex;
flex-direction: column;
padding: 2rem;
gap: 30px;
}

.img-section {
background-image: url("/level-2/store-image_by-andrew-neel-unsplash.jpg");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
height: 100vh;
width: 100%;
margin: 0;
padding: 2rem;
}

.radio-box ul {
display: flex;
flex-direction: column;
gap: 10px;
list-style: none;
}
}

/* mobile size */
@media screen and (max-width: 489px) {


.form-section h1 {
text-align: center;
}

}
























Loading