Skip to content

Commit 457db09

Browse files
committed
Perfect styling
1 parent a2ada54 commit 457db09

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

script.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,3 +402,8 @@ window.addEventListener('hashchange', () => {
402402
location.reload(); // Reload to show main page
403403
}
404404
});
405+
406+
407+
document.addEventListener('DOMContentLoaded', () => {
408+
hljs.highlightAll();
409+
});

styles.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,10 +415,11 @@ h1 {
415415
padding: 1.5rem;
416416
border-radius: 8px;
417417
font-family: 'Monaco', 'Menlo', monospace;
418-
font-size: 0.9rem;
418+
font-size: 2rem;
419419
line-height: 1.6;
420420
white-space: pre-wrap;
421421
overflow-x: auto;
422+
font-weight: bold;
422423
}
423424

424425
@media (max-width: 768px) {

0 commit comments

Comments
 (0)