Auto commit: 2025-12-18T03:56:08.868Z

This commit is contained in:
Flatlogic Bot 2025-12-18 03:56:08 +00:00
parent 8b3cd42fc5
commit 0c361cd8ae
2 changed files with 99 additions and 67 deletions

View File

@ -1,97 +1,122 @@
/* --- Modern Japanese Retro Theme --- */
:root {
--primary-color: #5A8D8D; /* Deep Teal */
--accent-color: #D65A5A; /* Muted Red */
--bg-light: #F8F8F8; /* Off-white background */
--text-dark: #333333;
--text-light: #666666;
--border-color: #E0E0E0;
--shadow-light: rgba(0, 0, 0, 0.05);
}
body { body {
background: #f0f0f0 url('https://www.transparenttextures.com/patterns/lined-paper.png'); font-family: 'Noto Sans JP', sans-serif;
font-family: Verdana, Geneva, sans-serif; background-color: var(--bg-light);
color: #333; color: var(--text-dark);
line-height: 1.6;
} }
.header { .header {
background: linear-gradient(to bottom, #eaeaea, #cccccc); background: var(--primary-color);
border-bottom: 1px solid #999; color: var(--bg-light);
padding: 15px 20px; padding: 20px 25px;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
border-bottom: none;
box-shadow: 0 2px 4px var(--shadow-light);
} }
.header h1 { .header h1 {
font-family: Georgia, Times, 'Times New Roman', serif; font-family: 'Zen Old Mincho', serif;
font-size: 2.5em; font-size: 2.8em;
color: #000080; /* Classic Blue */ color: var(--bg-light);
margin: 0; margin: 0;
text-shadow: 2px 2px 3px #aaa; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
} }
.auth-links a { .auth-links a {
margin-left: 15px; margin-left: 20px;
color: #000080; color: var(--bg-light);
text-decoration: none; text-decoration: none;
font-weight: 300;
transition: color 0.3s ease;
}
.auth-links a:hover {
color: var(--accent-color);
} }
.container { .container {
background-color: #fff; background-color: #FFFFFF;
border: 1px solid #ccc; border: 1px solid var(--border-color);
box-shadow: 0 0 10px rgba(0,0,0,0.1); box-shadow: 0 5px 15px var(--shadow-light);
border-radius: 5px; border-radius: 8px;
overflow: hidden; /* For inner elements like category-list and content */
} }
.category-list { .category-list {
background-color: #f8f9fa; background-color: #FAFAFA;
border-right: 1px solid #dee2e6; border-right: 1px solid var(--border-color);
padding: 15px;
}
.category-list h3 {
font-family: Georgia, Times, "Times New Roman", serif;
font-size: 1.5rem;
color: #0048ad;
border-bottom: 2px solid #f2c94c;
padding-bottom: 10px;
margin-bottom: 15px;
}
.category-list .nav-link {
color: #0000FF;
padding: 5px 0;
font-size: 0.9rem;
text-decoration: none;
}
.category-list .nav-link:hover {
text-decoration: underline;
}
.content {
padding: 20px; padding: 20px;
} }
.content h2 { .category-list h3 {
font-family: Georgia, Times, "Times New Roman", serif; font-family: 'Zen Old Mincho', serif;
color: #0048ad; font-size: 1.8rem;
border-bottom: 2px solid #ccc; color: var(--primary-color);
border-bottom: 2px solid var(--accent-color);
padding-bottom: 10px; padding-bottom: 10px;
margin-bottom: 20px; margin-bottom: 20px;
} }
.category-list .nav-link {
color: var(--text-dark);
padding: 8px 0;
font-size: 1rem;
text-decoration: none;
transition: color 0.3s ease, transform 0.2s ease;
}
.category-list .nav-link:hover {
color: var(--primary-color);
transform: translateX(5px);
}
.content {
padding: 25px;
}
.content h2 {
font-family: 'Zen Old Mincho', serif;
color: var(--primary-color);
border-bottom: 2px solid var(--border-color);
padding-bottom: 12px;
margin-bottom: 25px;
}
.link-item { .link-item {
margin-bottom: 20px; margin-bottom: 20px;
border: 1px solid #ddd; border: 1px solid var(--border-color);
padding: 15px; padding: 15px;
border-radius: 4px; border-radius: 6px;
background-color: #fff; background-color: #FFFFFF;
transition: box-shadow 0.3s ease; transition: box-shadow 0.3s ease, transform 0.2s ease;
} }
.link-item:hover { .link-item:hover {
box-shadow: 0 4px 8px rgba(0,0,0,0.1); box-shadow: 0 8px 20px var(--shadow-light);
transform: translateY(-3px);
} }
.link-item .thumbnail { .link-item .thumbnail {
width: 120px; width: 150px; /* Slightly larger thumbnail */
height: 90px; height: 100px;
object-fit: cover; object-fit: cover;
border: 1px solid #ccc; border: 1px solid var(--border-color);
margin-right: 15px; border-radius: 4px;
margin-right: 20px;
float: left; float: left;
} }
@ -100,36 +125,40 @@ body {
} }
.link-item-title { .link-item-title {
font-size: 1.2rem; font-size: 1.3rem;
font-weight: bold; font-weight: 700;
margin-bottom: 5px; margin-bottom: 5px;
} }
.link-item-title a { .link-item-title a {
color: #0000FF; color: var(--primary-color);
text-decoration: none; text-decoration: none;
transition: color 0.3s ease;
} }
.link-item-title a:hover { .link-item-title a:hover {
color: var(--accent-color);
text-decoration: underline; text-decoration: underline;
} }
.link-item-url { .link-item-url {
font-size: 0.8rem; font-size: 0.9rem;
color: #006400; /* Dark Green */ color: var(--text-light);
margin-bottom: 5px; margin-bottom: 8px;
display: block; display: block;
} }
.link-item-description { .link-item-description {
font-size: 0.9rem; font-size: 1rem;
color: #555; color: var(--text-dark);
} }
.footer { .footer {
text-align: center; text-align: center;
padding: 20px 0; padding: 25px 0;
background-color: #343a40; background-color: var(--primary-color);
color: white; color: var(--bg-light);
font-size: 0.9rem; font-size: 0.9rem;
margin-top: 40px;
box-shadow: 0 -2px 4px var(--shadow-light);
} }

View File

@ -9,6 +9,9 @@
<meta name="description" content="<?php echo htmlspecialchars($_SERVER['PROJECT_DESCRIPTION'] ?? 'A public web directory of curated links.'); ?>"> <meta name="description" content="<?php echo htmlspecialchars($_SERVER['PROJECT_DESCRIPTION'] ?? 'A public web directory of curated links.'); ?>">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700&family=Zen+Old+Mincho:wght@400;700&display=swap" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>"> <link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">