You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Code4Change/receiver.css

268 lines
4.0 KiB

6 months ago
*{
margin:0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body{
font-family: Arial,sans-serif;
background-color: beige;
color: #333;
line-height: 1.6;
}
/* a{
text-decoration: none;
color: #4CAF50;
} */
header{
background-image: url('logo.png');
color: white;
text-align: center;
padding: 60px 20px;
display: flex;
justify-content: center;
align-items: center;
}
.header p{
font-size: 1.2em;
margin-top: 10px;
}
.container {
max-width: 700px;
margin-top: 30px;
margin: 30px auto;
padding: 20px;
background: #faf4f5;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
/* .container h2{
font-size: 10em;
color: black;
border-bottom: 2px ;
padding-bottom: 5px;
margin-bottom: 20px;
} */
form{
margin-bottom: 30px;
}
label{
font-weight: bold;
display: block;
margin-bottom: 8px;
color: #555;
}
input,select,button{
width: 100%;
padding: 12px;
margin-bottom: 15px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 1em;
}
input:focus, select:focus{
outline: none;
border-color: #4CAF50;
box-shadow: 0 0 5px #4CAF50(0, 123,255,0.5);
}
button{
background-color: #4CAF50;
color: white;
border: none;
cursor: pointer;
font-size: 1.1em;
transition: background-color 0.3s ease;
}
button:hover{
background-color: #4CAF50;
}
.matches{
background: #f9f9f9;
padding: 20px;
border-radius: 10px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.match-item{
padding: 15px;
margin-bottom: 15px;
border: 1px solid #cce5ff;
background-color: #e6f0ff;
border-radius: 5px;
font-size: 1em;
color: #333;
}
.match-item:hover{
background-color: #d9eaff;
}
.footer {
text-align: center;
padding: 15px 20px;
background: #4CAF50;
color: white;
margin-top: 30px;
font-size: 0.9em;
}
.popup{
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
background-color: #ffffff;
border: 1px solid #ccc;
padding: 20px;
border-radius: 5px;
display: none;
}
p{
margin-top: 5px;
margin-bottom: 5px;
}
/* navigation-bar */
.hero{
width: 100%;
min-height: 30vh;
background: beige;
color: #525252;
}
nav{
background: #cb997e;
width: 100%;
padding: 10px;
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
}
.logo{
width: 50px;
}
.user-pic{
width: 60px;
border-radius: 50%;
cursor: pointer;
margin-left: 50px;
}
nav ul{
width: 100%;
text-align: right;
}
nav ul li{
display: inline-block;
list-style: none;
margin: 10px 20px;
}
nav ul li a{
color:#ffffff;
text-decoration: none;
}
.sub-menu-wrap{
position: absolute;
top: 100%;
right: 10%;
width: 320px;
max-height: 0px;
overflow: hidden;
transition: max-height 0.5s;
}
.sub-menu-wrap.open-menu{
max-height: 400px;
}
.sub-menu-wrap{
background: white;
margin: 10px;
padding: 20px;
}
.user-info{
display: flex;
align-items: center;
}
.user-info h3{
font-weight: 500;
}
.bigboy{
max-width: fit-content;
max-height: 60px;
margin-left: 20px;
}
.user-info-img{
/* adjust image */
width: 60px;
border-radius: 50%;
margin-right: 25px;
}
.sub-menu hr{
border: 0;
height: 1px;
width: 100%;
background: #ccc;
margin: 15px 0 10px;
}
.sub-menu-link{
display: flex;
align-items: center;
text-decoration: none;
color: #525252;
margin: 12px 0;
}
.sub-menu-link p{
width: 100%;
}
.sub-menu-link img{
width: 40px;
background: #e5e5e5;
border-radius: 50%;
padding: 8px;
margin-right: 15px;
}
.sub-menu-link span{
font-size: 22px;
transition: transform o.5s;
}
.sub-menu-link:hover span{
transform: translate(5px);
}
.sub-menu-link:hover p{
font-weight: 600;
}