Restore title and logo in header with responsive layout
Mirror and run GitLab CI / build (push) Has been cancelled

This commit is contained in:
ScrAIbe Admin
2026-06-14 19:48:57 +00:00
parent 8ecae8f648
commit 9ec4c4ccba
+42 -34
View File
@@ -12,62 +12,55 @@
.header-container { .header-container {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: space-between;
gap: 24px; padding: 20px 40px;
padding: 24px 16px 16px;
box-sizing: border-box; box-sizing: border-box;
} }
.logo-container {
display: flex;
align-items: center;
flex-shrink: 0;
}
.logo {
max-width: 160px;
height: auto;
}
.header-title { .header-title {
font-family: 'Cormorant Garamond', serif; font-family: 'Cormorant Garamond', serif;
font-size: 32px; font-size: 42px;
font-weight: bold; font-weight: bold;
color: {accent_color}; color: {accent_color};
margin: 0; margin: 0;
position: relative; position: relative;
padding: 0.4em 0; padding: 0.4em 0;
line-height: 1.2; flex: 1;
} }
.header-title::before, .header-title::before, .header-title::after {
.header-title::after {
content: ""; content: "";
position: absolute; position: absolute;
height: 2px; height: 2px;
width: 80%; width: 100%;
background-color: {accent_color}; background-color: {accent_color};
left: 10%; left: 0;
} }
.header-title::before { .header-title::before { top: 0.4em; }
top: 0.4em; .header-title::after { bottom: 0.4em; }
.logo-container {
flex-shrink: 0;
margin-left: 20px;
} }
.header-title::after { .logo {
bottom: 0.4em; height: 80px;
width: auto;
display: block;
} }
.header-description { .header-description {
text-align: center; text-align: center;
padding: 16px 16px 0; padding: 10px 40px 20px;
max-width: 700px; max-width: 800px;
margin: 0 auto; margin: 0 auto;
} }
.header-description p, .header-description p,
.header-description h2 { .header-description h2 {
font-size: 14px; font-size: 15px;
margin: 8px 0; margin: 8px 0;
line-height: 1.5; line-height: 1.5;
} }
@@ -77,19 +70,34 @@
color: {accent_color}; color: {accent_color};
} }
@media (max-width: 700px) { @media (max-width: 768px) {
.header-container { .header-container {
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
gap: 12px; padding: 15px;
} gap: 10px;
.logo {
max-width: 120px;
} }
.header-title { .header-title {
font-size: 26px; font-size: 28px;
text-align: center;
}
.header-title::before, .header-title::after {
width: 80%;
left: 10%;
}
.logo-container {
margin-left: 0;
}
.logo {
height: 60px;
}
.header-description {
padding: 10px 20px 15px;
} }
} }
</style> </style>