switch shuoshuo function to ech0
This commit is contained in:
@@ -1,3 +1,27 @@
|
||||
:root {
|
||||
--liushen-card-bg: #fff;
|
||||
--liushen-card-border: 1px solid #e3e8f7;
|
||||
--card-box-shadow: 0 3px 8px 6px rgba(7,17,27,0.09);
|
||||
--card-hover-box-shadow: 0 3px 8px 6px rgba(7,17,27,0.2);
|
||||
--liushen-card-secondbg: #f1f3f8;
|
||||
--liushen-button-hover-bg: #2679cc;
|
||||
--liushen-text: #4c4948;
|
||||
--liushen-button-bg: #f1f3f8;
|
||||
--liushen-fancybox-bg: rgba(255,255,255,0.5);
|
||||
}
|
||||
|
||||
:root, [data-theme=dark] {
|
||||
--liushen-card-bg: #181818;
|
||||
--liushen-card-secondbg: #30343f;
|
||||
--liushen-card-border: 1px solid #42444a;
|
||||
--card-box-shadow: 0 3px 8px 6px rgba(7,17,27,0.09);
|
||||
--card-hover-box-shadow: 0 3px 8px 6px rgba(7,17,27,0.2);
|
||||
--liushen-button-bg: #30343f;
|
||||
--liushen-button-hover-bg: #2679cc;
|
||||
--liushen-text: rgba(255,255,255,0.702);
|
||||
--liushen-fancybox-bg: rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
/* 卡片初始化 */
|
||||
#talk .talk_item {
|
||||
width: calc(33.333% - 6px);
|
||||
@@ -174,56 +198,6 @@
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.douban-card .douban-card-bgimg {
|
||||
background-position: 50%;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100%;
|
||||
filter: blur(15px) brightness(.6);
|
||||
height: 115%;
|
||||
position: absolute;
|
||||
width: 115%;
|
||||
}
|
||||
|
||||
.douban-card .douban-card-left {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.douban-card .douban-card-left .douban-card-img {
|
||||
transition: all .5s ease;
|
||||
height: 130px;
|
||||
position: relative;
|
||||
width: 80px;
|
||||
background-position: 50%;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
.douban-card .douban-card-left:hover .douban-card-img {
|
||||
filter: blur(5px) brightness(.6);
|
||||
transform: perspective(800px) rotateX(180deg);
|
||||
}
|
||||
|
||||
.douban-card .douban-card-right {
|
||||
color: #faebd7;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
margin-left: 12px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.douban-card .douban-card-right .douban-card-item {
|
||||
margin-top: 4px;
|
||||
max-width: 95%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* 外链卡片 */
|
||||
#talk .talk_item .talk_content .shuoshuo-external-link {
|
||||
/* 无下划线 */
|
||||
|
||||
123
themes/butterfly/source/css/shuoshuoshouye.css
Normal file
123
themes/butterfly/source/css/shuoshuoshouye.css
Normal file
@@ -0,0 +1,123 @@
|
||||
/* maintop */
|
||||
|
||||
#main_top {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
z-index: 1;
|
||||
max-width: 1400px;
|
||||
margin: 20px auto;
|
||||
width: 100%;
|
||||
padding: 0 15px;
|
||||
margin-top: 40px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.hide-aside #main_top {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.hide-aside #main_top #bber-talk {
|
||||
max-width: 936px;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 2000px) {
|
||||
.hide-aside #main_top #bber-talk {
|
||||
max-width: 80%;
|
||||
}
|
||||
|
||||
#main_top {
|
||||
max-width: 70%;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1210px) {
|
||||
.hide-aside #main_top {
|
||||
padding: 0 12px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 900px) {
|
||||
.hide-aside #main_top {
|
||||
width: 100%;
|
||||
padding: 0 15px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
.hide-aside #main_top {
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
div#main_top {
|
||||
margin-top: 20px;
|
||||
padding: 0 5px;
|
||||
}
|
||||
}
|
||||
|
||||
#bber-talk {
|
||||
/* border-radius: 8px; */
|
||||
/* background: var(--card-bg); */
|
||||
/* box-shadow: none; */
|
||||
box-sizing: border-box;
|
||||
/* transition: all .3s ease-in-out; */
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
min-height: 50px;
|
||||
padding: .5rem 1rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
#bber-talk,
|
||||
#bber-talk a {
|
||||
color: var(--font-color);
|
||||
}
|
||||
|
||||
#bber-talk svg.icon {
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
vertical-align: -.15em;
|
||||
fill: currentColor;
|
||||
overflow: hidden;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
#bber-talk .item i {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
#bber-talk > i {
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
#bber-talk .talk-list {
|
||||
flex: 1;
|
||||
max-height: 32px;
|
||||
font-size: 16px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#bber-talk .talk-list:hover {
|
||||
color: var(--default-bg-color);
|
||||
transition: all .2s ease-in-out;
|
||||
}
|
||||
|
||||
#bber-talk .talk-list li {
|
||||
list-style: none;
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 770px) {
|
||||
#bber-talk .talk-list {
|
||||
text-align: center;
|
||||
margin-right: 20px;
|
||||
}
|
||||
}
|
||||
@@ -1,25 +1,5 @@
|
||||
/* #card-newest-comments img {border-radius: 10px; /* 设置最新评论圆角半径为10px,可以根据需要调整} */
|
||||
|
||||
/* 说说轮播 */
|
||||
#bber-talk {
|
||||
background: linear-gradient(-45deg, rgba(255, 255, 255, .7),
|
||||
rgba(255, 255, 255, .8),
|
||||
rgba(255, 255, 255, .8),
|
||||
rgba(255, 255, 255, .7));
|
||||
backdrop-filter: blur(10px);
|
||||
/* -webkit-backdrop-filter: blur(10px);兼容性前缀,适用于一些旧版本的浏览器 */
|
||||
}
|
||||
|
||||
/* 说说轮播 */
|
||||
[data-theme=dark] #bber-talk {
|
||||
background: linear-gradient(-45deg, rgba(24, 40, 72, .7),
|
||||
rgba(35, 37, 58, .8),
|
||||
rgba(35, 37, 58, .8),
|
||||
rgba(24, 40, 72, .7));
|
||||
backdrop-filter: blur(10px);
|
||||
/* -webkit-backdrop-filter: blur(10px);兼容性前缀,适用于一些旧版本的浏览器 */
|
||||
}
|
||||
|
||||
/* 侧边栏个人信息卡片动态渐变色 */
|
||||
#aside-content>.card-widget.card-info {
|
||||
position: relative;
|
||||
|
||||
Reference in New Issue
Block a user