- Updated index.html to include an introductory section, quick links with QR codes, and a structured layout for presentations. - Added styling in home.css for new sections, including .masthead-lead, .intro, and .qr-section, to improve visual hierarchy and user experience. - Implemented QR code generation for easy access to the code repository and presentation slides.
291 lines
5.4 KiB
CSS
291 lines
5.4 KiB
CSS
/* Aligné sur content/kubernetes-hell-to-heaven/css/custom.css (specificat.io) */
|
|
:root {
|
|
--bg-dark: #050709;
|
|
--bg-medium: #0d1115;
|
|
--bg-light: #1b1f22;
|
|
--bg-gradient-start: #10151a;
|
|
--text-primary: #f5f5f5;
|
|
--text-muted: rgba(245, 245, 245, 0.9);
|
|
--text-subtle: rgba(245, 245, 245, 0.75);
|
|
--accent-cyan: #2bc9c6;
|
|
--accent-cyan-light: #e9fefd;
|
|
--accent-cyan-bg: rgba(43, 201, 198, 0.08);
|
|
--accent-cyan-border: rgba(43, 201, 198, 0.55);
|
|
--accent-copper: #d19c5a;
|
|
--border-subtle: rgba(255, 255, 255, 0.12);
|
|
--border-very-subtle: rgba(255, 255, 255, 0.07);
|
|
--panel-glow: 0 0 0 1px rgba(43, 201, 198, 0.12);
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
min-height: 100%;
|
|
margin: 0;
|
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
|
|
color: var(--text-primary);
|
|
background-color: var(--bg-dark);
|
|
background-image: radial-gradient(
|
|
circle at 10% 0%,
|
|
var(--bg-gradient-start) 0%,
|
|
var(--bg-dark) 52%,
|
|
var(--bg-light) 100%
|
|
),
|
|
radial-gradient(
|
|
ellipse 100% 80% at 50% -20%,
|
|
rgba(43, 201, 198, 0.12),
|
|
transparent 55%
|
|
);
|
|
}
|
|
|
|
body::after {
|
|
content: "";
|
|
position: fixed;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
background: radial-gradient(
|
|
ellipse 95% 75% at 50% 50%,
|
|
transparent 35%,
|
|
rgba(5, 7, 9, 0.35) 100%
|
|
);
|
|
z-index: 0;
|
|
}
|
|
|
|
.page {
|
|
position: relative;
|
|
z-index: 1;
|
|
max-width: 960px;
|
|
margin: 0 auto;
|
|
padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.25rem, 4vw, 2rem) 3rem;
|
|
}
|
|
|
|
.masthead {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.masthead h1 {
|
|
margin: 0 0 0.35rem;
|
|
font-size: clamp(1.75rem, 4vw, 2.25rem);
|
|
font-weight: 700;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.masthead p {
|
|
margin: 0;
|
|
font-size: 1.05rem;
|
|
color: var(--text-subtle);
|
|
max-width: 42em;
|
|
}
|
|
|
|
.masthead-lead {
|
|
max-width: 42em;
|
|
}
|
|
|
|
.masthead-lead strong {
|
|
color: var(--accent-cyan);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.section-title {
|
|
margin: 0 0 1rem;
|
|
font-size: 1.15rem;
|
|
font-weight: 600;
|
|
letter-spacing: -0.01em;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.intro {
|
|
margin-bottom: 2.25rem;
|
|
}
|
|
|
|
.intro p {
|
|
margin: 0 0 1rem;
|
|
font-size: 0.98rem;
|
|
line-height: 1.6;
|
|
color: var(--text-muted);
|
|
max-width: 52em;
|
|
}
|
|
|
|
.intro p:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.intro code {
|
|
font-size: 0.9em;
|
|
padding: 0.12em 0.35em;
|
|
border-radius: 6px;
|
|
background: var(--accent-cyan-bg);
|
|
border: 1px solid var(--border-very-subtle);
|
|
}
|
|
|
|
.qr-section {
|
|
margin-bottom: 2.5rem;
|
|
}
|
|
|
|
.qr-grid {
|
|
display: grid;
|
|
gap: 1rem;
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.qr-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
.qr-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
padding: 1.25rem 1.35rem;
|
|
border-radius: 12px;
|
|
border: 1px solid var(--border-subtle);
|
|
background: rgba(13, 17, 21, 0.55);
|
|
box-shadow: var(--panel-glow), inset 0 1px 0 0 rgba(255, 255, 255, 0.03);
|
|
}
|
|
|
|
.qr-card h3 {
|
|
margin: 0 0 0.35rem;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
color: var(--accent-cyan);
|
|
}
|
|
|
|
.qr-card-desc {
|
|
margin: 0 0 0.75rem;
|
|
font-size: 0.9rem;
|
|
line-height: 1.45;
|
|
color: var(--text-subtle);
|
|
}
|
|
|
|
.qr-link {
|
|
display: inline-block;
|
|
margin-bottom: 1rem;
|
|
font-size: 0.92rem;
|
|
font-weight: 500;
|
|
color: var(--accent-cyan);
|
|
text-decoration: none;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.qr-link:hover,
|
|
.qr-link:focus-visible {
|
|
text-decoration: underline;
|
|
text-underline-offset: 3px;
|
|
outline: none;
|
|
}
|
|
|
|
.qr-link:focus-visible {
|
|
outline: 2px solid var(--accent-cyan);
|
|
outline-offset: 2px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.qrcode-wrap {
|
|
align-self: center;
|
|
margin-top: auto;
|
|
padding: 0.5rem;
|
|
background: #fff;
|
|
border-radius: 8px;
|
|
line-height: 0;
|
|
}
|
|
|
|
.qrcode-wrap canvas,
|
|
.qrcode-wrap img {
|
|
display: block;
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.talks-section .section-title {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.talks-grid {
|
|
display: grid;
|
|
gap: 1rem;
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
@media (min-width: 560px) {
|
|
.talks-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
}
|
|
}
|
|
|
|
.talk-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 1.15rem 1.25rem;
|
|
border-radius: 12px;
|
|
border: 1px solid var(--border-subtle);
|
|
background: rgba(13, 17, 21, 0.55);
|
|
box-shadow: var(--panel-glow), inset 0 1px 0 0 rgba(255, 255, 255, 0.03);
|
|
text-decoration: none;
|
|
color: inherit;
|
|
transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
|
|
}
|
|
|
|
.talk-card:hover,
|
|
.talk-card:focus-visible {
|
|
border-color: var(--accent-cyan-border);
|
|
box-shadow: var(--panel-glow), 0 0 0 1px rgba(43, 201, 198, 0.18),
|
|
inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
|
|
transform: translateY(-1px);
|
|
outline: none;
|
|
}
|
|
|
|
.talk-card:focus-visible {
|
|
outline: 2px solid var(--accent-cyan);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.talk-card h2 {
|
|
margin: 0 0 0.4rem;
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
color: var(--accent-cyan);
|
|
}
|
|
|
|
.talk-card p {
|
|
margin: 0;
|
|
font-size: 0.95rem;
|
|
line-height: 1.45;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.talk-card .meta {
|
|
margin-top: 0.75rem;
|
|
font-size: 0.8rem;
|
|
color: var(--text-subtle);
|
|
}
|
|
|
|
.site-footer {
|
|
margin-top: 2.5rem;
|
|
padding-top: 1rem;
|
|
border-top: 1px solid var(--border-very-subtle);
|
|
font-size: 0.8rem;
|
|
color: var(--text-subtle);
|
|
}
|
|
|
|
.site-footer a {
|
|
color: var(--accent-cyan);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.site-footer a:hover,
|
|
.site-footer a:focus-visible {
|
|
text-decoration: underline;
|
|
text-underline-offset: 2px;
|
|
}
|