Jean Louis commited on
Commit
2643690
·
1 Parent(s): e375757

Updated HTML files and CSS

Browse files
Files changed (1) hide show
  1. header.css +13 -0
header.css CHANGED
@@ -28,3 +28,16 @@ a:hover {
28
  p {
29
  margin-bottom: 1em;
30
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  p {
29
  margin-bottom: 1em;
30
  }
31
+
32
+ pre, code {
33
+ background-color: black; /* A slightly lighter dark background for code */
34
+ display: block; /* Ensures preformatted text blocks */
35
+ padding: 10px; /* Adds padding for better readability */
36
+ overflow-x: auto; /* Allows horizontal scrolling if needed */
37
+ border-radius: 5px; /* Adds a slight border-radius for aesthetics */
38
+ }
39
+
40
+ /* Optional: Add a different color for code within a pre tag */
41
+ pre {
42
+ color: #ecf0f1; /* Light text for contrast */
43
+ }