Много всякого дизайна

This commit is contained in:
Vinejar
2025-03-31 08:02:37 +03:00
parent a6c3740a41
commit bef6e0da3b
2 changed files with 9 additions and 9 deletions

View File

@@ -2,10 +2,6 @@ from django.shortcuts import render
from .models import manga_collection from .models import manga_collection
from django.core.paginator import Paginator from django.core.paginator import Paginator
from django.shortcuts import render
from .models import manga_collection
from django.core.paginator import Paginator
def manga_catalog(request): def manga_catalog(request):
# Получаем все записи # Получаем все записи

View File

@@ -10,14 +10,19 @@ body {
min-height: 50px; min-height: 50px;
display: flex; display: flex;
position: sticky; position: sticky;
margin: 0 auto;
top: 0; top: 0;
width: 100%; width: 50%;
height: 5%; height: 5%;
background-color: #3987cf; background-color: #3987cf;
z-index: 1000; z-index: 1000;
align-items: center; align-items: center;
justify-content: space-between; /* Распределяет пространство между элементами */ justify-content: space-between; /* Распределяет пространство между элементами */
padding: 0 20px; /* Добавляем отступы по бокам */ padding: 0 20px; /* Добавляем отступы по бокам */
border-bottom-left-radius: 15px;
border-bottom-right-radius: 15px;
} }
.title-site { .title-site {
@@ -32,8 +37,7 @@ body {
position: absolute; position: absolute;
color: #ffffff; color: #ffffff;
left: 65%; left: 65%;
top: 10%;
} }
@@ -65,7 +69,7 @@ body {
/* Изображение */ /* Изображение */
.manga-cover { .manga-cover {
width: 100%; width: 100%;
height: 280px; height: 100%;
} }
.manga-cover img { .manga-cover img {
@@ -149,7 +153,7 @@ body {
background: #f0f0f0; background: #f0f0f0;
padding: 4px 10px; padding: 4px 10px;
border-radius: 4px; border-radius: 4px;
font-size: 14px; font-size: 12px;
color: #555; color: #555;
} }