Files
blog/themes/Ying/static/css/light.css
T

1727 lines
31 KiB
CSS

@font-face {
font-family: 'zql';
src: url('https://pan.usj.cc/d/%F0%9F%A7%B0%E6%96%87%E4%BB%B6/zql.woff');
/*src: url('https://pan.usj.cc/d/%F0%9F%A7%B0%E6%96%87%E4%BB%B6/dd.woff2');*/
src: url('https://pan.usj.cc/d/%F0%9F%A7%B0%E6%96%87%E4%BB%B6/zql.woff2');
}
::-webkit-scrollbar {
width: 13px;
}
::-webkit-scrollbar-button {
display: none;
}
::-webkit-scrollbar-thumb {
min-height: 16px;
background-color: #999999;
background-clip: padding-box;
border: 3px solid #fdfdfd;
border-radius: 5px;
}
::selection {
background: #444;
color: #fff;
}
body {
font-family: 'zql', serif;
color: #24292e;
line-height: 1.6;
font-size: 16px;
background: #fafafa;
/*background-image: url('https://usj.cc/bg.svg');*/
/*background-image: url(https://usj.cc/usr/uploads/2023/06/3287615239.jpg);*/
/*background-repeat: space;*/
/*background-size: cover;*/
/*background-repeat: initial;*/
/*background-size: inherit;*/
background-attachment: fixed;
}
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #cccccc;
margin: 1rem 0;
padding: 0;
}
img {
max-width: 100%;
border-radius: 5px;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
vertical-align: middle
}
.icon {
width: 1.8em;
height: 1.8em;
vertical-align: -1em;
fill: currentColor;
overflow: hidden;
}
a img {
border: none;
}
pre,
code {
font-size: 15px;
border: 1px solid #e8e8e8;
border-radius: 3px;
background-color: #3a3a3a;
color: #EEEEEE
}
pre,
code {
font-size: 15px;
border: 1px solid #e8e8e8;
border-radius: 3px;
background-color: #3a3a3a;
color: #EEEEEE
}
code {
padding: 1px 5px
}
pre {
padding: 8px 12px;
overflow-x: scroll
}
pre>code {
border: 0;
padding-right: 0;
padding-left: 0
}
table {
border-collapse: collapse;
border-spacing: 0;
word-break: break-all;
}
table th {
background-color: #f6f8fa;
}
table th,
table td {
padding: 10px 20px;
border: 1px solid #dfe2e5;
}
blockquote {
margin-left: 4px;
font-weight: 300;
border-left: 3.8px solid rgb(80 80 80);
background-color: rgba(51 51 51/5%);
padding-left: 20px;
word-break: break-all;
}
a,
a:hover {
color: #24292e;
text-decoration: none
}
a:hover {
text-decoration: underline
}
h1,
h2,
h3,
h4,
h5,
h6 {
line-height: 1.2;
font-weight: 400;
}
h1 {
font-size: 1.5rem;
}
h2 {
font-size: 1.375rem;
}
h3 {
font-size: 1.25rem;
}
h4,
h5,
h6 {
font-size: 1.125rem;
}
ul {
padding-left: 0px;
list-style-type: disc;
list-style: none;
}
/*默认 box-shadow 数值:rgba(236, 236, 236, 0.86)*/
.main {
max-width: 630px;
overflow: hidden;
margin: 60px auto;
padding: 50px;
background: #ffffff;
box-shadow: 0 10px 20px 0 rgba(236, 236, 236, 0.86);
border-radius: 8px;
z-index: 10;
position: relative;
text-align: center;
}
.header {
margin-bottom: 10px;
padding-bottom: 10px;
}
.header h1,
.header h2 {
margin: 0;
padding: 0;
font-size: 1.6rem;
margin-bottom: 10px;
}
.header h2 {
font-size: .9rem;
line-height: 2rem;
}
.header nav {
border-top: 1px solid #f4f4f4;
}
.header nav ul,
.header nav li {
margin: 0;
}
.header nav ul.flat {
padding: 0;
}
.header nav ul.flat li {
display: inline-block;
list-style: none;
margin-left: 0;
margin-right: 10px;
margin-top: 20px;
text-transform: capitalize;
}
.header nav ul.flat li.active a {
color: #24292e;
}
.header nav ul.flat li a {
color: #586069;
}
.header nav ul.flat li a:hover {
color: #646464;
text-decoration: none;
}
.header .site-description {
display: flex;
justify-content: space-between;
margin-top: -49px;
}
.header .site-description nav {
margin: 0;
padding: 0;
border: none;
min-width: 50px;
margin-bottom: 10px;
}
.header .site-description nav ul a {
display: inline-block;
margin-right: 5px;
text-decoration: none;
}
.header .site-description nav ul a:hover {
color: #586069;
}
.section .section-header {
font-size: 0.88rem;
font-weight: 600;
text-transform: uppercase;
color: #999999;
margin-bottom: 15px;
letter-spacing: 1px;
}
.recent-posts .posts .post {
margin-bottom: 20px;
margin-top: 20px;
}
.recent-posts .posts .post .time,
.post .post-header .time,
.list .posts .post .time {
font-size: 0.725rem;
color: #bec8d2;
margin-bottom: 2px;
}
.meta {
margin-top: 10px;
font-size: 12px;
color: #999999;
margin-bottom: 2px
}
.post-tags {
margin-top: 20px;
}
.post-tags .tags {
margin-top: 40px;
}
.post-tags .tags a {
display: inline-block;
border-radius: 2px;
padding: 0.1rem 0.4rem;
color: #fff;
line-height: 20px;
font-size: 12px;
text-decoration: none;
margin: 0 1px;
border: 1px solid #41464b;
background-color: #41464b;
}
.footer {
text-align: right;
font-size: 0.75em;
color: #999999;
border-top: 1px solid #f4f4f4;
padding-top: 10px;
margin-top: 10px;
}
.highlight {
background: #3a3a3a;
border: 3px solid #e8e8e8;
}
.highlight pre,
.highlight code,
.highlight kbd,
.highlight samp {
font-weight: normal;
background-color: inherit;
white-space: pre;
color: #EEEEEE;
}
.highlight pre {
margin-bottom: 0;
margin-top: 0;
padding: 10px;
overflow: auto;
}
.highlight pre code {
padding: 0;
}
.highlight pre::-webkit-scrollbar {
height: 10px;
}
.highlight pre::-webkit-scrollbar-button {
display: none;
}
.highlight pre::-webkit-scrollbar-thumb {
min-height: 16px;
background-color: #cccccc;
background-clip: padding-box;
border: 3px solid #fdfdfd;
border-radius: 5px;
}
.highlight pre::-webkit-scrollbar-thumb:active {
background-color: #999999;
border-width: 2px;
}
@media (max-width: 767px) {
h1 {
font-size: 1.375rem;
}
h2 {
font-size: 1.25rem;
}
h3 {
font-size: 1.125rem;
}
h4,
h5,
h6 {
font-size: 1rem;
}
body {
background: #ffffff;
}
.main {
padding: 30px;
margin: 0 auto;
box-shadow: none;
}
.header h2 {
display: none;
}
.container {
margin-top: 10px;
}
.highlight pre::-webkit-scrollbar {
display: none;
}
.comment-form-author {
width: 45% !important;
float: right;
/*margin-right: 5%;*/
}
.comment-form-email {
width: 45% !important;
float: left;
}
#cancel-huifu {
position: relative;
left: 53px !important;
}
.header img {
width: 75px !important;
height: 75px !important;
}
.site-description {
margin-top: 10px !important;
}
.itp-index {
width: 100% !important;
}
#scrollUp {
right: 35px !important;
}
}
/*回到顶部*/
#scrollUp {
bottom: 50px;
right: 80px;
background: #f8f8f8;
height: 40px;
width: 40px;
border-radius: 50%;
background-repeat: no-repeat;
background-image: url(https://pan.usj.cc/d/%F0%9F%A7%B0%E6%96%87%E4%BB%B6/uptop.svg);
background-position: center center;
/* 将背景图像居中对齐 */
color: #fff;
}
/*美化框*/
#mhz,
#szh,
#yyz {
/*圆角值,在此定义*/
border-radius: 8px;
}
/*迷幻紫*/
#mhz {
color: #555555;
overflow: hidden;
margin: 10px 0;
padding: 15px 15px 15px 35px;
/*border-radius: 10px;*/
box-shadow: 6px 0 12px -5px rgb(190, 196, 252), -6px 0 12px -5px rgb(189, 196, 252);
background-color: #8EC5FC;
background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
background-image: -webkit-linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
}
/*优雅紫*/
#yyz {
color: #ffffff;
overflow: hidden;
margin: 10px 0;
padding: 15px 15px 15px 35px;
/*border-radius: 10px;*/
box-shadow: 6px 0 12px -5px rgb(175, 160, 208), -6px 0 12px -5px rgba(177, 161, 207, 0);
background-image: radial-gradient(circle farthest-corner at 10% 20%, rgba(95, 117, 227, 1) 0%, rgba(188, 167, 205, 1) 90%);
}
/*深邃黑*/
#szh {
color: #c7c7c7;
overflow: hidden;
margin: 10px 0;
padding: 15px 15px 15px 35px;
/*border-radius: 5px;*/
box-shadow: 6px 0 12px -5px rgb(155, 170, 185), -6px 0 12px -5px rgba(177, 161, 207, 0);
background-image: radial-gradient(circle farthest-corner at 10% 20%, rgba(0, 0, 0, 1) 0%, rgba(64, 64, 64, 1) 90.2%);
}
/*隐藏文字*/
darkb-text {
background-color: #12121c;
color: #12121c;
text-shadow: none;
transition: color 0.3s;
/*padding-top: 3px;*/
padding: 2px 2px 2px 2px;
font-size: 14px;
border-radius: 4px;
}
darkb-text:hover,
darkb-text:active {
color: #FFF;
}
/* 分页 */
.pagination {
margin: 0;
padding: 10px 0 0;
text-align: left;
display: flex;
justify-content: space-between;
}
.pagination li {
list-style: none;
display: inline-block;
margin: 0;
padding: 0;
}
.pagination .page-previous {
margin-right: 20px;
padding-right: 20px;
}
.pagination .page-item.page-previous {
text-align: right;
}
.pagination .page-item.page-next {
text-align: right;
}
/* 视频尺寸 */
.size-video {
position: relative;
border-radius: 5px;
padding-bottom: 66.5%;
height: 0;
border: 6px solid #f0f0f0;
overflow: hidden;
}
.size-video iframe {
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}
/*归档页面*/
.a-title {
font-size: 24px;
word-wrap: break-word;
line-height: 1.4;
box-shadow: inset 0 -7px 0 0 rgb(52 58 64 / 10%);
display: inline;
}
.link-title {
text-align: center;
margin-top: 15px;
margin-bottom: 10px;
}
h3.diy-h3 {
font-size: rem;
cursor: pointer;
font-size: 1.2em;
padding-left: 1px;
margin-top: 0.5em;
margin-bottom: 5px;
}
.a-archives {
margin-top: 10px;
display: inline-block;
}
.articles_date_time {
padding: 3px 5px;
font-size: 12px;
font-weight: 500;
line-height: 1;
background-color: rgba(52, 58, 64, .1);
color: #324b64;
margin-right: 5px;
}
/*友链*/
.link_box,
.link_marks {
float: left;
padding-right: 5px;
}
.yiyandes {
font-size: .9rem;
line-height: 2rem;
margin-left: -28.6px;
margin-top: -2px;
}
/*comments*/
.comments-area {
/*padding-top: 25px;*/
/*border-top: 1px solid #eaeaea;*/
margin-top: 25px;
}
.comments-area ol {
list-style: none;
padding: 0;
}
.comments-area .comment-body {
border-bottom: 1px solid #f4f4f4;
padding-bottom: 20px;
margin-bottom: 20px;
}
.comment-meta {
margin-bottom: 16px;
}
.comment-meta a {
text-decoration: none;
}
.comment-author {
display: flex;
align-items: center;
}
.comment-author img {
border-radius: 50%;
}
.comment-author a {
color: #303135;
text-decoration: none;
font-weight: 700;
font-size: 16px;
}
.comment-metadata time {
color: gray;
font-size: 12px;
}
.comment-reply-title {
margin: 10px 0 5px;
}
.comment-respond input {
width: 100%;
}
.site-footer {
border-top: 1px solid #f4f4f4;
padding: 10px 0;
font-size: 13px;
}
.site-footer a {
color: rgb(0, 0, 0);
text-decoration: none;
}
.comment-form-author {
width: 48%;
float: right;
/*margin-right: 5%;*/
}
.comment-form-email {
width: 48%;
float: left;
}
.comment-form-url {
width: 100%;
float: right;
}
.comment-list li ol li {
padding-left: 1rem;
}
.reply {
margin-top: 16px;
}
.page-navigator {
display: flex;
width: 100%;
margin: 1rem 0;
}
.page-navigator li {
display: none;
}
.page-navigator .prev {
display: block;
flex: 1;
}
.page-navigator .next {
display: flex;
justify-content: flex-end;
}
.foot_bar {
z-index: 999;
position: fixed;
right: 2rem;
bottom: 2rem;
display: grid;
}
.foot_bar_items {
line-height: 24px;
text-align: center;
color: #000;
cursor: pointer;
display: inline-flex;
justify-content: center;
align-items: center;
margin: .5rem 0;
}
.changeMode {
background-color: #eee;
height: calc(26px*1);
width: calc(100px*1);
border-radius: calc(100px*1);
display: inline-block;
}
.toggle-dark-mode-ignore {
position: absolute;
width: 50%;
background-color: #fff;
box-shadow: 0 2px 15px rgb(0 0 0 / 15%);
transition: transform .3s cubic-bezier(.25, .46, .45, .94);
height: calc(26px*1);
border-radius: calc(100px*1);
display: inline-block;
left: 0;
}
.dark-mode-ignore {
width: 74%;
position: absolute;
display: flex;
justify-content: space-between;
user-select: none;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.switch-light-text {
font-size: calc(12px*1);
font-weight: 500;
color: #555;
margin: 0;
padding-bottom: 0;
}
.switch-dark-text {
font-size: calc(12px*1);
font-weight: 500;
color: #555;
margin: 0;
padding-bottom: 0;
opacity: .5;
}
img.biaoqing[src*="qutu"],
img.biaoqing[src*="huaji"] {
width: auto;
height: auto;
max-height: 5rem;
}
label {
font-size: 13px;
color: #9e9e9e;
}
textarea {
width: 100%;
overflow: auto;
}
input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
input[type=range],
input[type=date],
input[type=month],
input[type=week],
input[type=time],
input[type=datetime],
input[type=datetime-local],
input[type=color],
textarea {
color: #666;
border: 1px solid #ccc;
border-radius: 3px;
padding: 8px;
}
button,
input,
optgroup,
select,
textarea {
color: inherit;
font: inherit;
margin: 0;
}
button,
input[type=button],
input[type=reset],
input[type=submit] {
border: 1px solid;
border-color: #000 #000 #000;
border-radius: 3px;
background-color: #222;
color: #fff;
padding: 6px;
margin-top: 10px;
margin-left: 23%;
}
.ell {
white-space: normal;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
word-break: break-all;
}
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.navigation:before,
.navigation:after {
content: "";
display: table;
table-layout: fixed;
}
.clear:after,
.entry-content:after,
.wrapper:after,
.navigation:after {
clear: both;
}
.site-header {
padding: 25px 0;
}
.site-branding {
float: left;
padding-top: 20px;
}
.site-title {
margin: 0;
line-height: 1;
font-size: 14px;
font-weight: 500;
}
.site-title a {
text-decoration: none;
color: #2d2e33;
font-size: 20px;
font-weight: bold;
}
#site-navigation {
display: block;
float: right;
}
#site-menu {
list-style: none;
margin: 0;
padding-left: 0;
}
#site-menu li {
float: left;
position: relative;
}
#site-menu li a {
display: block;
text-decoration: none;
color: #525252;
padding: 20px 0 20px 30px;
}
.site-content {
margin-bottom: 50px;
}
.archives__heading {
font-size: 24px;
margin-top: 0;
margin-bottom: 25px;
}
.archives__list {
list-style: none;
padding: 0;
}
.archives__list li {
padding: 5px 0;
font-size: 14px;
}
.archives__list li a {
max-width: 50%;
display: inline-block;
text-decoration: none;
}
.archives__list li span {
color: #a9a9a9;
max-width: 50%;
display: inline-block;
float: right;
text-align: right;
}
.entry-header {
margin-bottom: 32px;
}
.entry-title {
font-size: 30px;
margin: 0;
}
.entry-content p {
font-size: 14px;
}
.entry-content img {
clear: both;
display: block;
margin-left: auto;
margin-right: auto;
border-radius: 5px;
}
#showResult {
margin-top: 1rem;
}
#showResult .biaoqing {
width: 24px;
}
/*owo表情*/
.biaoqing[src*="bqb"] {
width: 77px;
display: block;
}
.OwO .OwO-body .OwO-items-image .OwO-item[data-input*="bqb"] {
max-width: calc(50% - 10px);
;
}
.biaoqing {
width: 36px;
display: inline;
box-shadow: 0 0px 0px rgb(0 0 0 / 0%) !important;
}
/*友圈微调*/
.cf-article[data-v-56cae500] {
border: 1px solid #43464A !important;
}
/*评论头衔*/
.badge-xztx {
margin-left: .2rem;
background-color: #000000;
color: #fff;
padding: 2px 5px;
border-radius: 5px;
font-size: .8rem;
font-weight: bold;
line-height: .8rem;
}
.visitor {
margin-left: .2rem;
background-color: #939393;
color: #fff;
padding: 2px 5px;
border-radius: 5px;
font-size: .8rem;
font-weight: bold;
line-height: .8rem;
}
/*评论取消按钮*/
#cancel-huifu {
position: relative;
left: 190px;
}
/*评论提醒*/
.pl-img {
width: 40px;
height: 40px;
border-radius: 0px;
animation: fade-in .65s ease-in none;
}
.massage-container {
/*display: flex;*/
height: 100%;
justify-content: center;
align-items: center;
}
.rectangle {
display: flex;
align-items: center;
justify-content: flex-start;
positon: relative;
width: 50px;
height: 40px;
background: #000000;
transform: scale(0);
border-radius: 50%;
color: white;
opacity: 0;
overflow: hidden;
animation: scale-in .3s ease-out forwards,
expand .35s .25s ease-out forwards;
}
.notification-text {
/*display: flex;*/
align-items: center;
padding: 0 16px;
font-family: 'Roboto', sans-serif;
font-size: 14px;
animation: fade-in .65s ease-in forwards;
}
@keyframes scale-in {
100% {
transform: scale(1);
opacity: 1;
}
}
@keyframes expand {
50% {
width: 350px;
border-radius: 6px;
}
100% {
width: 300px;
border-radius: 4px;
box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, .2),
0px 1px 1px 0px rgba(0, 0, 0, .14),
0px 3px 3px -1px rgba(0, 0, 0, .12);
}
}
@keyframes fade-in {
0% {
opacity: 0;
}
100% {
opacity: .8;
}
}
/*新文章提醒样式*/
.new-post-message {
content: '';
background: url(https://usj.cc/usr/uploads/2023/01/1457247750.png) no-repeat;
width: 26px;
height: 14px;
background-size: contain;
display: inline-block;
vertical-align: middle;
margin-left: 5px;
}
/*文章图片懒加载*/
.load-img {
width: 100%;
height: auto;
background-color: #CCCCCC;
display: block;
}
/*模糊加载动画*/
@-webkit-keyframes blur {
0% {
-webkit-filter: blur(10px);
/* Chrome, Opera */
-moz-filter: blur(10px);
-ms-filter: blur(10px);
filter: blur(10px);
}
50% {
-webkit-filter: blur(50px);
-moz-filter: blur(5px);
-ms-filter: blur(5px);
filter: blur(5px);
}
100% {
-webkit-filter: blur(0px);
-moz-filter: blur(0px);
-ms-filter: blur(0px);
filter: blur(0px);
}
}
.lazy-img {
-webkit-animation-name: blur;
/*动画名称*/
-webkit-animation-duration: 2s;
/*动画持续时间*/
-webkit-animation-iteration-count: 1;
/*动画次数*/
-webkit-animation-delay: 0s;
/*延迟时间*/
}
.blog-img {
-webkit-animation-name: blur;
/*动画名称*/
-webkit-animation-duration: 1s;
/*动画持续时间*/
-webkit-animation-iteration-count: 1;
/*动画次数*/
-webkit-animation-delay: 0s;
/*延迟时间*/
}
/*弹幕相关css*/
.container {
text-align: initial !important;
}
.dm-biaoqing[src*="bqb"] {
width: 37px;
display: inline;
}
.dm-biaoqing {
width: 36px;
display: inline;
box-shadow: 0 0px 0px rgb(0 0 0 / 0%) !important;
}
/*wechat样式*/
@font-face {
font-family: 'Color Emoji';
src: local('Apple Color Emoji'), local('Segoe UI Emoji'), local('Segoe UI Symbol'), local('Noto Color Emoji');
}
.qmbox .container {
--background_color: #f3f3f3;
--text_color: #191919;
}
@media (prefers-color-scheme:dark) {
.qmbox .container {
--background_color: #111;
--text_color: #e6e6e6;
}
}
.qmbox .container {
--font_size_grande: 16px;
--font_size_tall: 14px;
--font_size_short: 12px;
--line_height_grande: 20px;
--line_height_tall: 22px;
--line_height_short: 20px;
}
.qmbox .container {
padding-top: var(--line_height_short);
padding-bottom: var(--line_height_short);
color: var(--text_color);
/*font: normal var(--font_size_grande) / var(--line_height_grande) 'PingFang SC', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif, 'Color Emoji';*/
background: var(--background_color);
}
@media screen and (min-width: 550px) {
.qmbox .g-width {
width: 550px;
margin: 0 auto;
}
}
@media screen and (max-width: 459px) {
.qmbox .g-width {
width: 100%;
min-width: 320px;
max-width: 460px;
}
}
.qmbox .g-clear-both::after {
display: block;
clear: both;
content: '';
}
.qmbox .g-left {
display: inline;
float: left;
}
.qmbox .g-right {
display: inline;
float: right;
}
.qmbox .g-inline-center {
text-align: center;
}
.qmbox .date {
--date_text_color: #aaa;
}
@media (prefers-color-scheme:dark) {
.qmbox .date {
--date_text_color: #595859;
}
}
.qmbox .date {
height: var(--line_height_short);
color: var(--date_text_color);
font-size: var(--font_size_short);
line-height: var(--line_height_short);
font-weight: 300;
}
.qmbox .dialog {
--message_text_color: #1e1e1e;
--message_background_color: #fff;
--reply_text_color: #0f170a;
--reply_background_color: #95ec69;
--quote_text_color: #7d7d7d;
--quote_background_color: #e8e8e8;
}
@media (prefers-color-scheme:dark) {
.qmbox .dialog {
--message_text_color: #eaeaea;
--message_background_color: #2c2c2c;
--reply_text_color: #04120a;
--reply_background_color: #28b561;
--quote_text_color: #989898;
--quote_background_color: #1a1a1a;
}
}
.qmbox .dialog {
--avatar_size: 36px;
--border_radius: 4px;
--bubble_lr_offset: 20px;
--bubble_arrow_size: 10px;
--bubble_padding_vertical: 10px;
--bubble_padding_vertical_quote: 8px;
--bubble_padding_horizontal: 12px;
margin-top: -10px;
}
.qmbox .bubble {
max-width: calc(100% - (var(--bubble_lr_offset) * 2) - var(--avatar_size) - var(--bubble_arrow_size));
margin-top: var(--line_height_short);
clear: both;
}
.qmbox .bubble:first-child {
margin-top: 0;
}
.qmbox .message {
margin-left: var(--bubble_lr_offset);
}
.qmbox .reply {
margin-right: var(--bubble_lr_offset);
}
.qmbox .bubble-text {
position: relative;
max-width: calc(100% - var(--avatar_size) - var(--bubble_arrow_size) - (var(--bubble_padding_horizontal) * 2));
padding: var(--bubble_padding_vertical) var(--bubble_padding_horizontal);
border-radius: var(--border_radius);
font-size: var(--font_size_tall);
line-height: var(--line_height_tall);
word-break: break-all;
}
.qmbox .bubble-text::after {
position: absolute;
top: calc((var(--avatar_size) - var(--bubble_arrow_size)) / 2);
display: block;
width: 0;
height: 0;
border: calc(var(--bubble_arrow_size) / 2) solid transparent;
content: '';
}
.qmbox .message-text {
margin-left: var(--bubble_arrow_size);
color: var(--message_text_color);
background-color: var(--message_background_color);
}
.qmbox .message-text::after {
left: calc(var(--bubble_arrow_size) / 2 * -1);
border-left: 0 none;
border-right: calc(var(--bubble_arrow_size) / 2) solid var(--message_background_color);
}
.qmbox .reply-text {
margin-right: var(--bubble_arrow_size);
color: var(--reply_text_color);
background-color: var(--reply_background_color);
}
.qmbox .reply-text::after {
right: calc(var(--bubble_arrow_size) / 2 * -1);
border-left: calc(var(--bubble_arrow_size) / 2) solid var(--reply_background_color);
border-right: 0 none;
}
.qmbox .bubble-avatar {
width: var(--avatar_size);
height: var(--avatar_size);
border-radius: var(--border_radius);
}
.qmbox .quote {
max-width: calc(100% - ((var(--bubble_arrow_size) + var(--avatar_size) + var(--bubble_lr_offset) + var(--bubble_padding_horizontal)) * 2));
margin-top: calc(var(--bubble_padding_horizontal) / 2);
padding: var(--bubble_padding_vertical_quote) var(--bubble_padding_horizontal);
border-radius: var(--border_radius);
color: var(--quote_text_color);
font-size: var(--font_size_short);
line-height: var(--line_height_short);
background-color: var(--quote_background_color);
word-break: break-all;
clear: both;
}
.qmbox .message+.quote {
margin-left: calc(var(--bubble_arrow_size) + var(--avatar_size) + var(--bubble_lr_offset));
}
.qmbox .reply+.quote {
margin-right: calc(var(--bubble_arrow_size) + var(--avatar_size) + var(--bubble_lr_offset));
}
.message-text img {
width: 25px !important;
display: inline;
box-shadow: 0 0px 0px rgb(0 0 0 / 0%) !important;
}
.reply-text img {
width: 25px !important;
display: inline;
box-shadow: 0 0px 0px rgb(0 0 0 / 0%) !important;
}
/*鱼塘*/
#random-post {
min-height: 32px;
}
.random-friends-post {
text-decoration: none;
font-weight: 700;
padding: 0 4px;
}
.random-friends-post:hover {
text-decoration: none;
border-radius: 4px;
}
.random-post-start {
transition: 2s;
}
#random-post {
min-height: 32px;
border-radius: 12px;
margin-top: 8px;
clear: both;
}
@media screen and (max-width: 3000px) {
.cf-article[data-v-56cae500] {
margin: 8px;
border-radius: 8px;
font-weight: bolder;
overflow: hidden;
transition: all .3s ease-out;
position: relative;
padding: 1rem;
border: var(--pyq-boder);
height: 160px;
display: flex;
align-content: space-between;
flex-direction: column;
justify-content: space-between;
box-shadow: var(--heo-shadow-border);
}
.cf-article-item[data-v-56cae500] {
width: 50% !important;
}
.cf-article-author[data-v-56cae500],
.cf-img-avatar[data-v-56cae500] {
align-self: center;
text-align: center;
transition: .3s;
}
.cf-img-avatar[data-v-56cae500] {
display: inline-block !important;
position: absolute;
width: 40%;
border-radius: 50%;
margin: 0 0 -4px !important;
background: #fff;
opacity: .1;
z-index: 0;
right: -20px;
bottom: -20px;
}
.cf-article-title[data-v-56cae500] {
font-weight: 500;
position: relative;
z-index: 2;
width: 100%;
display: block;
letter-spacing: 1.5px;
font-size: 18px;
align-self: start;
text-align: left;
line-height: 40px;
padding: 0;
margin-bottom: 10px;
transition: .3s;
-webkit-line-clamp: 3;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box !important;
-webkit-box-orient: vertical;
}
.cf-article-time[data-v-56cae500] {
font-size: 12px;
text-align: right;
float: right;
font-weight: 400;
transition: .3s;
margin-left: auto;
z-index: 1;
}
.cf-article-author[data-v-56cae500] {
line-height: 1;
font-size: 14px;
font-weight: 700;
cursor: pointer;
white-space: nowrap;
overflow: hidden;
z-index: 1;
color: var(--pyq-fontcolor);
font-size: .7rem;
background-color: var(--heo-gray-op);
padding: 8px;
border-radius: 20px;
/*display: flex;*/
align-items: center;
}
.cf-article-author[data-v-56cae500],
.cf-img-avatar[data-v-56cae500] {
align-self: center;
text-align: center;
transition: .3s;
}
#cf-footer[data-v-56cae500],
#cf-more[data-v-56cae500] {
display: flex;
flex-direction: column;
}
#cf-footer[data-v-56cae500] {
width: 100%;
margin-top: .5rem;
align-items: flex-end;
color: var(--pyq-secondtext);
}
}
@media screen and (max-width: 1400px) {
.cf-article-item[data-v-56cae500] {
width: 100%;
}
}
@media screen and (max-width: 768px) {
.cf-article-item[data-v-56cae500] {
width: 100% !important;
}
}
.lazyload {
width: 100%;
}
/* 设置进度条的背景色 */
.bar {
background: #2aae67 !important;
}
/* 友联样式 */
.link-list {
display: flex;
flex-wrap: wrap
}
/* .link-list a {
display: block;
width: 47%;
padding: 8px
} */
/* 基本样式 */
.link-list a {
display: block;
width: 47%;
padding: 8px;
box-sizing: border-box;
/* 包括padding和border在内计算宽度 */
}
/* 移动端样式调整 */
@media (max-width: 768px) {
.link-list a {
width: 100%;
/* 在小屏幕上占据整个宽度 */
padding: 12px;
/* 在小屏幕上增加内边距 */
}
}
/* 更小屏幕的样式调整 */
@media (max-width: 480px) {
.link-list a {
padding: 15px;
/* 在更小的屏幕上增加内边距 */
}
}
.link-list .inner {
display: flex;
flex-direction: column;
justify-content: center;
background: #fff;
border: 1px solid #eceff2;
padding: 0 23px;
height: 100px;
transition: color, background .2s ease-in-out;
box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
}
.link-list .inner:hover {
background: #f3f4f6;
color: #575757
}
.link-list .name {
font-size: 1.4em;
color: #000
}
.link-list .slogan {
font-size: 1em;
margin-top: .2em;
color: #757e91
}
/* 评论系统css调整 */
:root {
--waline-border: none;
--waline-box-shadow: 0 12px 40px rgb(134 151 168 / 25%);
/* 主题色 */
--waline-theme-color: #000000 !important;
--waline-active-color: #000000 !important;
/* 徽章 */
--waline-badge-color: #000000!important;
}
@media (prefers-color-scheme: dark) {
body {
--waline-box-shadow: 0 12px 40px #0f0e0d;
}
}
#wl-nick,
#wl-mail,
#wl-link {
border: 0px solid #ccc !important;
}
.wl-panel {
margin: 0em !important;
}
.wl-editor,
.wl-input {
max-width: 96%important;
}
/* 热力图css */
.ch-plugin-calendar-label {
position: absolute;
top: 20px;
left: 30px;
gutter: 5px;
}
/** 周几初标签部分样式 **/
.ch-plugin-calendar-label-text {
fill: var(--gray-500) !important;
font-size: 12px !important;
transform: translate(6px, 0px);
}
/** 隐藏月份信息 **/
.ch-domain-text {
display: none;
}
/* 修改小方块的背景填充颜色 */
[data-theme=dark] .ch-subdomain-bg {
fill: var(--gray-200);
}