-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d8046e6
commit b84a1c7
Showing
2 changed files
with
19 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,44 @@ | ||
/* styles.css */ | ||
body { | ||
font-family: Arial, sans-serif; | ||
background-color: #121212; /* Dark background */ | ||
color: #ffffff; /* Light text */ | ||
margin: 0; | ||
padding: 20px; /* Add padding to the body for overall spacing */ | ||
} | ||
|
||
h1, h2, h3 { | ||
color: #333; | ||
font-family: 'Ubuntu', sans-serif; /* Ubuntu font for headlines */ | ||
color: #FFD700; /* Gold color for headings */ | ||
} | ||
|
||
.code-block { | ||
position: relative; | ||
background-color: #333; | ||
color: #fff; | ||
padding: 10px; | ||
background-color: #333333; /* Slightly lighter dark background for contrast */ | ||
color: #ffffff; | ||
padding: 15px; /* More padding inside code blocks */ | ||
border-radius: 5px; | ||
margin: 10px 0; | ||
position: relative; | ||
overflow: auto; /* Adds scroll to code blocks if needed */ | ||
margin-bottom: 20px; /* Space below code blocks */ | ||
} | ||
|
||
code { | ||
font-family: monospace; | ||
font-family: 'Courier New', Courier, monospace; | ||
} | ||
|
||
.copy-btn { | ||
position: absolute; | ||
right: 10px; | ||
top: 10px; | ||
padding: 5px 10px; | ||
padding: 8px 16px; | ||
border: none; | ||
border-radius: 5px; | ||
cursor: pointer; | ||
color: #333; | ||
background-color: #fff; | ||
background-color: #FFD700; /* Gold background for the button */ | ||
color: #333333; /* Dark text on button */ | ||
font-weight: bold; | ||
} | ||
|
||
.copy-btn:hover { | ||
background-color: #eee; | ||
background-color: #FFC107; /* Lighter gold on hover */ | ||
} |