style.css•7.04 kB
/* Minimalistic Presentation Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary: #0066CC;
--secondary: #00AA66;
--accent: #FF6600;
--dark: #1E1E1E;
--light: #F5F5F5;
--text: #333;
--code-bg: #282c34;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
background: var(--dark);
color: var(--text);
overflow: hidden;
}
.presentation {
width: 100vw;
height: 100vh;
position: relative;
background: #1e1e1e;
transition: background 0.6s ease;
}
.slide {
width: 100vw;
height: 100vh;
position: absolute;
top: 0;
left: 0;
display: none;
background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
padding: 4rem;
opacity: 0;
transition: opacity 0.5s ease, background 0.6s ease;
}
.slide.active {
display: flex;
flex-direction: column;
justify-content: center;
opacity: 1;
z-index: 1;
}
/* Slide Types */
.slide.title-slide {
background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
color: white;
text-align: center;
transition: opacity 0.5s ease;
}
.slide.dark {
background: linear-gradient(to bottom, #2a2a2a 0%, #1e1e1e 100%);
color: white;
transition: opacity 0.5s ease, background 0.6s ease;
}
/* Typography */
h1 {
font-size: 4rem;
font-weight: 700;
margin-bottom: 1rem;
line-height: 1.2;
}
h2 {
font-size: 3rem;
font-weight: 600;
margin-bottom: 2rem;
color: var(--primary);
}
.slide.dark h2,
.slide.title-slide h2 {
color: white;
}
h3 {
font-size: 2rem;
font-weight: 600;
margin-bottom: 1.5rem;
}
p {
font-size: 1.5rem;
line-height: 1.6;
margin-bottom: 1rem;
}
.subtitle {
font-size: 1.8rem;
font-weight: 400;
opacity: 0.9;
}
/* Lists */
ul {
list-style: none;
font-size: 1.5rem;
}
ul li {
margin-bottom: 1rem;
padding-left: 2rem;
position: relative;
}
ul li:before {
content: "→";
position: absolute;
left: 0;
color: var(--primary);
font-weight: bold;
}
.slide.dark ul li:before {
color: var(--secondary);
}
ul li.check:before {
content: "✓";
color: var(--secondary);
}
ul li.cross:before {
content: "✗";
color: #dc3545;
}
/* Code */
pre {
background: var(--code-bg);
color: #abb2bf;
padding: 2rem;
border-radius: 8px;
font-size: 1.2rem;
overflow-x: auto;
margin: 1rem 0;
font-family: 'Fira Code', 'Courier New', monospace;
}
code {
background: var(--code-bg);
color: #61afef;
padding: 0.2rem 0.5rem;
border-radius: 4px;
font-family: 'Fira Code', 'Courier New', monospace;
font-size: 1.3rem;
}
pre code {
background: none;
padding: 0;
}
/* Syntax Highlighting */
.keyword { color: #c678dd; }
.string { color: #98c379; }
.comment { color: #5c6370; font-style: italic; }
.function { color: #61afef; }
/* Diagrams */
.diagram {
background: var(--light);
padding: 2rem;
border-radius: 8px;
font-family: monospace;
font-size: 1.2rem;
margin: 2rem 0;
border: 2px solid var(--primary);
}
.diagram.center {
text-align: center;
}
/* Two Column Layout */
.two-columns {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 3rem;
margin-top: 2rem;
}
/* Highlights */
.highlight {
color: var(--primary);
font-weight: 600;
}
.accent {
color: var(--accent);
font-weight: 600;
}
/* Icons/Emojis */
.emoji {
font-size: 3rem;
margin-right: 1rem;
}
/* Navigation Controls */
.controls {
position: fixed;
bottom: 2rem;
right: 2rem;
z-index: 100;
display: flex;
gap: 1rem;
align-items: center;
}
.slide-counter {
background: rgba(0, 0, 0, 0.7);
color: white;
padding: 0.5rem 1rem;
border-radius: 4px;
font-size: 1rem;
}
.nav-btn {
background: var(--primary);
color: white;
border: none;
padding: 0.8rem 1.5rem;
border-radius: 4px;
cursor: pointer;
font-size: 1rem;
transition: background 0.2s;
}
.nav-btn:hover {
background: var(--secondary);
}
.nav-btn:disabled {
background: #ccc;
cursor: not-allowed;
}
/* Progress Bar */
.progress-bar {
position: fixed;
top: 0;
left: 0;
width: 0%;
height: 4px;
background: var(--primary);
z-index: 100;
transition: width 0.3s ease;
}
/* About/Bio Section */
.bio {
display: flex;
align-items: center;
gap: 3rem;
margin-top: 2rem;
}
.bio-photo {
width: 200px;
height: 200px;
border-radius: 50%;
object-fit: cover;
border: 4px solid var(--primary);
}
.bio-text {
flex: 1;
}
.bio-text p {
font-size: 1.3rem;
margin-bottom: 0.8rem;
}
.social-links {
display: flex;
gap: 1.5rem;
margin-top: 1.5rem;
flex-wrap: wrap;
}
.social-links a {
color: var(--primary);
text-decoration: none;
font-size: 1.2rem;
display: flex;
align-items: center;
gap: 0.5rem;
transition: color 0.2s;
}
.social-links a:hover {
color: var(--secondary);
}
/* QR Code */
.qr-code {
text-align: center;
margin-top: 2rem;
}
.qr-code img {
max-width: 300px;
border: 2px solid var(--primary);
border-radius: 8px;
}
/* Footer */
.slide-footer {
position: absolute;
bottom: 2rem;
left: 4rem;
font-size: 1rem;
opacity: 0.6;
}
/* Responsive */
@media (max-width: 1024px) {
h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
p, ul li { font-size: 1.3rem; }
.slide { padding: 3rem; }
}
/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(15px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.slide.active h2,
.slide.active h1,
.slide.active p,
.slide.active ul li,
.slide.active pre {
animation: fadeIn 0.6s ease forwards;
opacity: 0;
}
.slide.active h1 { animation-delay: 0.2s; }
.slide.active h2 { animation-delay: 0.3s; }
.slide.active h3 { animation-delay: 0.4s; }
.slide.active ul li:nth-child(1) { animation-delay: 0.5s; }
.slide.active ul li:nth-child(2) { animation-delay: 0.6s; }
.slide.active ul li:nth-child(3) { animation-delay: 0.7s; }
.slide.active ul li:nth-child(4) { animation-delay: 0.8s; }
.slide.active ul li:nth-child(5) { animation-delay: 0.9s; }
.slide.active ul li:nth-child(6) { animation-delay: 1.0s; }
/* Help Overlay */
.help-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(0, 0, 0, 0.9);
color: white;
display: none;
justify-content: center;
align-items: center;
z-index: 1000;
}
.help-overlay.active {
display: flex;
}
.help-content {
background: var(--dark);
padding: 3rem;
border-radius: 8px;
max-width: 600px;
}
.help-content h2 {
color: white;
margin-bottom: 2rem;
}
.help-content ul li {
margin-bottom: 1rem;
}