gamesearch/css/index.css
2021-12-02 13:07:23 +03:00

592 lines
11 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;
background-color: #121212;
height: 100%;
font-family: Roboto;
}
.maindiv {
margin: auto;
position: relative;
text-align: left;
top: 25%;
width: 50%;
}
.maindiv img {
max-width: 50%;
}
.searchlogo {
text-align: center;
}
.maindiv p {
font-size: 1em;
color: white;
text-align: center;
margin: auto;
padding: 0;
}
@media (max-width: 600px) {
.maindiv {
margin: auto;
position: relative;
text-align: left;
top: 25%;
width: 90%;
}
.maindiv img {
max-width: 85%;
}
.sidebar {
visibility: hidden;
}
.toggle {
visibility: hidden;
}
}
/* Search Box */
.searchbox {
width: 60%;
}
.search {
text-align: centre;
padding-top: 150px;
width: auto;
width: 60%;
margin: 0 auto 0 auto;
animation: slidein 0.3s ease;
}
.search img {
display: block;
margin: 0 auto;
width: 50%;
height: auto;
margin-bottom: -30px;
animation: slidein 0.3s ease;
}
.gsc-search-button .gsc-search-button-v2 {
border-radius: 50px;
border-color: #F63F4D;
background-color: #F63F4D;
font-family: 'Roboto';
margin: auto;
}
.gsc-input-box input.gsc-input, .gsc-input-box, .gsc-input-box-hover, .gsc-input-box-focus {
border-radius: 20px !important;
border-color: #F63F4D !important;
border-width: 5px !important;
background-color: #121212 !important;
color: white;
font-family: 'Roboto';
font-size: 20px;
}
.gsc-input-box {
box-shadow: 0 0 10px black;
}
button.gsc-search-button {
padding:10px !important;
background-color: #F63F4D;
box-shadow: 0 0 10px black;
height: 50px;
width: 50px;
}
.gsc-result-info {
display: none;
}
.gs-webResult {
padding: 1.5em;
}
.gsc-thumbnail {
display: none;
}
.gsc-cursor-page {
font-size: 1.5em;
padding: 5px 10px !important;
}
.gs-snippet {
display: none;
}
.gs-title a {
font-size: 1.5em;
}
.gcsc-more-maybe-branding-root {
display: none;
}
.gsc-orderby {
display: none;
}
.gsc-snippet-metadata {
display: none;
}
.gsc-control-cse {
background-color: transparent !important;
border-color: transparent !important;
}
.gs-webResult.gs-result a.gs-title:link, .gs-webResult.gs-result a.gs-title:link b, .gs-imageResult a.gs-title:link, .gs-imageResult a.gs-title:link b {
color: white !important;
font-size: 20px;
}
.gs-promotion .gs-visibleUrl, .gs-webResult .gs-visibleUrl {
color: green !important;
font-size: 15px;
}
.gsc-webResult.gsc-result, .gsc-results .gsc-imageResult {
background-color: #121212 !important;
border-color: #F63F4D !important;
}
.gsc-webResult.gsc-result {
border: none !important;
border-bottom: 5px solid #F63F4D !important;
}
.gsc-above-wrapper-area {
border-bottom: black !important;
}
.gsc-cursor-box .gs-bidi-start-align {
background-color: black !important;
border-radius: 20px;
}
.gsc-results .gsc-cursor-box {
margin: 15px !important;
background-color: transparent !important;
}
.gs-spelling .gs-spelling-original {
color: white !important;
}
.gsc-results .gsc-cursor-box .gsc-cursor-page {
border-color: #F63F4D !important;
border-radius: 25px !important;
background-color: #F63F4D !important;
color: white !important;
margin: 5px;
}
.gsc-results .gsc-cursor-box .gsc-cursor-current-page {
border-color: #F63F4D !important;
background-color: white !important;
color: #F63F4D !important;
border: 5px solid !important;
border-radius: 20px !important;
padding: 5px 10px !important;
}
.gsc-results .gsc-cursor-box {
margin: 20px !important;
}
.gsc-results {
background-color: transparent !important;
}
.gsc-adBlock {
display: none !important;
}
.gsst_a .gscb_a {
color: #F63F4D !important;
cursor: pointer;
}
.gsc-results .gsc-cursor {
fill: white !important;
}
.gsc-completion-container {
background: #121212 !important;
color: white !important;
border-color: #F63F4D !important;
border-radius: 10px !important;
padding: 10px !important;
}
.gssb_a:hover {
background: #F63F4D !important;
color: white !important;
}
.gsc-refinementsArea {
border-bottom: none !important;
}
.gsc-tabHeader.gsc-tabhInactive, .gsc-refinementHeader.gsc-refinementhInactive {
color: white !important;
border-color: #121212 !important;
background-color: #121212 !important;
}
.gsc-tabHeader.gsc-tabhActive, .gsc-refinementHeader.gsc-refinementhActive {
color: #F63F4D !important;
border-color: #F63F4D !important;
background-color: #121212 !important;
}
.gsc-control-cse .gsc-table-result {
font-family: roboto !important;
background: white !important;
border-radius: 5px !important;
margin: auto !important;
padding: 0 5px !important;
width: fit-content !important;
float: left !important;
}
.gs-webResult div.gs-visibleUrl {
color: lightgreen !important;
}
@media (max-width: 600px) {
.gsc-results .gsc-cursor-box .gsc-cursor-page {
border-color: #F63F4D !important;
border-radius: 25px !important;
background-color: #F63F4D !important;
color: white !important;
margin: auto !important;
}
.gsc-results .gsc-cursor-box {
border: none !important;
border-radius: 20px !important;
}
.gsc-cursor-next-page {
color: white !important;
font-weight: bold !important;
}
.gcsc-find-more-on-google-root {
display: none;
}
}
/* No Javascript Warning */
#noscript-warning {
position: fixed;
top: 0;
left: 0;
width: 100%;
text-align: center;
font-weight: bold;
padding: 5px 0;
color: white;
background-color: red;
}
/*Slideout Sidebar*/
.toggle {
text-decoration: none;
font-size: 2em;
color: white;
-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;
animation: slidein 0.3s ease-in;
}
.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;
box-shadow: 0 0 10px black;
animation: slidein 0.3s ease-in;
}
.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;
}
#foundcounter {
margin: 0 0 50px 0;
padding: 0;
color: white;
font-family: 'Roboto';
bottom: 10px;
width: 100%;
font-size: 15px;
position: fixed;
}
#foundcounterno {
margin: 0 0 70px 0;
padding: 0;
color: white;
font-family: 'Roboto';
bottom: 10px;
width: 100%;
font-size: 15px;
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';
}
.at-tjin-title {
display: none !important;
}
.at-resp-share-element {
text-align: center !important;
}
.at-tjin-element .at-tjin-btn {
transition: unset !important;
}
/* FAB Wheel */
.adminActions {
position: fixed;
bottom: 35px; right: 35px;
}
.adminButton {
height: 60px;
width: 60px;
background-color: #F63F4D;
border-radius: 50%;
display: block;
color: #fff;
text-align: center;
position: relative;
z-index: 1;
}
.adminButton i {
font-size: 22px;
}
.adminButtons {
position: absolute;
width: 100%;
bottom: 120%;
text-align: center;
}
.adminButtons a {
display: block;
width: 45px;
height: 45px;
border-radius: 50%;
text-decoration: none;
margin: 10px auto 0;
line-height: 1.15;
color: #fff;
opacity: 0;
visibility: hidden;
position: relative;
box-shadow: 0 0 5px 1px rgba(51, 51, 51, .3);
}
.adminButtons a:hover {
transform: scale(1.05);
}
.adminButtons a:nth-child(1) {background-color: #ff5722; transition: opacity .2s ease-in-out .3s, transform .15s ease-in-out;}
.adminButtons a:nth-child(2) {background-color: #03a9f4; transition: opacity .2s ease-in-out .25s, transform .15s ease-in-out;}
.adminButtons a:nth-child(3) {background-color: #f44336; transition: opacity .2s ease-in-out .2s, transform .15s ease-in-out;}
.adminButtons a:nth-child(4) {background-color: #4CAF50; transition: opacity .2s ease-in-out .15s, transform .15s ease-in-out;}
.adminActions a i {
position: absolute;
top: 50%; left: 50%;
transform: translate(-50%, -50%);
}
.adminToggle {
-webkit-appearance: none;
position: absolute;
border-radius: 50%;
top: 0; left: 0;
margin: 0;
width: 100%;
height: 100%;
cursor: pointer;
background-color: transparent;
border: none;
outline: none;
z-index: 2;
transition: box-shadow .2s ease-in-out;
box-shadow: 0 3px 5px 1px rgba(51, 51, 51, .3);
}
.adminToggle:hover {
box-shadow: 0 3px 6px 2px rgba(51, 51, 51, .3);
}
.adminToggle:checked ~ .adminButtons a {
opacity: 1;
visibility: visible;
}
/* Share Buttons */
.share {
display: flex;
text-align: center;
align-items: center;
justify-content: center;
}
.share-button {
display: flex;
text-align: center;
width: 180px;
height: 50px;
align-items: center;
justify-content: center;
cursor: pointer;
}
.share-button a {
flex: 1;
font-size: 20px;
color: #F63F4D;
text-align: center;
}
/* Preloader */
.preloader_bg{
position: fixed;
z-index: 999999;
background: #121212;
width: 100%;
height: 100%;
}
.preloader{
border: 0 soild transparent;
border-radius: 50%;
width: 150px;
height: 150px;
position: absolute;
top: calc(50vh - 75px);
left: calc(50vw - 75px);
}
.preloader:before, .preloader:after{
content: '';
border: 1em solid #F63F4D;
border-radius: 50%;
width: inherit;
height: inherit;
position: absolute;
top: 0;
left: 0;
animation: loader 2s linear infinite;
opacity: 0;
}
.preloader:before{
animation-delay: .5s;
}
@keyframes loader{
0%{
transform: scale(0);
opacity: 0;
}
50%{
opacity: 1;
}
100%{
transform: scale(1);
opacity: 0;
}
}