File tree 3 files changed +34
-10
lines changed
3 files changed +34
-10
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ <h1 class="site-name"><a href="{{ site.url }}/">{{ site.name }}</a></h1>
27
27
</ div >
28
28
29
29
< nav >
30
- < a href ="{{ site.url }}/ "> Blog</ a >
31
- < a href ="{{ site.url }}/logo "> Logo</ a >
32
- < a href ="{{ site.url }}/gallery "> Gallery</ a >
33
- < a href ="{{ site.url }}/about "> About</ a >
30
+ < a href ="{{ site.url }}/ " class =" under " > Blog</ a >
31
+ < a href ="{{ site.url }}/logo " class =" under " > Logo</ a >
32
+ < a href ="{{ site.url }}/gallery " class =" under " > Gallery</ a >
33
+ < a href ="{{ site.url }}/about " class =" under " > About</ a >
34
34
</ nav >
35
35
</ header >
36
36
</ div >
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ <h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
12
12
{{ post.excerpt }}
13
13
</ div >
14
14
15
- < a href ="{{ site.baseurl }}{{ post.url }} " class ="read-more "> Read More</ a >
15
+ < a href ="{{ site.baseurl }}{{ post.url }} " class ="read-more under "> Read More</ a >
16
16
</ article >
17
17
{% endfor %}
18
18
</ div >
@@ -23,12 +23,12 @@ <h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
23
23
Previous
24
24
</ a >
25
25
{% else %}
26
- < span class ="previous "> Previous</ span >
26
+ < span class ="previous under "> Previous</ span >
27
27
{% endif %}
28
28
·
29
29
{% if paginator.next_page %}
30
30
< a href ="{{ paginator.next_page_path }} " class ="next "> Next</ a >
31
31
{% else %}
32
- < span class ="next "> Next</ span >
32
+ < span class ="next under "> Next</ span >
33
33
{% endif %}
34
- </ div >
34
+ </ div >
Original file line number Diff line number Diff line change 50
50
color : inherit ;
51
51
}
52
52
a :hover {
53
- transition : 0.5 s ;
53
+ transition : 0.3 s ;
54
54
transition-timing-function : cubic-bezier (0 , 0.84 , 0.19 , 0.11 );
55
55
color : $white ;
56
56
background-color : $darkGray ;
95
95
}
96
96
}
97
97
98
+ a .under {
99
+ display : inline-block ;
100
+ position : relative ;
101
+ text-decoration : none ;
102
+ }
103
+
104
+ a .under :after {
105
+ content : ' ' ;
106
+ position : absolute ;
107
+ width : 100% ;
108
+ transform : scaleX (0 );
109
+ height : 2px ;
110
+ bottom : 0 ;
111
+ left : 0 ;
112
+ background-color : #0099ff ;
113
+ transform-origin : bottom right ;
114
+ transition : transform 0.25s ease-out ;
115
+ }
116
+
117
+ a .under :hover :after {
118
+ transform : scaleX (1 );
119
+ transform-origin : bottom left ;
120
+ }
121
+
98
122
ul , ol {
99
123
margin : 15px 0 ;
100
124
padding-left : 30px ;
@@ -332,7 +356,7 @@ footer {
332
356
background-color : $darkGray ;
333
357
}
334
358
.title :hover {
335
- transition : 0.5 s ;
359
+ transition : 0.3 s ;
336
360
transition-timing-function : cubic-bezier (0.01 ,-1.51 ,0 ,1 );
337
361
color : $gray ;
338
362
background-color : $lightGray ;
You can’t perform that action at this time.
0 commit comments