Artberry-web/static/css/styles.css
2025-02-17 00:40:14 +02:00

931 lines
15 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
* {
font-family: 'Nunito', sans-serif;
}
html, body {
height: 100%;
margin: 0;
}
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
background-color: #3f3242;
}
.content {
flex: 1;
}
.preview-container {
margin-top: 20px;
text-align: center;
}
.preview-container img {
max-width: 100%;
max-height: 300px;
border: 1px solid #ccc;
border-radius: 5px;
margin-top: 10px;
}
#autocomplete-suggestions {
position: absolute;
top: 260px;
left: 42%;
width: 11.5%;
background-color: #86597f;
border: 1px solid #9a6fa0;
border-radius: 6px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
z-index: 1000;
max-height: 250px;
overflow-y: auto;
font-family: 'Comfortaa', sans-serif;
padding: 0;
}
.suggestion-item {
padding: 1px;
font-size: 14px;
color: #ffffff;
cursor: pointer;
transition: background-color 0.2s ease, color 0.2s ease;
}
.suggestion-item:hover {
background-color: #3f3242;
color: #ffffff;
}
.suggestion-item:active {
background-color: #e2e2e2;
}
.suggestion-item:not(:last-child) {
border-bottom: 1px solid #f0f0f0;
}
.hidden {
display: none;
}
.button {
background-color: #6a4664;
border: none;
outline: none;
border-radius: 3px;
color:white;
transition: background-color 0.3s ease;
text-decoration: none;
padding: 7px 10px;
margin-top: 10px;
margin-bottom: 10px;
}
a {
color:yellow;
text-decoration: none;
}
.input-field {
display: flex;
align-items: center;
position: relative;
max-width: 100%;
}
label {
color:white
}
span {
color:white;
}
h2 {
color:white;
}
input {
color:white;
}
.blur {
filter: blur(15px);
transition: filter 0.3s ease;
}
.modal-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
justify-content: center;
align-items: center;
z-index: 1050;
}
.modal-content {
background: #3f3242;
padding: 20px;
text-align: center;
border-radius: 8px;
width: 300px;
z-index: 1060;
}
.modal-buttons {
margin-top: 20px;
}
.modal-button {
background: #6a4664;
color: white;
padding: 10px 20px;
border: none;
transition: background-color 0.3s ease;
cursor: pointer;
margin: 0 10px;
border-radius: 3px;
}
.modal-button.cancel {
background: #6a4664;
}
.input-field {
font-size: 18px;
padding: 5px 10px;
width: 100%;
max-width: 400px;
outline: none;
background: #6a4664;
color: #FFFFFF;
border: none;
border-radius: 3px;
transition: .3s ease;
}
header {
margin-top: 120px;
}
.title {
display: flex;
justify-content: center;
}
.search-form {
display: flex;
justify-content: center;
gap: 5px;
}
.input-field:focus {
background: #86597f;
border: none;
border-radius: 3px;
}
.input-field::placeholder {
color: #DDDDDD;
}
footer {
display: flex;
justify-content: center;
align-items: center;
background-color: #6a4664;
width: 100%;
height: 60px;
box-sizing: border-box;
}
footer .button {
padding: 10px 20px;
text-decoration: none;
color: white;
background-color: #845e80;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
footer .button:hover {
background-color: #9a6fa0;
}
.pagination {
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
margin: 20px 0;
}
.pagination .button {
padding: 5px 10px;
text-decoration: none;
color: white;
background-color: #6a4664;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.pagination .button:hover {
background-color: #845e80;
}
.pagination .button:focus,
.pagination .button:active {
outline: none;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
box-sizing: border-box;
padding: 20px;
gap: 15px;
}
.video-player {
display: flex;
justify-content: center;
align-items: center;
}
.video-title {
display: flex;
margin-top: 80px;
justify-content: center;
text-align: center;
}
.video-details {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
}
.gallery {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 10px;
margin: 20px auto;
padding: 20px;
max-width: 1200px;
}
.card {
border-radius: 10px;
overflow: hidden;
background-color: #6a4664;
}
.card img {
width: 100%;
height: 200px;
object-fit: cover;
}
.card p {
margin: 10px;
font-size: 1rem;
}
.card:hover {
transform: scale(1.05);
}
.comic-viewer {
display: flex;
justify-content: center;
align-items: center;
text-align: center;
gap: 20px;
flex-wrap: wrap;
}
.comic-card {
border-radius: 5px;
overflow: hidden;
transition: transform 0.3s;
}
.comic-card:hover {
transform: scale(1.05);
}
.comic-card img {
width: 100%;
height: auto;
}
.comic-card p {
margin: 10px;
}
.comicname {
display: flex;
justify-content: center;
}
.banner {
width: 100%;
height: 250px;
position: relative;
margin-top: 0;
}
.avatar,
.banner img {
width: 100%;
height: 100%;
object-fit: cover;
}
.avatar-container {
position: absolute;
top: 70%;
left: 50%;
transform: translateX(-50%);
z-index: 1;
width: 128px;
height: 128px;
overflow: hidden;
border-radius: 50%;
border: 3px solid #845e80;
margin-bottom:80px;
}
.current-item-image {
position: absolute;
top: 0;
left: 0;
width: 50px;
height: auto;
border-radius: 10px;
}
h2 {
margin: 30px 0 10px;
}
.bio {
margin-top: 65px;
padding: 1px;
background-color: #845e80;
border-radius: 10px;
max-width: 60%;
width: 80%;
margin-left: auto;
margin-right: auto;
margin-bottom:10px;
}
.bio-content {
color: #fff;
}
.bio h2 {
margin: 0 0 10px;
font-size: 1.5rem;
}
.bio p {
font-size: 1rem;
line-height: 1.5;
}
.header,
body {
display: flex;
}
.cookie-balance,
.home-button,
.cookie-balance,
h1 {
margin-top: 20px;
color: #fff;
}
.header {
flex-direction: column;
align-items: center;
justify-content: center;
}
.cookie-balance {
background-color: #6a4664;
border-radius: 5px;
padding: 10px 20px;
font-size: 1.2rem;
display: inline-block;
}
.item-container {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
padding: 20px;
max-width: 1200px;
width: 100%;
margin: 0 auto;
justify-content: center;
}
.item {
background-color: #6e4568;
border-radius: 10px;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
transition: transform 0.3s, box-shadow 0.3s;
}
.item:hover {
transform: scale(1.05);
}
.comic-pages {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
margin: 20px auto;
max-width: 1200px;
}
.comic-pages img {
max-width: 90%;
height: auto;
border: 2px solid #845e80;
border-radius: 5px;
transition: transform 0.3s;
}
.comic-pages img:hover {
transform: scale(1.05);
border-color: #9a6fa0;
}
.item img {
width: 100%;
max-width: 200px;
height: auto;
border-radius: 5px;
margin-bottom: 10px;
transition: transform 0.3s;
}
.home-button {
background-color: #6a4664;
border: none;
outline: none;
border-radius: 3px;
color:white;
transition: background-color 0.3s ease;
text-decoration: none;
padding: 7px 10px;
margin-top: 10px;
margin-bottom: 10px;
}
.home-button:hover {
background-color: #9a6fa0;
}
.item button {
background-color: #9a6fa0;
border: none;
outline: none;
border-radius: 3px;
color:white;
transition: background-color 0.3s ease;
text-decoration: none;
padding: 7px 10px;
margin-top: 10px;
margin-bottom: 10px;
}
.item-button:hover {
background-color: #6a4664;
}
.item img:hover {
transform: scale(1.1);
}
.item
{
border: none;
padding: 10px 20px;
border-radius: 5px;
}
.home-button:hover,
.item button:hover {
background-color: #9a6fa0;
filter: brightness(1.1);
}
.home-button {
display: inline-block;
margin: 30px auto 20px;
padding: 12px 25px;
text-decoration: none;
border-radius: 5px;
font-weight: 700;
}
.profile-gallery {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
margin: 20px auto;
padding: 20px;
max-width: 1200px;
}
.profile-gallery .card {
border-radius: 10px;
overflow: hidden;
background-color: #6a4664;
text-align: center;
width: 240px;
height: 210px;
}
.profile-gallery .card img {
width: 100%;
height: 200px;
object-fit: cover;
}
.profile-gallery .card .card-title {
margin: 10px;
font-size: 1rem;
color: white;
}
.profile-art-card {
background-color: #4a3b52;
}
.profile-art-card:hover {
transform: scale(1.05);
}
.profile-video-card {
background-color: #3b4a52;
}
.profile-video-card:hover {
transform: scale(1.05);
}
.profile-comic-card {
background-color: #4b523b;
}
.profile-comic-card:hover {
transform: scale(1.05);
}
.biotext {
display: flex;
justify-content: center;
}
p {
color:white;
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {
background-color: #3f3242;
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
background-color: #845e80;
border-radius: 10px;
border: 2px solid #3f3242;
transition: background-color 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
background-color: #9a6fa0;
}
.comment {
display: flex;
align-items: flex-start;
background-color: #6a4664;
padding: 15px;
margin: 10px 0;
border-radius: 3px;
position: relative;
}
.comment .avatar {
width: 50px;
height: 50px;
border-radius: 50%;
margin-right: 15px;
object-fit: cover;
border: 2px solid #845e80;
}
input[type="checkbox"]:checked {
background-color: #6a4664;
accent-color: #6a4664;
}
.comment .content {
flex: 1;
}
.comment .content p {
margin: 5px 0;
}
.comment .content p:first-child {
font-weight: bold;
color: #fff;
}
.comment .content p:last-child::before {
content: "\A";
white-space: pre;
display: block;
}
.comment .content time {
font-size: 0.8rem;
color: #fff;
}
.delete-button {
background-color: #845e80;
color: #fff;
border: none;
padding: 5px 10px;
border-radius: 5px;
cursor: pointer;
font-size: 0.9rem;
transition: background-color 0.3s ease;
position: absolute;
bottom: 4px;
left: 10px;
}
.delete-button:hover {
background-color: #9e728f;
}
.delete-button:active {
background-color: #6e4c65;
}
.details img {
max-width: 85%;
height: auto;
display: block;
margin: 0 auto;
}
video {
max-width: 85%;
height: auto;
display: block;
margin: 0 auto;
}
.button {
display: inline-block;
margin-left: 10px;
}
.comments-list {
max-height: none;
overflow: visible;
}
.comments-list p {
color: #fff;
}
.comment .content a.username-link {
color: #ffd700;
text-decoration: none;
}
.comment .content a.username-link:hover {
text-decoration: underline;
}
@media (min-width: 481px) and (max-width: 767px) {
.gallery {
grid-template-columns: repeat(1, 1fr);
}
nav .button {
padding: 8px 14px;
}
footer .button {
padding: 8px 20px;
}
nav {
margin-right: 10px;
}
.pagination .button {
padding: 25px 25px;
font-size: 20px
}
.input-field {
padding: 15px 16px;
}
.modal-button {
padding: 15px 45px;
}
.navigation .button {
padding: 25px 35px;
}
.profile-gallery{
grid-template-columns: repeat(1, 1fr);
}
}
@media (max-width: 480px) {
.gallery {
grid-template-columns: repeat(1, 1fr);
}
nav .button {
padding: 6px 6px;
}
footer .button {
padding: 6px 12px;
}
nav {
margin-right: 5px;
}
.pagination .button {
padding: 15px 15px;
font-size: 16px;
}
.input-field {
padding: 10px 12px;
}
.modal-button {
padding: 10px 30px;
}
.navigation .button {
padding: 15px 25px;
}
.profile-gallery {
grid-template-columns: repeat(1, 1fr);
}
.login-button {
width: 150px;
height: 50px;
}
}
/*iphone 14 Plus*/
@media (max-width: 430px) {
.gallery {
grid-template-columns: repeat(1, 1fr);
}
nav .button {
padding: 12px 5px;
}
footer .button {
padding: 12px 5px;
}
nav {
margin-right: 5px;
}
.pagination .button {
padding: 15px 15px;
font-size: 16px;
}
.input-field {
padding: 10px 30px;
}
.modal-button {
padding: 10px 30px;
}
.navigation .button {
padding: 15px 25px;
}
.profile-gallery {
grid-template-columns: repeat(1, 1fr);
}
.login-button {
width: 150px;
height: 50px;
}
}
/*iphone 6/7/8 Plus*/
@media (max-width: 414px) {
.gallery {
grid-template-columns: repeat(1, 1fr);
}
nav .button {
padding: 12px 5px;
}
footer .button {
padding: 12px 5px;
}
nav {
margin-right: 5px;
}
.pagination .button {
padding: 15px 15px;
font-size: 16px;
}
.input-field {
padding: 10px 12px;
}
.modal-button {
padding: 10px 30px;
}
.navigation .button {
padding: 15px 25px;
}
.profile-gallery {
grid-template-columns: repeat(1, 1fr);
}
.login-button {
width: 150px;
height: 50px;
}
}
/*iphone pixel 3*/
@media (min-width: 403px) and (max-width: 450px) {
.gallery {
grid-template-columns: repeat(1, 1fr);
}
nav .button {
padding: 12px 4px;
}
footer .button {
padding: 12px 5px;
}
nav {
margin-right: 5px;
}
.pagination .button {
padding: 15px 15px;
font-size: 16px;
}
.input-field {
padding: 10px 12px;
}
.modal-button {
padding: 10px 30px;
}
.navigation .button {
padding: 15px 25px;
}
.profile-gallery {
grid-template-columns: repeat(1, 1fr);
}
.login-button {
width: 150px;
height: 50px;
}
}
/*iphone 12*/
@media (min-width: 382px) and (max-width: 402px) {
.gallery {
grid-template-columns: repeat(1, 1fr);
}
nav .button {
padding: 12px 2px;
}
footer .button {
padding: 12px 5px;
}
nav {
margin-right: 5px;
}
.pagination .button {
padding: 15px 15px;
font-size: 16px;
}
.input-field {
padding: 10px 12px;
}
.modal-button {
padding: 10px 30px;
}
.navigation .button {
padding: 15px 25px;
}
.profile-gallery {
grid-template-columns: repeat(1, 1fr);
}
.login-button {
width: 150px;
height: 50px;
}
}
/*iphone 6/7/8/X/XR*/
@media (min-width: 372px) and (max-width: 381px) {
.gallery {
grid-template-columns: repeat(1, 1fr);
}
nav .button {
padding: 10px 1px;
}
footer .button {
padding: 10px 1px;
}
nav {
margin-right: 5px;
}
.pagination .button {
padding: 15px 15px;
font-size: 16px;
}
.input-field {
padding: 10px 12px;
}
.modal-button {
padding: 10px 30px;
}
.navigation .button {
padding: 15px 25px;
}
.profile-gallery {
grid-template-columns: repeat(1, 1fr);
}
.login-button {
width: 150px;
height: 50px;
}
}
/*iphone 4/5/SE1*/
@media (min-width: 200px) and (max-width: 371px) {
.gallery {
grid-template-columns: repeat(1, 1fr);
}
nav .button {
padding: 1px 1px;
}
footer .button {
padding: 1px 1px;
}
nav {
margin-right: 5px;
}
.pagination .button {
padding: 15px 15px;
font-size: 16px;
}
.input-field {
padding: 10px 1px;
}
.modal-button {
padding: 10x 30px;
}
.navigation .button {
padding: 15px 25px;
}
.profile-gallery {
grid-template-columns: repeat(1, 1fr);
}
.-button {
padding: 15px 25px;
}
.login-button {
width: 150px;
height: 50px;
}
}