mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-04-05 07:15:06 +08:00
🌈 style(eslint): 第三次格式化
camecase 回头在部分文件 ignore 掉,不然不兼容之前的版本及外部接口 (cherry picked from commit 740b4698e916ce0f7911f5eac934183a94288e61)
This commit is contained in:
@@ -4,74 +4,74 @@
|
||||
*/
|
||||
|
||||
.anno-body {
|
||||
margin: 20px auto;
|
||||
width: 800px;
|
||||
font-family: "Genshin-Light", serif;
|
||||
margin: 20px auto;
|
||||
width: 800px;
|
||||
font-family: "Genshin-Light", serif;
|
||||
}
|
||||
|
||||
.anno-title {
|
||||
font-family: Genshin, serif;
|
||||
color: #5b738f;
|
||||
font-size: 24px;
|
||||
font-weight: 500;
|
||||
margin-bottom: 8px;
|
||||
font-family: Genshin, serif;
|
||||
color: #5b738f;
|
||||
font-size: 24px;
|
||||
font-weight: 500;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.anno-subtitle {
|
||||
font-size: 16px;
|
||||
color: #a1aeb6;
|
||||
margin-bottom: 16px;
|
||||
font-size: 16px;
|
||||
color: #a1aeb6;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.anno-img {
|
||||
max-width: 100%;
|
||||
width: 800px;
|
||||
height: auto;
|
||||
border-radius: 10px;
|
||||
margin-bottom: 10px;
|
||||
max-width: 100%;
|
||||
width: 800px;
|
||||
height: auto;
|
||||
border-radius: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.anno-content {
|
||||
line-height: 2;
|
||||
line-height: 2;
|
||||
}
|
||||
|
||||
.anno-link-icon {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
color: #00c3ff;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
color: #00c3ff;
|
||||
}
|
||||
|
||||
.anno-content :deep(a) {
|
||||
color: #00c3ff;
|
||||
text-decoration: none;
|
||||
color: #00c3ff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.anno-content :deep(p) {
|
||||
line-height: 2;
|
||||
color: #4b5366;
|
||||
line-height: 2;
|
||||
color: #4b5366;
|
||||
}
|
||||
|
||||
.anno-content :deep(details) {
|
||||
border: #35acce 2px solid;
|
||||
padding: 10px;
|
||||
border-radius: 10px;
|
||||
margin: 10px;
|
||||
border: #35acce 2px solid;
|
||||
padding: 10px;
|
||||
border-radius: 10px;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.anno-content :deep(details) div {
|
||||
margin-left: 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.anno-content :deep(details) ::marker {
|
||||
color: #35acce;
|
||||
content: "✧";
|
||||
color: #35acce;
|
||||
content: "✧";
|
||||
}
|
||||
|
||||
.anno-content :deep(ol) {
|
||||
list-style: "✧";
|
||||
list-style: "✧";
|
||||
}
|
||||
|
||||
.anno-content :deep(td) {
|
||||
line-height: 2;
|
||||
padding-left: 10px;
|
||||
line-height: 2;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
@@ -4,122 +4,122 @@
|
||||
*/
|
||||
/* todo scoped 不生效 */
|
||||
.mys-post-body {
|
||||
margin: 20px auto;
|
||||
width: 800px;
|
||||
font-family: "Genshin-Light", serif;
|
||||
margin: 20px auto;
|
||||
width: 800px;
|
||||
font-family: "Genshin-Light", serif;
|
||||
}
|
||||
|
||||
:deep(.mys-post-div) {
|
||||
margin: 20px auto;
|
||||
margin: 20px auto;
|
||||
}
|
||||
|
||||
:deep(.mys-post-span) {
|
||||
line-height: 2;
|
||||
line-height: 2;
|
||||
}
|
||||
|
||||
:deep(.mys-post-link) {
|
||||
color: #00c3ff;
|
||||
text-decoration: none;
|
||||
color: #00c3ff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
:deep(.mys-post-details) {
|
||||
border: #35acce 2px solid;
|
||||
padding: 10px;
|
||||
border-radius: 10px;
|
||||
border: #35acce 2px solid;
|
||||
padding: 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
:deep(.mys-post-details) ::marker {
|
||||
color: #35acce;
|
||||
content: "✧";
|
||||
color: #35acce;
|
||||
content: "✧";
|
||||
}
|
||||
|
||||
:deep(.mys-post-divider) {
|
||||
margin: 20px auto;
|
||||
margin: 20px auto;
|
||||
}
|
||||
|
||||
:deep(.mys-post-divider) img {
|
||||
width: 800px;
|
||||
height: auto;
|
||||
width: 800px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
:deep(.mys-post-img) {
|
||||
max-width: 100%;
|
||||
width: 800px;
|
||||
height: auto;
|
||||
border-radius: 10px;
|
||||
max-width: 100%;
|
||||
width: 800px;
|
||||
height: auto;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
:deep(.mys-post-vod) {
|
||||
width: 800px;
|
||||
height: 450px;
|
||||
border-radius: 10px;
|
||||
width: 800px;
|
||||
height: 450px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
:deep(.mys-post-iframe) {
|
||||
width: 800px;
|
||||
height: 450px;
|
||||
overflow: hidden;
|
||||
border: 0;
|
||||
border-radius: 10px;
|
||||
width: 800px;
|
||||
height: 450px;
|
||||
overflow: hidden;
|
||||
border: 0;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
:deep(.mys-post-link-card) {
|
||||
width: 800px;
|
||||
height: 200px;
|
||||
padding: 10px;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
background: #faf7e8;
|
||||
width: 800px;
|
||||
height: 200px;
|
||||
padding: 10px;
|
||||
border-radius: 10px;
|
||||
display: flex;
|
||||
background: #faf7e8;
|
||||
}
|
||||
|
||||
:deep(.mys-post-unknown) {
|
||||
width: 800px;
|
||||
background: #5b738f;
|
||||
color: #faf7e8;
|
||||
font-family: Consolas, monospace;
|
||||
border-radius: 10px;
|
||||
padding: 10px;
|
||||
margin: 10px auto;
|
||||
border: 2px solid #485466;
|
||||
width: 800px;
|
||||
background: #5b738f;
|
||||
color: #faf7e8;
|
||||
font-family: Consolas, monospace;
|
||||
border-radius: 10px;
|
||||
padding: 10px;
|
||||
margin: 10px auto;
|
||||
border: 2px solid #485466;
|
||||
}
|
||||
|
||||
:deep(.mys-post-link-card-cover) {
|
||||
width: auto;
|
||||
height: 180px;
|
||||
border-radius: 10px;
|
||||
width: auto;
|
||||
height: 180px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
:deep(.mys-post-link-card-cover) img {
|
||||
max-width: 400px;
|
||||
width: auto;
|
||||
height: 180px;
|
||||
border-radius: 10px;
|
||||
max-width: 400px;
|
||||
width: auto;
|
||||
height: 180px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
:deep(.mys-post-link-card-content) {
|
||||
width: 100%;
|
||||
padding-left: 20px;
|
||||
height: 180px;
|
||||
width: 100%;
|
||||
padding-left: 20px;
|
||||
height: 180px;
|
||||
}
|
||||
|
||||
:deep(.mys-post-link-card-title) {
|
||||
font-size: 20px;
|
||||
font-family: Genshin, serif;
|
||||
color: #546d8b;
|
||||
height: 150px;
|
||||
font-size: 20px;
|
||||
font-family: Genshin, serif;
|
||||
color: #546d8b;
|
||||
height: 150px;
|
||||
}
|
||||
|
||||
:deep(.mys-post-link-card-price) {
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
color: #ff6d6d;
|
||||
display: inline-block;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
color: #ff6d6d;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
:deep(.mys-post-link-card-btn) {
|
||||
display: inline-block;
|
||||
float: right;
|
||||
color: #00c3ff;
|
||||
margin-right: 20px;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
float: right;
|
||||
color: #00c3ff;
|
||||
margin-right: 20px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
/* 设置全局字体 */
|
||||
@font-face {
|
||||
font-family: "Genshin";
|
||||
src: url("./汉仪文黑-85W.ttf") format("truetype");
|
||||
font-family: "Genshin";
|
||||
src: url("./汉仪文黑-85W.ttf") format("truetype");
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Genshin-Light";
|
||||
src: url("./汉仪文黑-55W.ttf") format("truetype");
|
||||
font-family: "Genshin-Light";
|
||||
src: url("./汉仪文黑-55W.ttf") format("truetype");
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Consolas";
|
||||
src: url("./consolas.ttf") format("truetype");
|
||||
font-family: "Consolas";
|
||||
src: url("./consolas.ttf") format("truetype");
|
||||
}
|
||||
/* 全局字体样式 */
|
||||
.global-font {
|
||||
font-family: "Genshin", sans-serif;
|
||||
font-family: "Genshin", sans-serif;
|
||||
}
|
||||
|
||||
@@ -5,31 +5,31 @@
|
||||
* @since Alpha v0.1.1
|
||||
*/
|
||||
.dev-json {
|
||||
padding: 20px;
|
||||
border-radius: 20px;
|
||||
font-family: Consolas, serif;
|
||||
padding: 20px;
|
||||
border-radius: 20px;
|
||||
font-family: Consolas, serif;
|
||||
}
|
||||
|
||||
/* card action 内的按钮 */
|
||||
.card-btn {
|
||||
background: #4a5366;
|
||||
color: #ece5d8;
|
||||
border-radius: 50px;
|
||||
margin-left: 5px;
|
||||
background: #4a5366;
|
||||
color: #ece5d8;
|
||||
border-radius: 50px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.card-btn img {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin: 5px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.card-dev-btn {
|
||||
background: #546d8b;
|
||||
color: #faf7e8;
|
||||
background: #546d8b;
|
||||
color: #faf7e8;
|
||||
}
|
||||
|
||||
.card-dev-btn img {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user