/* @import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans&display=swap'); */ /* @import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans&family=Silkscreen&display=swap'); */ @import url('https://fonts.googleapis.com/css2?family=Silkscreen&display=swap'); @font-face { font-family: 'Open Sans PX'; src: url('../fonts/OpenSansPX.ttf') format('truetype') } :root { font-size: 14px; font-family: 'Silkscreen', sans-serif; line-height: 1.5; font-weight: 400; --font-color: #ecebf7; --grey-color: #a2a1b3; --background-color: #111111; --link-color: #99ccff; --link-color-hover: #4236f7; color-scheme: light dark; font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-text-size-adjust: 100%; } [data-theme="light"] { --font-color: #343340; --grey-color: #6f6d80; --background-color: #ffffff; --link-color: #99ccff; --link-color-hover: #4236f7; } body { margin: 0; /* display: flex; */ padding: 0; /* min-width: 320px; */ min-height: 100vh; color: var(--font-color); background-color: var(--background-color); } #introduction { margin-bottom: 2rem; text-align: center; padding: 2rem; } a { color: var(--link-color); text-decoration: none; } @media (hover:hover) { a:hover { color: var(--link-color-hover); } } p { font-family: "Open Sans PX", sans-serif; font-size: 20px; } input[type="text"] { font-family: 'Open Sans PX', sans-serif; font-size: 20px; padding: 9px; color: var(--font-color); border: 2px solid var(--grey-color); box-sizing: border-box; } input[type="text"]:focus { outline: 0; border-color: var(--font-color) } .pixel-input { position: relative; box-sizing: border-box; padding: 2px; background: var(--grey-color); clip-path: polygon( 0 4px, 2px 4px, 2px 2px, 4px 2px, 4px 0, calc(100% - 4px) 0, calc(100% - 4px) 2px, calc(100% - 2px) 2px, calc(100% - 2px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 2px) calc(100% - 4px), calc(100% - 2px) calc(100% - 2px), calc(100% - 4px) calc(100% - 2px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 2px), 2px calc(100% - 2px), 2px calc(100% - 4px), 0 calc(100% - 4px) ); } .pixel-input input[type="text"] { background: var(--background-color); border: 0; box-sizing: border-box; clip-path: polygon( 2px 0, calc(100% - 2px) 0, calc(100% - 2px) 2px, 100% 2px, 100% calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) 100%, 2px 100%, 2px calc(100% - 2px), 0 calc(100% - 2px), 0 2px, 2px 2px ); } .pixel-input:focus-within { background-color: var(--font-color) } #wrapper { width: 100%; max-width: 1280px; margin: 0 auto; padding: 2rem; font-size: 13.5px; box-sizing: border-box; } header { display: flex; justify-content: flex-start; align-items: center; gap: 18px; flex-wrap: wrap; margin: 36px 0 54px; } footer { margin-top: 36px; text-align: center; } header .buttons { display: flex; gap: 18px; justify-content: flex-start; align-items: center; } h1 { font-size: 3.2em; line-height: 1; margin: 0; } #site-title { width: auto; fill: currentColor; margin-right: auto; } svg#site-title, img#site-title { height: 30px; } a.button, button.button { display: inline-block; font-size: 1em; line-height: 1.5em; padding: 4px 9px; border: 2px solid var(--grey-color); color: var(--font-color); background-color: var(--background-color); text-decoration: none; appearance: none; -webkit-appearance: none; cursor: pointer; } .pill { display: inline-block; cursor: pointer; box-sizing: border-box; padding: 2px; background: var(--grey-color); clip-path: polygon( 0 4px, 2px 4px, 2px 2px, 4px 2px, 4px 0, calc(100% - 4px) 0, calc(100% - 4px) 2px, calc(100% - 2px) 2px, calc(100% - 2px) 4px, 100% 4px, 100% calc(100% - 4px), calc(100% - 2px) calc(100% - 4px), calc(100% - 2px) calc(100% - 2px), calc(100% - 4px) calc(100% - 2px), calc(100% - 4px) 100%, 4px 100%, 4px calc(100% - 2px), 2px calc(100% - 2px), 2px calc(100% - 4px), 0 calc(100% - 4px) ); } .pill a.button, .pill button.button { background: var(--background-color); border: 0; box-sizing: border-box; clip-path: polygon( 2px 0, calc(100% - 2px) 0, calc(100% - 2px) 2px, 100% 2px, 100% calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) 100%, 2px 100%, 2px calc(100% - 2px), 0 calc(100% - 2px), 0 2px, 2px 2px ); } @media (hover: hover) { a.button:hover, button.button:hover { border-color: var(--font-color); } .pill:hover, .pill:hover { background-color: var(--font-color); } } img.theme-icon { width: 1em; height: 1em; vertical-align: middle; } .ms-auto { margin-left: auto } #root { width: 100%; } input#search { width: 100%; } #btn-clear-search { appearance: none; position: absolute; right: 0.5rem; top: 0; bottom: 0; margin-top: auto; margin-bottom: auto; background: transparent; border: 0; font-family: Silkscreen, sans-serif; font-size: 1rem; cursor: pointer; color: inherit; } #display-options { margin-top: 18px; font-size: 1em; line-height: 18px; display: flex; gap: 0.5em; } ul.icon-list { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; /* display: grid; grid-template-columns: repeat( auto-fit, minmax( 54px, 1fr ) ); */ gap: 18px; } ul.icon-list.show-name { /* grid-template-columns: repeat( auto-fit, minmax( 99px, 1fr ) ); */ } ul.icon-list>li { box-sizing: border-box; width: 54px; padding: 9px; text-align: center; display: flex; flex-direction: column; align-items: center; } ul.icon-list.show-name>li { padding: 9px; width: 99px; height: 126px; /* border: 1px solid #ccc; */ } ul.icon-list img.icon { width: 36px; height: auto; cursor: pointer; } ul.icon-list .name { font-size: 20px; line-height: 24px; margin-top: 9px; font-family: "Open Sans PX"; } ul.icon-list a { color: var(--font-color); } .no-result { text-align: center; padding: 6rem 0; overflow-x: hidden; } @media (hover:hover) { ul.icon-list>li:hover img.icon { transform: translateY(-6px); } } #icon-details { display: flex; flex-direction: column; align-items: center; gap: 4rem; /* justify-content: space-between; */ } img#icon-preview { width: 360px; max-width: 100%; height: auto; } #icon-actions { display: flex; gap: 0.5rem; } #icon-palette { text-align: center; } #icon-palette ul { list-style: none; padding: 0; margin: 0; } #icon-palette li { display: flex; justify-content: center; gap: 0.5rem; margin-top: 0.5rem; align-items: center; cursor: pointer; } #icon-palette .color-box { width: 1.2rem; height: 1rem; } #icon-palette .color-code { flex-basis: 6em; } #color-copied { position: fixed; top: -500px; left: 50%; transform: translate(-50%, -50%); padding: 0.5em 1em; background: #000000; color: #ffffff; font-family: 'Open Sans PX', sans-serif; font-size: 2rem; pointer-events: none; } @keyframes flash { 0% { opacity: 1; top: 50%; } 50% { opacity: 1; top: 50%; } 99% { top: 50%; opacity: 0; } 100% { top: -500px; } } #icon-tags { text-align: center; } #icon-tags ul { list-style: none; margin: 0.5rem 0 0; padding: 0; display: flex; max-width: 360px; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }