html,
body {
margin: 0;
padding: 0;
font-family: Poppins, sans-serif;
background-color: #ffffff;
color: #000000;
}
a {
color: #16a34a;
}
header {
background-color: #ffffff;
border-bottom: 1px solid #e4e4e7;
}
header .header-title {
padding: 0.25em;
font-size: 2em;
font-weight: bold;
}
header nav {
padding: 0.5em;
padding-top: 0;
width: 100%;
box-sizing: border-box;
overflow: auto;
}
header nav ul {
display: inline-block;
padding: 0;
margin: 0;
list-style-type: none;
white-space: nowrap;
}
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 {
background-color: #e2e2e4;
color: #000000;
}
header nav ul li a:hover {
background-color: #f4f4f5;
color: #000000;
}
header nav ul li a:focus {
outline: revert;
}
main {
padding: 0.5em;
}
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;
}
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;
}
.badge {
background-color: #16a34a;
color: #ffffff;
border-radius: 9999px;
display: inline-block;
padding: 0 0.5em;
margin: 0 0.25em;
height: 1.5em;
}
.mod {
padding: 0.5em;
background-color: #f9f9fa;
border: 1px solid #e4e4e7;
border-radius: 10px;
margin: 1em 0;
display: flex;
flex-direction: row;
}
.mod img {
width: 320px;
align-self: center;
border-radius: 10px;
}
.mod .mod-info {
padding: 0.5em;
margin-left: 1em;
}
.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;
}
.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;
}
@media screen and (max-width: 768px) {
header .header-title {
padding: 0.375em;
font-size: 1.5em;
}
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%;
}
.mod {
flex-direction: column;
}
.mod img {
width: 100%;
}
.mod .mod-info {
margin: 0;
}
.review-header {
font-size: 1em;
}
.category {
flex-direction: column;
}
.category h3,
.category p {
align-self: auto;
}
}
@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 nav ul li a {
background-color: inherit;
color: #f2f2f2;
}
header nav ul li a.nav-active {
background-color: #2a2829;
color: #f2f2f2;
}
header nav ul li a:hover {
background-color: #292524;
color: #f2f2f2;
}
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;
}
.form-error {
color: #ea4648;
}
.badge {
background-color: #22c55e;
color: #0c0a09;
}
.mod {
background-color: #191817;
border-color: #27272a;
}
.rating-star.rating-star-higlighted {
color: #22c55e;
}
.review {
background-color: #191817;
border-color: #27272a;
}
.category {
background-color: #191817;
border-color: #27272a;
}
}