Skip to content

Commit d03795a

Browse files
committed
update all css
1 parent d75cb12 commit d03795a

10 files changed

Lines changed: 22 additions & 30 deletions

File tree

app/globals.css

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@
4848
html {
4949
font-size: 13.333px;
5050
line-height: 1.2;
51+
52+
@apply text-base;
53+
/* font-feature-settings:
54+
"rlig" 1,
55+
"calt" 1,
56+
"ss01" 1; */
57+
/* -webkit-tap-highlight-color: transparent; */
5158
hanging-punctuation: first last allow-end;
5259
font-feature-settings: "liga", "kern";
5360
font-variant-ligatures: common-ligatures discretionary-ligatures;
@@ -78,12 +85,19 @@
7885
Noto Color Emoji;
7986

8087
scroll-padding-top: 4rem;
81-
/* font-feature-settings: "rlig" 1, "calt" 1, "ss01" 1; */
82-
83-
font-size: 1rem;
84-
85-
tab-size: 4;
88+
font-feature-settings:
89+
"rlig" 1,
90+
"calt" 1,
91+
"ss01" 1;
8692
/* font-feature-settings: normal; */
93+
/* font-size: 1rem; */
94+
tab-size: 4;
95+
}
96+
97+
/* Target all KaTeX containers */
98+
.katex,
99+
.katex * {
100+
@apply antialiased;
87101
}
88102
}
89103

styles/cards.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
@import "tailwindcss";
2-
31
@theme {
42
--rows: 3; /* Default value for --rows, adjust as needed */
53
}

styles/code-block.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
@import "tailwindcss";
2-
31
@theme {
42
--twoslash-border-color: #8888;
53
--twoslash-underline-color: currentColor;

styles/hamburger.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
@import "tailwindcss";
2-
31
.nextra-hamburger svg {
42
g {
53
@apply origin-center;

styles/image-zoom.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
@import "tailwindcss";
2-
31
@theme {
42
--nextra-bg: 0, 0, 0; /* Default to black for modal overlay, adjust as needed */
53
}

styles/math/mathfonts.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/* KaTeX Fonts */
2-
32
@font-face {
43
font-family: KaTeX_AMS;
54
src:

styles/math/mathstyles.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
normal 1.21em KaTeX_Main,
44
Times New Roman,
55
serif;
6+
67
line-height: 1.2;
78
text-indent: 0;
89
text-rendering: auto;

styles/steps.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
@import "tailwindcss";
2-
31
@theme {
42
--nextra-bg: var(--background, #fff);
53
}

styles/subheading-anchor.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
@import "tailwindcss";
2-
31
:hover > .subheading-anchor {
42
@apply opacity-100;
53
}

styles/utilities.css

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
@tailwind utilities;
2-
3-
@layer utilities {
4-
.mask-gradient {
5-
mask-image: linear-gradient(
6-
to right,
7-
transparent 0.8em,
8-
white 1.5em,
9-
white calc(100% - 1.5em),
10-
transparent calc(100% - 0.8em)
11-
);
12-
}
1+
.mask-gradient {
2+
mask-image: linear-gradient(to right, transparent 0.8em, white 1.5em, white calc(100% - 1.5em), transparent calc(100% - 0.8em));
133
}

0 commit comments

Comments
 (0)