's'
This commit is contained in:
480
app/globals.css
480
app/globals.css
@@ -2,6 +2,7 @@
|
||||
@source "./";
|
||||
@source not "./favicon.ico";
|
||||
@source "../config";
|
||||
@source "../content/digital";
|
||||
|
||||
@custom-variant dark (&:where(.dark, .dark *));
|
||||
|
||||
@@ -22,6 +23,14 @@
|
||||
--color-foreground: var(--foreground);
|
||||
--font-sans: var(--font-geist-sans);
|
||||
--font-mono: var(--font-geist-mono);
|
||||
--color-primary: #0ea5e9;
|
||||
--color-primary-dark: #0284c7;
|
||||
--color-accent: #f59e0b;
|
||||
--color-accent-dark: #d97706;
|
||||
--animate-scroll: digital-scroll 30s linear infinite;
|
||||
--animate-scroll-reverse: digital-scroll 30s linear infinite reverse;
|
||||
--animate-fade-in: digital-fade-in 0.6s ease-out;
|
||||
--animate-float: digital-float 6s ease-in-out infinite;
|
||||
}
|
||||
|
||||
body {
|
||||
@@ -372,3 +381,474 @@ html {
|
||||
.animate-fade-in {
|
||||
animation: fadeIn 0.6s ease-out;
|
||||
}
|
||||
|
||||
/* ==================== Digital Project Styles ==================== */
|
||||
.digital-scope {
|
||||
--background: #ffffff;
|
||||
--foreground: #0f172a;
|
||||
--card: #ffffff;
|
||||
--card-foreground: #0f172a;
|
||||
--muted: #f1f5f9;
|
||||
--muted-foreground: #64748b;
|
||||
--border: #e2e8f0;
|
||||
--accent: #f59e0b;
|
||||
--accent-foreground: #1c1917;
|
||||
--accent-muted: rgba(245, 158, 11, 0.2);
|
||||
--gradient-accent: rgba(251, 191, 36, 0.15);
|
||||
min-height: 100vh;
|
||||
background: var(--background);
|
||||
color: var(--foreground);
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.dark .digital-scope {
|
||||
--background: #0f172a;
|
||||
--foreground: #f8fafc;
|
||||
--card: rgba(255, 255, 255, 0.05);
|
||||
--card-foreground: #f8fafc;
|
||||
--muted: rgba(255, 255, 255, 0.05);
|
||||
--muted-foreground: #94a3b8;
|
||||
--border: rgba(255, 255, 255, 0.08);
|
||||
--accent: #f59e0b;
|
||||
--accent-foreground: #1c1917;
|
||||
--accent-muted: rgba(245, 158, 11, 0.2);
|
||||
--gradient-accent: rgba(251, 191, 36, 0.15);
|
||||
}
|
||||
|
||||
@keyframes digital-scroll {
|
||||
from {
|
||||
transform: translateX(0);
|
||||
}
|
||||
to {
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes digital-fade-in {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(20px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes digital-float {
|
||||
0%,
|
||||
100% {
|
||||
transform: translateY(0);
|
||||
}
|
||||
50% {
|
||||
transform: translateY(-10px);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes digital-gradient-shift {
|
||||
0%,
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
50% {
|
||||
opacity: 0.85;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes digital-shimmer {
|
||||
0% {
|
||||
background-position: -200% 0;
|
||||
}
|
||||
100% {
|
||||
background-position: 200% 0;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes digital-float-badge {
|
||||
0%,
|
||||
100% {
|
||||
transform: translateY(0);
|
||||
}
|
||||
50% {
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
}
|
||||
|
||||
.digital-scope .animate-gradient {
|
||||
animation: digital-gradient-shift 8s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.digital-scope .animate-fade-in {
|
||||
animation: digital-fade-in 0.6s ease-out;
|
||||
}
|
||||
|
||||
.digital-scope .animate-float-badge {
|
||||
animation: digital-float-badge 3s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.digital-scope .hover-shimmer {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.digital-scope .hover-shimmer::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
transparent,
|
||||
rgba(255, 255, 255, 0.05),
|
||||
transparent
|
||||
);
|
||||
background-size: 200% 100%;
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.digital-scope .hover-shimmer:hover::after {
|
||||
opacity: 1;
|
||||
animation: digital-shimmer 1.5s ease-in-out;
|
||||
}
|
||||
|
||||
.digital-scope .marquee-container {
|
||||
mask-image: linear-gradient(
|
||||
to right,
|
||||
transparent 0%,
|
||||
black 10%,
|
||||
black 90%,
|
||||
transparent 100%
|
||||
);
|
||||
-webkit-mask-image: linear-gradient(
|
||||
to right,
|
||||
transparent 0%,
|
||||
black 10%,
|
||||
black 90%,
|
||||
transparent 100%
|
||||
);
|
||||
}
|
||||
|
||||
.digital-scope .gradient-text {
|
||||
background: linear-gradient(135deg, #0ea5e9, #06b6d4, #f59e0b);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
}
|
||||
|
||||
.digital-scope .card-hover {
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.digital-scope .card-hover:hover {
|
||||
transform: translateY(-4px);
|
||||
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.dark .digital-scope .card-hover:hover {
|
||||
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.digital-scope .resource-card {
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.digital-scope .resource-card:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom {
|
||||
font-size: 1rem;
|
||||
line-height: 1.85;
|
||||
color: #334155;
|
||||
}
|
||||
|
||||
.dark .digital-scope .prose-custom {
|
||||
color: #94a3b8;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom h1 {
|
||||
font-size: 2.25rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0;
|
||||
color: #0f172a;
|
||||
margin-top: 2.5rem;
|
||||
margin-bottom: 1rem;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.dark .digital-scope .prose-custom h1 {
|
||||
color: #f8fafc;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom h2 {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
color: #0f172a;
|
||||
margin-top: 2.5rem;
|
||||
margin-bottom: 0.75rem;
|
||||
padding-bottom: 0.5rem;
|
||||
border-bottom: 1px solid #e2e8f0;
|
||||
}
|
||||
|
||||
.dark .digital-scope .prose-custom h2 {
|
||||
color: #f8fafc;
|
||||
border-bottom-color: #334155;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom h3 {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 700;
|
||||
color: #1e293b;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom h4 {
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
color: #1e293b;
|
||||
margin-top: 1.5rem;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom p {
|
||||
margin-bottom: 1.25rem;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom a {
|
||||
color: #0ea5e9;
|
||||
font-weight: 500;
|
||||
text-decoration: underline;
|
||||
text-decoration-color: #bae6fd;
|
||||
text-underline-offset: 2px;
|
||||
transition: text-decoration-color 0.2s;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom a:hover {
|
||||
text-decoration-color: #0ea5e9;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom strong {
|
||||
font-weight: 700;
|
||||
color: #0f172a;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom em {
|
||||
color: #475569;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom ul {
|
||||
list-style-type: disc;
|
||||
padding-left: 1.5rem;
|
||||
margin-bottom: 1.25rem;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom ol {
|
||||
list-style-type: decimal;
|
||||
padding-left: 1.5rem;
|
||||
margin-bottom: 1.25rem;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom li {
|
||||
margin-bottom: 0.4rem;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom li > ul,
|
||||
.digital-scope .prose-custom li > ol {
|
||||
margin-top: 0.4rem;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom blockquote {
|
||||
border-left: 4px solid #0ea5e9;
|
||||
background: #f0f9ff;
|
||||
padding: 1rem 1.25rem;
|
||||
margin: 1.5rem 0;
|
||||
border-radius: 0 0.75rem 0.75rem 0;
|
||||
color: #334155;
|
||||
}
|
||||
|
||||
.dark .digital-scope .prose-custom blockquote {
|
||||
background: #0c4a6e33;
|
||||
border-left-color: #38bdf8;
|
||||
color: #94a3b8;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom blockquote p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom hr {
|
||||
border: none;
|
||||
border-top: 1px solid #e2e8f0;
|
||||
margin: 2rem 0;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom code {
|
||||
background: #f1f5f9;
|
||||
color: #0f172a;
|
||||
padding: 0.15rem 0.4rem;
|
||||
border-radius: 0.375rem;
|
||||
font-size: 0.875em;
|
||||
font-family: var(--font-geist-mono), ui-monospace, monospace;
|
||||
}
|
||||
|
||||
.dark .digital-scope .prose-custom code {
|
||||
background: #334155;
|
||||
color: #e2e8f0;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom pre {
|
||||
background: #1e293b;
|
||||
color: #e2e8f0;
|
||||
padding: 1.25rem 1.5rem;
|
||||
border-radius: 0.75rem;
|
||||
overflow-x: auto;
|
||||
margin: 1.5rem 0;
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom pre code {
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
padding: 0;
|
||||
border-radius: 0;
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin: 1.5rem 0;
|
||||
font-size: 0.9rem;
|
||||
overflow: hidden;
|
||||
border-radius: 0.75rem;
|
||||
border: 1px solid #e2e8f0;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom thead {
|
||||
background: #f8fafc;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom th {
|
||||
padding: 0.75rem 1rem;
|
||||
text-align: left;
|
||||
font-weight: 600;
|
||||
color: #0f172a;
|
||||
border-bottom: 2px solid #e2e8f0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom td {
|
||||
padding: 0.65rem 1rem;
|
||||
border-bottom: 1px solid #f1f5f9;
|
||||
color: #475569;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom tbody tr:last-child td {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom tbody tr:hover {
|
||||
background: #f8fafc;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom img {
|
||||
max-width: 100%;
|
||||
border-radius: 0.75rem;
|
||||
margin: 1.5rem 0;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom input[type="checkbox"] {
|
||||
margin-right: 0.5rem;
|
||||
accent-color: #0ea5e9;
|
||||
}
|
||||
|
||||
.digital-scope .prose-custom li:has(input[type="checkbox"]) {
|
||||
list-style-type: none;
|
||||
margin-left: -1.5rem;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.digital-scope .prose-custom h1 {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
.digital-scope .prose-custom h2 {
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
.digital-scope .prose-custom h3 {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
.digital-scope .prose-custom table {
|
||||
font-size: 0.8rem;
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
}
|
||||
.digital-scope .prose-custom th,
|
||||
.digital-scope .prose-custom td {
|
||||
padding: 0.5rem 0.65rem;
|
||||
}
|
||||
.digital-scope .prose-custom blockquote {
|
||||
padding: 0.75rem 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.digital-scope .form-input {
|
||||
width: 100%;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
font-size: 15px;
|
||||
line-height: 1.5;
|
||||
color: #1e293b;
|
||||
outline: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.digital-scope .form-input::placeholder {
|
||||
color: #b2b2b2;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.digital-scope .form-input {
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 0.75rem;
|
||||
padding: 0.65rem 0.875rem;
|
||||
font-size: 15px;
|
||||
background: #f8fafc;
|
||||
transition: border-color 0.2s, box-shadow 0.2s;
|
||||
}
|
||||
.digital-scope .form-input:focus {
|
||||
border-color: #0ea5e9;
|
||||
box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
|
||||
background: #fff;
|
||||
}
|
||||
.digital-scope textarea.form-input {
|
||||
padding: 0.75rem 0.875rem;
|
||||
}
|
||||
.digital-scope select.form-input {
|
||||
padding-right: 2.25rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.dark .digital-scope .form-input {
|
||||
color: #f1f5f9;
|
||||
}
|
||||
|
||||
.dark .digital-scope .form-input::placeholder {
|
||||
color: #94a3b8;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.dark .digital-scope .form-input {
|
||||
border-color: #475569;
|
||||
background: #1e293b;
|
||||
}
|
||||
.dark .digital-scope .form-input:focus {
|
||||
border-color: #0ea5e9;
|
||||
background: #334155;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user