-
Notifications
You must be signed in to change notification settings - Fork 591
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed colour code and basic functions of the code (basically css)
- Loading branch information
1 parent
11d6e56
commit 96558ce
Showing
3 changed files
with
89 additions
and
78 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,20 +1,27 @@ | ||
/* contribution-namefeature enhancement GSSOC */ | ||
|
||
|
||
.image-container { | ||
display: inline-block; | ||
position: relative; | ||
text-align: center; | ||
font-weight: bolder; | ||
|
||
margin: 20px; | ||
} | ||
|
||
figcaption { | ||
display: block; | ||
margin-top: 8px; | ||
margin-bottom: 20px; | ||
} | ||
|
||
display: inline-block; | ||
position: relative; | ||
text-align: center; | ||
font-weight: bolder; | ||
margin: 20px; | ||
padding: 10px; | ||
border-radius: 10px; | ||
background: linear-gradient(45deg, #6a0dad, #2f73d9); /* Purple to dark blue gradient */ | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for a 3D effect */ | ||
transition: transform 0.3s ease, box-shadow 0.3s ease; | ||
} | ||
|
||
/* Add a subtle hover effect to the image container */ | ||
.image-container:hover { | ||
transform: translateY(-5px); /* Lifts the image container on hover */ | ||
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Enhances shadow on hover */ | ||
} | ||
|
||
|
||
figcaption { | ||
display: block; | ||
margin-top: 8px; | ||
margin-bottom: 20px; | ||
color: #ffffff; /* White text for contrast against the dark theme */ | ||
font-size: 16px; /* Adjust the font size for better readability */ | ||
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Add a subtle text shadow for depth */ | ||
} |
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