185 lines
5.1 KiB
CSS
185 lines
5.1 KiB
CSS
/* Creative Portfolio - Clean White */
|
|
@import "tailwindcss";
|
|
@import "./styles/masks.css";
|
|
@import "./styles/animations.css";
|
|
|
|
:root {
|
|
/* @colorThemes/lightTheme/neutral */
|
|
--background: #ffffff;
|
|
--card: #f5f5f5;
|
|
--foreground: #171717;
|
|
--primary-cta: #171717;
|
|
--primary-cta-text: #ffffff;
|
|
--secondary-cta: #f5f5f5;
|
|
--secondary-cta-text: #171717;
|
|
--accent: #171717;
|
|
--background-accent: #171717;
|
|
|
|
/* @layout/border-radius/rounded */
|
|
--radius: 1rem;
|
|
|
|
/* @layout/content-width/spacious */
|
|
--width-content-width: clamp(40rem, 67.5vw, 61rem);
|
|
|
|
/* @utilities/masks */
|
|
--vw-1_5: 1.35rem;
|
|
--width-x-padding-mask-fade: 4.5rem;
|
|
|
|
/* @layout/carousel */
|
|
--width-carousel-padding: calc((100vw - var(--width-content-width)) / 2 + 1px - 1rem);
|
|
--width-carousel-padding-controls: calc((100vw - var(--width-content-width)) / 2 + 1px);
|
|
--width-carousel-item-2: calc(var(--width-content-width) / 2 - var(--vw-1_5) / 2);
|
|
--width-carousel-item-3: calc(var(--width-content-width) / 3 - var(--vw-1_5) / 3 * 2);
|
|
--width-carousel-item-4: calc(var(--width-content-width) / 4 - var(--vw-1_5) / 4 * 3);
|
|
|
|
/* @typography/text-sizing/medium */
|
|
--text-2xs: 0.62rem;
|
|
--text-xs: 0.72rem;
|
|
--text-sm: 0.82rem;
|
|
--text-base: 0.92rem;
|
|
--text-lg: 1rem;
|
|
--text-xl: 1.1rem;
|
|
--text-2xl: 1.3rem;
|
|
--text-3xl: 1.6rem;
|
|
--text-4xl: 2rem;
|
|
--text-5xl: 2.75rem;
|
|
--text-6xl: 3.3rem;
|
|
--text-7xl: 4rem;
|
|
--text-8xl: 4.5rem;
|
|
--text-9xl: 7rem;
|
|
}
|
|
|
|
/* Smaller laptops (< 14" MacBook) */
|
|
@media (max-width: 1440px) and (min-width: 769px) {
|
|
:root {
|
|
--width-content-width: 87.5vw;
|
|
}
|
|
}
|
|
|
|
/* @typography/text-sizing/medium (mobile) */
|
|
@media (max-width: 768px) {
|
|
:root {
|
|
--text-2xs: 2.5vw;
|
|
--text-xs: 2.75vw;
|
|
--text-sm: 3vw;
|
|
--text-base: 3.25vw;
|
|
--text-lg: 3.5vw;
|
|
--text-xl: 4.25vw;
|
|
--text-2xl: 5vw;
|
|
--text-3xl: 6vw;
|
|
--text-4xl: 7vw;
|
|
--text-5xl: 7.5vw;
|
|
--text-6xl: 8.5vw;
|
|
--text-7xl: 10vw;
|
|
--text-8xl: 12vw;
|
|
--text-9xl: 14vw;
|
|
--width-content-width: 85vw;
|
|
--width-carousel-padding: calc((100vw - var(--width-content-width)) / 2 + 1px - 1rem);
|
|
--width-carousel-padding-controls: calc((100vw - var(--width-content-width)) / 2 + 1px);
|
|
--width-carousel-item-2: var(--width-content-width);
|
|
--width-carousel-item-3: var(--width-content-width);
|
|
--width-carousel-item-4: var(--width-content-width);
|
|
}
|
|
}
|
|
|
|
@theme inline {
|
|
/* Colors */
|
|
--color-background: var(--background);
|
|
--color-card: var(--card);
|
|
--color-foreground: var(--foreground);
|
|
--color-primary-cta: var(--primary-cta);
|
|
--color-primary-cta-text: var(--primary-cta-text);
|
|
--color-secondary-cta: var(--secondary-cta);
|
|
--color-secondary-cta-text: var(--secondary-cta-text);
|
|
--color-accent: var(--accent);
|
|
--color-background-accent: var(--background-accent);
|
|
|
|
/* Fonts */
|
|
--font-sans: "Inter Tight", sans-serif;
|
|
--font-tight: "Inter Tight", sans-serif;
|
|
--font-mono: monospace;
|
|
|
|
/* Border Radius */
|
|
--radius: var(--radius);
|
|
--radius-lg: var(--radius);
|
|
--radius-md: calc(var(--radius) - 2px);
|
|
--radius-sm: calc(var(--radius) - 4px);
|
|
|
|
/* Width */
|
|
--width-content-width: var(--width-content-width);
|
|
--width-carousel-padding: var(--width-carousel-padding);
|
|
--width-carousel-padding-controls: var(--width-carousel-padding-controls);
|
|
--width-carousel-item-2: var(--width-carousel-item-2);
|
|
--width-carousel-item-3: var(--width-carousel-item-3);
|
|
--width-carousel-item-4: var(--width-carousel-item-4);
|
|
|
|
/* Typography */
|
|
--text-2xs: var(--text-2xs);
|
|
--text-xs: var(--text-xs);
|
|
--text-sm: var(--text-sm);
|
|
--text-base: var(--text-base);
|
|
--text-lg: var(--text-lg);
|
|
--text-xl: var(--text-xl);
|
|
--text-2xl: var(--text-2xl);
|
|
--text-3xl: var(--text-3xl);
|
|
--text-4xl: var(--text-4xl);
|
|
--text-5xl: var(--text-5xl);
|
|
--text-6xl: var(--text-6xl);
|
|
--text-7xl: var(--text-7xl);
|
|
--text-8xl: var(--text-8xl);
|
|
--text-9xl: var(--text-9xl);
|
|
}
|
|
|
|
* {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: rgba(23, 23, 23, 0.15) rgba(0, 0, 0, 0);
|
|
}
|
|
|
|
html {
|
|
overscroll-behavior: none;
|
|
overscroll-behavior-y: none;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background-color: var(--background);
|
|
color: var(--foreground);
|
|
font-family: "Inter Tight", sans-serif;
|
|
position: relative;
|
|
min-height: 100vh;
|
|
overscroll-behavior: none;
|
|
overscroll-behavior-y: none;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-family: "Inter Tight", sans-serif;
|
|
}
|
|
|
|
/* WEBILD_CARD_STYLE */
|
|
/* @cards/subtle */
|
|
.card {
|
|
background: var(--color-card);
|
|
border: 1px solid rgba(0, 0, 0, 0.06);
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
/* WEBILD_PRIMARY_BUTTON */
|
|
/* @buttons/primary-button-styles/solid-dark */
|
|
.primary-button {
|
|
background: linear-gradient(180deg, #1e1e1e 0%, #0c0c0c 100%);
|
|
box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.12), inset 0 -1px 1px 0 rgba(0, 0, 0, 0.4), 0 0 0 0.5px rgba(255, 255, 255, 0.06), 0 1px 2px 0 rgba(0, 0, 0, 0.4), 0 4px 8px -1px rgba(0, 0, 0, 0.25), 0 12px 24px -4px rgba(0, 0, 0, 0.2), 0 24px 48px -8px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
/* WEBILD_SECONDARY_BUTTON */
|
|
/* @buttons/secondary-button-styles/subtle */
|
|
.secondary-button {
|
|
background: var(--color-secondary-cta);
|
|
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
|
|
}
|