修改头像大小
This commit is contained in:
parent
6e15cc8437
commit
2cbd584a44
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
{% block style %}
|
{% block style %}
|
||||||
<style>
|
<style>
|
||||||
.avatar {transition: 0.8s;}
|
.avatar {transition: 0.8s;width:64px;height:64px;}
|
||||||
.avatar:hover{transform: scale(1.15) rotate(360deg);}
|
.avatar:hover{transform: scale(1.15) rotate(360deg);}
|
||||||
#header h1 a{color:inherit;text-decoration:none;vertical-align: bottom;font-size:40px;font-family:Monaco;margin-left:8px;}
|
#header h1 a{color:inherit;text-decoration:none;vertical-align: bottom;font-size:40px;font-family:Monaco;margin-left:8px;}
|
||||||
.title-right{display:flex;margin:auto 0 0 auto;}
|
.title-right{display:flex;margin:auto 0 0 auto;}
|
||||||
@ -26,6 +26,7 @@
|
|||||||
|
|
||||||
@media (max-width: 767px) {
|
@media (max-width: 767px) {
|
||||||
body {padding: 8px;}
|
body {padding: 8px;}
|
||||||
|
.avatar {width:40px;height:40px;}
|
||||||
#header h1 a{font-size:24px;}
|
#header h1 a{font-size:24px;}
|
||||||
.subnav-search form{display:none;}
|
.subnav-search form{display:none;}
|
||||||
.subnav-search svg{display:none;}
|
.subnav-search svg{display:none;}
|
||||||
@ -37,7 +38,7 @@
|
|||||||
|
|
||||||
{% block header %}
|
{% block header %}
|
||||||
<h1>
|
<h1>
|
||||||
<img src="{{ blogBase['avatarUrl'] }}" size="64" height="64" width="64" class="avatar circle" id="avatarImg">
|
<img src="{{ blogBase['avatarUrl'] }}" class="avatar circle" id="avatarImg">
|
||||||
{%- if blogBase['displayTitle']=='eekdai' -%}
|
{%- if blogBase['displayTitle']=='eekdai' -%}
|
||||||
<a class="blogTitle" href="https://meekdai.com">{{ blogBase['displayTitle'] }}</a>
|
<a class="blogTitle" href="https://meekdai.com">{{ blogBase['displayTitle'] }}</a>
|
||||||
{% else -%}
|
{% else -%}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user