Skip to content

Commit

Permalink
修复文字卡片标题部分字母下半部分显示不完整、内置两只可调戏的猫咪
Browse files Browse the repository at this point in the history
  • Loading branch information
BigCoke233 authored Jul 24, 2019
1 parent 8df9340 commit 38353f6
Show file tree
Hide file tree
Showing 39 changed files with 1,224 additions and 72 deletions.
34 changes: 21 additions & 13 deletions assets/css/dark.miracles.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
}
/* Need Shadow */
.body-dark .dark-button,
.body-dark .gotop-button,
.body-dark .post-body,
.body-dark .post-item,
.body-dark .post-pagenav a,
Expand All @@ -50,11 +49,13 @@
-moz-box-shadow: 0 0 36px #323232!important;
-webkit-box-shadow: 0 0 36px #323232!important
}
.body-dark .links-item {
box-shadow: 0 0 2px #323232!important
.body-dark .links-item,
.body-dark .gotop-button {
box-shadow: 0 1px 3px #323232!important
}
.body-dark .links-item:hover {
box-shadow: 0 0 22px #323232!important
.body-dark .links-item:hover,
.body-dark .gotop-button:hover {
box-shadow: 0 4px 22px #323232!important
}
/* Need #646464 bg */
.body-dark .archives-list a:hover,
Expand All @@ -65,7 +66,7 @@
.body-dark .bubble.saying-body,
.body-dark .tags-item a,
.body-dark .options-button-active {
background: #646464
background: #646464!important;
}
/* Need #5a5a5a bg */
.body-dark .search-form input,
Expand All @@ -90,10 +91,6 @@
.body-dark .options-family-button {
background: #5a5a5a!important
}
/* Need #5a5a5a color */
.body-dark .options-theme-label {
color: #5a5a5a!important;
}
/* OwO */
.body-dark .OwO-item,
.body-dark .OwO-bar {
Expand Down Expand Up @@ -127,9 +124,15 @@
.body-dark .mobile-menu a,
.body-dark .mobile-menu-close,
.body-dark .mobile-menu-footer,
.body-dark .options-family-button {
.body-dark .options-family-button,
.body-dark .options-theme-item:hover .options-theme-label,
.body-dark .options-contentsize-button {
color: #fafafa!important
}
/* Need #5a5a5a color */
.body-dark .options-theme-label{
color: #5a5a5a!important;
}
/* Need dark border-color */
.body-dark .comment-form input,
.body-dark .comment-form textarea,
Expand All @@ -143,13 +146,18 @@
.body-dark .mobile-menu-title,
.body-dark .mobile-menu-footer,
.body-dark .saying-textarea,
.body-dark .options hr {
.body-dark .options hr{
border-color: #6e6e6e!important;
}
.body-dark .tip {
border-top-color: #6e6e6e!important;
border-bottom-color: #6e6e6e!important;
border-right-color: #6e6e6e!important;
}
.body-dark .comment-by-author .bubble.comment-content:before,
.body-dark .bubble.comment-content:before,
.body-dark .bubble.saying-body:before {
border-right-color: #646464;
border-right-color: #646464!important;
}
/* Darker Mask */
.body-dark .dark-cover {
Expand Down
112 changes: 94 additions & 18 deletions assets/css/miracles.min.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ a {
text-decoration: none;
color: #000
}
html {
font-size: 16px;
}
body,html {
padding: 0;
margin: 0;
Expand Down Expand Up @@ -65,15 +68,25 @@ hr {
filter: grayscale(100%);
-webkit-filter: grayscale(100%);
}
.body-sepia {
filter: sepia(35%);
-webkit-filter: sepia(35%);
}
.body-serif {
font-family: 'Noto Serif SC',serif
}
.body-noscroll {
overflow: hidden;
/* Html tag class for filter */
.html-filter-gray {
filter: grayscale(100%);
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
}
.html-filter-sepia {
filter: sepia(30%);
-webkit-filter: sepia(30%);;
-moz-filter: sepia(30%);;
-ms-filter: sepia(30%);;
-o-filter: sepia(30%);;
filter:progid:DXImageTransform.Microsoft.BasicImage(sepia=0.30);
}

/* 组件 */
Expand Down Expand Up @@ -235,6 +248,7 @@ hr {
margin-top: 30px;
transition: color .2s;
overflow: hidden;
height: 36px;
white-space: nowrap;
text-overflow: ellipsis
}
Expand Down Expand Up @@ -442,6 +456,37 @@ hr {
text-overflow: ellipsis;
font-size: 25px
}
/* > 文章字体大小 */
.body-contentsize-small .post-content,
.body-contentsize-small .comment-content p,
.body-contentsize-small .banner-content,
.body-contentsize-small .footer-info,
.body-contentsize-small .nav-content {
font-size: 100%;
}
.body-contentsize-normal .post-content,
.body-contentsize-normal .comment-content p,
.body-contentsize-normal .banner-content,
.body-contentsize-normal .footer-info,
.body-contentsize-normal .nav-content {
font-size: 125%;
}
.body-contentsize-big .post-content,
.body-contentsize-big .comment-content p,
.body-contentsize-big .banner-content,
.body-contentsize-big .footer-info,
.body-contentsize-big .nav-content {
font-size: 140%;
}
.body-contentsize-large .post-content,
.body-contentsize-large .comment-content p,
.body-contentsize-large .banner-content,
.body-contentsize-large .footer-info,
.body-contentsize-large .nav-content {
font-size: 160%;
}


/* 标签云 */
.tags-list {
margin-left: -30px
Expand Down Expand Up @@ -674,8 +719,8 @@ hr {
.fixed-button {
background: #fdfdfd;
font-size: 16px;
height: 60px;
width: 60px;
height: 40px;
width: 40px;
display: flex;
justify-content:center;
align-items:center;
Expand Down Expand Up @@ -711,7 +756,7 @@ hr {
margin-top: 130px!important;
padding: 25px 10px;
line-height: 26px;
width: 100%
width: 100%;
}
.footer-dark a {
color: #000
Expand Down Expand Up @@ -993,15 +1038,15 @@ hr {
/* Options Pannel */
.options {
transition: all 0.3s;
background: #fff;
background: rgb(254,254,254,0.96);
border-radius: 2px;
box-shadow: 0 1px 8px #bababa;
-moz-box-shadow: 0 1px 8px #bababa;
-webkit-box-shadow: 0 1px 8px #bababa;
position: fixed;
top: 90px;
right: 10px;
left: 10px;
top: 50px;
right: 0;
left: 0;
z-index: 20;
width: 100%;
}
Expand All @@ -1024,22 +1069,26 @@ hr {
.options-family {
text-align: center;
}
.options-family button {
.options-family button,
.options-contentsize-button {
display: block;
width: 100%;
border: none;
background: #fff;
background: rgb(254,254,254,0);
font-size: 20px;
padding: 8px 0;
transition: all 0.3s;
outline: none;
cursor: pointer;
border-radius: 3px;
}
.options-contentsize-button {
font-size: 14px;
}
.options-family button:hover {
background: rgb(242,242,242);
background: rgb(244,244,244,0.96);
}
.options-family-button.options-button-active {
.options-button-active {
color: #fff;
background: var(--theme-color)!important;
}
Expand Down Expand Up @@ -1099,6 +1148,10 @@ iframe[src*="//player.bilibili.com/player.html"] {
height: 150px;
position: relative
}
/* Live2D */
#live2dcanvas {
display: none;
}
/* 响应式相关 */
.large-screen {
display: none
Expand All @@ -1108,9 +1161,25 @@ iframe[src*="//player.bilibili.com/player.html"] {
}
/* > Pad and up */
@media (min-width:768px) {
.fixed-button {
height: 60px;
width: 60px;
}

.options {
width: 400px!important;
width: 300px!important;
left: auto!important;
top: 90px;
right: 10px;
}

.options:before {
border-right: 8px solid transparent;
border-top: 16px solid rgb(254,254,254,0.96);
border-left: 8px solid transparent;
position: absolute;
top: 80px;
right: 40px;
}

.comment-content p {
Expand Down Expand Up @@ -1275,6 +1344,10 @@ iframe[src*="//player.bilibili.com/player.html"] {
.links-container {
padding: 12px;
}
#live2dcanvas {
display: block;
transform: scale(0.8);
}
}
/* Computer screen and up */
@media (min-width:1200px) {
Expand Down Expand Up @@ -1358,4 +1431,7 @@ iframe[src*="//player.bilibili.com/player.html"] {
.links-container {
padding: 15px;
}
#live2dcanvas {
transform: scale(1);
}
}
12 changes: 12 additions & 0 deletions assets/css/setting.miracles.css
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ hr {
-webkit-box-shadow: 0 1px 1px #000;
border: none;
}
[action="?MiraclesBackup"] {
margin-top: -30px;
}

/* Para */
.miracles-para-attention {
Expand All @@ -95,6 +98,15 @@ hr {
border-radius: 3px;
}

/* News */
iframe.miracles-news {
width: 100%;
border: none;
height: 60px;
margin: 0 -8px;
margin-top: -10px;
}

/* 滚动条 */
::-webkit-scrollbar {
width: 6px;
Expand Down
1 change: 1 addition & 0 deletions assets/js/l2dwidget.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 38353f6

Please sign in to comment.