diff options
Diffstat (limited to 'assets/css')
| -rw-r--r-- | assets/css/dark.miracles.css | 34 | ||||
| -rw-r--r-- | assets/css/miracles.min.css | 112 | ||||
| -rw-r--r-- | assets/css/setting.miracles.css | 12 |
3 files changed, 127 insertions, 31 deletions
diff --git a/assets/css/dark.miracles.css b/assets/css/dark.miracles.css index dcccd58..bb72243 100644 --- a/assets/css/dark.miracles.css +++ b/assets/css/dark.miracles.css @@ -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,
@@ -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,
@@ -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,
@@ -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 {
@@ -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,
@@ -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 {
diff --git a/assets/css/miracles.min.css b/assets/css/miracles.min.css index d296beb..ad48593 100644 --- a/assets/css/miracles.min.css +++ b/assets/css/miracles.min.css @@ -20,6 +20,9 @@ a { text-decoration: none;
color: #000
}
+html {
+ font-size: 16px;
+}
body,html {
padding: 0;
margin: 0;
@@ -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);
}
/* 组件 */
@@ -235,6 +248,7 @@ hr { margin-top: 30px;
transition: color .2s;
overflow: hidden;
+ height: 36px;
white-space: nowrap;
text-overflow: ellipsis
}
@@ -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
@@ -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;
@@ -711,7 +756,7 @@ hr { margin-top: 130px!important;
padding: 25px 10px;
line-height: 26px;
- width: 100%
+ width: 100%;
}
.footer-dark a {
color: #000
@@ -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%;
}
@@ -1024,11 +1069,12 @@ 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;
@@ -1036,10 +1082,13 @@ hr { 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;
}
@@ -1099,6 +1148,10 @@ iframe[src*="//player.bilibili.com/player.html"] { height: 150px;
position: relative
}
+/* Live2D */
+#live2dcanvas {
+ display: none;
+}
/* 响应式相关 */
.large-screen {
display: none
@@ -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 {
@@ -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) {
@@ -1358,4 +1431,7 @@ iframe[src*="//player.bilibili.com/player.html"] { .links-container {
padding: 15px;
}
+ #live2dcanvas {
+ transform: scale(1);
+ }
}
\ No newline at end of file diff --git a/assets/css/setting.miracles.css b/assets/css/setting.miracles.css index 2e1cea0..7ece2f6 100644 --- a/assets/css/setting.miracles.css +++ b/assets/css/setting.miracles.css @@ -86,6 +86,9 @@ hr { -webkit-box-shadow: 0 1px 1px #000;
border: none;
}
+[action="?MiraclesBackup"] {
+ margin-top: -30px;
+}
/* Para */
.miracles-para-attention {
@@ -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;
|
