mirror of
https://github.com/karl0ss/ai_image_frame_server.git
synced 2025-07-20 11:35:01 +01:00
Introduce a `base.html` template to establish a common structure for all pages using Jinja2 template inheritance. This eliminates redundant HTML boilerplate across multiple files. Additionally, common CSS rules have been extracted from individual templates and consolidated into a single `static/css/main.css` file. All pages now link to this shared stylesheet. This refactoring significantly reduces code duplication, improves maintainability, and ensures a consistent user interface.
51 lines
806 B
CSS
51 lines
806 B
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
background-color: black;
|
|
color: white;
|
|
font-family: sans-serif;
|
|
padding: 2rem;
|
|
}
|
|
|
|
.button-link {
|
|
background: #333;
|
|
color: white;
|
|
text-decoration: none;
|
|
padding: 10px 20px;
|
|
border-radius: 8px;
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
transition: background 0.3s;
|
|
display: inline-block;
|
|
text-align: center;
|
|
border: none;
|
|
}
|
|
|
|
.button-link:hover {
|
|
background: #555;
|
|
}
|
|
|
|
.version {
|
|
position: fixed;
|
|
bottom: 8px;
|
|
right: 12px;
|
|
color: #666;
|
|
font-size: 12px;
|
|
font-family: monospace;
|
|
user-select: none;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.version a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.version a:hover {
|
|
text-decoration: underline;
|
|
} |