Skip to content

Commit

Permalink
styles updated
Browse files Browse the repository at this point in the history
  • Loading branch information
shliamin committed Jul 24, 2024
1 parent 4f12ff5 commit 924e66e
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 7 deletions.
10 changes: 10 additions & 0 deletions images/touch-svgrepo-com (1).svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions images/touch-svgrepo-com (2).svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions images/touch-svgrepo-com.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,11 @@ <h4 class="uk-comment-title">Efim Shliamin</h4>
<div class="col-md-4 col-12 mb-4">
<div class="card project" data-tech-field="full-stack" data-tech-stack="react" onclick="loadProjectDetails('Python-Genome-Assembler', 'Detailed description of Project One.', 'https://github.com/shliamin/project-one', 'https://project-one.com', 'Completed', 'images/Python-Genome-Assembler.png');" uk-toggle="target: #project-modal">
<div class="card-img-top" style="background-image: url('images/Python-Genome-Assembler.png');">
<div class="badge-ribbon">Python-Genome-Assembler</div>
<div class="card-body-overlay">
<h4 class="card-title">Python-Genome-Assembler</h4>
<p class="card-text">This is a brief description of Project One.</p>

<p class="card-text"></p>

</div>
</div>
</div>
Expand Down
39 changes: 34 additions & 5 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -400,20 +400,38 @@ body {


.project:hover {
background-color: rgba(0, 0, 0, 0.9);

}

.card {
border-radius: 10px;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s;
transition: transform 0.3s ease;
position: relative;
cursor: pointer;
}

.badge-ribbon {
position: relative;
top: 21px;
z-index: 1;
display: block;
width: 100%;
padding: 9px 0 6px;
background-color: #003366;
color: #fff;
box-shadow: 0 2px 4px 0 rgb(0 0 0 / 20%);
font-weight: 700;
line-height: 1.2;
text-align: center;
text-decoration: none;
pointer-events: auto;
transition: all .1s ease-in;
}

.card:hover {
transform: translateY(-1px);
transform: scale(1.02);
}

.card-img-top {
Expand All @@ -430,12 +448,23 @@ body {
left: 0;
height: 100%;
width: 100%;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(1px);
background: rgba(255, 255, 255, 0.2);
color: #fff;
padding: 10px;
text-align: center;
}

.svg-overlay {
position: absolute;
top: 60%;
left: 50%;
transform: translate(-50%, -50%);
width: auto;
height: 60%;
fill: white;
}

.card-title {
color: #ddd;
font-size: 1.25rem;
Expand Down

0 comments on commit 924e66e

Please sign in to comment.