239 lines
4.2 KiB
CSS
Raw Normal View History

2023-10-19 00:42:22 +05:30
* {
box-sizing: border-box;
margin: none;
}
body {
background-color: rgb(255, 255, 255);
display: flex;
margin-top: 25px;
align-items: center;
justify-content: center;
background-image: url("../assets/bg.jpg");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.wrapper {
display: flex;
width: 90vw;
height: 90vh;
align-items: center;
justify-content: center;
}
.container {
display: flex;
align-items: center;
background-color: rgb(0, 255, 255,0.2);
backdrop-filter: blur(15px);
border-radius: 30px;
2023-10-20 22:13:41 +05:30
position: relative;
width: 1100px;
height: 600px;
2023-10-19 00:42:22 +05:30
box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.8);
overflow: hidden;
}
footer{
position: fixed;
bottom: 0px;
background-color: rgb(12, 12, 12);
height: 50px;
width: 100vw;
}
footer p{
color: white;
text-align: center;
}
.contentbox {
display: flex;
position: absolute;
right: 30px;
background-color: rgb(0, 255, 255,0.3);
border-radius: 20px;
height: 85%;
width: 40%;
2023-10-20 22:13:41 +05:30
/* height: 70vh;
width: 40vw; */
2023-10-19 00:42:22 +05:30
justify-content: center;
align-items: center;
}
.searchbar {
display: flex;
justify-content: center;
align-items: center;
position: absolute;
overflow: hidden;
top: 20px;
width: 90%;
height: 10%;
background-color: rgb(255, 255, 255, 0.8);
border-radius: 10px 10px 0 0;
}
.searchbar input {
width: 95%;
height: 80%;
border: blue 2px slateblue;
box-shadow: none;
background-color: rgb(255, 255, 255, 0.5);
border-radius: 20px;
padding-left: 20px;
padding-right: 40px;
}
2023-10-20 22:13:41 +05:30
.searchbar button {
background-image: url("../assets/search.svg");
background-size: cover;
background-position: center;
display: inline-block;
2023-10-19 00:42:22 +05:30
position: absolute;
2023-10-20 22:13:41 +05:30
top: 20%;
2023-10-19 00:42:22 +05:30
right: 25px;
2023-10-20 22:13:41 +05:30
width: 30px;
height: 30px;
border: none;
background-color: transparent;
cursor: pointer;
}
.searchbar button:hover {
background-image: url(../assets/search2.svg);
}
.searchbar button:not(:hover) {
background-image: url(../assets/search.svg);
}
.searchbar:hover{
box-shadow: 0, 0, 5px;
}
.searchbar:not(:hover){
box-shadow: none;
2023-10-19 00:42:22 +05:30
}
.objcontainer {
display: flex;
flex-direction: column;
row-gap: 10px;
position: absolute;
bottom: 20px;
width: 90%;
height: 80%;
background-color: rgb(255, 255, 255, 0.8);
border-radius: 0 0 10px 10px;
overflow: auto;
padding-top: 10px;
padding-bottom: 10px;
align-items: center;
}
.objcontainer div{
2023-10-20 22:13:41 +05:30
display: flex;
2023-10-19 00:42:22 +05:30
padding: 20px;
width: 90%;
2023-10-20 22:13:41 +05:30
height: 50px;
2023-10-19 00:42:22 +05:30
background-color: rgb(255, 255, 255, 0.5);
2023-10-20 22:13:41 +05:30
text-align: left;
2023-10-19 00:42:22 +05:30
box-shadow: 0 0 10px black;
border: rgba(0, 255, 255, 0.5) 1px solid;
overflow: hidden;
2023-10-20 22:13:41 +05:30
align-items: center;
2023-10-19 00:42:22 +05:30
}
.objcontainer div:hover {
background-color: rgb(128, 128, 128, 0.4);
}
.objcontainer div:not(:hover) {
background-color: rgb(255, 255, 255, 0.5);
}
2023-10-20 22:13:41 +05:30
.objcontainer div button{
position: absolute;
right: 40px;
background-color: hsl(0, 0%, 100%, 0.5);
border-radius: 10px;
padding: 5px;
font-weight: bold;
box-shadow: 0 0 5px;
cursor: pointer;
}
.objcontainer div button:hover{
background-color: rgb(128, 128, 128, 0.7);
}
.objcontainer div button:not(:hover){
background-color: hsl(0, 0%, 100%, 0.5);
}
.objcontainer div img{
width: 30px;
}
.objcontainer div p{
padding-left: 20px;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
font-weight: bold;
}
2023-10-19 00:42:22 +05:30
.querybox {
display: flex;
justify-content: center;
align-items: center;
position: absolute;
left: 30px;
bottom: 40px;
background-color: rgb(0, 255, 255,0.3);
border-radius: 20px;
height: 60%;
width: 50%;
}
.infopanel {
width: 90%;
height: 80%;
background-color: rgb(255, 255, 255, 0.8);
border-radius: 10px;
}
.buttonbox {
position: absolute;
left: 30px;
top: 40px;
background-color: rgb(0, 255, 255,0.3);
border-radius: 20px;
height: 20%;
width: 50%;
}
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: hsl(0, 0%, 53%);
}
::-webkit-scrollbar-thumb:hover {
background: hsl(0, 0%, 33%);
2023-10-20 22:13:41 +05:30
}
@media (max-width: 860px) {
.container{
position: fixed;
width: 774px;
}
2023-10-19 00:42:22 +05:30
}