my-homelab-configs/apps/website/styles.css

206 lines
3.1 KiB
CSS

body {
font-family: Arial, sans-serif;
margin: 40px;
background-color: #f8f9fa;
color: #333;
}
.container {
max-width: 900px;
margin: auto;
background: #fff;
padding: 30px;
border-radius: 12px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
/* Hero Section Styles */
.hero-section {
display: flex;
align-items: center;
gap: 40px;
margin-bottom: 30px;
padding: 20px 0;
}
.profile-container {
flex-shrink: 0;
}
.profile-img {
width: 200px;
height: 200px;
border-radius: 50%;
object-fit: cover;
border: 5px solid #004085;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.hero-content {
flex: 1;
}
.hero-content h1 {
font-size: 2.5em;
margin-bottom: 10px;
color: #004085;
}
.hero-content .title {
font-size: 1.3em;
color: #004085;
font-weight: bold;
margin: 10px 0;
}
.hero-content .tagline {
font-size: 1.1em;
color: #666;
font-style: italic;
margin: 10px 0 20px 0;
}
.contact-info {
background: #f8f9fa;
padding: 15px;
border-radius: 8px;
border-left: 4px solid #004085;
}
.contact-info p {
margin: 5px 0;
color: #333;
}
/* Welcome Section */
.welcome {
text-align: center;
margin-bottom: 40px;
padding: 30px 0;
border-top: 1px solid #eee;
border-bottom: 1px solid #eee;
}
.welcome h2 {
color: #004085;
margin-bottom: 20px;
}
.welcome p {
font-size: 1.1em;
line-height: 1.6;
max-width: 800px;
margin: 0 auto 30px auto;
}
.navigation {
margin: 30px 0;
}
.cv-link {
display: inline-block;
background-color: #004085;
color: white;
padding: 12px 24px;
text-decoration: none;
border-radius: 6px;
font-weight: bold;
transition: all 0.3s ease;
font-size: 1.1em;
}
.cv-link:hover {
background-color: #002752;
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* Overview Grid */
.overview-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-top: 20px;
}
.overview-item {
background-color: #f8f9fa;
padding: 25px;
border-radius: 8px;
border-left: 4px solid #004085;
text-align: center;
}
.overview-item h3 {
color: #004085;
margin-top: 0;
margin-bottom: 15px;
font-size: 1.2em;
}
.overview-item p {
margin: 0;
color: #666;
line-height: 1.5;
}
/* Responsive Design */
@media (max-width: 768px) {
body {
margin: 20px;
}
.hero-section {
flex-direction: column;
text-align: center;
gap: 20px;
}
.profile-img {
width: 150px;
height: 150px;
}
.hero-content h1 {
font-size: 2em;
}
.overview-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 480px) {
.container {
padding: 20px;
}
body {
margin: 10px;
}
}
.interview-calendar, .wasm-demo {
background: #f8f9fa;
padding: 20px;
margin: 20px 0;
border-radius: 8px;
}
.slot-item {
background: white;
padding: 15px;
margin: 10px 0;
border-radius: 6px;
display: flex;
justify-content: space-between;
align-items: center;
}
.hero-image img {
width: 500px;
height: 500px;
object-fit: cover;
border-radius: 50%;
}