Skip to content

Commit

Permalink
Fixes #674: Registration popup for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
jainaryan04 committed Oct 23, 2024
1 parent d393add commit fcc93bf
Showing 1 changed file with 67 additions and 16 deletions.
83 changes: 67 additions & 16 deletions Css-files/popup.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

/* Styling for the pop-up */
@media screen and (min-width: 768px) {
.popup {
display: none;
position: fixed;
Expand All @@ -12,7 +13,6 @@
align-items: center;
z-index: 1000;
}

.popup-content {
display: flex;
background-color: #feaea5;
Expand All @@ -23,36 +23,92 @@
position: relative;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
.popup-left img {
width: 100%;
height: 100%;
object-fit: cover;
}
.popup-right {
padding: 20px;
width: 50%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.popup h1 {
font-size: 31px;
color: #8B4513;
margin-bottom: 10px;
margin-top: 45px;
padding-top: 10px;
}
.popup-right p{
color: #4B3B2A;
margin-bottom: 30px;
}
}

.popuplogo{
position: absolute;
@media screen and (max-width: 768px) {
.popup {
display: none;
position: fixed;
top: 0;
right: 12px;
height: 50px;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
justify-content: center;
align-items: center;
z-index: 1000;
}
.popup-content {
display: flex;
flex-direction: column;
background-color: #feaea5;
border-radius: 10px;
max-width: 400px;
height: 810px;
overflow: hidden;
position: relative;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.popup-left img {
width: 100%;
height: 100%;
object-fit: cover;
}

.popup-right {
padding: 20px;
width: 50%;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

.popup h1 {
font-size: 31px;
color: #8B4513;
margin-bottom: 10px;
margin-top: 45px;
margin-top: 15px;
padding-top: 10px;
}
.popup-right p{
color: #4B3B2A;
font-size: 20px;
}
}

.popuplogo{
position: absolute;
top: 0;
right: 12px;
height: 50px;
}





#h2{
font-size: 18px;
Expand All @@ -66,11 +122,7 @@
color: #4B3B2A;
} */

.popup-right p{
margin-bottom: 26px;
color: #4B3B2A;
margin-bottom: 30px;
}


input[type="email"] {
width: 100%;
Expand Down Expand Up @@ -117,7 +169,6 @@
}

.terms {
margin-top: 15px;
font-size: 10px;
color: #4B3B2A;
}
Expand Down

0 comments on commit fcc93bf

Please sign in to comment.