File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ url: 'https://www.example.com'
1515
1616author : Chirpy # change to your full name
1717
18- logo : /assets/img/sample/profile .jpg # Support network resources.
18+ avatar : /assets/img/sample/avatar .jpg # Support network resources.
1919
2020github :
2121 username : github_username # change to your github username
Original file line number Diff line number Diff line change 66
77< div id ="nav-wrap ">
88 < div id ="profile-wrap " class ="d-flex justify-content-center ">
9- < div id ="profile ">
10- < a href ="{{ site.baseurl }}/ " alt ="profile-photo ">
11- {% assign profile_img = site.logo %}
12- {% if profile_img | slice: 0 == '/' %}
13- {% assign profile_img = profile_img | prepend: site.baseurl %}
9+ < div id ="avatar ">
10+ < a href ="{{ site.baseurl }}/ " alt ="avatar ">
11+ {% assign avatar = site.avatar %}
12+ {% if avatar | slice: 0 == '/' %}
13+ {% assign avatar = avatar | prepend: site.baseurl %}
1414 {% endif %}
15- < img src ="{{ profile_img }} "> </ img >
15+ < img src ="{{ avatar }} "> </ img >
1616 </ a >
1717 </ div >
1818 </ div >
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ body {
128128 padding-bottom : 1rem ;
129129}
130130
131- #profile {
131+ #avatar {
132132 width : 6rem ;
133133 height : 6rem ;
134134 border-radius : 50% ;
@@ -140,11 +140,11 @@ body {
140140 transition : border-color 0.35s ease-in-out ;
141141}
142142
143- #profile :hover {
143+ #avatar :hover {
144144 border-color : #fff ;
145145}
146146
147- #profile img {
147+ #avatar img {
148148 width : 100% ;
149149 height : 100% ;
150150 display : block ;
@@ -155,7 +155,7 @@ body {
155155 transition : all .5s !important ;
156156}
157157
158- #profile img :hover {
158+ #avatar img :hover {
159159 -ms-transform : scale (1.2 );
160160 -moz-transform : scale (1.2 );
161161 -webkit-transform : scale (1.2 );
File renamed without changes.
You can’t perform that action at this time.
0 commit comments