Skip to content

Commit

Permalink
raz css modification
Browse files Browse the repository at this point in the history
  • Loading branch information
rh050 committed Jun 7, 2024
1 parent d504c46 commit 0b5d65e
Show file tree
Hide file tree
Showing 2 changed files with 148 additions and 220 deletions.
190 changes: 88 additions & 102 deletions Mitzi.css
Original file line number Diff line number Diff line change
@@ -1,153 +1,139 @@

/* Oranit Madar 207973488 */
/* Raziel houri 305427874 */

body {
background: linear-gradient(135deg,#71b7e6,#9b59b6);
background: linear-gradient(135deg, #71b7e6, #9b59b6);
display: flex;
flex-direction: column;
align-items: center;
height: 115vh;
justify-content: center;
background-size: contain;
display: flex;
margin: 0;


}

.content , .form-container{
width: 50%;
padding: 20px;
font-family: 'Poppins', sans-serif;
color: #333;
}


.container {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
justify-content: center;
align-items: center;
padding: 20px;
text-align: center;
font-family: 'Poppins',sans-serif;
max-width: 1200px;
width: 100%;
font-size: 16px; /* Adjust font size */
line-height: 1.6; /* Adjust line height */

}

.aligned-form {
display: flex;
flex-direction: column;
align-items: center;
justify-content: around-Space 1px;

}
#form{
width: 300px;
margin: 20px auto;
padding: 20px;
background-color: whitesmoke;
border-radius: 4px;
font-size: 12px;
opacity: 0.9;
}
#form button {
padding: 10px;
margin-top: 5px;
width: 100%;
color: white;
background-color: rgb(41, 57, 194);
border: none;
border-radius: 4px;
}
.input-control input {
border: 2px solid #f0f0f0;
border-radius: 4px;
display: block;
font-size: 12px;
padding: 10px;
width: 100%;
box-sizing: border-box;
background: rgba(255, 255, 255, 0.9);
border-radius: 8px;
}

.input-control input:focus {
outline: 0;
.content, .form-container {
flex: 1 1 45%;
padding: 20px;
box-sizing: border-box;
margin: 10px;
background: rgba(255, 255, 255, 0.9);
border-radius: 8px;
}

.input-control.success input {
border-color: #09c372;
img {
//make img on the middle of the page
display: middle;
max-width: 70%;
height: auto;
border-radius: 8px;
margin-bottom: 20px;
}

.input-control.error input {
border-color: #ff3860;
h2 {
color: #333;
font-size: 24px;
}

.input-control .error {
color: #ff3860;
font-size: 9px;
height: 13px;
p {
margin: 0;
padding: 0;
}


.row {
form {
display: flex;
margin-bottom: 0px;
border-radius: 0px;

flex-direction: column;
align-items: center;
}


.field {
margin-right: 10px;
#form {
width: 100%;
max-width: 400px;
padding: 20px;
background-color: whitesmoke;
border-radius: 8px;
font-size: 14px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#form h1 {
margin-bottom: 20px;
}

form input {
border: 2px solid black;
padding: 1px;
.input-control {
width: 100%;
margin-bottom: 20px;
}

.input-control label {
display: block;
margin-bottom: 5px;
}

input:hover
{
border-color: orange;
.input-control input {
width: 100%;
padding: 10px;
border: 2px solid #f0f0f0;
border-radius: 4px;
font-size: 14px;
box-sizing: border-box;
}

.input-control input:focus {
border-color: #009688;
outline: none;
}

input:hover + label
{
color: orange;
.input-control .error {
color: #ff3860;
font-size: 12px;
height: 16px;
}

img{
max-width: 25%;
height: auto;
button {
padding: 10px;
width: 100%;
color: white;
background-color: #2939c2;
border: none;
border-radius: 4px;
font-size: 16px;
cursor: pointer;
margin-top: 10px;
}
.container h2{
color: white ;

button:hover {
background-color: #1e2f9d;
}

@media only screen and (max-width: 600px) {
body {
height:auto ;
}
.container{
display: flex;
.container {
flex-direction: column;

padding: 10px;
}
.content , .form-container{
width: 100%;
}
#content{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;

.content, .form-container {
flex: 1 1 100%;
margin: 10px 0;
padding: 15px;
}



#form {
width: 100%;
padding: 15px;
}
}


Loading

0 comments on commit 0b5d65e

Please sign in to comment.