Skip to content

Commit 9c89603

Browse files
committed
style: 💄 Add some micro effect
1 parent 7cd2830 commit 9c89603

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

Diff for: ‎site/layouts/work/li.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{ $baseurl := .Site.BaseURL }}
22

3-
<div>
3+
<div class="work-container">
44
{{ if .Truncated }}
55
<a aria-label="En savoir plus sur {{ .Title }}" href="{{ .Permalink }}">
66
{{ end }}

Diff for: ‎src/css/_blog.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ section#articles {
3838
}
3939

4040
&:hover {
41-
box-shadow: 4px 4px 8px $light;
41+
box-shadow: 4px -4px 8px $light;
4242
border-color: $light;
4343
transform: perspective(40px) translateZ(0.5px);
4444
&::before{
4545
bottom: 0;
4646
height: 4%;
47-
width: 90%;
47+
width: 100%;
4848
border-radius: 30px;
4949
}
5050
}

Diff for: ‎src/css/_portfolio.scss

+7-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ section#portfolio {
55
color: $white;
66
background: $black;
77

8+
.work-container {
9+
&:hover {
10+
transform: perspective(40px) translateZ(0.5px);
11+
}
12+
}
13+
814
.wrapper {
915
display: flex;
1016
flex-wrap: wrap;
@@ -172,7 +178,7 @@ section#work, section#portfolio{
172178
.wrapper {
173179
& > div {
174180
border: 1px solid $darkgrey;
175-
border-left: none;
181+
background: $black;
176182
min-width: 25%;
177183
max-width: 25%;
178184
img {

0 commit comments

Comments
 (0)