Skip to content

Commit fd1b6e3

Browse files
committed
Improve UI look in projects tab and add shadow to cards
1 parent 887c0c4 commit fd1b6e3

File tree

2 files changed

+21
-9
lines changed

2 files changed

+21
-9
lines changed

sass/projects.scss

+14-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ h2.presentation-text {
66
text-wrap: balance;
77
}
88

9+
span.colorful {
10+
color: $color-fg-secondary;
11+
}
12+
913
.filter-buttons {
1014
display: flex;
1115
justify-content: center;
@@ -47,6 +51,7 @@ h2.presentation-text {
4751
position: relative;
4852
overflow: hidden;
4953
border-radius: 3%;
54+
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
5055

5156
a {
5257
text-decoration: none;
@@ -64,7 +69,7 @@ h2.presentation-text {
6469
left: 0;
6570
width: 100%;
6671
height: 100%;
67-
background-color: rgba(0, 96, 96, 0.9); /* When activated 0.9 opacity */
72+
background-color: rgba(0, 96, 96, 0.85); /* When activated 0.85 opacity */
6873
display: flex;
6974
flex-direction: column;
7075
justify-content: center;
@@ -85,7 +90,8 @@ h2.presentation-text {
8590
}
8691
.learn-more-button {
8792
@include styled-button($color-fg-secondary, $color-fg-secondary);
88-
margin: 0 1rem;
93+
margin: 0 3rem;
94+
border-radius: 9999px;
8995
}
9096
}
9197
}
@@ -94,11 +100,17 @@ h2.presentation-text {
94100
.project-details-overlay {
95101
opacity: 1;
96102
border-radius: 3%;
103+
border: 6px inset transparent;
104+
border-image: linear-gradient(60deg, #ffffffcc, #4ff5f5cc) 1;
97105
}
98106

99107
.project-image {
100108
transform: translateY(20px);
101109
transition: transform 0.5s;
110+
img {
111+
filter: blur(6px);
112+
-webkit-filter: blur(6px);
113+
}
102114
}
103115
}
104116
}

templates/projects.html

+7-7
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</nav>
3131
<hr>
3232

33-
<h2 class="presentation-text">Here are some of my projects:</h2>
33+
<h2 class="presentation-text"><span class="colorful">Check</span> Out <span class="colorful">Some</span> of <i>My <span class="colorful">Work:</span></i></h2>
3434

3535
<div class="filter-buttons">
3636
<button class="filter-button selected-filter" data-filter="All">All</button>
@@ -44,7 +44,7 @@ <h2 class="presentation-text">Here are some of my projects:</h2>
4444

4545
<div class="row project-cards-row">
4646

47-
<div class="project-card col-12 col-md-6 col-lg-4 animate__animated animate__bounceInLeft">
47+
<div class="project-card col-12 col-md-6 col-xl-4 animate__animated animate__bounceInLeft">
4848
<div class="project-image">
4949
<img src="{{ get_url(path='images/FitCal.png') }}" alt="FitCal" />
5050
<div class="project-details-overlay">
@@ -55,7 +55,7 @@ <h3 class="card-title">FitCal</h3>
5555
</div>
5656
</div>
5757

58-
<div class="project-card col-12 col-md-6 col-lg-4 animate__animated animate__bounceIn">
58+
<div class="project-card col-12 col-md-6 col-xl-4 animate__animated animate__bounceIn">
5959
<div class="project-image">
6060
<img src="{{ get_url(path='images/Sympho.png') }}" alt="Sympho" />
6161
<div class="project-details-overlay">
@@ -66,7 +66,7 @@ <h3 class="card-title">Sympho</h3>
6666
</div>
6767
</div>
6868

69-
<div class="project-card col-12 col-md-6 col-lg-4 animate__animated animate__bounceInRight">
69+
<div class="project-card col-12 col-md-6 col-xl-4 animate__animated animate__bounceInRight">
7070
<div class="project-image">
7171
<img src="{{ get_url(path='images/LeagueOfPokemon/AI4Crop.png') }}" alt="League of Pokemon" />
7272
<div class="project-details-overlay">
@@ -77,7 +77,7 @@ <h3 class="card-title">League of Pokemon</h3>
7777
</div>
7878
</div>
7979

80-
<div class="project-card col-12 col-md-6 col-lg-4 animate__animated animate__bounceInLeft">
80+
<div class="project-card col-12 col-md-6 col-xl-4 animate__animated animate__bounceInLeft">
8181
<div class="project-image">
8282
<img src="{{ get_url(path='images/AndroidDepartmentQuest.jpg') }}" alt="AndroidDepartmentQuest" />
8383
<div class="project-details-overlay">
@@ -88,7 +88,7 @@ <h3 class="card-title">Department Quest</h3>
8888
</div>
8989
</div>
9090

91-
<div class="project-card col-12 col-md-6 col-lg-4 animate__animated animate__bounceIn">
91+
<div class="project-card col-12 col-md-6 col-xl-4 animate__animated animate__bounceIn">
9292
<div class="project-image">
9393
<img src="{{ get_url(path='images/Inventory.png') }}" alt="Inventory" />
9494
<div class="project-details-overlay">
@@ -99,7 +99,7 @@ <h3 class="card-title">Inventory</h3>
9999
</div>
100100
</div>
101101

102-
<div class="project-card col-12 col-md-6 col-lg-4 animate__animated animate__bounceInRight">
102+
<div class="project-card col-12 col-md-6 col-xl-4 animate__animated animate__bounceInRight">
103103
<div class="project-image">
104104
<img src="{{ get_url(path='images/CoreLink2.png') }}" alt="CoreLink" />
105105
<div class="project-details-overlay">

0 commit comments

Comments
 (0)