Skip to content

Commit

Permalink
Merge pull request vikhyatsingh123#354 from yashi-15/card
Browse files Browse the repository at this point in the history
card UI improved.
  • Loading branch information
vikhyatsingh123 authored Oct 23, 2023
2 parents 605850d + 69cb056 commit 3924f19
Show file tree
Hide file tree
Showing 4 changed files with 284 additions and 223 deletions.
8 changes: 5 additions & 3 deletions css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
word-wrap: break-word;
background-color: #fff;
background-clip: border-box;
border: 1pxsolidrgba (0, 0, 0, 0.125);
/* border: 1px solid rgba (0, 0, 0, 0.125); */
border-radius: 0.25rem;
height: 100%;
overflow: hidden;
Expand All @@ -20,8 +20,9 @@
}

.card:hover{
border-color: #FF4F04 !important;
scale: 105%;
/* border-color: #FF4F04 !important; */
scale: 100%;
cursor: pointer;
}


Expand All @@ -39,6 +40,7 @@
padding: 2rem;
}
p.card-text {
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
white-space: normal;
word-wrap: break-word;
display: -webkit-box;
Expand Down
4 changes: 2 additions & 2 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ a {
transition:1.5s;
} */

.btn:hover{
/* .btn:hover{
box-shadow: 0 5px 50px 0 #15f4ee inset,0 5px 50px 0 #15f4ee,0 5px 50px 0 #15f4ee inset,0 5px 50px 0 #15f4ee;
}
} */

.btn-custom {
margin-top: 20px;
Expand Down
37 changes: 28 additions & 9 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
.card-title {
font-size: 1.3rem;
font-weight: bold;
color: #034efd;

color: #FF4F04;
text-transform:uppercase;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
transition: transform 0.3s ease;
text-align: center;
}
Expand Down Expand Up @@ -112,6 +113,12 @@ html {
width: 45%;
height: 45%;
padding: 2rem;
transition: transform 0.3s ease;

}
.card-img-top:hover{
cursor: pointer;
transform: scale(1.1);
}
body {
font-family: 'Righteous', cursive;
Expand All @@ -138,9 +145,7 @@ body {
margin:20px;
border-radius: 0;
height: 100%;
box-shadow: 3px 3px 1px #e92929, 5px 5px 1px
#a2e946,7px 7px 1px #297ce9, 9px 9px 1px #e92999;
transition: all 0.5s;
transition: 0.5s all;
}

.card-text{
Expand All @@ -155,14 +160,13 @@ body {
}

.card:hover{
box-shadow: -10px 10px 10px #dcf002, 10px -10px 10px
#d61616 ;
transform: scale(1.2);
box-shadow: 0 0 20px #FF4F04;
transform: scale(0.95);
z-index: 100;
}

.card {
border: 1px solid #ccc;
.card {
border-radius: 50px;
transition: transform 0.3s ease-in-out;
}
Expand All @@ -171,6 +175,21 @@ body {
transform: scale(1.04); /* Increase size on hover */
}

.contributor-name{
display: block;
width:fit-content;
height: 60px;
margin: auto;
margin-top: 30px;
text-align: center;
font-size:15px;
color:#f3f7f7;
font-family: poppins;
text-transform:uppercase;
overflow: hidden;
cursor:pointer;
}

.theme{
background-image: url(images/2407699.jpg);
width: 169%;
Expand Down
Loading

0 comments on commit 3924f19

Please sign in to comment.