This commit is contained in:
杜恒 2021-06-10 16:54:22 +08:00
parent 4fa8efe50d
commit a9bca11096
3 changed files with 14 additions and 24 deletions

File diff suppressed because one or more lines are too long

View File

@ -754,7 +754,7 @@
.motto { .motto {
color: var(--main); color: var(--main);
text-align: center; text-align: center;
word-break: break-all; word-break: break-word;
} }
} }
.count { .count {
@ -1102,7 +1102,7 @@
/* autoprefixer: on */ /* autoprefixer: on */
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
word-break: break-all; word-break: break-word;
color: var(--minor); color: var(--minor);
font-size: 13px; font-size: 13px;
font-weight: 500; font-weight: 500;
@ -1238,7 +1238,7 @@
/* autoprefixer: on */ /* autoprefixer: on */
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
word-break: break-all; word-break: break-word;
color: var(--main); color: var(--main);
font-size: 18px; font-size: 18px;
line-height: 24px; line-height: 24px;
@ -1269,7 +1269,7 @@
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
color: var(--minor); color: var(--minor);
word-break: break-all; word-break: break-word;
line-height: 22px; line-height: 22px;
max-height: 44px; max-height: 44px;
opacity: 0.85; opacity: 0.85;
@ -2225,7 +2225,7 @@
text-shadow: var(--text-shadow); text-shadow: var(--text-shadow);
text-align: center; text-align: center;
margin-bottom: 15px; margin-bottom: 15px;
word-break: break-all; word-break: break-word;
} }
&__count { &__count {
position: relative; position: relative;
@ -2325,7 +2325,7 @@
&__article { &__article {
padding-top: 15px; padding-top: 15px;
font-size: 15px; font-size: 15px;
word-break: break-all; word-break: break-word;
color: var(--routine); color: var(--routine);
h1, h1,
h2, h2,
@ -2468,7 +2468,7 @@
color: #409eff; color: #409eff;
padding: 0 8px; padding: 0 8px;
vertical-align: top; vertical-align: top;
word-break: break-all; word-break: break-word;
} }
pre[class*='language-'] { pre[class*='language-'] {
position: relative; position: relative;
@ -2482,16 +2482,6 @@
overflow: auto; overflow: auto;
padding: 0 15px 12px; padding: 0 15px 12px;
} }
&::after {
// content: '';
// position: absolute;
// top: 0;
// left: 0;
// width: 100%;
// height: 30px;
// background: inherit;
// border-radius: var(--radius-inner) var(--radius-inner) 0 0;
}
&::before { &::before {
content: ''; content: '';
position: absolute; position: absolute;
@ -2847,7 +2837,7 @@
.item { .item {
color: var(--minor); color: var(--minor);
margin-bottom: 5px; margin-bottom: 5px;
word-break: break-all; word-break: break-word;
line-height: 22px; line-height: 22px;
&:last-child { &:last-child {
margin-bottom: 0; margin-bottom: 0;
@ -2931,7 +2921,7 @@
overflow: hidden; overflow: hidden;
padding: 15px; padding: 15px;
color: #fff; color: #fff;
word-break: break-all; word-break: break-word;
transition: transform 0.35s, box-shadow 0.35s; transition: transform 0.35s, box-shadow 0.35s;
&:hover { &:hover {
transform: translateY(-5px) scale(1.025); transform: translateY(-5px) scale(1.025);
@ -3021,7 +3011,7 @@
.content { .content {
height: 140px; height: 140px;
overflow-y: auto; overflow-y: auto;
word-break: break-all; word-break: break-word;
line-height: 24px; line-height: 24px;
color: #fff; color: #fff;
.draw_image { .draw_image {
@ -3425,7 +3415,7 @@
border-radius: 0 var(--radius-inner) var(--radius-inner) 10px; border-radius: 0 var(--radius-inner) var(--radius-inner) 10px;
color: var(--main); color: var(--main);
margin-bottom: 8px; margin-bottom: 8px;
word-break: break-all; word-break: break-word;
line-height: 24px; line-height: 24px;
.parent { .parent {
color: #388bff; color: #388bff;

View File

@ -14,8 +14,8 @@
"@codemirror/view": "^0.18.16" "@codemirror/view": "^0.18.16"
}, },
"devDependencies": { "devDependencies": {
"@lopatnov/rollup-plugin-uglify": "^2.1.0", "@lopatnov/rollup-plugin-uglify": "^2.1.1",
"@rollup/plugin-node-resolve": "^13.0.0", "@rollup/plugin-node-resolve": "^13.0.0",
"rollup": "^2.50.6" "rollup": "^2.51.0"
} }
} }