Spaces:
Running
Running
File size: 1,410 Bytes
6ba7f39 5670d24 6ba7f39 5670d24 6ba7f39 2643690 0c3183e 2643690 0c3183e 2643690 0c3183e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
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 */
}
|