修改h1字体大小
This commit is contained in:
parent
b6539d148c
commit
305862dfeb
@ -7,7 +7,7 @@
|
|||||||
<style>
|
<style>
|
||||||
.avatar {transition: 0.8s;}
|
.avatar {transition: 0.8s;}
|
||||||
.avatar:hover {transform: scale(1.15) rotate(360deg);}
|
.avatar:hover {transform: scale(1.15) rotate(360deg);}
|
||||||
h1 a:not([href]){color:inherit;text-decoration:none;vertical-align: bottom;font-size:40px;font-family:Monaco;}
|
.blogTitle{color:inherit;text-decoration:none;vertical-align: bottom;font-size:40px;font-family:Monaco;}
|
||||||
.title-right{display:flex;margin:auto 0 0 auto;}
|
.title-right{display:flex;margin:auto 0 0 auto;}
|
||||||
.title-right button{margin-right:8px;padding:16px;}
|
.title-right button{margin-right:8px;padding:16px;}
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ h1 a:not([href]){color:inherit;text-decoration:none;vertical-align: bottom;font-
|
|||||||
|
|
||||||
@media (max-width: 767px) {
|
@media (max-width: 767px) {
|
||||||
body { padding: 8px;}
|
body { padding: 8px;}
|
||||||
h1 a:not([href]){font-size:24px;}
|
.blogTitle{font-size:24px;}
|
||||||
.subnav-search form{display:none;}
|
.subnav-search form{display:none;}
|
||||||
.subnav-search svg{display:none;}
|
.subnav-search svg{display:none;}
|
||||||
#buttonRSS{display:none;}
|
#buttonRSS{display:none;}
|
||||||
@ -38,7 +38,7 @@ h1 a:not([href]){color:inherit;text-decoration:none;vertical-align: bottom;font-
|
|||||||
{% 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'] }}" size="64" height="64" width="64" class="avatar circle" id="avatarImg">
|
||||||
<a>{{ blogBase['displayTitle'] }}</a>
|
<a class="blogTitle">{{ blogBase['displayTitle'] }}</a>
|
||||||
</h1>
|
</h1>
|
||||||
<div class="title-right">
|
<div class="title-right">
|
||||||
<div class="subnav-search">
|
<div class="subnav-search">
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
{% block style %}
|
{% block style %}
|
||||||
<style>
|
<style>
|
||||||
h1 a:not([href]){color:inherit;text-decoration:none;vertical-align: bottom;font-size:40px;}
|
.postTitle{color:inherit;text-decoration:none;vertical-align: bottom;font-size:40px;}
|
||||||
a.heading-link{color:inherit;text-decoration:none;}
|
a.heading-link{color:inherit;text-decoration:none;}
|
||||||
.title-right{display:flex;margin:auto 0 0 auto;}
|
.title-right{display:flex;margin:auto 0 0 auto;}
|
||||||
.title-right .circle{padding: 14px 16px;margin-right:8px;}
|
.title-right .circle{padding: 14px 16px;margin-right:8px;}
|
||||||
@ -16,14 +16,17 @@ a.heading-link{color:inherit;text-decoration:none;}
|
|||||||
#cmButton{height:48px;margin-top:48px;}
|
#cmButton{height:48px;margin-top:48px;}
|
||||||
#comments{margin-top:64px;}
|
#comments{margin-top:64px;}
|
||||||
.g-emoji{font-size:24px;}
|
.g-emoji{font-size:24px;}
|
||||||
@media (max-width: 767px) {body {padding: 8px;}}
|
@media (max-width: 767px) {
|
||||||
|
body {padding: 8px;}
|
||||||
|
.postTitle{font-size:24px;}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
{{ blogBase['style'] }}
|
{{ blogBase['style'] }}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block header %}
|
{% block header %}
|
||||||
<h1>
|
<h1>
|
||||||
<a>{{ blogBase['postTitle'] }}</a>
|
<a class="postTitle">{{ blogBase['postTitle'] }}</a>
|
||||||
</h1>
|
</h1>
|
||||||
<div class="title-right">
|
<div class="title-right">
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
{% block style %}
|
{% block style %}
|
||||||
<style>
|
<style>
|
||||||
h1 a:not([href]){color:inherit;text-decoration:none;vertical-align: bottom;font-size:40px;font-family:Monaco;}
|
.tagTitle{color:inherit;text-decoration:none;vertical-align: bottom;font-size:40px;font-family:Monaco;}
|
||||||
.title-right{display:flex;margin:auto 0 0 auto;}
|
.title-right{display:flex;margin:auto 0 0 auto;}
|
||||||
.title-right .circle{padding: 14px 16px;margin-right:8px;}
|
.title-right .circle{padding: 14px 16px;margin-right:8px;}
|
||||||
|
|
||||||
@ -156,10 +156,13 @@ function updateShowTag(label){
|
|||||||
function setClassDisplay(lable) {
|
function setClassDisplay(lable) {
|
||||||
let lists = document.getElementsByClassName("lists");
|
let lists = document.getElementsByClassName("lists");
|
||||||
let tagTitle = document.getElementsByClassName("tagTitle")[0];
|
let tagTitle = document.getElementsByClassName("tagTitle")[0];
|
||||||
tagTitle.innerHTML="Tag - "+lable;
|
|
||||||
|
if(lable=="All"){
|
||||||
if(lable=="All"){for(let i = 0; i < lists.length; i++){lists[i].style.display='block';}}
|
tagTitle.innerHTML="Tag";
|
||||||
|
for(let i = 0; i < lists.length; i++){lists[i].style.display='block';}
|
||||||
|
}
|
||||||
else{
|
else{
|
||||||
|
tagTitle.innerHTML="Tag - "+lable;
|
||||||
for(let i = 0; i < lists.length; i++){
|
for(let i = 0; i < lists.length; i++){
|
||||||
lists[i].style.display='none';
|
lists[i].style.display='none';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user