html, body { margin: 0; padding: 0; font-family: Poppins, sans-serif; background-color: #ffffff; color: #000000; } .wrapper { width: 100%; max-width: 1440px; margin: 0 auto; } a { color: #16a34a; } header { background-color: #ffffff; border-bottom: 1px solid #e4e4e7; padding: 0.5em; position: sticky; top: 0; } header::after { display: table; content: ''; clear: both; } header .header-logo { display: inline-block; background-image: url('../img/logo.png'); background-size: 162px 40px; width: 162px; height: 40px; margin-right: 1em; vertical-align: middle; } header nav { background-color: #ffffff; display: flex; float: right; min-height: 40px; } header nav ul { display: inline-block; padding: 0; margin: 0; list-style-type: none; align-self: center; } header nav ul li { display: inline-block; } header nav ul li form { display: inline-block; margin: 0; padding: 0; } header nav ul li a, header nav ul li form input[type="submit"], header nav ul li form button { display: inline-block; padding: 0.5em 0.75em; margin: 0 0.1em; background-color: inherit; color: #000000; text-decoration: none; border-radius: 5px; } header nav ul li a.nav-active, header nav ul li form input.nav-active[type="submit"], header nav ul li form button.nav-active { background-color: #e2e2e4; color: #000000; } header nav ul li a:hover, header nav ul li form input[type="submit"]:hover, header nav ul li form button:hover { background-color: #f4f4f5; color: #000000; } header nav ul li a:focus, header nav ul li form input[type="submit"]:focus, header nav ul li form button:focus { outline: revert; } header .header-hamburger { display: none; float: right; height: 40px; width: 40px; cursor: pointer; } header .header-hamburger .header-hamburger-bar { display: block; background-color: #000000; width: 30px; height: 5px; margin: 6.25px 5px; border-radius: 2.5px; } header.header-nav-opened { display: block; border-bottom: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 99; } header.header-nav-opened nav { display: block; float: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; padding: 50px 0.5em 0.5em 0.5em; text-align: center; z-index: 100; } header.header-js.header-nav-opened nav { display: block; } header.header-nav-opened nav ul { display: block; height: 100%; overflow: auto; } header.header-nav-opened nav ul li { display: block; } header.header-nav-opened nav ul li form { display: block; } header.header-nav-opened nav ul li a, header.header-nav-opened nav ul li form input[type="submit"], header.header-nav-opened nav ul li form button { display: block; text-align: left; width: 100%; margin: 0.25em 0; box-sizing: border-box; } header.header-nav-opened .header-logo { position: fixed; display: block; top: 0.5em; left: 0.5em; z-index: 101; } header.header-nav-opened .header-hamburger { position: fixed; display: block; top: 0.5em; right: 0.5em; z-index: 101; } section.hero { padding: 3em 0.5em; text-align: center; background-color: #fafafa; border-bottom: 1px solid #e4e4e7; } section.hero h1 { font-size: 4em; line-height: 1; } section.hero p { font-size: 1.25em; color: #71717a; } form.search-form { display: flex; width: 100%; flex-direction: row; margin: 1em auto; } form.search-form input[name="q"] { width: 128px; margin-right: 0.5em; flex-grow: 1; flex-shrink: 0; } form.search-form input[type="submit"], form.search-form button { flex-shrink: 0; } section.hero form.search-form { margin: 3em auto; max-width: 800px; } main { padding: 0.5em; } main.content { width: 100%; max-width: 1280px; margin: 0 auto; box-sizing: border-box; } input, select, textarea { display: inline-block; background-color: #f6f6f7; color: #000000; font-family: inherit; font-size: 1em; padding: 0.5em 1em; border: 0; border-radius: 5px; box-sizing: border-box; } textarea { display: block; min-height: 10em; } input:focus, select:focus, textarea:focus { outline: 2px solid #2cac5b; } input[type="checkbox"], input[type="radio"] { width: 1.25em; height: 1.25em; vertical-align: middle; } input[type="checkbox"]+label, input[type="radio"]+label { vertical-align: middle; } input[type="submit"], button, .btn { display: inline-block; background-color: #16a34a; color: #ffffff; font-family: inherit; font-size: 1em; padding: 0.5em 1em; border: 0; border-radius: 5px; box-sizing: border-box; text-decoration: none; } input[type="submit"]:hover, button:hover, .btn:hover { background-color: #2cac5b; color: #ffffff; cursor: pointer; } .btn-secondary { background-color: #f4f4f5; color: #000000; } .btn-secondary:hover { background-color: #f4f4f5; color: #000000; } .category-headline { font-size: 2em; } .category { padding: 0.5em; background-color: #f9f9fa; border: 1px solid #e4e4e7; border-radius: 10px; margin: 0.5em 0; display: flex; flex-direction: row; } .category h3 { margin: 0; flex-grow: 1; align-self: center; } .category p { margin: 0; flex-shrink: 0; align-self: center; } footer { background-color: #fafafa; border-top: 1px solid #e4e4e7; padding: 0.5em; } .mods { display: flex; flex-wrap: wrap; flex-direction: row; } .mods .mods-mod-container { width: 33.3333%; padding: 0.5em; position: relative; box-sizing: border-box; } .mods .mods-mod-container .mods-mod-card { background-color: #f9f9fa; border: 1px solid #e4e4e7; border-radius: 10px; display: flex; flex-direction: column; height: 100%; } .mods .mods-mod-container .mods-mod-card img { width: 100%; border-radius: 10px 10px 0 0; display: block; } .mods .mods-mod-container .mods-mod-card .mods-mod-card-contents { padding: 0.5em; display: flex; flex-direction: column; flex-grow: 1; height: 100%; } .mods .mods-mod-container .mods-mod-card .mods-mod-card-contents h2 { margin-top: 0; margin-bottom: 0; } .mods .mods-mod-container .mods-mod-card .mods-mod-card-contents p { margin-top: 0.75em; margin-bottom: 0.75em; flex-grow: 1; } .mods .mods-mod-container .mods-mod-card .mods-mod-card-contents .mods-mod-card-bottom { display: flex; flex-direction: row; } .mods .mods-mod-container .mods-mod-card .mods-mod-card-contents .mods-mod-card-bottom p.mods-mod-card-publisher { flex-grow: 1; margin-top: 0; margin-bottom: 0; } .badge { background-color: #16a34a; color: #ffffff; border-radius: 9999px; display: inline-block; padding: 0 0.5em; margin: 0 0.25em; height: 1.5em; } .pagination { display: block; margin: 1em 0; text-align: center; } .pagination a, .pagination span { display: inline-block; margin: 0 0.5em; } img.mod-cover { width: 100%; border-radius: 10px; max-width: 1024px; margin: 0 auto; display: block; } .button-container { display: flex; flex-direction: row; flex-wrap: wrap; } .button-container .btn { margin-right: 0.5em; } .mod-links { font-size: 1.2em; } .mod-badges { font-size: 1.2em; margin: 0.5em 0; } .mod-header { display: flex; flex-direction: row; } .mod-header h1 { flex-grow: 1; align-self: center; } .mod-header .mod-badges { flex-shrink: 0; align-self: center; } form.form { display: block; } form.form .form-block { display: block; margin: 0.5em 0; } form.form .form-block-checkbox { display: block; margin: 0.25em 0; } .form-error { color: #ff0000; font-weight: bold; } form.form .form-captcha-container div { display: inline-block; } .password-weak { color: #ff0000; font-weight: bold; } .password-medium { color: #ff7f00; font-weight: bold; } .password-strong { color: #007f00; font-weight: bold; } .rating { font-size: 2em; margin: 0.5em 0; } .rating-rating { font-weight: bold; font-size: 1.5em; margin: 0.25em 0; line-height: 1; vertical-align: middle; } .rating-stars { vertical-align: middle; display: inline-block; margin: 0.25em; } .rating-star.rating-star-higlighted { color: #16a34a; } .review { background-color: #f9f9fa; border: 1px solid #e4e4e7; border-radius: 10px; padding: 0.25em 0.5em; margin: 0.5em 0; } .review .review-header { font-size: 1.25em; } .review p { margin: 0.5em 0; } .rating-select { display: inline-flex; flex-direction: row-reverse; font-size: 1.25em; } .rating-select input { display: none; } .rating-select label { user-select: none; cursor: pointer; } .rating-select input:not(:checked)~label:hover, .rating-select input:not(:checked)~label:hover~label { color: #16a34a; } .rating-select input:checked~label { color: #16a34a; } @media screen and (max-width: 1024px) { .mods .mods-mod-container { width: 50%; } } @media screen and (max-width: 768px) { header.header-js .header-hamburger { display: block; } header.header-js nav { display: none; } section.hero { padding-top: 2em; padding-bottom: 2em; } section.hero h1 { font-size: 3em; } .category { flex-direction: column; } .category h3, .category p { align-self: auto; } .mods { flex-wrap: nowrap; flex-direction: column; } .mods .mods-mod-container { width: 100%; } .button-container { flex-direction: column; flex-wrap: nowrap; } .button-container .btn { margin: 0.25em 0; text-align: center; } .mod-links { font-size: 1em; } .mod-badges { font-size: 1em; margin-bottom: 1em; } .mod-header { display: block; } .mod-header h1 { margin-bottom: 0.25em; } form.form .form-block input, form.form .form-block label, form.form .form-block textarea, form.form .form-block select, form.form .form-block button { display: block; width: 100%; } form.form .form-captcha-container { text-align: center; } .review-header { font-size: 1em; } } @media screen and (prefers-color-scheme: dark) { html, body { background-color: #0c0a09; color: #f2f2f2; } a { color: #22c55e; } header { background-color: #0c0a09; border-bottom-color: #27272a; } header .header-logo { background-image: url('../img/logo-dark.png'); } header nav { background-color: #0c0a09; } header nav ul li a, header nav ul li form input[type="submit"], header nav ul li form button { background-color: inherit; color: #f2f2f2; } header nav ul li a.nav-active, header nav ul li form input.nav-active[type="submit"], header nav ul li form button.nav-active { background-color: #2a2829; color: #f2f2f2; } header nav ul li a:hover, header nav ul li form input[type="submit"]:hover, header nav ul li form button:hover { background-color: #292524; color: #f2f2f2; } header .header-hamburger .header-hamburger-bar { background-color: #f2f2f2; } section.hero { background-color: #090907; border-bottom-color: #27272a; } section.hero p { color: #a1a1aa; } input, select, textarea { background-color: #221f1e; color: #f2f2f2; } input:focus, select:focus, textarea:focus { outline: 2px solid #2cac5b; } input[type="submit"], button, .btn { background-color: #22c55e; color: #0c0a09; } input[type="submit"]:hover, button:hover, .btn:hover { background-color: #21b356; color: #0c0a09; } .btn-secondary { background-color: #292524; color: #f2f2f2; } .btn-secondary:hover { background-color: #292524; color: #f2f2f2; } .category { background-color: #191817; border-color: #27272a; } footer { background-color: #090907; border-top-color: #27272a; } .mods .mods-mod-container .mods-mod-card { background-color: #191817; border-color: #27272a; } .badge { background-color: #22c55e; color: #0c0a09; } .form-error { color: #ea4648; } .password-weak { color: #ea4648; } .password-medium { color: #ff7f00; } .password-strong { color: #00ff00; } .rating-star.rating-star-higlighted { color: #22c55e; } .review { background-color: #191817; border-color: #27272a; } .rating-select input:not(:checked)~label:hover, .rating-select input:not(:checked)~label:hover~label { color: #22c55e; } .rating-select input:checked~label { color: #22c55e; } }