Files
sharing/public/styles.css
T
2025-08-26 13:07:23 -04:00

244 lines
4.8 KiB
CSS

:root {
--bg: #071019;
--panel: #0f1720;
--muted: #9fb0c0;
--text: #e6edf3;
--accent: #7cc7ff;
--accent-2: #8ae3cf;
--card-border: rgba(255, 255, 255, .04);
--radius: 12px;
--container-width: 980px;
font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
}
* {
box-sizing: border-box
}
html,
body {
height: 100%;
margin: 0;
background:
radial-gradient(800px 500px at 10% -10%, rgba(124, 199, 255, .06), transparent 40%),
radial-gradient(700px 400px at 110% 10%, rgba(138, 227, 207, .04), transparent 40%),
var(--bg);
color: var(--text);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
line-height: 1.5;
}
.container {
max-width: var(--container-width);
margin: 0 auto;
padding: 1.25rem;
}
.header-inner {
display: flex;
align-items: center;
justify-content: center;
padding: 2.25rem 0 1rem
}
.brand-row {
display: flex;
gap: 1rem;
align-items: center
}
.logo {
font-size: 2rem
}
.brand {
margin: 0;
font-weight: 800;
font-size: clamp(1.4rem, 3vw, 1.9rem)
}
.tagline {
margin: 0;
color: var(--muted);
font-size: .95rem
}
.card {
background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .01));
border: 1px solid var(--card-border);
border-radius: var(--radius);
padding: 1.25rem;
margin: 1rem 0;
box-shadow: 0 8px 24px rgba(0, 0, 0, .32);
}
.hero {
padding: 1.5rem
}
.hero-title {
margin: .25rem 0 0;
font-size: 1.25rem
}
.hero-lead {
color: var(--muted);
margin: .5rem 0 1rem
}
.actions {
display: flex;
flex-wrap: wrap;
margin: 2em;
justify-content: space-evenly;
width: 90%;
}
.btn {
display: inline-block;
padding: .85rem 1.1rem;
border-radius: 10px;
text-decoration: none;
font-weight: 700;
color: var(--text);
background: var(--panel);
border: 1px solid rgba(255, 255, 255, .06)
}
/* contrast style for the "Open LUFI (file drop)" button */
[data-link="drop"] {
background: linear-gradient(90deg, rgba(4, 32, 42, 1), rgba(7, 17, 22, 1));
color: var(--accent-2);
border: 1px solid rgba(138, 227, 207, .22);
box-shadow: inset 0 -2px 8px rgba(0, 0, 0, .45), 0 6px 20px rgba(7, 12, 15, .6);
backdrop-filter: blur(6px);
transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
[data-link="drop"]:hover {
transform: translateY(-3px);
box-shadow: inset 0 -2px 10px rgba(0, 0, 0, .5), 0 10px 30px rgba(7, 12, 15, .6);
background: linear-gradient(90deg, rgba(12, 56, 64, 1), rgba(10, 34, 40, 1));
}
[data-link="drop"]:active {
transform: translateY(0);
box-shadow: inset 0 -1px 6px rgba(0, 0, 0, .5), 0 4px 12px rgba(7, 12, 15, .5);
}
/* PrivateBin (notes) */
[data-link="note"] {
background: linear-gradient(90deg, var(--accent), var(--accent-2));
color: #04202a;
border: none;
box-shadow: 0 6px 18px rgba(124, 199, 255, .08);
transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
[data-link="note"]:hover {
transform: translateY(-3px);
box-shadow: 0 10px 30px rgba(124, 199, 255, .12);
background: linear-gradient(90deg, rgba(124, 199, 255, .98), rgba(138, 227, 207, .92));
}
[data-link="note"]:active {
transform: translateY(0);
box-shadow: 0 4px 12px rgba(124, 199, 255, .08);
}
.hint {
color: var(--muted);
margin-top: 1rem;
font-size: .95rem
}
.hint a {
color: var(--accent);
text-decoration: none
}
.cards-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 1rem;
margin-top: 1rem
}
.feature h3 {
margin: 0 0 .5rem
}
.feature p {
margin: 0;
color: var(--muted)
}
.site-footer {
padding: 2rem 0 3rem;
color: var(--muted);
font-size: .95rem;
text-align: center
}
.footer-inner {
display: flex;
justify-content: center
}
/* GitHub link (inline, subtle CTA) */
[data-link="github"] {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.45rem 0.75rem;
border-radius: 10px;
text-decoration: none;
font-weight: 700;
font-size: 0.95rem;
color: var(--muted);
background: transparent;
border: 1px solid rgba(255, 255, 255, .03);
transition: background .12s ease, color .12s ease, transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
[data-link="github"]::before {
content: "🐙";
display: inline-block;
font-size: 1rem;
line-height: 1;
transform: translateY(-1px);
}
[data-link="github"]:hover {
background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .01));
color: var(--text);
border-color: rgba(255, 255, 255, .06);
transform: translateY(-3px);
box-shadow: 0 8px 24px rgba(0, 0, 0, .32);
}
[data-link="github"]:active {
transform: translateY(0);
box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}
/* small screens */
@media (max-width:520px) {
.brand {
font-size: 1.25rem
}
.logo {
font-size: 1.6rem
}
.actions {
flex-direction: column
}
.btn {
width: 100%;
text-align: center
}
}