Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion frontend/css/style-responsive.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,38 @@ input {
min-width: 44px;
}

.main-footer a {
min-height: 0;
min-width: 0;
}

.main-footer .footer-nav a,
.main-footer .footer-legal a {
line-height: 1.35;
}

.main-footer .social-icons a {
min-height: 40px;
min-width: 40px;
}

@media (max-width: 768px) {

button,
a {
min-height: 48px;
min-width: 48px;
}

.main-footer a {
min-height: 0;
min-width: 0;
}

.main-footer .social-icons a {
min-height: 40px;
min-width: 40px;
}
}

/* --- Extra Large Screens (1200px+) --- */
Expand Down Expand Up @@ -1135,4 +1160,4 @@ input {
.sort-select {
width: 100%;
}
}
}
58 changes: 53 additions & 5 deletions frontend/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7496,22 +7496,44 @@ body.night-mode .tooltip-author {
}

.main-footer {

padding: 4rem 2rem 1rem;
width: 100%;
box-sizing: border-box;
margin-top: 4rem;
padding: 60px 2rem 1rem;
background: var(--card-bg);
border-top: 1px solid var(--glass-border);
color: var(--text-main);
}

.footer-container {
width: min(1200px, 100%);
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 2rem;
grid-template-columns: minmax(260px, 2fr) repeat(3, minmax(160px, 1fr));
gap: 3rem;
align-items: start;
padding-bottom: 2rem;
border-bottom: 1px solid var(--glass-border);
}

.footer-container a {

min-width: 0;
min-height: 0;
text-decoration: none;
transition: color 0.3s ease;
}

.main-footer .footer-nav a,
.main-footer .footer-legal a {
display: inline;
line-height: 1.35;
}

.main-footer .social-icons a {
min-width: 40px;
min-height: 40px;
}



.social-icons {
Expand All @@ -7525,6 +7547,32 @@ body.night-mode .tooltip-author {
padding-top: 1rem;
border-top: 1px solid #374151;
}

@media (max-width: 900px) {
.footer-container {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

@media (max-width: 768px) {
.main-footer {
padding: 60px 1.25rem 1rem;
}

.footer-container {
grid-template-columns: 1fr;
gap: 2rem;
text-align: center;
}

.footer-brand {
align-items: center;
}

.social-icons {
justify-content: center;
}
}
/* =========================
Reader Perspectives
========================= */
Expand Down
36 changes: 29 additions & 7 deletions frontend/css/style_main.css
Original file line number Diff line number Diff line change
Expand Up @@ -2803,7 +2803,9 @@ main {
background: var(--card-bg);
/* Use card-bg for better contrast in dark mode */
border-top: 1px solid var(--glass-border);
padding: 3rem 2rem 1rem;
width: 100%;
box-sizing: border-box;
padding: 60px 2rem 1rem;
margin-top: 4rem;
color: var(--text-main);
font-family: 'Georgia', serif;
Expand All @@ -2812,11 +2814,12 @@ main {
}

.footer-container {
max-width: 1200px;
width: min(1200px, 100%);
margin: 0 auto;
display: grid;
grid-template-columns: 2fr 1fr 1fr;
grid-template-columns: minmax(260px, 2fr) repeat(3, minmax(160px, 1fr));
gap: 3rem;
align-items: start;
padding-bottom: 2rem;
border-bottom: 1px solid var(--glass-border);
}
Expand Down Expand Up @@ -2853,14 +2856,16 @@ main {
}

.footer-nav h3,
.footer-legal h3,
.footer-social h3 {
font-family: 'Playfair Display', serif;
font-size: 1.2rem;
margin-bottom: 1.5rem;
color: var(--text-main);
}

.footer-nav ul {
.footer-nav ul,
.footer-legal ul {
list-style: none;
padding: 0;
margin: 0;
Expand All @@ -2869,15 +2874,20 @@ main {
gap: 0.8rem;
}

.footer-nav li a {
.footer-nav li a,
.footer-legal li a {
text-decoration: none;
color: var(--text-muted);
transition: all 0.3s ease;
font-size: 1rem;
display: inline-block;
display: inline;
min-width: 0;
min-height: 0;
line-height: 1.35;
}

.footer-nav li a:hover {
.footer-nav li a:hover,
.footer-legal li a:hover {
color: var(--accent-gold);
transform: translateX(5px);
}
Expand All @@ -2890,6 +2900,8 @@ main {
.social-icons a {
width: 40px;
height: 40px;
min-width: 40px;
min-height: 40px;
border-radius: 50%;
background: var(--glass-bg);
border: 1px solid var(--glass-border);
Expand Down Expand Up @@ -2932,7 +2944,17 @@ main {
}
}

@media (max-width: 900px) {
.footer-container {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

@media (max-width: 768px) {
.main-footer {
padding: 60px 1.25rem 1rem;
}

.footer-container {
grid-template-columns: 1fr;
gap: 2rem;
Expand Down
23 changes: 20 additions & 3 deletions frontend/pages/auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,19 @@
rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<style>
html,
body {
height: auto;
overflow-x: hidden;
overflow-y: auto;
}

body {
display: flex;
flex-direction: column;
font-family: 'Georgia', serif;
}

body.auth-page {
background:
radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 34%),
Expand Down Expand Up @@ -99,12 +112,15 @@
body.auth-page main.auth-main {
position: relative;
z-index: 1;
max-width: none;
max-width: 1200px;
margin: 0 auto;
min-height: calc(100vh - 120px);
display: flex;
align-items: center;
justify-content: center;
padding: 2rem 4rem 4rem;
padding: 2rem;
width: 100%;
box-sizing: border-box;
}

.auth-shell {
Expand Down Expand Up @@ -307,8 +323,9 @@
}

.auth-footer {
margin-top: 1.25rem;
margin-top: 1rem;
text-align: center;

}

.google-auth-btn {
Expand Down
Loading