359 lines
7.2 KiB
CSS
359 lines
7.2 KiB
CSS
/* Free Alberta Landing Page Styles - Matching MkDocs Theme */
|
|
|
|
:root {
|
|
/* Light theme - matching MkDocs Material */
|
|
--md-primary-fg-color: #2196f3;
|
|
--md-primary-fg-color--light: #42a5f5;
|
|
--md-primary-fg-color--dark: #1976d2;
|
|
--md-primary-bg-color: #ffffff;
|
|
--md-accent-fg-color: #526cfe;
|
|
--md-accent-bg-color: #ffffff;
|
|
--md-typeset-color: rgba(0, 0, 0, 0.87);
|
|
--md-code-bg-color: #f5f5f5;
|
|
|
|
/* Custom colors */
|
|
--shadow-color: rgba(0, 0, 0, 0.15);
|
|
--shadow-color-heavy: rgba(0, 0, 0, 0.25);
|
|
}
|
|
|
|
[data-theme="dark"] {
|
|
--md-primary-fg-color: #2196f3;
|
|
--md-primary-fg-color--light: #42a5f5;
|
|
--md-primary-fg-color--dark: #1976d2;
|
|
--md-primary-bg-color: #1e1e1e;
|
|
--md-accent-fg-color: #526cfe;
|
|
--md-accent-bg-color: #1e1e1e;
|
|
--md-typeset-color: rgba(255, 255, 255, 0.87);
|
|
--md-code-bg-color: #2d2d2d;
|
|
|
|
--shadow-color: rgba(0, 0, 0, 0.25);
|
|
--shadow-color-heavy: rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
|
|
background-color: var(--md-primary-bg-color);
|
|
color: var(--md-typeset-color);
|
|
min-height: 100vh;
|
|
transition: background-color 0.3s ease, color 0.3s ease;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 2rem;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Hero Section - Matching MkDocs welcome-message */
|
|
.hero {
|
|
text-align: center;
|
|
padding: 4rem 2rem;
|
|
perspective: 1000px;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.logo-container {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.logo {
|
|
max-width: 500px;
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
/* Tagline with MkDocs gradient animation */
|
|
.tagline {
|
|
font-size: clamp(1.8rem, 5vw, 3.5rem);
|
|
background: linear-gradient(
|
|
45deg,
|
|
#2196f3 10%,
|
|
#64b5f6 20%,
|
|
#90caf9 30%,
|
|
#bbdefb 40%,
|
|
#90caf9 50%,
|
|
#64b5f6 60%,
|
|
#2196f3 70%
|
|
);
|
|
background-size: 200% auto;
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
color: transparent;
|
|
text-transform: uppercase;
|
|
font-weight: 900;
|
|
letter-spacing: 4px;
|
|
margin-bottom: 1.5rem;
|
|
position: relative;
|
|
animation: shine 8s linear infinite;
|
|
}
|
|
|
|
@keyframes shine {
|
|
0% { background-position: 200% 50%; }
|
|
100% { background-position: -200% 50%; }
|
|
}
|
|
|
|
.intro {
|
|
font-size: 1.5rem;
|
|
color: var(--md-typeset-color);
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* Action Cards - Matching MkDocs grid-item styling */
|
|
.actions {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 2rem;
|
|
padding: 1.5rem;
|
|
max-width: 1200px;
|
|
margin: 2rem auto;
|
|
flex-grow: 1;
|
|
align-content: center;
|
|
}
|
|
|
|
.action-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 1.5rem;
|
|
min-height: 200px;
|
|
background: var(--md-primary-fg-color--light);
|
|
color: var(--md-primary-bg-color);
|
|
text-decoration: none;
|
|
border-radius: 10px;
|
|
text-align: center;
|
|
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease, background-color 0.3s ease;
|
|
box-shadow:
|
|
0 8px 15px var(--shadow-color),
|
|
0 12px 25px rgba(0,0,0,0.1),
|
|
inset 0 -4px 0px #1565C0,
|
|
inset 0 -8px 0px #0D47A1;
|
|
}
|
|
|
|
.action-card:hover {
|
|
transform: translateY(-5px);
|
|
background-color: #2196f3;
|
|
box-shadow:
|
|
0 16px 30px rgba(0,0,0,0.2),
|
|
0 20px 40px rgba(0,0,0,0.15),
|
|
inset 0 -4px 0px #1565C0,
|
|
inset 0 -8px 0px #0D47A1;
|
|
}
|
|
|
|
/* Dark mode card styling */
|
|
[data-theme="dark"] .action-card {
|
|
box-shadow:
|
|
0 8px 15px var(--shadow-color-heavy),
|
|
0 12px 25px rgba(0,0,0,0.2),
|
|
inset 0 -4px 0px #0D47A1,
|
|
inset 0 -8px 0px #052555;
|
|
}
|
|
|
|
[data-theme="dark"] .action-card:hover {
|
|
box-shadow:
|
|
0 16px 30px rgba(0,0,0,0.3),
|
|
0 20px 40px rgba(0,0,0,0.25),
|
|
inset 0 -4px 0px #0D47A1,
|
|
inset 0 -8px 0px #052555;
|
|
}
|
|
|
|
.card-icon {
|
|
width: 60px;
|
|
height: 60px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.card-icon svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.action-card h2 {
|
|
color: var(--md-primary-bg-color);
|
|
margin-top: 0;
|
|
font-size: 1.6rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.action-card p {
|
|
color: var(--md-primary-bg-color);
|
|
opacity: 0.9;
|
|
flex-grow: 1;
|
|
margin: 0.75rem 0;
|
|
font-size: 0.95rem;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
/* Footer */
|
|
.footer {
|
|
text-align: center;
|
|
padding: 2rem 1rem;
|
|
flex-shrink: 0;
|
|
position: relative;
|
|
}
|
|
|
|
.footer-links {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
/* CTA Button - Matching MkDocs cta-button */
|
|
.docs-link {
|
|
display: inline-block;
|
|
padding: 0.6rem 1.2rem;
|
|
margin-top: 0.75rem;
|
|
background-color: var(--md-primary-bg-color);
|
|
color: var(--md-primary-fg-color) !important;
|
|
border-radius: 4px;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
|
|
border: 2px solid var(--md-primary-fg-color);
|
|
}
|
|
|
|
.docs-link:hover {
|
|
background-color: var(--md-accent-fg-color);
|
|
color: var(--md-accent-bg-color) !important;
|
|
border-color: var(--md-accent-fg-color);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
[data-theme="dark"] .docs-link {
|
|
background-color: var(--md-code-bg-color);
|
|
}
|
|
|
|
[data-theme="dark"] .docs-link:hover {
|
|
background-color: var(--md-accent-fg-color);
|
|
color: white !important;
|
|
}
|
|
|
|
.footer-text {
|
|
font-style: italic;
|
|
color: var(--md-typeset-color);
|
|
opacity: 0.7;
|
|
font-size: 0.95rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
/* Theme Toggle */
|
|
.theme-toggle {
|
|
position: fixed;
|
|
bottom: 1.5rem;
|
|
right: 1.5rem;
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 50%;
|
|
border: none;
|
|
background: var(--md-code-bg-color);
|
|
color: var(--md-typeset-color);
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-shadow: 0 4px 12px var(--shadow-color);
|
|
transition: transform 0.2s ease, background-color 0.3s ease;
|
|
}
|
|
|
|
.theme-toggle:hover {
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.theme-toggle svg {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
.sun-icon {
|
|
display: none;
|
|
}
|
|
|
|
.moon-icon {
|
|
display: block;
|
|
}
|
|
|
|
[data-theme="dark"] .sun-icon {
|
|
display: block;
|
|
}
|
|
|
|
[data-theme="dark"] .moon-icon {
|
|
display: none;
|
|
}
|
|
|
|
|
|
/* Responsive */
|
|
@media (max-width: 1023px) {
|
|
.actions {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.container {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.hero {
|
|
padding: 2rem 0.5rem;
|
|
}
|
|
|
|
.logo {
|
|
max-width: 300px;
|
|
}
|
|
|
|
.intro {
|
|
font-size: 1rem;
|
|
padding: 0 0.5rem;
|
|
margin: 0.5rem 0;
|
|
}
|
|
|
|
.actions {
|
|
gap: 0.5rem;
|
|
padding: 0;
|
|
width: 100%;
|
|
margin: 0.5rem 0;
|
|
}
|
|
|
|
.action-card {
|
|
min-height: 180px;
|
|
padding: 1rem;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.card-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
}
|
|
|
|
.action-card h2 {
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
.theme-toggle {
|
|
bottom: 1rem;
|
|
right: 1rem;
|
|
width: 44px;
|
|
height: 44px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.tagline {
|
|
font-size: 1.4rem;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.logo {
|
|
max-width: 250px;
|
|
}
|
|
}
|