Skip to content

Commit c7a582c

Browse files
committed
fix page css
1 parent 3847963 commit c7a582c

File tree

9 files changed

+103
-1151
lines changed

9 files changed

+103
-1151
lines changed

app/static/css/tiny.css

Lines changed: 29 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
html,
2+
body {
3+
height: 100%;
4+
margin: 0;
5+
font-family: Arial;
6+
padding: 0;
7+
font-family: "Poppins", system-ui, Arial, sans-serif;
8+
background: var(--bg);
9+
background-size: cover;
10+
background-position: center;
11+
background-size: cover;
12+
background-position: center;
13+
}
14+
115
:root {
216
--bg: #0a0a0c;
317
--glass: rgba(255, 255, 255, 0.03);
@@ -13,10 +27,8 @@ body {
1327
font-family: "Inter", system-ui, sans-serif;
1428
margin: 0;
1529
overflow-x: hidden;
16-
background-image: radial-gradient(circle at 50% -20%, #1e1e2e 0%, transparent 50%);
1730
}
1831

19-
2032
body.light-theme {
2133
--bg: #f9fafb;
2234
--glass: rgba(0, 0, 0, 0.03);
@@ -29,23 +41,21 @@ body.light-theme {
2941
background-image: none;
3042
}
3143

44+
.container {
45+
display: grid;
46+
grid-template-rows: auto 1fr auto;
47+
min-height: 100vh;
48+
}
49+
3250
.main-layout {
33-
max-width: 940px;
34-
margin: 0 auto;
35-
padding: 6rem 1rem 4rem;
51+
width: 90%;
52+
margin: 2rem auto;
3653
display: flex;
3754
flex-direction: column;
38-
gap: 2rem;
39-
}
40-
41-
.page {
42-
padding-top: 6rem;
55+
gap: 1rem;
4356
}
4457

4558
.app-header {
46-
position: fixed;
47-
top: 0;
48-
left: 0;
4959
width: 100%;
5060
height: 55px;
5161
display: flex;
@@ -146,7 +156,6 @@ body.dark-theme .app-header {
146156
width: 100%;
147157
}
148158

149-
150159
.dark-theme .nav-link.active::after {
151160
background: #f8fafc;
152161
}
@@ -212,7 +221,7 @@ body.dark-theme .app-header {
212221
border: 1px solid var(--glass-border);
213222
border-radius: 1.5rem;
214223
padding: 1rem;
215-
font-size: 1rem;
224+
font-size: 2rem;
216225
color: var(--text-primary);
217226
}
218227

@@ -225,6 +234,7 @@ body.dark-theme .app-header {
225234
border: none;
226235
cursor: pointer;
227236
transition: background 0.3s;
237+
font-size: larger;
228238
}
229239

230240
.btn-primary:hover {
@@ -247,7 +257,6 @@ body.dark-theme .app-header {
247257
cursor: pointer;
248258
}
249259

250-
251260
.result-card {
252261
width: 100%;
253262
background: linear-gradient(145deg, rgba(99, 102, 241, 0.1), rgba(0, 0, 0, 0));
@@ -334,7 +343,6 @@ body.dark-theme .app-header {
334343
align-items: center;
335344
}
336345

337-
338346
.scroll-container {
339347
display: flex;
340348
gap: 1rem;
@@ -559,7 +567,6 @@ body.dark-theme .app-header {
559567
border-bottom: 1px solid var(--glass-border);
560568
}
561569

562-
563570
@media (max-width: 1024px) {
564571
.recent-page-container {
565572
padding: 0 18px;
@@ -584,6 +591,9 @@ footer.big-footer {
584591
border-top: 1px solid var(--glass-border);
585592
padding: 4rem 1rem 2rem;
586593
margin-top: 4rem;
594+
position: fixed;
595+
bottom: 0;
596+
width: 100%;
587597
}
588598

589599
.footer-grid {
@@ -731,7 +741,6 @@ body.dark-theme .footer-bottom a {
731741

732742
.recent-tray .recent-item .original-url,
733743
.recent-tray .recent-item .original-url a {
734-
735744
display: -webkit-box;
736745
-webkit-box-orient: vertical;
737746
-webkit-line-clamp: 2;
@@ -767,4 +776,4 @@ body.light-theme .history-link {
767776

768777
.history-link:hover {
769778
opacity: 0.7;
770-
}
779+
}

0 commit comments

Comments
 (0)