Spaces:
Running
Running
| body { | |
| margin: 0; | |
| padding: 20px; | |
| font-family: Arial, sans-serif; | |
| background-color: #2c3e50; /* A pleasant darker background */ | |
| color: #ecf0f1; /* Light text for contrast */ | |
| max-width: 800px; /* Limits page width for easy reading */ | |
| margin: 0 auto; /* Centers the content */ | |
| line-height: 1.6; /* Improves readability */ | |
| font-size: 18px; /* Larger text size */ | |
| } | |
| h1, h2, h3, h4, h5, h6 { | |
| color: #ecf0f1; /* Ensures headings match text color */ | |
| margin-top: 1em; | |
| margin-bottom: 0.5em; | |
| } | |
| a { | |
| color: #3498db; /* Adds a pop of color for links */ | |
| text-decoration: none; | |
| } | |
| a:hover { | |
| text-decoration: underline; | |
| } | |
| p { | |
| margin-bottom: 1em; | |
| } | |
| /* Style for block-level code elements */ | |
| pre, code { | |
| background-color: #34495e; /* A slightly lighter dark background for code */ | |
| display: block; /* Ensures preformatted text blocks */ | |
| padding: 10px; /* Adds padding for better readability */ | |
| overflow-x: auto; /* Allows horizontal scrolling if needed */ | |
| border-radius: 5px; /* Adds a slight border-radius for aesthetics */ | |
| } | |
| pre { | |
| color: #ecf0f1; /* Light text for contrast */ | |
| } | |
| /* Specific style for inline code */ | |
| code { | |
| background-color: transparent; /* Removes background */ | |
| padding: 0; /* Removes padding */ | |
| border-radius: 0; /* Removes border-radius */ | |
| display: inline; /* Ensures inline display */ | |
| color: #3498db; /* Sets a different color for inline code */ | |
| } | |