-
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
Showing
4 changed files
with
115 additions
and
241 deletions.
There are no files selected for viewing
Binary file not shown.
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,69 +1,87 @@ | ||
* { | ||
margin: 0px; | ||
padding: 0px; | ||
box-sizing: border-box; | ||
body, html { | ||
margin: 0; | ||
padding: 0; | ||
height: 100%; | ||
width: 100%; | ||
} | ||
|
||
/* adjusting fonts | ||
body { | ||
color: red; | ||
Font-family: arial; | ||
} */ | ||
|
||
body { | ||
font-family: helvetica; | ||
color: #333; | ||
transition: background 500ms ease; | ||
background-color: #f2c2e9; | ||
} | ||
|
||
#grid { | ||
display: grid; | ||
grid-template-columns: 2fr 3fr 1fr; /* Adjust grid layout if needed */ | ||
gap: 20px; /* Space between grid items */ | ||
padding: 20px; /* Padding around the grid */ | ||
align-items: start; /* Align items at the start to allow independent height */ | ||
} | ||
|
||
p, li { | ||
font-size: 22px; | ||
line-height: 30px; | ||
#left-column, #rightest-column { | ||
background-color: #fff0fc; /* Slightly different pink for contrast */ | ||
padding: 25px; /* Padding inside the left column */ | ||
border-radius: 10px; /* Rounded corners */ | ||
} | ||
|
||
/* adjusting spacing */ | ||
#right-column { | ||
display: grid; | ||
grid-template-columns: repeat(4, 1fr); /* Create a 4-column grid */ | ||
gap: 10px; /* Space between grid items */ | ||
} | ||
|
||
#left-column { | ||
padding: 20px; | ||
.item { | ||
background-color: #fff0fc; /* Slightly different pink for contrast */ | ||
padding: 20px; /* Padding inside the items */ | ||
border-radius: 10px; /* Rounded corners */ | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
height: 150px; /* Set a uniform height */ | ||
} | ||
|
||
h1, p { | ||
margin-bottom: 20px; | ||
/* Dark mode specific styles */ | ||
.dark-mode { | ||
background-color: #121212; /* Dark background */ | ||
color: #ffffff; /* Light text */ | ||
} | ||
|
||
ul, ol { | ||
margin-left: 20px; | ||
.dark-mode #left-column, | ||
.dark-mode #rightest-column { | ||
background-color: #1e1e1e; /* Darker contrast for columns */ | ||
} | ||
|
||
img { | ||
max-width: 100%; | ||
height: auto; | ||
|
||
.dark-mode #right-column{ | ||
/*background-color: #1e1e1e; /* Darker contrast for columns */ | ||
} | ||
|
||
.cursive { | ||
font-family: cursive; | ||
.dark-mode .item { | ||
background-color: #1e1e1e; | ||
color: #ffffff; /* Ensure text color is light */ | ||
} | ||
/* uncomment the code below to set the grid */ | ||
|
||
/*#grid { | ||
display: grid; | ||
grid-template-columns: 1fr 1fr; | ||
.dark-mode a { | ||
color: #9adc6d; /* Greenish links for better visibility in dark mode */ | ||
} | ||
|
||
body { | ||
overflow: hidden; | ||
.dark-mode a:hover { | ||
color: #c6e377; /* Lighter green on hover */ | ||
} | ||
|
||
.scroll { | ||
padding: 20px; | ||
overflow: scroll; | ||
height: 100vh; | ||
.toggle-button { | ||
background-color: white; /* Button background color */ | ||
color: black; /* Button text color */ | ||
font-family: Georgia, sans-serif; | ||
padding: 10px 20px; /* Padding for the button */ | ||
border: none; /* Remove default border */ | ||
border-radius: 5px; /* Rounded corners */ | ||
cursor: pointer; /* Pointer cursor on hover */ | ||
} | ||
|
||
#left-column { | ||
.toggle-button:hover { | ||
background-color: #f2f2f2; /* Lighter background on hover */ | ||
} | ||
|
||
#right-column { | ||
background: #333; | ||
}*/ | ||
.cursive { | ||
font-family: cursive; /* Apply a cursive font */ | ||
} |
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