Big-Link-Man/src/templating/templates/modern.html

110 lines
2.7 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="{{ meta_description }}">
<title>{{ title }}</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
line-height: 1.7;
color: #1e293b;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding: 40px 20px;
min-height: 100vh;
}
article {
background: white;
max-width: 850px;
margin: 0 auto;
padding: 60px;
border-radius: 12px;
box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
h1 {
font-size: 3rem;
margin-bottom: 1.5rem;
color: #0f172a;
font-weight: 800;
letter-spacing: -0.02em;
}
h2 {
font-size: 2rem;
margin-top: 3rem;
margin-bottom: 1rem;
color: #334155;
font-weight: 700;
position: relative;
padding-left: 20px;
}
h2::before {
content: '';
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 4px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 2px;
}
h3 {
font-size: 1.5rem;
margin-top: 2rem;
margin-bottom: 0.75rem;
color: #475569;
font-weight: 600;
}
p {
margin-bottom: 1.25rem;
font-size: 1.05rem;
}
ul, ol {
margin-bottom: 1.25rem;
margin-left: 2rem;
}
li {
margin-bottom: 0.5rem;
}
a {
color: #667eea;
text-decoration: none;
font-weight: 500;
}
a:hover {
color: #764ba2;
text-decoration: underline;
}
@media (max-width: 768px) {
body {
padding: 20px 10px;
}
article {
padding: 30px 20px;
}
h1 {
font-size: 2rem;
}
h2 {
font-size: 1.6rem;
}
h3 {
font-size: 1.3rem;
}
}
</style>
</head>
<body>
<article>
<h1>{{ title }}</h1>
{{ content }}
</article>
</body>
</html>