diff options
| author | Eltrac <45323514+BigCoke233@users.noreply.github.com> | 2019-07-21 16:49:35 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-21 16:49:35 +0800 |
| commit | 1fc5a9328769b28a92e918e05206265cb1428404 (patch) | |
| tree | 4da595555c4441ae5fc00cb315f893a712a71470 /assets/css/setting.miracles.css | |
| parent | 0b4a6faa04150b1e9f907370199a927308404e41 (diff) | |
后台样式、支持主题备份、支持 CDN 加速静态资源、个性化设置
Diffstat (limited to 'assets/css/setting.miracles.css')
| -rw-r--r-- | assets/css/setting.miracles.css | 183 |
1 files changed, 183 insertions, 0 deletions
diff --git a/assets/css/setting.miracles.css b/assets/css/setting.miracles.css new file mode 100644 index 0000000..2e1cea0 --- /dev/null +++ b/assets/css/setting.miracles.css @@ -0,0 +1,183 @@ +@charset 'utf-8';
+
+/*
+ * Setting style for Miracles
+ * Author: Eltrac
+ * Lisence: MIT
+ */
+
+/* 全局样式 */
+:root {
+ --theme-color: #4D90FE;
+}
+
+body {
+ width: 100%;
+ background: rgb(252,252,252);
+ font-family: 'Noto Sans SC',sans-serif
+}
+
+hr {
+ border: none;
+ border-bottom: 1px solid rgb(220,220,220);
+ margin: 30px 0;
+}
+
+/* 面板 */
+.miracles-pannel {
+ background: rgba(90,90,90,0.8);
+ border-radius: 5px;
+ padding: 28px 30px;
+ margin: 40px 0;
+ margin-top: 10px;
+ color: #fff;
+ box-shadow: 0 2px 8px #ddd;
+ -moz-box-shadow: 0 2px 8px #ddd;
+ -webkit-box-shadow: 0 2px 8px #ddd;
+}
+.miracles-pannel a {
+ color: rgb(250,250,250);
+ position: relative;
+}
+.miracles-pannel a:hover {
+ text-decoration: none;
+}
+.miracles-pannel a::before {
+ content: '';
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ height: 2px;
+ background-color: rgb(250,250,250);
+ transform-origin: bottom right;
+ transform: scaleX(0);
+ transition: transform 0.5s ease;
+}
+.miracles-pannel a:hover::before {
+ transform-origin: bottom left;
+ transform: scaleX(1);
+}
+
+/* Backup */
+.miracles-backup-alert {
+ transition: all .2s;
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ padding: 15px 0;
+ background: #4D90FE;
+ text-align: center;
+}
+.miracles-backup-alert,
+.miracles-backup-alert a {
+ color: #fff;
+}
+.miracles-backup-button {
+ margin: 15px 0;
+ margin-bottom: 0;
+ padding: 6px 10px;
+ border-radius: 2px;
+ color: #fff;
+ background: rgb(100,100,100);
+ box-shadow: 0 1px 1px #000;
+ -moz-box-shadow: 0 1px 1px #000;
+ -webkit-box-shadow: 0 1px 1px #000;
+ border: none;
+}
+
+/* Para */
+.miracles-para-attention {
+ padding: 10px 12px;
+ background: red;
+ color: #fff;
+ border-radius: 3px;
+}
+
+/* 滚动条 */
+::-webkit-scrollbar {
+ width: 6px;
+ height: 5px
+}
+::-webkit-scrollbar-button {
+ display: none
+}
+::-webkit-scrollbar-thumb {
+ background: gray;
+}
+
+/* 覆盖原有样式 */
+.typecho-head-nav {
+ box-shadow: 0 0 30px #ddd;
+ -moz-box-shadow: 0 0 30px #ddd;
+ -webkit-box-shadow: 0 0 30px #ddd;
+ padding: 15px 0;
+ font-size: 15px;
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+}
+
+.typecho-page-title {
+ visibility: hidden;
+ margin-top: 90px;
+}
+
+.typecho-option li input,
+.typecho-option li textarea,
+.typecho-option li select,
+.typecho-option .btn {
+ border-radius: 4px;
+ background: #fff;
+ padding: 10px 12px;
+ box-shadow: 0 1px 5px #ddd;
+ -moz-box-shadow: 0 1px 5px #ddd;
+ -webkit-box-shadow: 0 1px 5px #ddd;
+ border-color: #ddd;
+}
+
+.typecho-option li select {
+ padding: 0 4px;
+ min-width: 100px;
+}
+
+.typecho-option li textarea {
+ resize: none;
+ height: 160px!important;
+}
+
+.typecho-option li .typecho-label {
+ font-size: 15px;
+ letter-spacing: 1px;
+ margin: 15px 0;
+ margin-top: 20px;
+}
+
+.typecho-option .btn {
+ display: block;
+ width: 100%;
+ margin: 25px 0;
+ height: 50px;
+ text-align: center;
+ background: var(--theme-color);;
+ font-size: 18px;
+}
+
+/* Media */
+@media (min-width:768px) {
+ .typecho-option-tabs {
+ margin-left: 122px;
+ }
+}
+@media (min-width:992px) {
+ .typecho-option-tabs {
+ margin-left: 160px;
+ }
+}
+@media (min-width:1200px) {
+ .typecho-option-tabs {
+ margin-left: 194px;
+ }
+}
\ No newline at end of file |
