+
@@ -33,7 +34,7 @@
{{ manga.original_title }}
-
+
{% if manga.tags %}
{% endfor %}
diff --git a/templates/static/css/manga_catalog.css b/templates/static/css/manga_catalog.css
index 5f57fc3..600fb12 100644
--- a/templates/static/css/manga_catalog.css
+++ b/templates/static/css/manga_catalog.css
@@ -6,6 +6,38 @@ body {
font-family: Arial, sans-serif;
}
+.catalog-header {
+ min-height: 50px;
+ display: flex;
+ position: sticky;
+ top: 0;
+ width: 100%;
+ height: 5%;
+ background-color: #3987cf;
+ z-index: 1000;
+ align-items: center;
+ justify-content: space-between; /* Распределяет пространство между элементами */
+ padding: 0 20px; /* Добавляем отступы по бокам */
+}
+
+.title-site {
+ color: #ffffff;
+ position: absolute; /* Абсолютное позиционирование */
+ left: 50%; /* Сдвигаем на 50% вправо */
+ transform: translateX(-50%); /* Корректируем положение на половину своей ширины */
+ margin: 0; /* Убираем стандартные отступы */
+}
+
+.titles-cont {
+ position: absolute;
+ color: #ffffff;
+ left: 65%;
+
+
+
+}
+
+
.catalog-container {
max-width: 50%;
margin: 0 auto;
@@ -41,6 +73,7 @@ body {
height: 100%;
object-fit: cover;
display: block;
+ box-shadow: 0 0 15px #39accf;
}
/* Кнопка "Читать" поверх изображения */
@@ -50,16 +83,41 @@ body {
left: 0;
right: 0;
padding: 12px 0;
- background: rgba(74, 137, 220, 0.9);
+ background: #2478c2;
color: white;
text-align: center;
text-decoration: none;
font-weight: bold;
transition: background 0.3s;
}
+/* Строка с мета-информацией */
+.meta-row {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ width: 100%;
+ margin-top: auto;
+}
+
+/* Кнопка "Читать в источнике" */
+.read-original-button {
+ padding: 6px 12px;
+ background: #6497c5;
+ color: white;
+ text-decoration: none;
+ border-radius: 4px;
+ font-size: 14px;
+ transition: background 0.3s;
+ white-space: nowrap;
+ margin-left: 15px;
+}
+
+.read-original-button:hover {
+ background: #5a6268;
+}
.read-button:hover {
- background: rgba(59, 125, 216, 0.95);
+ background: #2478c2;
}
/* Информация справа */
@@ -71,6 +129,9 @@ body {
}
.manga-title h3 {
+ width: 100%;
+ padding-bottom: 3px;
+ border-bottom: 1px solid #3987cf;
margin: 0 0 8px 0;
color: #333;
font-size: 20px;
@@ -101,12 +162,13 @@ body {
margin-bottom: 10px;
}
-.meta-label {
+.manga-meta{
font-weight: bold;
color: #555;
margin-right: 5px;
}
+
/* Адаптивность */
@media (max-width: 768px) {
.catalog-container {
diff --git a/templates/static/css/manga_view.css b/templates/static/css/manga_view.css
index 1e131a0..35838a2 100644
--- a/templates/static/css/manga_view.css
+++ b/templates/static/css/manga_view.css
@@ -16,7 +16,7 @@ body {
width: 100%;
min-height: 100vh;
align-items: center;
- background-color: green;
+ background-color: #ffffff;
justify-content: center;
@@ -26,9 +26,8 @@ body {
min-height: 100vh;
width: 50%;
place-items: center;
- background-color: white;
+ background-color: #cee6fd;
flex-direction: column;
- border: dashed white;
}
@@ -37,7 +36,7 @@ body {
padding: 15px 0;
margin-bottom: 0;
width: 100%;
- border-bottom: dashed green;
+ border-bottom: dashed #ffffff;
}
@@ -134,7 +133,7 @@ body {
align-items: center;
gap: 15px;
width: 100%;
- border-top: dashed green;
+ border-top: dashed #ffffff;
}