Skip to content

Commit 2a48976

Browse files
save file
1 parent 75e0f85 commit 2a48976

File tree

1 file changed

+50
-1
lines changed

1 file changed

+50
-1
lines changed

blog/25-11-15/ffmpeg-in-the-browser/ffmpeg-in-the-browser.html

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,55 @@
166166
.description > p+p
167167
{margin:10px 0}
168168

169+
170+
.blog-text {
171+
margin: 1.5rem auto;
172+
padding: 1.25rem 1.75rem;
173+
background-color: #fcfcfc; /* slightly lighter than #f9f9f9 */
174+
font-family: system-ui, sans-serif;
175+
font-size: 1rem;
176+
line-height: 1.7;
177+
color: #333;
178+
text-align: justify;
179+
border-radius: 4px; /* softens the box */
180+
}
181+
182+
.blog-text p {
183+
margin: 0 0 1rem 0;
184+
}
185+
186+
.blog-text h2,
187+
.blog-text h3 {
188+
margin-top: 1.5rem;
189+
margin-bottom: 0.75rem;
190+
font-weight: 600;
191+
color: #222;
192+
}
193+
194+
195+
196+
.blog-text code {
197+
background-color: #f0f0f0;
198+
padding: 0.2em 0.4em;
199+
border-radius: 3px;
200+
font-family: ui-monospace, monospace;
201+
font-size: 0.95em;
202+
}
203+
204+
.blog-text pre {
205+
background-color: #f5f5f5;
206+
padding: 1rem;
207+
border-radius: 5px;
208+
overflow-x: auto;
209+
font-family: ui-monospace, monospace;
210+
font-size: 0.95em;
211+
line-height: 1.5;
212+
margin: 1.25rem 0;
213+
}
214+
215+
216+
217+
169218
code
170219
{font-family:monospace;background:whitesmoke}
171220
code.inline
@@ -233,7 +282,7 @@ <h1 class=title>
233282
</a>
234283
</div>
235284

236-
<section>
285+
<section class=blog-text>
237286
<h3>
238287
videoconverter.js
239288
</h3>

0 commit comments

Comments
 (0)