grapes-andrewdingus
Version:
GRAPES OS static site — CDN-ready via unpkg
474 lines (416 loc) • 9.58 kB
CSS
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@400;600;700&display=swap");
:root {
--bg: #07070e;
--bg-2: #0e0e1a;
--surface: rgba(255, 255, 255, 0.05);
--surface-hover: rgba(255, 255, 255, 0.09);
--surface-active: rgba(255, 255, 255, 0.13);
--border: rgba(255, 255, 255, 0.1);
--border-strong: rgba(255, 255, 255, 0.18);
--accent: #8b5cf6;
--accent-2: #a78bfa;
--accent-glow: rgba(139, 92, 246, 0.35);
--text: #f0f0f8;
--text-muted: rgba(240, 240, 248, 0.55);
--glass: blur(24px) saturate(180%);
--radius: 20px;
--radius-sm: 12px;
--radius-pill: 999px;
--primary-color: var(--accent);
--secondary-color: var(--accent-2);
--accent-color: var(--accent);
--menu-background: var(--bg-2);
--body-background: var(--bg);
--segment-background: var(--surface);
--input-background: var(--surface);
--input-border: var(--accent);
--dropdown-background: var(--bg-2);
}
*,
*::before,
*::after {
box-sizing: border-box;
}
body {
background-color: var(--bg);
background-image: radial-gradient(
ellipse 80% 50% at 50% -10%,
rgba(139, 92, 246, 0.18) 0%,
transparent 60%
),
radial-gradient(
ellipse 60% 40% at 80% 110%,
rgba(168, 85, 247, 0.1) 0%,
transparent 50%
);
background-attachment: fixed;
font-family: "Inter", "Montserrat", sans-serif;
font-weight: 400;
font-size: 15px;
line-height: 1.7;
color: var(--text);
overflow-x: hidden;
letter-spacing: 0.2px;
text-rendering: optimizeLegibility ;
-webkit-font-smoothing: antialiased ;
scroll-behavior: smooth;
margin: 0;
position: relative;
}
.notbody {
background-color: var(--bg);
font-family: "Inter", "Montserrat", sans-serif;
font-weight: 400;
font-size: 15px;
line-height: 1.7;
color: var(--text);
overflow-x: hidden;
letter-spacing: 0.2px;
text-rendering: optimizeLegibility ;
-webkit-font-smoothing: antialiased ;
scroll-behavior: smooth;
}
.iframe {
position: relative;
color: var(--text);
}
.icon_image {
position: relative;
display: flex;
flex-direction: row;
flex-wrap: wrap;
flex-grow: 0;
gap: 14px;
justify-content: center;
order: 0;
align-items: center;
width: 100%;
padding: 0 12px;
}
.icon_image a {
flex-wrap: wrap;
display: block;
position: relative;
width: 180px;
height: 180px;
border-radius: var(--radius-sm);
overflow: hidden;
transition: transform 0.22s cubic-bezier(0.05, 0.75, 0.12, 0.97),
box-shadow 0.22s ease;
}
.icon_image a:hover {
transform: translateY(-4px) scale(1.03);
box-shadow: 0 12px 36px rgba(139, 92, 246, 0.3), 0 4px 12px rgba(0, 0, 0, 0.5);
}
.icon_image a img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
border-radius: var(--radius-sm);
}
.centered-fixed {
position: fixed;
top: 1.5%;
left: 50%;
transform: translateX(-50%);
z-index: 999;
}
.grapes-os-header {
font-size: 1.1rem;
font-weight: 700;
color: var(--text);
text-align: center;
margin-top: 0;
letter-spacing: 0.5px;
}
.small-text {
font-size: 0.95rem;
color: var(--text-muted);
text-align: center;
}
.icon_image a figcaption {
position: relative;
bottom: 0;
right: 0;
padding: 8px 10px;
background: rgba(10, 10, 20, 0.85);
backdrop-filter: blur(12px);
color: var(--text);
font-size: 13px;
font-weight: 500;
font-family: "Inter", "Montserrat", sans-serif;
text-align: center;
pointer-events: none;
z-index: 1;
visibility: hidden;
border-radius: 0 0 var(--radius-sm) var(--radius-sm);
margin-top: -30px;
left: 50%;
transform: translateX(-50%);
line-height: 140%;
max-width: 100%;
border: 1px solid var(--border);
transition: all 0.25s cubic-bezier(0.05, 0.75, 0.12, 0.97);
}
.button {
border: 1px solid var(--border);
padding: 10px 22px;
min-width: 4rem;
transition: all 0.22s cubic-bezier(0.05, 0.75, 0.12, 0.97);
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 1rem;
border-radius: var(--radius-pill);
margin: 4px 2px;
cursor: pointer;
white-space: nowrap;
font-family: "Inter", "Montserrat", sans-serif;
font-weight: 600;
margin-bottom: 1rem;
background: var(--surface);
color: var(--text);
backdrop-filter: var(--glass);
margin-top: 1.5rem;
}
.button:hover {
background: var(--accent);
border-color: var(--accent);
color: #fff;
transform: scale(0.97);
box-shadow: 0 0 20px var(--accent-glow);
}
.button:active {
transform: scale(0.93);
}
.button-55 {
margin-top: 15px;
margin-bottom: 10px;
align-self: center;
background: var(--surface);
backdrop-filter: var(--glass);
border: 1px solid var(--border-strong);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
box-sizing: border-box;
color: var(--text);
cursor: pointer;
display: inline-block;
font-family: "Inter", "Montserrat", sans-serif;
font-size: 1.6rem;
font-weight: 700;
line-height: 64px;
min-width: 400px;
outline: none;
padding: 0.5rem 2rem;
text-decoration: none;
transition: all 235ms ease-in-out;
border-radius: var(--radius-pill);
user-select: none;
touch-action: manipulation;
}
.button-55.github {
min-width: 320px;
font-size: 1.4rem;
}
.button-55:hover {
background: var(--surface-hover);
box-shadow: 0 4px 24px var(--accent-glow);
transform: translateY(-2px);
}
.button-55:focus {
box-shadow: 0 0 0 2px var(--accent);
}
.recommended-btns {
text-decoration: none;
}
.disclaimer {
font-size: 0.95rem;
line-height: 140%;
margin-top: 2rem;
color: var(--text-muted);
}
.footer {
color: var(--text);
padding: 10px;
text-align: center;
}
a {
text-decoration: none;
color: var(--accent-2);
}
a:visited {
color: var(--accent);
}
a:hover {
color: #c4b5fd;
}
.claim-streak {
margin-top: 150px;
padding: 0 16px;
margin-bottom: 2rem;
background: var(--surface);
backdrop-filter: var(--glass);
border: 1px solid var(--border);
color: var(--text);
border-radius: var(--radius);
transition: all 0.25s cubic-bezier(0.05, 0.75, 0.12, 0.97);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.claim-streak:hover {
transform: scale(0.97);
box-shadow: 0 0 24px var(--accent-glow);
}
.claim-streak:active {
transform: scale(0.95);
}
.streak-title {
font-size: 7.5rem;
margin: 0;
}
.streak-subtitle {
font-size: 2.75rem;
margin: 0;
margin-top: -2.5rem;
margin-bottom: -0.25rem;
}
#stats_div {
margin-bottom: 2.5rem;
}
#stats_div {
transform: scale(0);
transition: transform 0.25s ease;
}
#stats_div.loaded {
transform: scale(1);
}
.group {
display: flex;
line-height: 28px;
align-items: center;
position: relative;
max-width: 640px;
width: 100%;
margin: 0 auto 1rem;
}
.input {
font-family: "Inter", "Montserrat", sans-serif;
color: var(--text);
background: var(--surface);
backdrop-filter: var(--glass);
width: 100%;
height: 48px;
padding-left: 2.5rem;
padding-right: 1rem;
box-shadow: 0 0 0 1.5px var(--border), inset 0 1px 0 rgba(255,255,255,0.06);
border: 0;
border-radius: var(--radius-pill);
outline: none;
transition: all 0.25s cubic-bezier(0.19, 1, 0.22, 1);
cursor: text;
z-index: 0;
}
.input::placeholder {
color: var(--text-muted);
}
.input:hover {
box-shadow: 0 0 0 1.5px var(--border-strong);
}
.input:active {
transform: scale(0.99);
}
.input:focus {
box-shadow: 0 0 0 2px var(--accent), 0 0 20px var(--accent-glow);
background: rgba(255, 255, 255, 0.07);
}
.search-icon {
position: absolute;
left: 1rem;
fill: var(--text-muted);
width: 1rem;
height: 1rem;
pointer-events: none;
z-index: 1;
}
input[type="search"]::-ms-clear,
input[type="search"]::-ms-reveal {
display: none;
width: 0;
height: 0;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
display: none;
}
input[type="search"]::-moz-search-clear,
input[type="search"]::-moz-search-cancel-button {
display: none;
}
input[type="search"]::-webkit-search-cancel-button {
-webkit-appearance: none;
appearance: none;
}
.rounded {
border-radius: var(--radius);
}
.expand {
transition: all 0.25s cubic-bezier(0.05, 0.75, 0.12, 0.97);
}
.expand:hover {
transform: scale(1.08);
}
.expand:active {
transform: scale(0.94);
}
/* Category sort buttons */
.button1,
.button2,
.button3 {
background: var(--surface);
backdrop-filter: blur(12px);
border: 1px solid var(--border);
color: var(--text-muted);
padding: 6px 16px;
border-radius: var(--radius-pill);
font-size: 0.85rem;
font-weight: 500;
font-family: "Inter", "Montserrat", sans-serif;
cursor: pointer;
margin: 3px 3px;
transition: all 0.2s ease;
white-space: nowrap;
}
.button1:hover,
.button2:hover,
.button3:hover {
background: var(--surface-hover);
border-color: var(--border-strong);
color: var(--text);
}
.button2 {
background: var(--accent);
border-color: var(--accent);
color: #fff;
box-shadow: 0 0 16px var(--accent-glow);
}
.button2:hover {
background: var(--accent-2);
border-color: var(--accent-2);
}
.button3 {
border-color: var(--accent);
color: var(--accent-2);
}
.button3:hover {
background: var(--accent);
color: #fff;
}
.sorter.active,
.sorter.button2 {
background: var(--accent) ;
border-color: var(--accent) ;
color: #fff ;
box-shadow: 0 0 16px var(--accent-glow);
}