fix theme...
This commit is contained in:
309
themes/anzhiyu/source/css/_extra/essay_page/essay_page.css
Normal file
309
themes/anzhiyu/source/css/_extra/essay_page/essay_page.css
Normal file
@@ -0,0 +1,309 @@
|
||||
body[data-type="essay"] #page {
|
||||
border: 0;
|
||||
box-shadow: none !important;
|
||||
padding: 0 !important;
|
||||
background: transparent !important;
|
||||
}
|
||||
body[data-type="essay"] #page .page-title {
|
||||
display: none;
|
||||
}
|
||||
body[data-type="essay"] #web_bg {
|
||||
background: var(--anzhiyu-background);
|
||||
}
|
||||
#bber .bber-container-img {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
width: 100%;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 0.3rem;
|
||||
}
|
||||
#bber .bber-container-img .bber-content-noimg {
|
||||
width: calc(100% / 4 - 5px);
|
||||
}
|
||||
|
||||
#bber .bber-content-img img {
|
||||
object-fit: cover;
|
||||
max-height: 100%;
|
||||
}
|
||||
|
||||
#bber .bber-content-img,
|
||||
#bber .bber-content-video {
|
||||
height: 100px;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
width: calc(100% / 4 - 5px);
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#bber .bber-content-video video {
|
||||
border-radius: 8px;
|
||||
object-fit: cover;
|
||||
max-height: 100%;
|
||||
}
|
||||
#bber .bber-content-video::after {
|
||||
content: "视频";
|
||||
display: inline-block;
|
||||
padding: 1px 6px;
|
||||
background: var(--anzhiyu-black-op);
|
||||
border-radius: 8px;
|
||||
margin-left: 4px;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
color: var(--anzhiyu-white);
|
||||
backdrop-filter: saturate(180%) blur(20px);
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
transform: translateZ(0);
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 4px;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
#bber .bber-content .datacont {
|
||||
order: 0;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 700;
|
||||
color: var(--anzhiyu-fontcolor);
|
||||
width: 100%;
|
||||
line-height: 1.38;
|
||||
border-radius: 12px;
|
||||
margin-bottom: 0.5rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
text-align: justify;
|
||||
}
|
||||
#bber p {
|
||||
margin: 0px;
|
||||
}
|
||||
#bber div.bber-content {
|
||||
display: flex;
|
||||
flex-flow: wrap;
|
||||
border-radius: 12px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
#bber .timeline ul li.bber-item {
|
||||
position: relative;
|
||||
width: 32%;
|
||||
border: var(--style-border-always);
|
||||
border-radius: 12px;
|
||||
padding: 1rem 1rem 0.5rem;
|
||||
transition: all 0.3s ease 0s;
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
background: var(--anzhiyu-card-bg);
|
||||
box-shadow: var(--anzhiyu-shadow-border);
|
||||
margin-right: 2%;
|
||||
}
|
||||
#bber .timeline #waterfall.show {
|
||||
opacity: 1;
|
||||
}
|
||||
#bber .timeline #waterfall {
|
||||
opacity: 0;
|
||||
transition: all 0.3s ease 0s;
|
||||
}
|
||||
#bber ul.list {
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
justify-content: space-between;
|
||||
}
|
||||
#bber {
|
||||
margin-top: 1rem;
|
||||
width: 100%;
|
||||
}
|
||||
#bber > section > ul > li.bber-item {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
#bber-tips {
|
||||
font-size: 14px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
#bber .timeline ul li.bber-item hr {
|
||||
display: flex;
|
||||
position: relative;
|
||||
margin: 8px 0px;
|
||||
border: 1px dashed var(--anzhiyu-theme-op);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#bber .bber-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#bber > section > ul > li > div .bber-info-time,
|
||||
#bber > section > ul > li > div .bber-info-from {
|
||||
color: var(--anzhiyu-fontcolor);
|
||||
font-size: 0.7rem;
|
||||
background-color: var(--anzhiyu-gray-op);
|
||||
padding: 0px 8px;
|
||||
border-radius: 20px;
|
||||
cursor: default;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#bber .bber-info .anzhiyufont.anzhiyu-icon-clock {
|
||||
margin-right: 4px;
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
#bber > section > ul > li > div .bber-info-from span,
|
||||
#bber > section > ul > li > div .bber-info-from {
|
||||
margin-left: 4px;
|
||||
}
|
||||
#bber > section > ul > li > div .bber-info-from i {
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
#bber .bber-item hr::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#bber .bber-bottom {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.bber-reply {
|
||||
cursor: pointer !important;
|
||||
}
|
||||
|
||||
.bber-reply:hover {
|
||||
color: var(--anzhiyu-main);
|
||||
max-height: 35px;
|
||||
}
|
||||
|
||||
#bber .timeline ul li.bber-item:hover {
|
||||
border: var(--style-border-hover);
|
||||
}
|
||||
|
||||
#bber .bber-content-link {
|
||||
display: flex;
|
||||
margin-left: 0.5rem;
|
||||
font-size: 0.7rem;
|
||||
align-items: center;
|
||||
background-color: rgba(245, 108, 108, 0.13);
|
||||
color: rgb(245, 108, 108);
|
||||
padding: 0px 8px;
|
||||
border-radius: 20px;
|
||||
}
|
||||
#bber .bber-content-link i {
|
||||
margin-right: 3px;
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
#bber .bber-content-link:hover {
|
||||
background-color: var(--anzhiyu-main);
|
||||
color: var(--anzhiyu-white);
|
||||
}
|
||||
#bber .bber-music {
|
||||
width: 100%;
|
||||
height: 90px;
|
||||
margin: 0.5rem 0;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
border: var(--style-border-always);
|
||||
background: var(--anzhiyu-secondbg);
|
||||
}
|
||||
#bber .aplayer {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#bber .aplayer.aplayer-withlrc .aplayer-pic {
|
||||
height: 82px;
|
||||
width: 82px;
|
||||
margin: 4px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.bber-music .aplayer.aplayer-withlrc .aplayer-info {
|
||||
padding: 5px 7px 0;
|
||||
}
|
||||
#bber .aplayer .aplayer-info .aplayer-music {
|
||||
height: 23px;
|
||||
}
|
||||
#bber .aplayer .aplayer-info .aplayer-music .aplayer-title {
|
||||
font-size: 0.8rem;
|
||||
font-weight: 700;
|
||||
margin: 0;
|
||||
color: var(--anzhiyu-fontcolor);
|
||||
}
|
||||
|
||||
#bber .aplayer .aplayer-info .aplayer-controller {
|
||||
align-items: center;
|
||||
}
|
||||
#bber .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap {
|
||||
padding: 0;
|
||||
}
|
||||
#bber .aplayer .aplayer-info .aplayer-controller .aplayer-time {
|
||||
position: initial;
|
||||
}
|
||||
#bber .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar {
|
||||
background: var(--anzhiyu-gray);
|
||||
height: 8px;
|
||||
border-radius: 12px;
|
||||
transition: 0.3s;
|
||||
overflow: hidden;
|
||||
}
|
||||
#bber .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-loaded {
|
||||
height: 100%;
|
||||
border-radius: 12px;
|
||||
}
|
||||
#bber .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played {
|
||||
height: 100%;
|
||||
border-radius: 12px;
|
||||
}
|
||||
#bber .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb {
|
||||
display: none;
|
||||
}
|
||||
#bber .aplayer .aplayer-info .aplayer-controller .aplayer-time {
|
||||
position: initial;
|
||||
}
|
||||
|
||||
/* 顶部样式 */
|
||||
.author-content.author-content-item.essayPage {
|
||||
height: 19rem;
|
||||
color: var(--anzhiyu-white);
|
||||
overflow: hidden;
|
||||
margin-top: 0px;
|
||||
}
|
||||
body[data-type="essay"] #page .author-content-item .card-content .banner-button-group .banner-button:hover {
|
||||
color: var(--anzhiyu-white);
|
||||
border-radius: 20px !important;
|
||||
}
|
||||
|
||||
/* 响应式 */
|
||||
@media screen and (max-width: 1200px) {
|
||||
#bber .timeline ul li.bber-item {
|
||||
width: 49%;
|
||||
margin-right: 1%;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
#bber .timeline ul li.bber-item {
|
||||
width: 100%;
|
||||
margin-right: 0px;
|
||||
}
|
||||
}
|
||||
[data-theme="dark"] #bber .bber-music .aplayer,
|
||||
[data-theme="dark"] #bber .aplayer .aplayer-lrc:before,
|
||||
[data-theme="dark"] #bber .aplayer .aplayer-lrc:after {
|
||||
background: var(--anzhiyu-card-bg);
|
||||
color: var(--anzhiyu-fontcolor);
|
||||
}
|
||||
#bber .aplayer .aplayer-lrc p {
|
||||
color: var(--anzhiyu-fontcolor);
|
||||
min-height: 40px;
|
||||
line-height: 30px !important;
|
||||
height: 40px !important;
|
||||
margin: 0 !important;
|
||||
}
|
||||
101
themes/anzhiyu/source/css/_extra/essay_page/home_essay_bar.css
Normal file
101
themes/anzhiyu/source/css/_extra/essay_page/home_essay_bar.css
Normal file
@@ -0,0 +1,101 @@
|
||||
#bbTimeList {
|
||||
background: var(--anzhiyu-white);
|
||||
color: var(--anzhiyu-fontcolor);
|
||||
padding: 0.5rem 1rem;
|
||||
border-radius: 12px;
|
||||
box-shadow: var(--anzhiyu-shadow-lightblack);
|
||||
display: flex;
|
||||
transition: all 0.3s ease 0s;
|
||||
margin: 1rem auto 0;
|
||||
border: var(--style-border);
|
||||
align-items: center;
|
||||
height: 50px;
|
||||
width: 100%;
|
||||
max-width: calc(1400px - 3rem);
|
||||
animation: slide-in .6s 0s backwards;
|
||||
}
|
||||
@media screen and (max-width: 1400px) {
|
||||
#bbTimeList {
|
||||
max-width: calc(100% - 3rem);
|
||||
animation: slide-in 0.6s 0s backwards;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
div#bbTimeList {
|
||||
margin: 0 20px 15px;
|
||||
}
|
||||
}
|
||||
[data-theme="dark"] #bbTimeList {
|
||||
background: #000 !important;
|
||||
}
|
||||
#bbtalk {
|
||||
width: 100%;
|
||||
}
|
||||
#bber-talk {
|
||||
width: 100%;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
i.bber-logo {
|
||||
font-size: 2rem;
|
||||
line-height: 22px;
|
||||
margin-right: 1rem;
|
||||
transition: all 0.3s ease 0s;
|
||||
cursor: pointer !important;
|
||||
}
|
||||
i.bber-logo:hover,
|
||||
i.bber-gotobb:hover {
|
||||
color: var(--anzhiyu-main);
|
||||
}
|
||||
|
||||
i.bber-gotobb {
|
||||
line-height: 30px;
|
||||
margin-left: 1rem;
|
||||
transition: all 0.3s ease 0s;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#bber-talk .li-style {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
transition: 0.3s;
|
||||
font-weight: 700;
|
||||
margin: auto;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
}
|
||||
#bber-talk .li-style:hover {
|
||||
color: var(--anzhiyu-main);
|
||||
}
|
||||
|
||||
#bbTimeList:hover {
|
||||
border: var(--style-border-hover);
|
||||
box-shadow: var(--anzhiyu-shadow-main);
|
||||
}
|
||||
|
||||
/* 文章页H1-H6图标样式效果 */
|
||||
@-webkit-keyframes rotate {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
-webkit-transform: rotate(-1turn);
|
||||
transform: rotate(-1turn);
|
||||
}
|
||||
}
|
||||
@keyframes rotate {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
-webkit-transform: rotate(-1turn);
|
||||
transform: rotate(-1turn);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user