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

923 lines
14 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;
}
.home-page .hero {
grid-template-columns: 1fr;
padding: 24px;
}
.home-page .hero-image img {
display: block;
width: min(100%, 320px);
height: auto;
margin: 0 auto;
}
.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%;
}
.home-page .hero {
max-width: 1080px;
margin: 0 auto;
display: grid;
grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
gap: 40px;
align-items: center;
padding: 32px;
}
.home-page .top-nav,
.home-page .cv-theme-toolbar {
max-width: 1080px;
}
.cv-page .top-nav,
.cv-page .cv-theme-toolbar {
max-width: 900px;
}
.home-page .top-nav,
.cv-page .top-nav {
margin-left: auto;
margin-right: auto;
}
.home-page .hero-text h1 {
margin: 0 0 16px;
font-size: 3rem;
}
.home-page .hero-image {
justify-self: center;
}
.home-page .hero-image img {
display: block;
width: min(100%, 360px);
max-width: 100%;
height: auto;
aspect-ratio: 1 / 1;
margin: 0 auto;
}
.home-page .bio-intro,
.home-page .bio-story,
.home-page .cta {
line-height: 1.6;
font-size: 1.05rem;
}
.home-page .cta a {
font-weight: 700;
}
.top-nav {
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
margin-bottom: 32px;
}
.nav-left {
font-weight: 700;
color: #004085;
}
.nav-right {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
}
.nav-right a {
color: #004085;
text-decoration: none;
font-weight: 600;
}
.nav-right a:hover {
text-decoration: underline;
}
.blog-page {
max-width: 980px;
margin: 0 auto;
}
.blog-hero {
margin-bottom: 28px;
padding-bottom: 22px;
border-bottom: 1px solid #d9e2ec;
}
.blog-kicker {
margin: 0 0 10px;
color: #004085;
font-weight: 700;
text-transform: uppercase;
font-size: 0.85rem;
}
.blog-hero h1 {
margin: 0;
color: #102a43;
font-size: 2.4rem;
}
.blog-subtitle {
max-width: 760px;
color: #52606d;
line-height: 1.6;
font-size: 1.08rem;
}
.conversation {
display: grid;
gap: 18px;
}
.message {
max-width: 780px;
padding: 18px 20px;
border-radius: 8px;
line-height: 1.6;
}
.message.question {
justify-self: start;
background: #fff;
border-left: 4px solid #829ab1;
}
.message.answer {
justify-self: end;
background: #eef5ff;
border-left: 4px solid #004085;
}
.speaker {
margin-bottom: 8px;
color: #102a43;
font-size: 0.9rem;
font-weight: 700;
}
.message p {
margin: 0;
}
.tech-notes {
margin-top: 34px;
padding: 24px;
background: #fff;
border-radius: 8px;
border: 1px solid #d9e2ec;
}
.tech-notes h2 {
margin-top: 0;
color: #004085;
}
.tech-notes li {
margin-bottom: 12px;
line-height: 1.55;
}
@media (max-width: 768px) {
.top-nav {
align-items: flex-start;
flex-direction: column;
}
.blog-hero h1 {
font-size: 2rem;
}
.message,
.message.answer {
justify-self: stretch;
}
}
/* CV theme toggle */
.cv-theme-toolbar {
max-width: 900px;
margin: 0 auto 18px;
display: flex;
align-items: center;
justify-content: flex-end;
gap: 8px;
font-size: 0.9rem;
}
.cv-theme-option {
border: 1px solid #9fb3c8;
background: #fff;
color: #102a43;
padding: 8px 12px;
border-radius: 6px;
cursor: pointer;
font-family: inherit;
font-weight: 700;
}
.cv-theme-option.is-active {
background: #004085;
border-color: #004085;
color: #fff;
}
.cv-container {
position: relative;
min-height: 520px;
}
.cv-portrait-orbit {
--portrait-rotation: 0deg;
width: 160px;
height: 160px;
z-index: 2;
}
.cv-portrait-orbit svg {
display: none;
}
.cv-portrait-img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
body.cv-page.cv-elegant,
body.home-page.cv-elegant {
background: #030603;
color: #a8ffb0;
font-family: "Courier New", "Lucida Console", Monaco, monospace;
}
.cv-elegant .top-nav,
.cv-elegant .cv-theme-toolbar {
color: #a8ffb0;
}
.cv-elegant .nav-left,
.cv-elegant .nav-right a {
color: #a8ffb0;
}
.cv-elegant .cv-theme-option {
background: #061106;
border-color: #2b7a38;
color: #a8ffb0;
font-family: inherit;
}
.cv-elegant .cv-theme-option.is-active {
background: #143b18;
border-color: #a8ffb0;
}
.cv-elegant .cv-container {
background: #061106;
border: 1px solid #2b7a38;
border-radius: 0;
box-shadow: 0 0 18px rgba(168, 255, 176, 0.12);
}
.cv-elegant .cv-container h1,
.cv-elegant .cv-container h2,
.cv-elegant .cv-container strong {
color: #c7ffd0;
font-family: inherit;
}
.cv-elegant .cv-container p {
color: #a8ffb0;
line-height: 1.55;
}
.cv-elegant.home-page .hero {
background: #061106;
border: 1px solid #2b7a38;
box-shadow: 0 0 18px rgba(168, 255, 176, 0.12);
}
.cv-elegant.home-page .hero-text h1,
.cv-elegant.home-page .cta a {
color: #c7ffd0;
font-family: inherit;
}
.cv-elegant.home-page .bio-intro,
.cv-elegant.home-page .bio-story,
.cv-elegant.home-page .cta {
color: #a8ffb0;
}
.cv-elegant.home-page .hero-image img {
border-radius: 0;
border: 2px solid #a8ffb0;
filter: saturate(0.8) contrast(1.08);
}
.cv-elegant .cv-header-text {
min-height: 160px;
padding-right: 190px;
}
.cv-elegant .cv-portrait-orbit {
position: absolute;
top: 30px;
right: 30px;
}
.cv-elegant .cv-portrait-img {
border-radius: 0;
border: 2px solid #a8ffb0;
filter: saturate(0.8) contrast(1.08);
}
body.cv-page.cv-fancy,
body.home-page.cv-fancy {
background: #f7f0e8;
color: #37251f;
font-family: Georgia, "Times New Roman", serif;
}
.cv-fancy .top-nav {
color: #5f3f35;
}
.cv-fancy .nav-left,
.cv-fancy .nav-right a {
color: #6f3d53;
}
.cv-fancy .cv-theme-option {
border-color: #c29aac;
background: #fffaf7;
color: #6f3d53;
}
.cv-fancy .cv-theme-option.is-active {
background: #6f3d53;
border-color: #6f3d53;
color: #fff;
}
.cv-fancy .cv-container {
background: #fffaf7;
border: 1px solid #ead5c6;
box-shadow: 0 18px 40px rgba(95, 63, 53, 0.16);
}
.cv-fancy.home-page .hero {
background: #fffaf7;
border: 1px solid #ead5c6;
border-radius: 16px;
box-shadow: 0 18px 40px rgba(95, 63, 53, 0.16);
}
.cv-fancy.home-page .hero-text h1 {
color: #6f3d53;
font-family: "Brush Script MT", "Segoe Script", cursive;
font-size: 3.4rem;
font-weight: 400;
}
.cv-fancy.home-page .bio-intro,
.cv-fancy.home-page .bio-story,
.cv-fancy.home-page .cta {
color: #5f3f35;
}
.cv-fancy.home-page .cta a {
color: #6f3d53;
}
.cv-fancy.home-page .hero-image img {
border: 8px solid #fff;
box-shadow: 0 12px 24px rgba(95, 63, 53, 0.2);
}
.cv-fancy .cv-header-text {
text-align: center;
}
.cv-fancy .cv-header-text h1 {
color: #6f3d53;
font-family: "Brush Script MT", "Segoe Script", cursive;
font-size: 3rem;
font-weight: 400;
}
.cv-fancy .cv-portrait-orbit {
position: relative;
margin: 8px auto 28px;
width: 260px;
height: 260px;
}
.cv-fancy .cv-portrait-orbit svg {
display: block;
width: 100%;
height: 100%;
overflow: visible;
animation: orbitText 24s linear infinite;
}
.cv-fancy .cv-portrait-orbit text {
fill: #6f3d53;
font-family: "Brush Script MT", "Segoe Script", cursive;
font-size: 18px;
letter-spacing: 1px;
}
.cv-fancy .cv-portrait-img {
position: absolute;
inset: 45px;
width: 170px;
height: 170px;
border-radius: 50%;
border: 8px solid #fff;
box-shadow: 0 12px 24px rgba(95, 63, 53, 0.2);
transform: rotate(var(--portrait-rotation));
transition: transform 120ms ease-out;
}
@keyframes orbitText {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
/* Demos page */
.demos-page {
max-width: 1040px;
margin: 0 auto;
}
.demos-hero {
margin-bottom: 24px;
}
.demos-hero h1 {
margin: 0;
color: #102a43;
font-size: 2.4rem;
}
.demos-hero p {
max-width: 760px;
color: #52606d;
line-height: 1.6;
}
.demo-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 18px;
}
.demo-card {
display: block;
background: #fff;
border: 1px solid #d9e2ec;
border-radius: 8px;
padding: 24px;
box-shadow: 0 12px 28px rgba(16, 42, 67, 0.08);
color: inherit;
text-decoration: none;
}
.demo-catalog-card:hover {
border-color: #9fb3c8;
transform: translateY(-2px);
transition: border-color 160ms ease, transform 160ms ease;
}
.demo-card-header {
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 14px;
}
.demo-label {
margin: 0 0 4px;
color: #2f855a;
font-size: 0.78rem;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.demo-card h2 {
margin: 0;
color: #102a43;
}
.cruncher-icon {
position: relative;
width: 62px;
height: 62px;
flex: 0 0 auto;
border-radius: 8px;
background: #e8fff1;
border: 1px solid #b7ebc6;
}
.cruncher-icon-file {
position: absolute;
left: 17px;
top: 12px;
width: 28px;
height: 38px;
border-radius: 4px;
background: #fff;
border: 2px solid #2f855a;
box-shadow: 6px 6px 0 #b7ebc6;
}
.cruncher-icon-file::before,
.cruncher-icon-file::after {
content: "";
position: absolute;
left: 6px;
right: 6px;
height: 2px;
background: #2f855a;
}
.cruncher-icon-file::before {
top: 12px;
}
.cruncher-icon-file::after {
top: 20px;
}
.cruncher-icon-spark {
position: absolute;
right: 8px;
top: 8px;
width: 10px;
height: 10px;
background: #f6ad55;
transform: rotate(45deg);
}
.demo-icon {
display: grid;
place-items: center;
width: 62px;
height: 62px;
flex: 0 0 auto;
border-radius: 8px;
border: 1px solid #cbd5e1;
background: #f8fafc;
color: #102a43;
font-weight: 900;
}
.network-icon {
grid-template-columns: repeat(3, 1fr);
gap: 4px;
padding: 10px;
box-sizing: border-box;
}
.network-icon span {
display: block;
align-self: end;
width: 100%;
border-radius: 999px 999px 0 0;
background: #2563eb;
}
.network-icon span:nth-child(1) {
height: 18px;
}
.network-icon span:nth-child(2) {
height: 34px;
}
.network-icon span:nth-child(3) {
height: 26px;
}
.toolbelt-icon {
background: #fff7ed;
border-color: #fed7aa;
color: #9a3412;
font-family: "Courier New", monospace;
}
.architecture-icon {
position: relative;
background: #eef5ff;
border-color: #bfdbfe;
}
.architecture-icon::before,
.architecture-icon::after {
content: "";
position: absolute;
border-radius: 8px;
background: #2563eb;
}
.architecture-icon::before {
width: 34px;
height: 12px;
top: 15px;
}
.architecture-icon::after {
width: 44px;
height: 12px;
bottom: 15px;
}
.traveler-icon {
background: #ecfeff;
border-color: #a5f3fc;
}
.traveler-icon::before {
content: "↔";
color: #0e7490;
font-size: 30px;
}
.redactor-icon {
background: #fff1f2;
border-color: #fecdd3;
}
.redactor-icon::before {
content: "";
width: 38px;
height: 24px;
border-radius: 6px;
background: repeating-linear-gradient(135deg, #be123c 0 7px, #ffe4e6 7px 14px);
}
.sentiment-icon {
background: #f0fdf4;
border-color: #bbf7d0;
}
.sentiment-icon::before {
content: "Aa";
color: #166534;
font-family: Georgia, serif;
font-size: 24px;
}
.drift-icon {
background: #faf5ff;
border-color: #e9d5ff;
}
.drift-icon::before {
content: "∿";
color: #7e22ce;
font-size: 38px;
}
@media (max-width: 640px) {
.cv-theme-toolbar {
align-items: stretch;
flex-direction: column;
}
.home-page .hero-image img {
width: min(100%, 320px);
}
.cv-elegant .cv-header-text {
padding-right: 0;
padding-top: 178px;
}
.cv-elegant .cv-portrait-orbit {
left: 30px;
right: auto;
}
.cv-fancy .cv-header-text h1 {
font-size: 2.35rem;
}
}