1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 07:14:40 -05:00

fix mobile search icon

This commit is contained in:
Ashley 2023-01-01 18:17:24 +00:00
parent 3db5e69b06
commit 08e263fbd2

View file

@ -1,391 +1,520 @@
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 8.5px; width: 8.5px;
background-color: #36363E background-color: #36363e;
} }
::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {
background-color: #7C7C84; background-color: #7c7c84;
border-radius: 8.75px border-radius: 8.75px;
} }
::-webkit-scrollbar-thumb:hover { ::-webkit-scrollbar-thumb:hover {
background-color: #909098 background-color: #909098;
} }
p { p {
color: #fff color: #fff;
} }
h1 { h1 {
font-size: 50px; font-size: 50px;
margin: 0; margin: 0;
color: #fff color: #fff;
} }
h5 { h5 {
display: block; display: block;
font-size: 0.83em; font-size: 0.83em;
margin: 1.67em 0; margin: 1.67em 0;
font-weight: 700; font-weight: 700;
color: #fff color: #fff;
} }
a { a {
color: #007bff; color: #007bff;
text-decoration: none; text-decoration: none;
background-color: transparent background-color: transparent;
} }
a:hover { a:hover {
color: #0056b3; color: #0056b3;
text-decoration: underline text-decoration: underline;
} }
a:not([href]) { a:not([href]) {
color: inherit; color: inherit;
text-decoration: none text-decoration: none;
} }
a:not([href]):hover { a:not([href]):hover {
color: inherit; color: inherit;
text-decoration: none text-decoration: none;
} }
.page-footer-section a,.page-footer-section p { .page-footer-section a,
color: #B2B4BF .page-footer-section p {
color: #b2b4bf;
} }
p { p {
margin-top: 0; margin-top: 0;
margin-bottom: 1rem margin-bottom: 1rem;
} }
p { p {
display: block; display: block;
margin-block-start: 1em; margin-block-start: 1em;
margin-block-end: 1em; margin-block-end: 1em;
margin-inline-start: 0; margin-inline-start: 0;
margin-inline-end: 0 margin-inline-end: 0;
} }
.mb-3,.my-3 { .mb-3,
margin-bottom: 1rem!important .my-3 {
margin-bottom: 1rem !important;
} }
.h5,h5 { .h5,
font-size: 1.3125rem h5 {
font-size: 1.3125rem;
} }
.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6 { .h1,
line-height: 1.25 .h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
line-height: 1.25;
} }
.h5,h5 { .h5,
font-size: 1.25rem h5 {
font-size: 1.25rem;
} }
.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6 { .h1,
margin-bottom: 0.5rem; .h2,
font-weight: 500; .h3,
line-height: 1.2; .h4,
color: #fff .h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
margin-bottom: 0.5rem;
font-weight: 500;
line-height: 1.2;
color: #fff;
} }
.page-footer-section { .page-footer-section {
position: relative; position: relative;
padding-top: 100px; padding-top: 100px;
padding-bottom: 20px; padding-bottom: 20px;
background-color: #F0EEF5 background-color: #f0eef5;
} }
.page-footer-section.bg-dark .caption { .page-footer-section.bg-dark .caption {
color: rgba(255,255,255,.6) color: rgba(255, 255, 255, 0.6);
} }
.page-footer-section.bg-dark hr { .page-footer-section.bg-dark hr {
border-color: #4d4853 border-color: #4d4853;
} }
.menu-link { .menu-link {
position: relative; position: relative;
padding-left: 0; padding-left: 0;
list-style: none list-style: none;
} }
.menu-link li { .menu-link li {
display: block; display: block;
margin: 10px 0 margin: 10px 0;
} }
.mea:hover { .mea:hover {
color: #526bf5; color: #526bf5;
text-decoration: none text-decoration: none;
} }
.page-footer-section a,.page-footer-section p { .page-footer-section a,
color: #B2B4BF .page-footer-section p {
color: #b2b4bf;
} }
.page-footer-section a:hover { .page-footer-section a:hover {
color: #526bf5; color: #526bf5;
text-decoration: none text-decoration: none;
} }
.client-img > img { .client-img > img {
width: auto; width: auto;
max-width: 100%; max-width: 100%;
height: auto; height: auto;
max-height: 100px max-height: 100px;
} }
.row { .row {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
margin-right: -15px; margin-right: -15px;
margin-left: -15px margin-left: -15px;
} }
.col,.col-1,.col-10,.col-11,.col-12,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-auto,.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-auto,.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-auto,.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-auto { .col,
position: relative; .col-1,
width: 100%; .col-10,
padding-right: 15px; .col-11,
padding-left: 15px .col-12,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-auto,
.col-lg,
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-auto,
.col-md,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-auto,
.col-sm,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-auto,
.col-xl,
.col-xl-1,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-auto {
position: relative;
width: 100%;
padding-right: 15px;
padding-left: 15px;
} }
.fa-icon { .fa-icon {
align-items: center; align-items: center;
background-color: transparent; background-color: transparent;
border: 0; border: 0;
display: inline-flex; display: inline-flex;
justify-content: center; justify-content: center;
margin: 0; margin: 0;
padding: 0 0.1em; padding: 0 0.1em;
position: relative; position: relative;
user-select: none; user-select: none;
vertical-align: text-bottom; vertical-align: text-bottom;
-webkit-user-select: none -webkit-user-select: none;
} }
.fa-icon > * { .fa-icon > * {
pointer-events: none pointer-events: none;
} }
.fa-icon.disabled,.fa-icon[disabled] { .fa-icon.disabled,
color: var(--button-disabled-ink); .fa-icon[disabled] {
fill: var(--button-disabled-ink); color: var(--button-disabled-ink);
filter: var(--button-disabled-filter); fill: var(--button-disabled-ink);
stroke: var(--button-disabled-ink); filter: var(--button-disabled-filter);
pointer-events: none stroke: var(--button-disabled-ink);
pointer-events: none;
} }
.fa-icon > .fa-icon-badge,.fa-icon.disabled > .fa-icon-badge { .fa-icon > .fa-icon-badge,
visibility: hidden .fa-icon.disabled > .fa-icon-badge {
visibility: hidden;
} }
.fa-icon.fa-icon-badged > .fa-icon-badge { .fa-icon.fa-icon-badged > .fa-icon-badge {
bottom: -20%; bottom: -20%;
display: inline-block; display: inline-block;
font: 60% sans-serif; font: 60% sans-serif;
left: calc(100% - 0.2em); left: calc(100% - 0.2em);
position: absolute; position: absolute;
visibility: visible visibility: visible;
} }
.fa-icon.fa-icon-hflipped > svg { .fa-icon.fa-icon-hflipped > svg {
transform: scale(-1, 1) transform: scale(-1, 1);
} }
.fa-icon.fa-icon-vflipped > svg { .fa-icon.fa-icon-vflipped > svg {
transform: scale(1, -1) transform: scale(1, -1);
} }
.fa-icon > svg { .fa-icon > svg {
height: 1em; height: 1em;
overflow: visible; overflow: visible;
width: 1em width: 1em;
} }
.fa-icon > .fa-icon_bar-chart { .fa-icon > .fa-icon_bar-chart {
width: calc(1em * 2048 / 1792) width: calc(1em * 2048 / 1792);
} }
.fa-icon > .fa-icon_cloud-download,.fa-icon > .fa-icon_cloud-upload,.fa-icon > .fa-icon_cogs,.fa-icon > .fa-icon_eraser,.fa-icon > .fa-icon_film { .fa-icon > .fa-icon_cloud-download,
width: calc(1em * 1920 / 1792) .fa-icon > .fa-icon_cloud-upload,
.fa-icon > .fa-icon_cogs,
.fa-icon > .fa-icon_eraser,
.fa-icon > .fa-icon_film {
width: calc(1em * 1920 / 1792);
} }
.fa-icon > .fa-icon_code { .fa-icon > .fa-icon_code {
width: calc(1em * 1830 / 1792) width: calc(1em * 1830 / 1792);
} }
.fa-icon > .fa-icon_exclamation-triangle { .fa-icon > .fa-icon_exclamation-triangle {
width: calc(1em * 1794 / 1792) width: calc(1em * 1794 / 1792);
} }
.fa-icon > .fa-icon_clipboard,.fa-icon > .fa-icon_comment-alt,.fa-icon > .fa-icon_external-link,.fa-icon > .fa-icon_eye-dropper,.fa-icon > .fa-icon_eye-open,.fa-icon > .fa-icon_eye-slash,.fa-icon > .fa-icon_files-o,.fa-icon > .fa-icon_list-alt { .fa-icon > .fa-icon_clipboard,
width: calc(1em * 1792 / 1792) .fa-icon > .fa-icon_comment-alt,
.fa-icon > .fa-icon_external-link,
.fa-icon > .fa-icon_eye-dropper,
.fa-icon > .fa-icon_eye-open,
.fa-icon > .fa-icon_eye-slash,
.fa-icon > .fa-icon_files-o,
.fa-icon > .fa-icon_list-alt {
width: calc(1em * 1792 / 1792);
} }
.fa-icon > .fa-icon_download-alt,.fa-icon > .fa-icon_font,.fa-icon > .fa-icon_search,.fa-icon > .fa-icon_spinner,.fa-icon > .fa-icon_unlink,.fa-icon > .fa-icon_upload-alt,.fa-icon > .fa-icon_zoom-in,.fa-icon > .fa-icon_zoom-out { .fa-icon > .fa-icon_download-alt,
width: calc(1em * 1664 / 1792) .fa-icon > .fa-icon_font,
.fa-icon > .fa-icon_search,
.fa-icon > .fa-icon_spinner,
.fa-icon > .fa-icon_unlink,
.fa-icon > .fa-icon_upload-alt,
.fa-icon > .fa-icon_zoom-in,
.fa-icon > .fa-icon_zoom-out {
width: calc(1em * 1664 / 1792);
} }
.fa-icon > .fa-icon_home { .fa-icon > .fa-icon_home {
width: calc(1em * 1612 / 1792) width: calc(1em * 1612 / 1792);
} }
.fa-icon > .fa-icon_check { .fa-icon > .fa-icon_check {
width: calc(1em * 1550 / 1792) width: calc(1em * 1550 / 1792);
} }
.fa-icon > .fa-icon_clock-o,.fa-icon > .fa-icon_cog,.fa-icon > .fa-icon_floppy-o,.fa-icon > .fa-icon_info-circle,.fa-icon > .fa-icon_pause-circle-o,.fa-icon > .fa-icon_play-circle-o,.fa-icon > .fa-icon_power-off,.fa-icon > .fa-icon_question-circle,.fa-icon > .fa-icon_refresh,.fa-icon > .fa-icon_save,.fa-icon > .fa-icon_sliders,.fa-icon > .fa-icon_undo { .fa-icon > .fa-icon_clock-o,
width: calc(1em * 1536 / 1792) .fa-icon > .fa-icon_cog,
.fa-icon > .fa-icon_floppy-o,
.fa-icon > .fa-icon_info-circle,
.fa-icon > .fa-icon_pause-circle-o,
.fa-icon > .fa-icon_play-circle-o,
.fa-icon > .fa-icon_power-off,
.fa-icon > .fa-icon_question-circle,
.fa-icon > .fa-icon_refresh,
.fa-icon > .fa-icon_save,
.fa-icon > .fa-icon_sliders,
.fa-icon > .fa-icon_undo {
width: calc(1em * 1536 / 1792);
} }
.fa-icon > .fa-icon_arrow-right { .fa-icon > .fa-icon_arrow-right {
width: calc(1em * 1472 / 1792) width: calc(1em * 1472 / 1792);
} }
.fa-icon > .fa-icon_filter { .fa-icon > .fa-icon_filter {
width: calc(1em * 1410 / 1792) width: calc(1em * 1410 / 1792);
} }
.fa-icon > .fa-icon_plus,.fa-icon > .fa-icon_trash-o { .fa-icon > .fa-icon_plus,
width: calc(1em * 1408 / 1792) .fa-icon > .fa-icon_trash-o {
width: calc(1em * 1408 / 1792);
} }
.fa-icon > .fa-icon_times { .fa-icon > .fa-icon_times {
width: calc(1em * 1188 / 1792) width: calc(1em * 1188 / 1792);
} }
.fa-icon > .fa-icon_angle-up,.fa-icon > .fa-icon_double-angle-up,.fa-icon > .fa-icon_lock,.fa-icon > .fa-icon_unlock-alt { .fa-icon > .fa-icon_angle-up,
width: calc(1em * 1152 / 1792) .fa-icon > .fa-icon_double-angle-up,
.fa-icon > .fa-icon_lock,
.fa-icon > .fa-icon_unlock-alt {
width: calc(1em * 1152 / 1792);
} }
.fa-icon > .fa-icon_double-angle-left { .fa-icon > .fa-icon_double-angle-left {
width: calc(1em * 966 / 1792) width: calc(1em * 966 / 1792);
} }
.fa-icon > .fa-icon_bolt { .fa-icon > .fa-icon_bolt {
width: calc(1em * 896 / 1792) width: calc(1em * 896 / 1792);
} }
body { body {
background: #000 background: #000;
} }
nav { nav {
font-family: Roboto; font-family: Roboto;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
height: 4em; height: 4em;
} }
nav a { nav a {
color: #fff; color: #fff;
text-decoration: none; text-decoration: none;
font-weight: 700 font-weight: 700;
} }
nav a span { nav a span {
color: red color: red;
} }
nav .left { nav .left {
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
align-items: center; align-items: center;
padding-left: 1em padding-left: 1em;
} }
nav .left a { nav .left a {
margin-left: 30px margin-left: 30px;
} }
nav .left a i { nav .left a i {
padding-right: 4px padding-right: 4px;
} }
nav .middle { nav .middle {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
nav .middle .search-bar { nav .middle .search-bar {
display: flex; display: flex;
transform: translateY(1em); transform: translateY(1em);
background: #222; background: #222;
border: 1px solid #444; border: 1px solid #444;
width: 320px; width: 320px;
height: 30px height: 30px;
} }
nav .middle button { nav .middle button {
display: flex; display: flex;
transform: translate(22em, -1.25em); transform: translate(22em, -1.25em);
background: #454545; background: #454545;
color: #999; color: #999;
padding: 10px 10px; padding: 10px 10px;
border: 1px; border: 1px;
border-radius: 50%; border-radius: 50%;
} }
nav .middle input { nav .middle input {
background:#454545; background: #454545;
color:#999; color: #999;
padding:2px 25px padding: 2px 25px;
} }
.search { .search {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.search .search-bar { .search .search-bar {
display: flex; display: flex;
transform: translateY(1.5em); transform: translateY(1.5em);
background: #222; background: #222;
border: 1px solid #444; border: 1px solid #444;
width: 320px; width: 320px;
height: 30px height: 30px;
} }
.search button { .search button {
display: flex; display: flex;
transform: translate(11.5em, -0.75em); transform: translate(11.5em, -0.75em);
background: #454545; background: #454545;
color: #999; color: #999;
padding: 10px 10px; padding: 10px 10px;
border: 1px; border: 1px;
border-radius: 50%; border-radius: 50%;
} }
.search input { .search input {
background: #454545; background: #454545;
color: #999; color: #999;
padding: 2px 25px padding: 2px 25px;
} }
nav .right { nav .right {
display: flex; display: flex;
align-items: center; align-items: center;
padding-right: 1.5em; padding-right: 1.5em;
} }
nav .right a { nav .right a {
padding-left: 1.5em padding-left: 1.5em;
} }
nav .right img { nav .right img {
height: 30px; height: 30px;
width: 30px; width: 30px;
border-radius: 50% border-radius: 50%;
} }
@font-face { @font-face {
font-family: "PokeTube Flex"; font-family: "PokeTube Flex";
src: url("https://p.poketube.fun/https://cdn.glitch.global/43b6691a-c8db-41d4-921c-8cf6aa0d9108/robotoflex.ttf?v=1668343428681"); src: url("https://p.poketube.fun/https://cdn.glitch.global/43b6691a-c8db-41d4-921c-8cf6aa0d9108/robotoflex.ttf?v=1668343428681");
@ -406,10 +535,12 @@ nav .right img {
font-weight: 600; font-weight: 600;
} }
.btn.btn-success { @media screen and (min-width: 1000px) {
transform: translate(21em, -1.25em) !important; .btn.btn-success {
transform: translate(21em, -1.25em) !important;
}
} }
nav .middle .search-bar { nav .middle .search-bar {
border-radius: 2em !important; border-radius: 2em !important;
} }