title使用span标签
This commit is contained in:
parent
033dcf0e08
commit
814caef4fc
@ -6,7 +6,7 @@
|
||||
{% block style %}
|
||||
<style>
|
||||
.avatar {transition: 0.8s;}
|
||||
.avatar:hover {transform: scale(1.15) rotate(360deg);}
|
||||
.avatar:hover{transform: scale(1.15) rotate(360deg);}
|
||||
h1 a{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 button{margin-right:8px;padding:16px;}
|
||||
@ -25,7 +25,7 @@ h1 a{color:inherit;text-decoration:none;vertical-align: bottom;font-size:40px;fo
|
||||
.listLabels{white-space:nowrap;}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
body { padding: 8px;}
|
||||
body {padding: 8px;}
|
||||
h1 a{font-size:24px;}
|
||||
.subnav-search form{display:none;}
|
||||
.subnav-search svg{display:none;}
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
|
||||
{% block style %}
|
||||
<style>
|
||||
h1 a{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 .circle{padding: 14px 16px;margin-right:8px;}
|
||||
|
||||
@ -18,14 +18,14 @@ h1 a{color:inherit;text-decoration:none;vertical-align: bottom;font-size:40px;fo
|
||||
|
||||
@media (max-width: 767px) {
|
||||
body { padding: 8px;}
|
||||
h1 a{font-size:24px;}
|
||||
.tagTitle{font-size:24px;}
|
||||
.LabelTime{display:none;}
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block header %}
|
||||
<h1><a class="tagTitle">Tag</a></h1>
|
||||
<span class="tagTitle">Tag</span>
|
||||
<div class="title-right">
|
||||
|
||||
<a href="/"><button id="buttonHome" class="btn btn-invisible circle" title="{{ i18n['home'] }}">
|
||||
@ -156,13 +156,9 @@ function updateShowTag(label){
|
||||
function setClassDisplay(lable) {
|
||||
let lists = document.getElementsByClassName("lists");
|
||||
let tagTitle = document.getElementsByClassName("tagTitle")[0];
|
||||
|
||||
if(lable=="All"){
|
||||
tagTitle.innerHTML="Tag";
|
||||
for(let i = 0; i < lists.length; i++){lists[i].style.display='block';}
|
||||
}
|
||||
tagTitle.innerHTML="Tag #"+lable;
|
||||
if(lable=="All"){for(let i = 0; i < lists.length; i++){lists[i].style.display='block';}}
|
||||
else{
|
||||
tagTitle.innerHTML="Tag - "+lable;
|
||||
for(let i = 0; i < lists.length; i++){
|
||||
lists[i].style.display='none';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user