Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion css/event.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ h1,
.h1 {
margin-top: 0;
margin-bottom: 0.5rem;
font-weight: 500;
/* font-weight: 500; */
line-height: 1.2;
}

Expand Down
45 changes: 39 additions & 6 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ h6,
.h5,
.h6 {
font-family: "Begum Sans", sans-serif;
color: #1b2733;
font-weight: 600;
/* color: #1b2733; */
/* font-weight: 600; */
}

p {
Expand Down Expand Up @@ -140,10 +140,44 @@ a:hover {
}

.overview-card {
position: relative;
overflow: hidden;
text-align: center;
margin-bottom: 30px;
padding: 25px 30px;
border-radius: 5px;
border-color: #fb923c;
border: 0.75px solid #fb793d;
}

.overview-card::before {
content: "";
position: absolute;
top: var(--y);
left: var(--x);
transform: translate(-50%, -50%);
width: 0;
height: 0;
border-radius: 50%;
background: #fb923c;
transition: width 0.5s, height 0.5s;
z-index: 1;
}

.overview-card:hover::before {
z-index: -1;
width: 950px;
height: 950px;
}
/*
.overview-card:hover {
filter: invert(6%) sepia(13%) saturate(2513%) hue-rotate(201deg)
brightness(93%) contrast(103%);
} */

.overview-card:hover {
z-index: 2;
font-weight: bold;
color: #fff;
border: 2px solid #637282;
}

@media (min-width: 576px) {
Expand Down Expand Up @@ -478,7 +512,6 @@ ul {
}

.card {
border: 0.5px solid #fb793d;
box-shadow: 1.5px 1.5px 2px #ee5b41c4;
transition: 0.3s all;
border-radius: 3px;
Expand Down Expand Up @@ -651,7 +684,7 @@ h6 {
font-family: "Begum Sans", sans-serif;
margin-top: 0;
margin-bottom: 0.5rem;
font-weight: 500;
/* font-weight: 500; */
line-height: 2.2;
}
*,
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,7 @@ <h4 class="title">Made with ❤️ By</h4>
<script src="./js/particleJs/particle.min.js"></script>
<script src="./js/particleJs/app.js"></script>
<script src="./js/accordian.js"></script>
<script src="./js/card.js"></script>

</body>

Expand Down
13 changes: 13 additions & 0 deletions js/card.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// const card = document.querySelectorAll(".overview-card");

// for (let i = 0; i < card.length; i++) {

// card[i].onmouseover = function (e) {

// const x = e.pageX - card[i].offsetLeft;
// const y = e.pageY - card[i].offsetTop;

// card[i].style.setProperty("--x", x + "px");
// card[i].style.setProperty("--y", y + "px");
// };
// }