@font-face { font-family: 'grixel_acme_7_wide_xtnd'; src: url('font/acme_7_wide_xtnd.eot'); src: url('font/acme_7_wide_xtnd.eot?#iefix') format('embedded-opentype'), url('font/acme_7_wide_xtnd.woff') format('woff'), url('font/acme_7_wide_xtnd.ttf') format('truetype'); font-weight: normal; font-style: normal; font-size-adjust: 0.49; } ::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-button:start:decrement, ::-webkit-scrollbar-button:end:increment { display: block; height: 10px; background-color: #8c8c8c; } ::-webkit-scrollbar-track-piece { background-color: #c8c8c8; } ::-webkit-scrollbar-thumb:vertical { height: 50px; background-color: #505050; } ::-webkit-scrollbar-thumb:horizontal { width: 50px; background-color: #505050; } :root { --content-width: 840px; } * { padding: 0px; margin: 0px; font-family: grixel_acme_7_wide_xtnd, Courier New, Verdana, Arial; line-height: 24px; } html { scroll-behavior: smooth; } body { /* background-color: #ddd; */ background-color: #f5f5f5; } a { text-decoration: none; color: black; } p a:hover { text-decoration: none; color: gray; } h1 { font-family: Courier New, Verdana, Arial; font-weight: bold; font-size: 18px; line-height: 24px; } h2 { font-family: Courier New, Verdana, Arial; font-weight: bold; font-size: 18px; line-height: 24px; } h2::before { content: ''; display: block; width: 100%; height: 144px; margin: -144px 0px 0px; } .page { width: min(var(--content-width), 100vw); min-height: fit-content; margin: 0 auto; padding-top: 128px; background-color: #f5f5f5; display: flex; flex-direction: column; border-top: none; } .header-container { position: fixed; top: 0px; left: 0px; width: max(100%, var(--content-width)); display: flex; flex-direction: row; justify-content: center; background-color: white; border-bottom: 2px solid #8c8c8c; z-index: 100; } .header { position: relative; width: var(--content-width); height: 128px; font-size: 10pt; background-color: #fff; overflow-x: auto; overflow-y: hidden; } .content { font-size: 8pt; padding-top: 30px; float: left; position: relative; } .footer { width: 100%; border-top: 1px solid #c8c8c8; text-align: right; height: 40px; padding-top: 10px; background-color: #f5f5f5; } .footer p a { color: #828282; transition: 0.125s; } .footer p a:hover { color: #000; } .footer p { font-size: 6pt; margin-right: 20px; color: #828282; } .simplelink { font-weight: bold; color: #ff6060; } /* font change for better reading... */ .content p, .content a, .content p strong, .content strong, .content .downloadText { font-family: Courier New, Verdana, Arial !important; font-size: medium; line-height: 200%; } .downloadButtonInstaller { font-size: x-small; } .anchor-link { margin-right: 8px; width: 16px; height: 16px; background-image: url(img/anchor_link.svg); background-size: 16px 16px; display: inline-block; cursor: pointer; opacity: 0.5; transition: 0.25s; transform: translateY(4px); } .anchor-link:hover { opacity: 1.0; } ul { width: fit-content; padding-left: 48px; list-style-position: inside; } li { font-family: Courier New, Verdana, Arial !important; font-size: medium; line-height: 200%; } #logo { width: 128px; height: 128px; float: left; position: relative; background-image: url(img/raylib_logo.png); } .menu { width: calc(100% - 128px); height: 48px; position: absolute; bottom: 0px; right: 0px; overflow-x: auto; overflow-y: hidden; display: flex; flex-direction: row; justify-content: right; flex-wrap: nowrap; background-color: #fff; } .menu a { height: 48px; padding: 0px 20px; color: #505050; font-size: 12pt; line-height: 40px; float: left; position: relative; transition: 0.125s; border-left: 2px solid #0000; border-right: 2px solid #0000; } .menu a:hover { color: #000; padding: 0px 20px; } #active { height: 46px; padding: 0px 20px; color: #000; font-size: 12pt; line-height: 36px; float: left; position: relative; border: 2px solid #c8c8c8; border-bottom: none; } .menu a:hover, #active { background: #c8c8c888; } #analytics-banner { padding-top: 8px; padding-bottom: 8px; width: 100%; position: absolute; float: left; bottom: 0px; left: 0px; position: sticky; background-color: #ffcb00; border-top: 2px solid #b38e00; display: flex; flex-direction: row; align-items: center; justify-content: center; transition: 0.5s; } .architecture-image-container { margin-top: 32px; width: 100%; display: flex; justify-content: center; } .architecture-image-container img { border: 2px solid #c8c8c8; transition: 0.125s; } .architecture-image-container:hover img { border: 2px solid #828282; } #social { width: fit-content; height: fit-content; float: right; margin-right: 0px; margin-top: 8px; display: flex; flex-direction: row; } #social a { width: 36px; height: 36px; background-color: #f5f5f5; background-repeat: none; background-position: 0px 0px; cursor: pointer; } #social a:hover { background-position: 0px -36px; } #youtube { background-image: url(img/icon_youtube.png); } #handmade { background-image: url(img/icon_handmade.png); } #twitch { background-image: url(img/icon_twitch.png); } #redbubble { background-image: url(img/icon_redbubble.png); } #patreon { background-image: url(img/icon_patreon.png); } #itchio { background-image: url(img/icon_itchio.png); } #reddit { background-image: url(img/icon_reddit.png); } #freenode { background-image: url(img/icon_freenode_irc.png); } #gitter { background-image: url(img/icon_gitter.png); } #twitter { background-image: url(img/icon_twitter.png); } #github { background-image: url(img/icon_github.png); } #kofi { background-image: url(img/icon_kofi.png); } #discord { background-image: url(img/icon_discord.png); } #licensebox { width: 808px; height: 400px; border: 12px solid; border-color: #d0d0d0; background-color: #e4e4e4; } #licensebox p { font-size: 12px; margin-top: 15px; margin-left: 10px; } .licensepoint { margin-left: 25px !important; } .downloadText { width: 420px; height: 40px; float: left; position: relative; margin-left: 40px; } .downloadButton { width: 220px; height: 35px; float: left; position: relative; cursor: pointer; font-weight: bold; line-height: 35px; text-align: center; border-width: 5px !important; } .downloadButtonInstaller { width: 460px; height: 35px; position: relative; margin: auto auto; margin-top: 20px !important; cursor: pointer; font-weight: bold; line-height: 35px; text-align: center; border-width: 5px !important; } #btngit { background-color: #e1e1e1; color: #5c5a5a; border: 4px solid #898888; } #btngit:hover { background-color: #bedce8; color: #417794; border: 4px solid #5d9cbd; } #btnlib { background-color: #e1e1e1; color: #5c5a5a; border: 4px solid #898888; margin-top: 15px; } #btnlib:hover { background-color: #f0d6d6; color: #c55757; border: 4px solid #e66666; margin-top: 15px; } #btnmac { font-weight: normal; cursor: default; background-color: #f0f0f0; color: #5c5a5a; border: 4px solid #d3d3d3; } #newVersion { background-color: #f0d6d6; color: #e55757; border: 1px solid #f66666; margin-top: 15px; margin-left: -5px; width: 100%; height: 30px; position: relative; margin: auto auto; line-height: 30px; text-align: center; } #raylib13 { position: relative; background-color: #222222; color: #f5f5f5; width: 100vw; left: calc(-52vw + 50%); padding: 30px; text-align: center; margin: 10px; } #basicgrid { width: 580px; margin-left: 60px; float: left; position: relative; text-align: center; } #advgrid { width: 560px; margin-left: 70px; float: left; position: relative; text-align: center; } .exampleBox { cursor: pointer; margin: 15px 20px; width: 54px; padding-right: 2px; height: 56px; border: 4px solid black; display: inline-block; text-align: right; font-weight: bold; vertical-align: bottom; } .exampleBox .in { display: table-cell; vertical-align: bottom; width: 52px; height: 56px; } .specialBox { cursor: pointer; vertical-align: bottom; color: #818181; width: 56px; height: 58px; padding-right: 2px; padding-top: 4px; padding-left: 4px; margin: 15px 20px; display: inline-block; border: 1px solid #b9b9b9; text-align: right; } .specialBox .in { display: table-cell; vertical-align: bottom; width: 52px; height: 52px; border: 1px solid #b9b9b9; margin-top: -5px; } .specialBox:hover { color: black; border: 1px solid black; } .specialBox .in:hover { color: black; border: 1px solid black; } .boxintext { margin-bottom: 3px; margin-right: 2px; line-height: 10px; font-size: 6pt; } .boxintextex { margin-bottom: 3px; margin-right: -2px; line-height: 10px; font-size: 6pt; width: 54px !important; height: 53px !important; font-weight: normal !important; } .boxtodo { margin-bottom: 13px; margin-right: 7px; } .help { font-size: 8px; margin-left: 25px; } #paypalbox { width: 200px; height: 50px; border: 12px solid; border-color: #d0d0d0; background-color: #e4e4e4; margin: 0 auto; } #paypalform input { margin-top: 12px; margin-left: 50px; } #wiki { color: maroon; } #itchioframe { display: block; text-align: center; overflow: auto; } .icon { margin-right: 2px; } a#game-template { margin: 0 auto; border: 6px solid #888888; transition: all .2s ease; padding: 1em; margin-bottom: 1em; } a#game-template:hover { border: 6px solid #111111; background-color: white; } #platforms>a>img { border: 6px solid #888888; transition: all .2s ease; } #platforms>a>img:hover { border: 6px solid #111111; } #bindings>a>img { border: 6px solid #888888; transition: all .2s ease; } #bindings>a>img:hover { border: 6px solid #111111; } #extralibs>a>img { transition: all .2s ease; } #extralibs>a>img:hover { filter: contrast(200%); } #raylibtech>a>img { transition: all .2s ease; } #raylibtech>a>img:hover { filter: contrast(180%); } .video-container { width: 100%; aspect-ratio: 16 / 9; } .video { width: 100%; height: 100%; } @media only screen and (max-width: 600px) { /* general layout changes for mobile */ ul { padding-left: 8px; } #platforms, #bindings, #extralibs, #raylibtech { text-align: center; } .content { padding: 30px 10px 0; } .architecture-image-container img { width: 100%; } #itchioframe iframe { max-width: calc(100vw - 20px); } /* fixes menu + scrolling for mobile */ .header { display: flex; width: 100vw; -ms-overflow-style: none; /* Internet Explorer 10+ */ scrollbar-width: none; /* Firefox */ } .header::-webkit-scrollbar { display: none; /* Safari and Chrome */ } .header-container { width: 100vw; } .menu { width: 712px; /* this width is currently based on the websites normal menu */ right: unset; } #logo { flex-direction: column; flex-shrink: 0; } }