mirror of
https://github.com/byReqz/blue-searchpage.git
synced 2024-11-24 14:24:55 +00:00
b5e922930a
added toggable and changing backgrounds and a tooltip
267 lines
4.7 KiB
CSS
267 lines
4.7 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
text-decoration: none;
|
|
}
|
|
|
|
@-webkit-keyframes slide {
|
|
0% {
|
|
-webkit-transform: translateY(80px);
|
|
opacity: 0;
|
|
}
|
|
100% {
|
|
-webkit-transform: translateY(0px);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@-moz-keyframes slide {
|
|
0% {
|
|
-moz-transform: translateY(80px);
|
|
opacity: 0;
|
|
}
|
|
100% {
|
|
-moz-transform: translateY(0px);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@-ms-keyframes slide {
|
|
0% {
|
|
-ms-transform: translateY(80px);
|
|
opacity: 0;
|
|
}
|
|
100% {
|
|
-ms-transform: translateY(0px);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@-o-keyframes slide {
|
|
0% {
|
|
-o-transform: translateY(80px);
|
|
opacity: 0;
|
|
}
|
|
100% {
|
|
-o-transform: translateY(0px);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes slide {
|
|
0% {
|
|
transform: translateY(80px);
|
|
opacity: 0;
|
|
}
|
|
100% {
|
|
transform: translateY(0px);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
placeholder {
|
|
color: rgba(142, 219, 242, 0.5);
|
|
}
|
|
|
|
::-webkit-input-placeholder {
|
|
color: rgba(142, 219, 242, 0.5);
|
|
}
|
|
|
|
:-moz-placeholder {
|
|
/* Firefox 18- */
|
|
color: rgba(142, 219, 242, 0.5);
|
|
}
|
|
|
|
::-moz-placeholder {
|
|
/* Firefox 19+ */
|
|
color: rgba(142, 219, 242, 0.5);
|
|
}
|
|
|
|
:-ms-input-placeholder {
|
|
color: rgba(142, 219, 242, 0.5);
|
|
}
|
|
|
|
body {
|
|
-webkit-text-size-adjust: none;
|
|
-webkit-user-select: none;
|
|
font-size: 14px;
|
|
background-color: #020F12;
|
|
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAABCCAYAAADjVADoAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4AgbFB4l6ZLKSQAAAFZJREFUeNrt2jENgDAABMAHASyoYMZWpTDWWxcskBAUsGGhSbkz8D/8+AkAAAAAAAAAwNim3gVqe9YkKdty9cyfbQEAAAAAAAAARvX7f8Rx3nviH/F5AaflDQJlfwozAAAAAElFTkSuQmCC');
|
|
}
|
|
#tutorial {
|
|
font-family: 'Roboto', sans-serif;
|
|
color: #8EDBF2;
|
|
top: 20px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
#container {
|
|
position: absolute;
|
|
left: 0px;
|
|
top: calc(50% - 83px);
|
|
width: 100%;
|
|
height: 144px;
|
|
}
|
|
|
|
|
|
/* ENGINE INDEX
|
|
----------------------------------------------------- */
|
|
|
|
#engines {
|
|
width: 700px;
|
|
height: 80px;
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: calc(50% + 40px);
|
|
margin-left: -350px;
|
|
margin-bottom: 10%;
|
|
-webkit-animation: slide 0.75s ease;
|
|
moz-animation: slide 0.75s ease;
|
|
ms-animation: slide 0.75s ease;
|
|
o-animation: slide 0.75s ease;
|
|
animation: slide 0.75s ease;
|
|
}
|
|
|
|
#engines a {
|
|
display: block;
|
|
width: 225px;
|
|
height: 80px;
|
|
cursor: pointer;
|
|
opacity: 0.0;
|
|
position: absolute;
|
|
}
|
|
|
|
#engines a img {
|
|
display: block;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
|
|
/* SEARCH BOX
|
|
----------------------------------------------------- */
|
|
|
|
#input input {
|
|
font-size: 140px;
|
|
font-family: 'Roboto', sans-serif;
|
|
font-weight: 100;
|
|
text-align: center;
|
|
background: rgba(10, 10, 10, 0.3);
|
|
width: 100%;
|
|
outline: 0;
|
|
color: #8EDBF2;
|
|
border: 0px;
|
|
}
|
|
|
|
#lang {
|
|
position: absolute;
|
|
right: 49px;
|
|
top: 39px;
|
|
font-size: 13px;
|
|
+padding: 3px 5px;
|
|
-webkit-border-radius: 3px;
|
|
-moz-border-radius: 3px;
|
|
color: #b7c2cf;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#lang:hover {
|
|
background: #b7c2cf;
|
|
color: white;
|
|
}
|
|
|
|
#lang:active {
|
|
background: #939fad;
|
|
}
|
|
|
|
#method {
|
|
display: none;
|
|
}
|
|
|
|
|
|
/* BG BUTTON
|
|
----------------------------------------------------- */
|
|
|
|
#toggleBG {
|
|
font-family: 'Roboto', sans-serif;
|
|
position: absolute;
|
|
right: 50px;
|
|
bottom: 50px;
|
|
width: 300px;
|
|
height: 100px;
|
|
color: #8EDBF2;
|
|
background: none;
|
|
border: none;
|
|
transition-duration: 0.3s;
|
|
font-size: 15px;
|
|
}
|
|
|
|
#toggleBG:hover {
|
|
cursor: pointer;
|
|
font-size: 20px;
|
|
}
|
|
|
|
#toggleBG:focus {
|
|
outline: 0;
|
|
}
|
|
/* Donator Button
|
|
----------------------------------------------------- */
|
|
|
|
#Donatormode {
|
|
font-family: 'Roboto', sans-serif;
|
|
position: absolute;
|
|
left: 50px;
|
|
bottom: 50px;
|
|
width: 300px;
|
|
height: 100px;
|
|
color: #8EDBF2;
|
|
background: none;
|
|
border: none;
|
|
transition-duration: 0.3s;
|
|
font-size: 15px;
|
|
}
|
|
#Donatormode:hover {
|
|
cursor: pointer;
|
|
font-size: 20px;
|
|
}
|
|
|
|
#Donatormode:focus {
|
|
outline: 0;
|
|
}
|
|
|
|
/* SEARCH SUGGESTIONS
|
|
----------------------------------------------------- */
|
|
|
|
#sugs {
|
|
display: none;
|
|
position: absolute;
|
|
background: rgba(255, 255, 255, 0.8);
|
|
border: 1px solid #dae2e9;
|
|
border-top: 0;
|
|
left: 41px;
|
|
top: 68px;
|
|
right: 41px;
|
|
list-style: none;
|
|
padding: 3px 0;
|
|
font-size: 11px;
|
|
-webkit-border-bottom-left-radius: 5px;
|
|
-webkit-border-bottom-right-radius: 5px;
|
|
-moz-border-radius-bottomleft: 5px;
|
|
-moz-border-radius-bottomright: 5px;
|
|
}
|
|
|
|
#sugs li a {
|
|
display: block;
|
|
padding: 3px 8px;
|
|
color: #74889e;
|
|
}
|
|
|
|
#sugs li.active a {
|
|
background: #b7c2cf;
|
|
color: white;
|
|
}
|
|
|
|
#sugs li a:active {
|
|
background: #939fad;
|
|
}
|