-
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.
modified styling for index, fixed imports for coursework, added retur…
…n to top of page to all scrollable pages
- Loading branch information
1 parent
31af85e
commit e62f94f
Showing
13 changed files
with
894 additions
and
315 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
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
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,85 +1,87 @@ | ||
body { | ||
background-color: rgb(255, 254, 243) !important; | ||
font-family: 'Poppins', sans-serif !important; | ||
background-color: rgb(255, 254, 243) !important; | ||
font-family: "Poppins", sans-serif !important; | ||
} | ||
|
||
.card { | ||
border-radius: 8px !important; | ||
min-width: 300px !important; | ||
margin-bottom: 3vh !important; | ||
border: 0 !important; | ||
box-shadow: 0 2px 6px 0 hsla(0, 0%, 0%, 0.2) !important; | ||
width: 100%; | ||
padding: 30px 30px; | ||
border-radius: 8px; | ||
border-radius: 8px !important; | ||
min-width: 300px !important; | ||
margin-bottom: 3vh !important; | ||
border: 0 !important; | ||
box-shadow: 0 2px 6px 0 hsla(0, 0%, 0%, 0.2) !important; | ||
width: 100%; | ||
padding: 30px 30px; | ||
border-radius: 8px; | ||
} | ||
|
||
#card1 { | ||
background: linear-gradient(rgb(252, 250, 229), rgb(252, 250, 229) 50%, rgb(213, 247, 234) 50%, rgb(236, 245, 193) 75%, rgb(254, 226, 184)); | ||
background-size: 100% 200%; | ||
transition: all 0.2s ease; | ||
position: relative; | ||
animation: down-bump 0.2s ease; | ||
background: linear-gradient( | ||
rgb(252, 250, 229), | ||
rgb(252, 250, 229) 50%, | ||
rgb(213, 247, 234) 50%, | ||
rgb(236, 245, 193) 75%, | ||
rgb(254, 226, 184) | ||
); | ||
background-size: 100% 200%; | ||
transition: all 0.2s ease; | ||
position: relative; | ||
} | ||
|
||
#card1:hover { | ||
background-position: 100% 100%; | ||
animation: up-bump 0.2s ease; | ||
padding: 28px; | ||
background-position: 100% 100%; | ||
padding: 28px; | ||
} | ||
|
||
#card2 { | ||
background: linear-gradient(rgb(252, 250, 229), rgb(252, 250, 229) 50%, rgb(213, 233, 247) 50%, rgb(214, 215, 246) 76%, rgb(228, 212, 250) 90%, rgb(230, 199, 252)); | ||
background-size: 100% 200%; | ||
transition: all 0.2s ease; | ||
position: relative; | ||
animation: down-bump 0.2s ease; | ||
background: linear-gradient( | ||
rgb(252, 250, 229), | ||
rgb(252, 250, 229) 50%, | ||
rgb(213, 233, 247) 50%, | ||
rgb(214, 215, 246) 76%, | ||
rgb(228, 212, 250) 90%, | ||
rgb(230, 199, 252) | ||
); | ||
background-size: 100% 200%; | ||
transition: all 0.2s ease; | ||
position: relative; | ||
} | ||
|
||
#card2:hover { | ||
background-position: 100% 100%; | ||
animation: up-bump 0.2s ease; | ||
padding: 28px; | ||
background-position: 100% 100%; | ||
padding: 28px; | ||
} | ||
|
||
#card3 { | ||
background: linear-gradient(rgb(252, 250, 229), rgb(252, 250, 229) 50%, rgb(247, 213, 213) 50%, rgb(254, 181, 181) 76%, rgb(255, 157, 157) 90%, rgb(243, 115, 115)); | ||
background-size: 100% 200%; | ||
transition: all 0.2s ease; | ||
position: relative; | ||
animation: down-bump 0.2s ease; | ||
background: linear-gradient( | ||
rgb(252, 250, 229), | ||
rgb(252, 250, 229) 50%, | ||
rgb(247, 213, 213) 50%, | ||
rgb(254, 181, 181) 76%, | ||
rgb(255, 157, 157) 90%, | ||
rgb(243, 115, 115) | ||
); | ||
background-size: 100% 200%; | ||
transition: all 0.2s ease; | ||
position: relative; | ||
} | ||
|
||
#card3:hover { | ||
background-position: 100% 100%; | ||
animation: up-bump 0.2s ease; | ||
padding: 28px; | ||
background-position: 100% 100%; | ||
padding: 28px; | ||
} | ||
|
||
#card4 { | ||
background: linear-gradient(rgb(252, 250, 229), rgb(252, 250, 229) 100%); | ||
background-size: 100% 200%; | ||
transition: all 0.2s ease; | ||
position: relative; | ||
animation: down-bump 0.2s ease; | ||
background: linear-gradient(rgb(252, 250, 229), rgb(252, 250, 229) 100%); | ||
background-size: 100% 200%; | ||
transition: all 0.2s ease; | ||
position: relative; | ||
} | ||
|
||
#card4:hover { | ||
background-position: 100% 100%; | ||
animation: up-bump 0.2s ease; | ||
padding: 28px; | ||
} | ||
|
||
|
||
@keyframes up-bump { | ||
0% { padding-top: 30px; } | ||
100% { padding-top: 28px; } | ||
} | ||
@keyframes down-bump { | ||
0% { padding-top: 28px; } | ||
100% { padding-top: 30px; } | ||
background-position: 100% 100%; | ||
padding: 28px; | ||
} | ||
|
||
#first-page { | ||
height: 100vh; | ||
} | ||
height: 100vh; | ||
} |
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,7 +1,51 @@ | ||
html { | ||
scroll-behavior: smooth; | ||
} | ||
|
||
body { | ||
cursor: crosshair; | ||
} | ||
} | ||
|
||
/*Scroll to top btn*/ | ||
#topBtn { | ||
display: block; | ||
position: fixed; | ||
bottom: 30px; | ||
right: 30px; | ||
z-index: 99; | ||
border: none; | ||
outline: none; | ||
color: white; | ||
cursor: pointer; | ||
border-radius: 8px; | ||
font-size: 18px; | ||
|
||
padding: 20px; | ||
background: linear-gradient( | ||
rgb(233, 227, 227), | ||
rgb(233, 227, 227) 50%, | ||
rgb(187, 225, 177) 50%, | ||
rgb(187, 225, 177) | ||
); | ||
background-size: 100% 200%; | ||
transition: all 0.2s ease; | ||
animation: down-bump 0.2s ease; | ||
} | ||
|
||
#topBtn:hover { | ||
background-position: 100% 100%; | ||
animation: up-bump 0.2s ease; | ||
padding: 19px; | ||
} | ||
|
||
.tag { | ||
visibility: hidden; | ||
opacity: 0; | ||
transition: opacity 0.4s, visibility 0.4s; | ||
} | ||
|
||
.tag.visible { | ||
visibility: visible; | ||
opacity: 1; | ||
transition: opacity 0.4s, visibility 0.4s; | ||
} |
Oops, something went wrong.