Some checks failed
CI/CD Pipeline / Build Docker Image (push) Has been cancelled
CI/CD Pipeline / Test (push) Has been cancelled
CI/CD Pipeline / Build (arm64, windows, linkbeam-windows-arm64.exe) (push) Has been cancelled
CI/CD Pipeline / Build (386, linux, linkbeam-linux-386) (push) Has been cancelled
CI/CD Pipeline / Lint (push) Has been cancelled
CI/CD Pipeline / Build (amd64, linux, linkbeam-linux-amd64) (push) Has been cancelled
CI/CD Pipeline / Build (arm, 7, linux, linkbeam-linux-armv7) (push) Has been cancelled
CI/CD Pipeline / Build (386, windows, linkbeam-windows-386.exe) (push) Has been cancelled
CI/CD Pipeline / Build (amd64, windows, linkbeam-windows-amd64.exe) (push) Has been cancelled
CI/CD Pipeline / Build (arm64, darwin, linkbeam-darwin-arm64) (push) Has been cancelled
CI/CD Pipeline / Build (arm64, linux, linkbeam-linux-arm64) (push) Has been cancelled
CI/CD Pipeline / Build (amd64, darwin, linkbeam-darwin-amd64) (push) Has been cancelled
CI/CD Pipeline / Create Release (push) Has been cancelled
125 lines
2.1 KiB
CSS
125 lines
2.1 KiB
CSS
/* auto.css - Super-simple monochrome theme for LinkBeam */
|
|
|
|
/* Default: Light mode */
|
|
:root {
|
|
--bg-color: #ffffff;
|
|
--text-color: #000000;
|
|
--text-secondary: #666666;
|
|
--link-bg: #f5f5f5;
|
|
--link-hover: #e0e0e0;
|
|
--border-color: #cccccc;
|
|
}
|
|
|
|
/* System dark mode preference */
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--bg-color: #000000;
|
|
--text-color: #ffffff;
|
|
--text-secondary: #999999;
|
|
--link-bg: #1a1a1a;
|
|
--link-hover: #2a2a2a;
|
|
--border-color: #333333;
|
|
}
|
|
}
|
|
|
|
/* Manual overrides */
|
|
html[data-theme="light"] {
|
|
--bg-color: #ffffff;
|
|
--text-color: #000000;
|
|
--text-secondary: #666666;
|
|
--link-bg: #f5f5f5;
|
|
--link-hover: #e0e0e0;
|
|
--border-color: #cccccc;
|
|
}
|
|
|
|
html[data-theme="dark"] {
|
|
--bg-color: #000000;
|
|
--text-color: #ffffff;
|
|
--text-secondary: #999999;
|
|
--link-bg: #1a1a1a;
|
|
--link-hover: #2a2a2a;
|
|
--border-color: #333333;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: sans-serif;
|
|
background: var(--bg-color);
|
|
color: var(--text-color);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
header {
|
|
text-align: center;
|
|
padding: 2rem 1rem;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
header img {
|
|
border: 1px solid var(--border-color);
|
|
}
|
|
|
|
header h1 {
|
|
margin: 1rem 0 0.5rem;
|
|
font-size: 1.5rem;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
header p {
|
|
margin: 0.5rem 0;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
main {
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
padding: 1rem;
|
|
}
|
|
|
|
main ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
main li {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
main a {
|
|
display: block;
|
|
padding: 1rem;
|
|
background-color: var(--link-bg);
|
|
border: 1px solid var(--border-color);
|
|
text-decoration: none;
|
|
color: var(--text-color);
|
|
text-align: center;
|
|
}
|
|
|
|
main a:hover {
|
|
background-color: var(--link-hover);
|
|
}
|
|
|
|
main a i {
|
|
margin-right: 0.5rem;
|
|
}
|
|
|
|
footer {
|
|
text-align: center;
|
|
padding: 2rem 1rem;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
footer p {
|
|
margin: 0.5rem 0;
|
|
color: var(--text-secondary);
|
|
font-size: 0.9rem;
|
|
}
|