37018-vm/assets/css/custom.css
2025-12-18 06:13:19 +00:00

253 lines
5.5 KiB
CSS

/* --- Modern Japanese Retro Theme with more Pizazz --- */
:root {
--primary-color: #007bff; /* Vibrant Blue */
--secondary-color: #ff4081; /* Pink Accent */
--tertiary-color: #f0f2f5; /* Light Gray Background */
--text-dark: #212529;
--text-medium: #495057;
--text-light: #ced4da;
--border-color: #dee2e6;
--shadow-light: rgba(0, 0, 0, 0.1);
--white: #ffffff;
--gradient-start: #e0f2f7; /* Light blue for gradient */
--gradient-end: #f0f8ff; /* Lighter blue for gradient */
}
body {
font-family: 'Noto Sans JP', sans-serif;
background: linear-gradient(to bottom right, var(--gradient-start), var(--gradient-end));
color: var(--text-dark);
line-height: 1.6;
margin: 0;
padding: 0;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.header {
background: var(--white);
color: var(--primary-color);
padding: 10px 25px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid var(--border-color);
box-shadow: 0 2px 8px var(--shadow-light);
}
.header h1 {
font-family: 'Zen Old Mincho', serif;
font-size: 2.5em;
color: var(--primary-color);
margin: 0;
text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}
.auth-links a {
margin-left: 20px;
color: var(--primary-color);
text-decoration: none;
font-weight: 500;
transition: color 0.3s ease, transform 0.2s ease;
}
.auth-links a:hover {
color: var(--secondary-color);
transform: translateY(-2px);
}
.main-wrapper {
padding-top: 25px; /* Increased space below the header */
}
.content-section {
background-color: var(--white);
border-radius: 12px;
overflow: hidden;
margin-bottom: 30px; /* Increased space between sections */
box-shadow: 0 4px 15px var(--shadow-light);
transition: all 0.3s ease;
}
.category-list {
background-color: var(--white);
padding: 25px;
border-bottom: 1px solid var(--border-color);
}
.category-list h3 {
font-family: 'Zen Old Mincho', serif;
font-size: 1.7rem;
color: var(--primary-color);
border-bottom: 3px solid var(--secondary-color);
padding-bottom: 12px;
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(--secondary-color);
transform: translateX(5px);
}
.content {
padding: 25px;
background-color: var(--white);
}
.content h2 {
font-family: 'Zen Old Mincho', serif;
color: var(--primary-color);
font-size: 2rem;
padding-bottom: 15px;
margin-bottom: 25px;
border-bottom: 1px solid var(--border-color);
}
.link-item {
margin-bottom: 20px;
border: 1px solid var(--border-color);
padding: 15px;
border-radius: 8px;
background-color: var(--white);
display: flex;
align-items: flex-start;
transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.link-item:hover {
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
transform: translateY(-5px);
}
.link-item .thumbnail {
width: 140px;
height: 90px;
object-fit: cover;
border-radius: 4px;
margin-right: 20px;
flex-shrink: 0;
}
.link-item-body {
flex-grow: 1;
}
.link-item-title {
font-size: 1.25rem;
font-weight: 700;
margin-bottom: 5px;
}
.link-item-title a {
color: var(--primary-color);
text-decoration: none;
transition: color 0.3s ease;
}
.link-item-title a:hover {
color: var(--secondary-color);
text-decoration: underline;
}
.link-item-url {
font-size: 0.9rem;
color: var(--text-medium);
margin-bottom: 8px;
display: block;
}
.link-item-description {
font-size: 1rem;
color: var(--text-dark);
}
.footer {
text-align: center;
padding: 25px 0;
background-color: var(--primary-color);
color: var(--white);
font-size: 0.9rem;
margin-top: 40px;
box-shadow: 0 -2px 8px var(--shadow-light);
}
/* Featured Section Styles */
.featured-section {
background: linear-gradient(to bottom, #fff5e6, #ffe0b3); /* Warm gradient background */
border-radius: 12px;
padding: 25px;
box-shadow: 0 4px 15px rgba(255, 160, 0, 0.1);
border: 1px solid #ffcc80;
}
.featured-section h3 {
font-family: 'Zen Old Mincho', serif;
color: #e65100; /* Darker orange for heading */
font-size: 1.6rem;
border-bottom: 3px solid #ff9800; /* Orange underline */
padding-bottom: 10px;
margin-bottom: 20px;
}
.featured-item {
background-color: var(--white);
border: 1px solid #ffecb3;
border-radius: 8px;
padding: 15px;
margin-bottom: 15px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
transition: transform 0.2s ease;
}
.featured-item:hover {
transform: translateY(-3px);
}
.featured-item h4 {
color: var(--primary-color);
font-size: 1.1rem;
margin-bottom: 8px;
}
.featured-item p {
font-size: 0.9rem;
color: var(--text-medium);
margin-bottom: 12px;
}
.featured-item .btn {
font-size: 0.85rem;
padding: 8px 15px;
border-radius: 5px;
transition: all 0.3s ease;
}
.featured-item .btn-primary {
background-color: var(--primary-color);
border-color: var(--primary-color);
}
.featured-item .btn-primary:hover {
background-color: #0056b3;
border-color: #0056b3;
}
.featured-item .btn-secondary {
background-color: var(--secondary-color);
border-color: var(--secondary-color);
}
.featured-item .btn-secondary:hover {
background-color: #c00c4e;
border-color: #c00c4e;
}