gamesearch/css/indexes.css
2021-08-27 18:55:33 +03:00

168 lines
2.6 KiB
CSS

@import url(https://fonts.googleapis.com/css?family=Poiret+One|Varela+Round);
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
html, body {
margin: 0;
padding: 0; }
/*Slideout Sidebar*/
.toggle {
text-decoration: none;
font-size: 2em;
color: rgba(0, 0, 0, 0.61);
-webkit-transition: all 0.15s ease-out 0;
-moz-transition: all 0.15s ease-out 0;
transition: all 0.45s ease-out 0;
position: fixed;
top: 20px;
left: 20px;
z-index: 1;
cursor: pointer;
}
.sidebar {
position: fixed;
top: 0px;
bottom: 0px;
left: -190px;
-webkit-transition: all 0.15s ease-out 0;
-moz-transition: all 0.15s ease-out 0;
transition: all 0.15s ease-out 0;
width: 8rem;
padding: 1.5em;
background: black;
}
.sidebar img {
width: 80px;
display: block;
margin: auto;
}
.sidebar ul {
list-style: none;
margin: 0;
padding: 0;
}
.sidebar li a {
color: white;
font-family: 'Roboto';
margin: 0;
margin-bottom: 16px;
cursor: pointer;
text-decoration: none;
line-height: 200%;
font-size: 18px;
}
.sidebar h4 {
margin: 0;
padding: 0;
color: white;
font-family: 'Roboto';
bottom: 10px;
width: 100%;
position: fixed;
}
.sidebar a:hover {
color: gray;
}
#slide:checked + .container .sidebar {
left: 0px;
transition: 0.5s;
}
#slide:checked + .container .toggle {
left: 200px;
transition: 0.5s;
}
#slide {
display: none;
}
.attribute-title {
color: white;
font-family: 'Roboto';
}
/*Search Box*/
.search {
text-align: centre;
padding-top: 150px;
width: auto;
width: 60%;
margin: 0 auto 0 auto;
font-family: 'Roboto';
animation: slidein 0.5s ease;
}
.search h1 {
font-size: 100px;
}
.search h2 {
font-size: 60px;
}
.search p {
font-size: 25px;
}
.search img {
display: block;
margin: 0 auto 0 0;
width: 100%;
height: auto;
border-radius: 20px;
animation: slidein 0.5s ease;
}
/*Indexed Sites List*/
#img1-1 {
width: 40%;
float: left;
}
#img1-2 {
width: 40%;
float: right;
}
#img2-1 {
width: 40%;
float: left;
}
#img2-2 {
width: 40%;
float: right;
}
#img3-1 {
width: 40%;
float: left;
}
#img3-2 {
width: 40%;
float: right;
}
/*Animations*/
@keyframes fadein{
from{
opacity: 0%;
}
to{
opacity: 100%;
}
}
@keyframes slidein{
0%{
transform: translateY(-250px);
}
100%{
transform: translateY(0px);
}
}