Skip to content

Commit 71e182d

Browse files
committed
fix tailwind overrided styles
1 parent aa1b1d7 commit 71e182d

File tree

8 files changed

+141
-202
lines changed

8 files changed

+141
-202
lines changed

app-laravel/api-laravel/resources/assets/front/css/style.css

Lines changed: 141 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
}
2222
}
2323

24-
2524
/* Text cutting to two lines */
2625
.line-clamp-2 {
2726
display: -webkit-box;
@@ -30,7 +29,6 @@
3029
overflow: hidden;
3130
}
3231

33-
3432
/* JetBrains Mono font for code blocks */
3533
@font-face {
3634
font-display: swap;
@@ -40,18 +38,146 @@
4038
font-style: normal;
4139
}
4240

43-
/* Code highlighting */
44-
pre {
45-
tab-size: 4;
46-
background: #000000;
47-
color: lightgreen;
48-
padding: 8px;
49-
white-space: pre-wrap;
50-
overflow-x: auto;
51-
font-family: "JetBrains Mono", "Lucida Console", serif;
52-
font-size: 12px;
53-
}
41+
.prose {
42+
color: #e5e7eb;
43+
max-width: none;
44+
45+
h1, h2, h3, h4, h5, h6 {
46+
color: #f3f4f6;
47+
margin-top: 1.5rem;
48+
margin-bottom: 0.75rem;
49+
font-weight: 600;
50+
line-height: 1.25;
51+
}
52+
53+
h1 {
54+
font-size: 2.25rem;
55+
}
56+
57+
h2 {
58+
font-size: 1.875rem;
59+
}
60+
61+
h3 {
62+
font-size: 1.5rem;
63+
}
64+
65+
h4 {
66+
font-size: 1.25rem;
67+
}
68+
69+
h5 {
70+
font-size: 1.125rem;
71+
}
72+
73+
h6 {
74+
font-size: 1rem;
75+
}
76+
77+
p {
78+
margin-bottom: 1rem;
79+
line-height: 1.7;
80+
}
81+
82+
ul, ol {
83+
margin-bottom: 1rem;
84+
padding-left: 1.5rem;
85+
}
86+
87+
ul {
88+
list-style-type: disc;
89+
}
90+
91+
ol {
92+
list-style-type: decimal;
93+
}
94+
95+
li {
96+
margin-bottom: 0.25rem;
97+
line-height: 1.6;
98+
}
5499

55-
code {
56-
font-size: 0.88em !important;
100+
ul ul, ol ol, ul ol, ol ul {
101+
margin-top: 0.25rem;
102+
margin-bottom: 0.25rem;
103+
}
104+
105+
table {
106+
width: 100%;
107+
margin-bottom: 1rem;
108+
border-collapse: collapse;
109+
border: 1px solid #4b5563;
110+
}
111+
112+
th, td {
113+
padding: 0.75rem;
114+
border: 1px solid #4b5563;
115+
text-align: left;
116+
}
117+
118+
th {
119+
background-color: #374151;
120+
font-weight: 600;
121+
color: #f9fafb;
122+
}
123+
124+
td {
125+
background-color: #1f2937;
126+
}
127+
128+
blockquote {
129+
border-left: 4px solid #3b82f6;
130+
padding-left: 1rem;
131+
margin: 1rem 0;
132+
color: #d1d5db;
133+
font-style: italic;
134+
}
135+
136+
code {
137+
background-color: #14171d;
138+
color: #fbbf24;
139+
padding: 0.125rem 0.25rem;
140+
border-radius: 0.25rem;
141+
font-size: 0.875rem;
142+
}
143+
144+
pre {
145+
background-color: #1f2023;
146+
color: #e5e7eb;
147+
padding: 1rem;
148+
border-radius: 0.5rem;
149+
overflow-x: auto;
150+
margin: 1rem 0;
151+
}
152+
153+
pre code {
154+
background-color: transparent;
155+
padding: 0;
156+
color: inherit;
157+
}
158+
159+
a {
160+
color: #60a5fa;
161+
text-decoration: underline;
162+
163+
&:hover {
164+
color: #93c5fd;
165+
}
166+
}
167+
168+
img {
169+
max-width: 100%;
170+
height: auto;
171+
border-radius: 0.5rem;
172+
margin: 1rem 0;
173+
}
174+
175+
strong, b {
176+
font-weight: 600;
177+
color: #f9fafb;
178+
}
179+
180+
em, i {
181+
font-style: italic;
182+
}
57183
}

app-laravel/api-laravel/resources/assets/sass/_variables.scss

Lines changed: 0 additions & 37 deletions
This file was deleted.

app-laravel/api-laravel/resources/assets/sass/app.scss

Lines changed: 0 additions & 8 deletions
This file was deleted.

app-laravel/api-laravel/resources/js/app.js

Lines changed: 0 additions & 32 deletions
This file was deleted.

app-laravel/api-laravel/resources/js/bootstrap.js

Lines changed: 0 additions & 55 deletions
This file was deleted.

app-laravel/api-laravel/resources/js/components/ExampleComponent.vue

Lines changed: 0 additions & 23 deletions
This file was deleted.

app-laravel/api-laravel/resources/sass/_variables.scss

Lines changed: 0 additions & 19 deletions
This file was deleted.

app-laravel/api-laravel/resources/sass/app.scss

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)