Some checks failed
CI/CD Pipeline / Lint (pull_request) Has been cancelled
CI/CD Pipeline / Test (pull_request) Has been cancelled
CI/CD Pipeline / Build (386, linux, linkbeam-linux-386) (pull_request) Has been cancelled
CI/CD Pipeline / Build (386, windows, linkbeam-windows-386.exe) (pull_request) Has been cancelled
CI/CD Pipeline / Build (amd64, darwin, linkbeam-darwin-amd64) (pull_request) Has been cancelled
CI/CD Pipeline / Build (amd64, linux, linkbeam-linux-amd64) (pull_request) Has been cancelled
CI/CD Pipeline / Build (amd64, windows, linkbeam-windows-amd64.exe) (pull_request) Has been cancelled
CI/CD Pipeline / Build (arm, 7, linux, linkbeam-linux-armv7) (pull_request) Has been cancelled
CI/CD Pipeline / Build (arm64, darwin, linkbeam-darwin-arm64) (pull_request) Has been cancelled
CI/CD Pipeline / Build (arm64, linux, linkbeam-linux-arm64) (pull_request) Has been cancelled
CI/CD Pipeline / Build (arm64, windows, linkbeam-windows-arm64.exe) (pull_request) Has been cancelled
CI/CD Pipeline / Build Docker Image (pull_request) Has been cancelled
CI/CD Pipeline / Create Release (pull_request) Has been cancelled
198 lines
3.8 KiB
CSS
198 lines
3.8 KiB
CSS
/* catppuccin-frappe.css - Catppuccin Frappé theme for LinkBeam (with light/dark toggle) */
|
|
/* Based on: https://github.com/catppuccin/catppuccin */
|
|
|
|
/* Default: Latte (light) */
|
|
:root {
|
|
--bg-color: #eff1f5;
|
|
--text-color: #4c4f69;
|
|
--text-secondary: #6c6f85;
|
|
--link-bg: #e6e9ef;
|
|
--link-hover: #dce0e8;
|
|
--border-color: #ccd0da;
|
|
--accent-color: #7287fd;
|
|
}
|
|
|
|
/* System dark mode: Switch to Frappé */
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--bg-color: #303446;
|
|
--text-color: #c6d0f5;
|
|
--text-secondary: #a5adce;
|
|
--link-bg: #414559;
|
|
--link-hover: #51576d;
|
|
--border-color: #626880;
|
|
--accent-color: #babbf1;
|
|
}
|
|
}
|
|
|
|
/* Manual overrides */
|
|
html[data-theme="light"] {
|
|
--bg-color: #eff1f5;
|
|
--text-color: #4c4f69;
|
|
--text-secondary: #6c6f85;
|
|
--link-bg: #e6e9ef;
|
|
--link-hover: #dce0e8;
|
|
--border-color: #ccd0da;
|
|
--accent-color: #7287fd;
|
|
}
|
|
|
|
html[data-theme="dark"] {
|
|
--bg-color: #303446;
|
|
--text-color: #c6d0f5;
|
|
--text-secondary: #a5adce;
|
|
--link-bg: #414559;
|
|
--link-hover: #51576d;
|
|
--border-color: #626880;
|
|
--accent-color: #babbf1;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
background: var(--bg-color);
|
|
color: var(--text-color);
|
|
line-height: 1.6;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
header {
|
|
text-align: center;
|
|
padding: 3rem 1rem 2rem;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
header img {
|
|
border-radius: 50%;
|
|
border: 3px solid var(--border-color);
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
header h1 {
|
|
margin: 0.5rem 0;
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
header p {
|
|
margin: 0.75rem 0;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
main {
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
padding: 1rem 1rem 3rem;
|
|
}
|
|
|
|
main ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
main li {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
main a,
|
|
button,
|
|
main span {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
padding: 1rem 1.5rem;
|
|
background-color: var(--link-bg);
|
|
border: 2px solid var(--border-color);
|
|
border-radius: 8px;
|
|
text-decoration: none;
|
|
color: var(--text-color);
|
|
font-weight: 600;
|
|
text-align: center;
|
|
transition: all 0.2s ease;
|
|
cursor: pointer;
|
|
width: 100%;
|
|
font: inherit;
|
|
}
|
|
|
|
main span {
|
|
cursor: default;
|
|
}
|
|
|
|
main a:hover,
|
|
button:hover {
|
|
background-color: var(--link-hover);
|
|
border-color: var(--accent-color);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
main a:active,
|
|
button:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
main code {
|
|
background-color: rgba(127, 127, 127, 0.1);
|
|
padding: 0.2rem 0.4rem;
|
|
border-radius: 0.25rem;
|
|
font-family: 'Courier New', Courier, monospace;
|
|
font-size: 0.9em;
|
|
user-select: text;
|
|
-webkit-user-select: text;
|
|
-moz-user-select: text;
|
|
}
|
|
|
|
footer {
|
|
text-align: center;
|
|
padding: 2rem 1rem 3rem;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
footer p {
|
|
margin: 0.5rem 0;
|
|
color: var(--text-secondary);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* Image module styles */
|
|
.image-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 1rem 1.5rem;
|
|
background-color: var(--link-bg);
|
|
border: 2px solid var(--border-color);
|
|
border-radius: 8px;
|
|
width: 100%;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.image-item:hover {
|
|
background-color: var(--link-hover);
|
|
border-color: var(--accent-color);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.image-item img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
border-radius: 6px;
|
|
border: 2px solid var(--border-color);
|
|
}
|
|
|
|
.image-caption {
|
|
margin: 0.75rem 0 0;
|
|
color: var(--text-color);
|
|
text-align: center;
|
|
font-size: 0.95rem;
|
|
font-weight: 500;
|
|
}
|