@font-face { font-family: "NiseSegaSonic"; src: local("NiseSegaSonic"), url("/fonts/NiseSegaSonic.ttf") format("truetype"); } :root { --color-gray-20: #e0e0e0; --color-gray-50: #C0C0C0; --color-gray-90: #333; /* --text-color is assigned to --color-gray-_ above */ --text-color-link: #c92a2a; --text-color-link-active: #c92a2a; --text-color-link-visited: #c92a2a; --link-color-hover: #ffe8cc; --background-color: #fff; --background-menu: #001d6b; --text-color: var(--color-gray-90); --font-family: -apple-system, system-ui, sans-serif; --font-family-monospace: Consolas, Menlo, Monaco, Andale Mono WT, Andale Mono, Lucida Console, Lucida Sans Typewriter, DejaVu Sans Mono, Bitstream Vera Sans Mono, Liberation Mono, Nimbus Mono L, Courier New, Courier, monospace; --font-family-logo:"NiseSegaSonic", system-ui, sans-serif; --font-family-title:vipnagorgialla, system-ui, sans-serif; } * { box-sizing: border-box; } html, body { padding: 0; margin: 0 auto; min-height:100%; font-family: var(--font-family); color: var(--text-color); max-width:1280px; } html { overflow-y: scroll; background: center top fixed url("/img/dark-b10.png"), center top fixed url("/img/erratu18.png"); background-repeat: repeat-y, repeat; background-color:#63ce08; } /* https://www.a11yproject.com/posts/how-to-hide-content/ */ .visually-hidden { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; } a[href] { color: var(--text-color-link); padding: 0.05rem; border-radius: 0.1rem; text-decoration: underline dashed 1px; text-underline-offset: 0.1rem; } a[href]:visited { color: var(--text-color-link-visited); } a[href]:hover, a[href]:active { color: var(--text-color-link-active); background-color: var(--link-color-hover); text-decoration: none; } blockquote { opacity: 75%; border-left: 3px solid currentColor; padding-left: 12px; } img { max-width: 100%; } summary { font-style: italic; border-radius:3px; padding:0px 6px; } summary:hover { background-color: rgba(0,0,0,0.2); } /* Direct Links / Markdown Headers */ .header-anchor { text-decoration: none; font-style: normal; font-size: 1em; margin-left: .1em; } a[href].header-anchor, a[href].header-anchor:visited { color: transparent; } a[href].header-anchor:focus, a[href].header-anchor:hover { text-decoration: underline; } a[href].header-anchor:focus, :hover > a[href].header-anchor { color: #aaa; } .wrapper { display:flex; } header { background:center center url("/img/back2.png"); background-size: 110%; height:240px; box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.8); margin:12px 12px 3px; display:flex; align-items: center; justify-content: center; border: 16px solid transparent; border-image: url('/img/bgcard.png') 16 round; border-image-outset: 4px; } header h1 { text-align: center; } header h1 a { font-size:5rem; text-shadow:-2px -2px 0 #000, 0 -2px 0 #000, 2px -2px 0 #000, 2px 0 0 #000, 2px 2px 0 #000, 0 2px 0 #000, -2px 2px 0 #000, -2px 0 0 #000, .05em .1em 0 #000; color:white!important; text-decoration: none; text-transform: uppercase; display: block; font-family: var(--font-family-logo); line-height: 1; margin: 0; padding: 0; } main, .card, #sidebar ul > li { padding:0px; margin:12px; background-color: var(--background-color); border: 16px solid transparent; border-image: url('/img/bgcard.png') 16 round; border-image-outset: 4px; line-height:1.5rem; flex-grow:1; } table { width: 100%; border-collapse: collapse; } .pokepage .grid :first-child { margin-right: 4px; } .pokepage .grid :last-child { margin-left: 4px; } table td, table th { text-align: center; border: 1px solid rgba(0, 0, 0, 0.2); height: 1.5rem; } table thead th { background-color: var(--text-color-link); color: white; border-bottom: 2px solid black; height: 1.5rem; } table:not(.pokedex) { table-layout: fixed; } .pokedex table:not(.pokedex) { table-layout: auto; } #sidebar ul > li { list-style: none; font-weight: bold; } #more-info ol > li, #more-info ul > li { list-style: none; } #sidebar ul > li li, #more-info li { border-radius:0px; padding:0px; margin:0px; font-weight: normal; border:0; box-shadow: none; } ul.nav, #sidebar ul li ul, #more-info ol, .maininfo ul { padding:0; margin:0; list-style: none; } #sidebar ul li a, #more-info ol li a, #more-info .maininfo ul li { display:block; width:100%; text-decoration:none; color:var(--text-color)!important; border-radius:3px; padding:3px; } #more-info h2 { padding: 3px; margin: 0; font-size: 1rem; } #sidebar ul li li a, #more-info ul li a, #more-info ol li a { padding-left:18px; } #sidebar ul li a.active, #more-info ol li a.active { background-color:rgba(0,0,0,0.1); } #sidebar ul li a:hover, #more-info ol li a:hover { background-color:rgba(0,0,0,0.2); } #more-info, #sidebar { min-width:240px; width:240px; } figcaption { font-size: 0.8rem; line-height: 1.1rem; font-style: italic; } .maininfo { font-size: 0.9rem; line-height: 1.2rem; } footer { text-align:right; margin:auto; padding:12px; width:800px; } .mobile-buttons { display: none; } @media screen and (max-width: 1000px) { html { width: 100%; } #more-info, #sidebar { width: 100%; } #more-info:not(.visible), #sidebar:not(.visible), main:not(.visible) { display:none; } main { margin:16px; } footer { width: 100%; padding:16px; margin-bottom:48px; } .mobile-buttons { display: flex; justify-content: space-around; position: fixed; bottom:0; height:48px; width:100%; background-color: white; box-shadow: 0px -1px 2px 0px rgba(0,0,0,0.4); } .mobile-buttons button { border: none; background-color: transparent; margin:3px; padding: 8px 24px; border-radius:999px; } .mobile-buttons button:hover { background-color: rgba(0,0,0,0.2)!important; } .mobile-buttons button.active { background-color: rgba(0,0,0,0.15); } } @media screen and (max-width: 640px) { header h1 a { font-size:4rem; } .pokedex td:nth-child(n + 4), .pokedex th:nth-child(n + 4) { display: none; } } @media screen and (max-width: 480px) { header h1 a { font-size:3rem; } .grid { display:block!important; } }