css/site.css (178 lines of code) (raw):
/*
* Copyright 2000-2025 The Apache Software Foundation. All rights reserved.
* Modern styles for Apache Axis site
*/
:root {
--primary-color: #2c3e50;
--secondary-color: #3498db;
--accent-color: #e74c3c;
--text-color: #333;
--light-bg: #f8f9fa;
--transition: all 0.3s ease;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
line-height: 1.6;
color: var(--text-color);
background: var(--light-bg);
}
.content {
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 0;
margin-bottom: 2rem;
border-bottom: 2px solid var(--secondary-color);
animation: fadeIn 0.8s ease-in-out;
}
.header img {
max-width: 200px;
height: auto;
transition: var(--transition);
}
.header img:hover {
transform: scale(1.05);
}
.last-updated {
color: var(--secondary-color);
font-size: 0.9rem;
font-style: italic;
}
h1 {
color: var(--primary-color);
font-size: 2.5rem;
margin-bottom: 1.5rem;
position: relative;
animation: slideIn 0.6s ease-out;
}
h1::after {
content: '';
display: block;
width: 60px;
height: 4px;
background: var(--accent-color);
margin-top: 0.5rem;
}
h3 {
color: var(--primary-color);
font-size: 1.8rem;
margin: 2rem 0 1rem;
}
p {
margin-bottom: 1.5rem;
font-size: 1.1rem;
line-height: 1.8;
}
.content-items {
background: white;
border-radius: 8px;
padding: 1.5rem;
margin-bottom: 2rem;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: var(--transition);
animation: fadeIn 0.8s ease-in-out;
}
.content-items:hover {
transform: translateY(-5px);
box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}
.big-links {
color: var(--secondary-color);
text-decoration: none;
font-size: 1.4rem;
font-weight: 600;
display: inline-block;
margin-bottom: 1rem;
transition: var(--transition);
}
.big-links:hover {
color: var(--accent-color);
text-decoration: none;
}
table {
width: 100%;
border-collapse: collapse;
}
.logo-col {
width: 150px;
padding-right: 1.5rem;
vertical-align: top;
}
.logo-col img {
max-width: 100%;
height: auto;
transition: var(--transition);
}
.logo-col img:hover {
transform: scale(1.1);
}
.text-col {
vertical-align: top;
padding: 0 1rem;
}
.footer {
text-align: center;
padding: 2rem;
margin-top: 3rem;
color: var(--primary-color);
border-top: 1px solid #ddd;
font-size: 0.9rem;
}
/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateX(-30px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
/* Responsive Design */
@media (max-width: 768px) {
.content {
padding: 1rem;
}
.header {
flex-direction: column;
text-align: center;
}
.last-updated {
margin-top: 1rem;
}
.logo-col {
width: 100px;
}
h1 {
font-size: 2rem;
}
.big-links {
font-size: 1.2rem;
}
table {
display: block;
}
tr {
display: flex;
flex-direction: column;
}
.logo-col, .text-col {
width: 100%;
padding: 0.5rem 0;
}
}