Skip to content

Commit bd9b656

Browse files
committed
update html
1 parent 56abc9a commit bd9b656

4 files changed

Lines changed: 18 additions & 32 deletions

File tree

assets/css/style.css

Lines changed: 11 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ body {
99
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
1010
color: #333;
1111
line-height: 1.6;
12-
min-height: 100vh;
13-
position: relative;
12+
height: calc(100vh - 3rem);
13+
/* subtract margin */
14+
margin-top: 2rem;
1415
overflow-x: hidden;
1516
}
1617

@@ -39,16 +40,12 @@ body::before {
3940
}
4041
}
4142

42-
.container {
43-
max-width: 1200px;
44-
margin: 0 auto;
45-
padding: 2rem;
46-
position: relative;
47-
z-index: 1;
43+
body.container {
44+
margin: 1rem;
4845
}
4946

5047
header {
51-
background: rgba(255, 255, 255, 0.95);
48+
background: white;
5249
border-radius: 20px;
5350
padding: 3rem 2rem;
5451
text-align: center;
@@ -57,6 +54,7 @@ header {
5754
backdrop-filter: blur(10px);
5855
border: 2px solid rgba(255, 255, 255, 0.5);
5956
animation: slideDown 0.6s ease-out;
57+
height: 25rem;
6058
}
6159

6260
@keyframes slideDown {
@@ -81,23 +79,10 @@ header {
8179
align-items: center;
8280
justify-content: center;
8381
box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
84-
animation: pulse 2s ease-in-out infinite;
85-
}
86-
87-
@keyframes pulse {
88-
0%,
89-
100% {
90-
transform: scale(1);
82+
img {
83+
width: 180px;
84+
aspect-ratio: 1;
9185
}
92-
93-
50% {
94-
transform: scale(1.05);
95-
}
96-
}
97-
98-
.logo-container::before {
99-
content: "🚀";
100-
font-size: 60px;
10186
}
10287

10388
h1 {
@@ -233,9 +218,8 @@ footer {
233218
border: 2px solid rgba(255, 255, 255, 0.5);
234219
margin-top: 3rem;
235220
animation: fadeInUp 0.6s ease-out 0.7s backwards;
236-
position: absolute;
237-
bottom: 2rem;
238221
width: 100%;
222+
max-height: 6rem;
239223
}
240224

241225
footer p {

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[project]
22
name = "sample"
3-
version = "1.2.0"
4-
description = "A python template for fastapi and mongo projects."
3+
version = "2.0.0"
4+
description = "A python starterkit for fastapi and mongo projects."
55
authors = [{ name = "sample", email = "recursivezero@outlook.com" }]
66
license = "MIT"
77
readme = "README.md"
88
requires-python = ">=3.10,<3.13"
99
keywords = ["python", "fastapi", "mongo", "template"]
1010
classifiers = [
1111
"Programming Language :: Python :: 3",
12-
"Topic :: Scientific/Engineering :: Image Recognition",
12+
"Topic :: Boilerplate :: Poetry Flask",
1313
]
1414

1515
[tool.poetry.dependencies]

sample-py.code-workspace

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"explorer.confirmDelete": false,
3535
"editor.snippetSuggestions": "top",
3636
"explorer.confirmDragAndDrop": false,
37-
"workbench.iconTheme": "file-icons",
37+
"workbench.iconTheme": "a-file-icon-vscode",
3838
"git.confirmSync": false,
3939
"workbench.startupEditor": "none",
4040
"window.autoDetectColorScheme": true,

templates/base.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
<body class="container">
1414
<!-- Common header -->
1515
<header>
16-
<div class="logo-container"></div>
16+
<div class="logo-container">
17+
<img src="/static/images/logo.png" alt="recursivezero logo" />
18+
</div>
1719
<h1>Sample Boilerplate</h1>
1820
<p>A sample template for Recursive Zero repository</p>
1921
<nav>

0 commit comments

Comments
 (0)