Fix header template escaping; ensure title and logo render from env vars
Mirror and run GitLab CI / build (push) Has been cancelled
Mirror and run GitLab CI / build (push) Has been cancelled
This commit is contained in:
+32
-32
@@ -9,15 +9,15 @@
|
|||||||
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;700&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;700&display=swap" rel="stylesheet">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.header-container {
|
.header-container {{
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 20px 40px;
|
padding: 20px 40px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}}
|
||||||
|
|
||||||
.header-title {
|
.header-title {{
|
||||||
font-family: 'Cormorant Garamond', serif;
|
font-family: 'Cormorant Garamond', serif;
|
||||||
font-size: 42px;
|
font-size: 42px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@@ -26,80 +26,80 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
padding: 0.4em 0;
|
padding: 0.4em 0;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}}
|
||||||
|
|
||||||
.header-title::before, .header-title::after {
|
.header-title::before, .header-title::after {{
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
height: 2px;
|
height: 2px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: {accent_color};
|
background-color: {accent_color};
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}}
|
||||||
|
|
||||||
.header-title::before { top: 0.4em; }
|
.header-title::before {{ top: 0.4em; }}
|
||||||
.header-title::after { bottom: 0.4em; }
|
.header-title::after {{ bottom: 0.4em; }}
|
||||||
|
|
||||||
.logo-container {
|
.logo-container {{
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
}
|
}}
|
||||||
|
|
||||||
.logo {
|
.logo {{
|
||||||
height: 80px;
|
height: 80px;
|
||||||
width: auto;
|
width: auto;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}}
|
||||||
|
|
||||||
.header-description {
|
.header-description {{
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 10px 40px 20px;
|
padding: 10px 40px 20px;
|
||||||
max-width: 800px;
|
max-width: 800px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}}
|
||||||
|
|
||||||
.header-description p,
|
.header-description p,
|
||||||
.header-description h2 {
|
.header-description h2 {{
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
margin: 8px 0;
|
margin: 8px 0;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}}
|
||||||
|
|
||||||
.header-description h2 {
|
.header-description h2 {{
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: {accent_color};
|
color: {accent_color};
|
||||||
}
|
}}
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {{
|
||||||
.header-container {
|
.header-container {{
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
}
|
}}
|
||||||
|
|
||||||
.header-title {
|
.header-title {{
|
||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}}
|
||||||
|
|
||||||
.header-title::before, .header-title::after {
|
.header-title::before, .header-title::after {{
|
||||||
width: 80%;
|
width: 80%;
|
||||||
left: 10%;
|
left: 10%;
|
||||||
}
|
}}
|
||||||
|
|
||||||
.logo-container {
|
.logo-container {{
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}}
|
||||||
|
|
||||||
.logo {
|
.logo {{
|
||||||
height: 60px;
|
height: 60px;
|
||||||
}
|
}}
|
||||||
|
|
||||||
.header-description {
|
.header-description {{
|
||||||
padding: 10px 20px 15px;
|
padding: 10px 20px 15px;
|
||||||
}
|
}}
|
||||||
}
|
}}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
Reference in New Issue
Block a user