Skip to content

Commit 9c38345

Browse files
committed
update tiles-simple.html
1 parent 5ec5f60 commit 9c38345

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

_includes/tiles-simple.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
{%- endif %}
66
<div class="simple-tiles">
77
<div class="simple-tiles-container">
8-
<div class="simple-tiles-list row row-cols-1 row-cols-md-2 row-cols-lg-{{ include.col | default: 2 }} gy-2 gx-4 my-4">
8+
<div class="simple-tiles-list row row-cols-1 row-cols-md-2 row-cols-lg-{{ include.col | default: 2 }} gy-2 gx-4">
99
{%- for item in tiles %}
1010
{%- if item.title %}
1111
<a href="{{ item.url | relative_url }}" class="simple-tile-link">
1212
<div class="simple-tile-item">
1313
<div class="simple-tile-content">
14-
<p class="simple-tile-title" style="font-size: 1.5rem; text-align: center">{{ item.title }}</p>
14+
<p class="simple-tile-title" style="font-size: 1.3rem; text-align: center">{{ item.title }}</p>
1515
</div>
1616
</div>
1717
</a>
@@ -26,30 +26,32 @@
2626

2727
.simple-tile-link {
2828
text-decoration: none;
29-
color: inherit;
29+
color: #012152;
3030
display: flex;
3131
}
3232

3333
.simple-tile-item {
34-
border: 1px solid #e0e0e0;
3534
border-radius: 12px;
3635
padding: 25px;
3736
transition: all 0.3s ease;
38-
background: #012152;;
37+
background: #f0f3fa;
3938
width: 100%;
4039
display: flex;
4140
flex-direction: column;
4241
justify-content: space-between;
42+
color: #012152;
4343
}
4444

4545
.simple-tile-item:hover {
4646
transform: translateY(-4px);
4747
box-shadow: 0 8px 25px rgba(0,0,0,0.1);
4848
border-color: #012152;
49+
background: #012152;
50+
color: #fff;
4951
}
5052

5153
.simple-tile-title {
52-
color: #ffffff;
54+
color: inherit;
5355
font-weight: 400;
5456
margin-top: 0px;
5557
margin-bottom: 0px;

0 commit comments

Comments
 (0)