@anishpras/create-portfolio
Version:
🏗 Personal CLI to bootstrap new portfolio from the given templates.
175 lines (142 loc) • 3.18 kB
CSS
@tailwind base;
@tailwind components;
@tailwind utilities;
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 100 900;
font-display: optional;
src: url(/fonts/inter-var-latin.woff2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
U+FEFF, U+FFFD;
}
html {
min-width: 360px;
scroll-behavior: smooth;
}
/* body {
font-family: "Inter";
} */
.sticky-nav {
position: sticky;
z-index: 10;
top: 0;
backdrop-filter: saturate(180%) blur(20px);
transition: background-color 0.1 ease-in-out;
}
@supports not (backdrop-filter: none) {
.sticky-nav {
backdrop-filter: none;
@apply bg-opacity-100;
}
}
.blog h1 {
}
/* On every page */
.blog-heading {
font-weight: 600;
}
/* Single blog styling */
.prose pre {
@apply bg-gray-50 border border-gray-200 dark:border-gray-700 dark:bg-gray-900;
}
.prose code {
@apply text-gray-800 dark:text-gray-200 px-1 py-0.5 border border-gray-100 dark:border-gray-800 rounded-md bg-gray-100 dark:bg-gray-900;
}
.prose img {
/* Don't apply styles to next/image */
@apply m-0;
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
@apply text-gray-700 dark:text-gray-300;
}
.token.punctuation {
@apply text-gray-700 dark:text-gray-300;
}
.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
@apply text-green-500;
}
.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
@apply text-purple-500;
}
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
@apply text-yellow-500;
}
.token.atrule,
.token.attr-value,
.token.keyword {
@apply text-blue-500;
}
.token.function,
.token.class-name {
@apply text-pink-500;
}
.token.regex,
.token.important,
.token.variable {
@apply text-yellow-500;
}
code[class*="language-"],
pre[class*="language-"] {
@apply text-gray-800 dark:text-gray-50;
}
pre::-webkit-scrollbar {
display: none;
}
pre {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
.remark-code-title {
@apply text-gray-800 dark:text-gray-200 px-5 py-3 border border-b-0 border-gray-200 dark:border-gray-700 rounded-t bg-gray-200 dark:bg-gray-800 text-sm font-mono font-bold;
}
.remark-code-title + pre {
@apply mt-0 rounded-t-none;
}
.mdx-marker {
@apply block -mx-4 px-4 bg-gray-100 dark:bg-gray-800 border-l-4 border-blue-500;
}
/* Remove Safari input shadow on mobile */
input[type="text"],
input[type="email"] {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.metric-card > a {
@apply no-underline;
}
.metric-card > p {
@apply my-2;
}
.step > h3 {
@apply my-0;
}
.step > h2 {
@apply my-0;
}
@layer components {
.card-style-boxshadows {
@apply mx-auto text-black font-light text-sm h-56 w-56 rounded-md bg-white flex items-center justify-center;
}
}