fix
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,361 @@
|
||||
@charset "utf-8";
|
||||
|
||||
html {
|
||||
--theme-border: 0.1rem dashed rgb(233 240 255);
|
||||
--radius: 0.5rem;
|
||||
--text-shadow: 0 1px 5px rgba(0,0,0,.25);
|
||||
--title-shadow: 1px 1px 8px var(--background);
|
||||
--box-shadow: 0px 7px 15px 0px #a48fff30;
|
||||
--margin: 0.9rem;
|
||||
--color-red: #ff5f5f;
|
||||
--color-grey: #ededed;
|
||||
--color-white: #fff;
|
||||
--main: rgb(52 73 94);
|
||||
--colorG: rgb(52 73 94 / 80%);
|
||||
--colorF: rgb(52 73 94 / 70%);
|
||||
--colorE: rgb(52 73 94 / 60%);
|
||||
--colorD: rgb(52 73 94 / 50%);
|
||||
--colorC: rgb(52 73 94 / 35%);
|
||||
--colorB: rgb(52 73 94 / 20%);
|
||||
--colorA: rgb(52 73 94 / 10%);
|
||||
--under-background: linear-gradient(117deg,#f3efff,#e7f1ff);
|
||||
--background-color: #fff;
|
||||
--background: #f6f7ffcc;
|
||||
--border: unset;
|
||||
--theme: #ff6a6a;
|
||||
--theme-10: #ff6a6a1a;
|
||||
--theme-30: #ff6a6a4a;
|
||||
--theme-60: #ff6a6a99;
|
||||
--theme-80: #ff6a6acc;
|
||||
}
|
||||
li {
|
||||
list-style: none;
|
||||
}
|
||||
.col-mb-12.col-tb-8.col-tb-offset-2 {
|
||||
margin-left: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.typecho-option {
|
||||
padding: var(--margin)!important;
|
||||
background: var(--background);
|
||||
border-radius: var(--radius);
|
||||
list-style: none;
|
||||
font-size: 17px;
|
||||
box-shadow: var(--box-shadow);
|
||||
}
|
||||
.typecho-option span {
|
||||
margin-right:0;
|
||||
}
|
||||
|
||||
|
||||
#custom-field {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.cat_block {
|
||||
padding: var(--margin);
|
||||
color: var(--main);
|
||||
box-shadow: var(--box-shadow);
|
||||
background: var(--background);
|
||||
border-radius: var(--radius);
|
||||
border: unset;
|
||||
}
|
||||
.cat_option_menu{
|
||||
position: sticky;
|
||||
top: var(--margin);
|
||||
z-index: 9;
|
||||
}
|
||||
@media (max-width:750px) {
|
||||
.cat_option_menu{
|
||||
position: relative;
|
||||
padding-bottom: var(--margin)!important;
|
||||
}
|
||||
}
|
||||
/* 菜单的文章名 */
|
||||
.cat_mainmenu .show_title {
|
||||
display: none;
|
||||
text-align: center;
|
||||
font-size: 1.2rem;
|
||||
font-weight: bolder;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.cat_mainmenu .cat_block{
|
||||
cursor: pointer;
|
||||
}
|
||||
/* 顶部菜单 */
|
||||
.cat_mainmenu_nav {
|
||||
display: flex;
|
||||
gap: var(--margin);
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.cat_mainmenu_nav .item{
|
||||
position: relative;
|
||||
display: flex;
|
||||
text-align: center;
|
||||
font-size: 1.5rem;
|
||||
min-width: 5rem;
|
||||
flex: 1 1 auto;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
}
|
||||
.cat_mainmenu_nav .item .logo{
|
||||
width: 2rem;
|
||||
}
|
||||
.cat_mainmenu_nav .item .logo i {
|
||||
line-height: 2rem;
|
||||
}
|
||||
.cat_mainmenu_nav .item .word{
|
||||
display: block;
|
||||
max-width: 5rem;
|
||||
font-size: 0.9rem;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
.cat_mainmenu_nav .item .arrow{
|
||||
position: absolute;
|
||||
right: 0.5rem;
|
||||
bottom: 0.25rem;
|
||||
color: var(--colorD);
|
||||
font-size: 0.5rem;
|
||||
}
|
||||
.cat_mainmenu_nav div .mainmenu_nav_child {
|
||||
position: absolute;
|
||||
display: flex;
|
||||
-webkit-transform: translateY(10px);
|
||||
-moz-transform: translateY(10px);
|
||||
-ms-transform: translateY(10px);
|
||||
-o-transform: translateY(10px);
|
||||
transform: translateY(10px);
|
||||
top: 0;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
-webkit-transition: 0.5s;
|
||||
transition: 0.5s;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
background: var(--background);
|
||||
width: 100%;
|
||||
border-radius: var(--radius);
|
||||
box-shadow: var(--box-shadow);
|
||||
z-index: 2;
|
||||
padding: 0.5rem 0;
|
||||
}
|
||||
.cat_mainmenu_nav div:hover .mainmenu_nav_child {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
-webkit-transform: translateY(0);
|
||||
-moz-transform: translateY(0);
|
||||
-ms-transform: translateY(0);
|
||||
-o-transform: translateY(0);
|
||||
transform: translateY(0);
|
||||
}
|
||||
.cat_mainmenu_nav div .mainmenu_nav_child a {
|
||||
padding: 0.5rem;
|
||||
text-align: center;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.cat_menu{
|
||||
position: sticky;
|
||||
top: var(--margin);
|
||||
z-index: 9;
|
||||
}
|
||||
.cat_categorymenu{
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--margin);
|
||||
justify-content: center;
|
||||
}
|
||||
.cat_categorymenu li{
|
||||
height: auto;
|
||||
padding: 0.25rem 0.5rem;
|
||||
font-size: 0.9rem;
|
||||
position: relative;
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.cat_mainmenu {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.cat_categorymenu li .category_nav_child {
|
||||
position: absolute;
|
||||
display: flex;
|
||||
-webkit-transform: translateY(10px);
|
||||
-moz-transform: translateY(10px);
|
||||
-ms-transform: translateY(10px);
|
||||
-o-transform: translateY(10px);
|
||||
transform: translateY(10px);
|
||||
top: 2rem;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
-webkit-transition: 0.5s;
|
||||
transition: 0.5s;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
background: var(--background);
|
||||
width: 100%;
|
||||
min-width: 6rem;
|
||||
border-radius: var(--radius);
|
||||
box-shadow: var(--box-shadow);
|
||||
z-index: 2;
|
||||
padding: 0.2rem 0;
|
||||
}
|
||||
.cat_categorymenu li .category_nav_child a {
|
||||
padding: 0.5rem;
|
||||
text-align: center;
|
||||
}
|
||||
.cat_categorymenu li:hover .category_nav_child {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
-webkit-transform: translateY(0);
|
||||
-moz-transform: translateY(0);
|
||||
-ms-transform: translateY(0);
|
||||
-o-transform: translateY(0);
|
||||
transform: translateY(0)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.typecho-option .backup_botton_green {
|
||||
color: white;
|
||||
background: green;
|
||||
padding: 0.5rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
.typecho-option .backup_botton_red {
|
||||
color: white;
|
||||
background: red;
|
||||
padding: 0.5rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
input[type=text],input[type=number],ul.token-input-list,.category-option ul,.upload-area, textarea, select, #custom-field , #custom-field input:not(#token-input-tags), .w-50 a, .btn {
|
||||
list-style: none;
|
||||
cursor: pointer;
|
||||
border-radius: var(--radius)!important;
|
||||
border: var(--theme-border);
|
||||
height: auto;
|
||||
background: #fff;
|
||||
color: #444;
|
||||
}
|
||||
input[type=text], input[type=password], input[type=email], textarea {
|
||||
width:100%;
|
||||
}
|
||||
textarea {
|
||||
min-height: 100px;
|
||||
}
|
||||
input#slug {
|
||||
cursor: auto;
|
||||
border: none!important;
|
||||
}
|
||||
.btn{
|
||||
padding: 7px;
|
||||
}
|
||||
|
||||
#wmd-button-row {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
label.typecho-label:not(#custom-field-expand):before {
|
||||
content: "🌻 ";
|
||||
z-index: 1;
|
||||
}
|
||||
.wmd-button,
|
||||
.origin_btn {
|
||||
margin: 0.2rem;
|
||||
padding: 0.5rem!important;
|
||||
border-radius: var(--radius)!important;
|
||||
}
|
||||
.wmd-button svg,
|
||||
.origin_btn svg {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.wmd-edittab {
|
||||
display: none;
|
||||
}
|
||||
.wmd-edittab a{
|
||||
border: 1px dashed #adadad;
|
||||
padding: 0.2rem 0.5rem;
|
||||
border-radius: 20%;
|
||||
}
|
||||
#wmd-editarea{
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
/* 隐藏默认按钮 */
|
||||
#wmd-image-button,#wmd-link-button,#wmd-code-button,#wmd-spacer1,#btn-preview {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.wmd-prompt-dialog {
|
||||
border-radius: var(--radius);
|
||||
border: var(--theme-border);
|
||||
transform: translate(-50%, -50%);
|
||||
margin: 0;
|
||||
max-width: calc(90vw - 20px);
|
||||
background: linear-gradient(117deg,#f3efff,#e7f1ff);
|
||||
}
|
||||
body {
|
||||
background: linear-gradient(117deg,#f3efff,#e7f1ff);
|
||||
}
|
||||
select{
|
||||
margin-bottom: 10px;
|
||||
width: 100%;
|
||||
padding: 5px;
|
||||
height: auto!important;
|
||||
}
|
||||
.characterblock span{
|
||||
margin: 0.25rem;
|
||||
font-size: 1rem;
|
||||
line-height: 2rem;
|
||||
display: inline-block;
|
||||
padding: 0 0.25rem;
|
||||
cursor: pointer;
|
||||
border-radius: 20%!important;
|
||||
}
|
||||
.option_gonggao .button{
|
||||
cursor: pointer;
|
||||
}
|
||||
.option_gonggao .text div{
|
||||
border-bottom: 1px dashed #ff7d7d61;
|
||||
}
|
||||
.editor_emoji{
|
||||
cursor: pointer;
|
||||
margin: 0.25rem;
|
||||
font-size: 1.25rem;
|
||||
line-height: 2rem;
|
||||
}
|
||||
|
||||
.cat_basic_welcome .commentinfos{
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
.cat_basic_welcome .diary_lovers_avatar {
|
||||
display: none;
|
||||
}
|
||||
.typecho-page-main .typecho-option .multiline {
|
||||
display: inline-block;
|
||||
margin: 0.5rem;
|
||||
}
|
||||
.theme_title {
|
||||
font-size: 4rem;
|
||||
text-align: center;
|
||||
padding:1rem;
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 396 KiB |
@@ -0,0 +1 @@
|
||||
import{S as L,i as M,s as Q,a as K,I as O,c as W,e as _,t as P,b as C,d as v,f as h,g as R,h as T,j as p,k as s,l as H,m as X,n as Y,o as i,p as F,q,u as Z,r as ee,v as te,w as se,x as ae,y as le,z as re,A as oe}from"./translation.js";import{g as ne,a as G,s as ie}from"./setting-utils.js";const ue=e=>({}),J=e=>({});function ce(e){let a,t,l,r,o,c,n,d,b,f,u,m,g,x,k,$,y,I=K(O.themeColor)+"";const w=e[4]["restore-icon"],D=W(w,e,e[3],J);return{c(){a=_("div"),t=_("div"),l=_("div"),r=P(I),o=C(),c=_("button"),n=_("div"),D&&D.c(),d=C(),b=_("div"),f=_("div"),u=P(e[0]),m=C(),g=_("div"),x=_("input"),this.h()},l(s){a=v(s,"DIV",{id:!0,class:!0});var i=h(a);t=v(i,"DIV",{class:!0});var k=h(t);l=v(k,"DIV",{class:!0});var $=h(l);r=R($,I),o=T($),c=v($,"BUTTON",{"aria-label":!0,class:!0});var _=h(c);n=v(_,"DIV",{class:!0});var y=h(n);D&&D.l(y),y.forEach(p),_.forEach(p),$.forEach(p),d=T(k),b=v(k,"DIV",{class:!0});var w=h(b);f=v(w,"DIV",{id:!0,class:!0});var V=h(f);u=R(V,e[0]),V.forEach(p),w.forEach(p),k.forEach(p),m=T(i),g=v(i,"DIV",{class:!0});var E=h(g);x=v(E,"INPUT",{"aria-label":!0,type:!0,min:!0,max:!0,class:!0,id:!0,step:!0,style:!0}),E.forEach(p),i.forEach(p),this.h()},h(){s(n,"class","text-[var(--btn-content)] svelte-3akcb9"),s(c,"aria-label","Reset to Default"),s(c,"class","btn-regular w-7 h-7 rounded-md active:scale-90 svelte-3akcb9"),H(c,"opacity-0",e[0]===e[1]),H(c,"pointer-events-none",e[0]===e[1]),s(l,"class","flex gap-2 font-bold text-lg text-neutral-900 dark:text-neutral-100 transition relative ml-3 before:w-1 before:h-4 before:rounded-md before:bg-[var(--primary)] before:absolute before:-left-3 before:top-[0.33rem] svelte-3akcb9"),s(f,"id","hueValue"),s(f,"class","transition bg-[var(--btn-regular-bg)] w-10 h-7 rounded-md flex justify-center font-bold text-sm items-center text-[var(--btn-content)] svelte-3akcb9"),s(b,"class","flex gap-1 svelte-3akcb9"),s(t,"class","flex flex-row gap-2 mb-3 items-center justify-between svelte-3akcb9"),s(x,"aria-label",K(O.themeColor)),s(x,"type","range"),s(x,"min","0"),s(x,"max","360"),s(x,"class","slider svelte-3akcb9"),s(x,"id","colorSlider"),s(x,"step","5"),X(x,"width","100%"),s(g,"class","w-full h-6 px-1 bg-[oklch(0.80_0.10_0)] dark:bg-[oklch(0.70_0.10_0)] rounded select-none svelte-3akcb9"),s(a,"id","display-setting"),s(a,"class","float-panel float-panel-closed absolute transition-all w-80 right-4 px-4 py-4 svelte-3akcb9")},m(s,p){Y(s,a,p),i(a,t),i(t,l),i(l,r),i(l,o),i(l,c),i(c,n),D&&D.m(n,null),i(t,d),i(t,b),i(b,f),i(f,u),i(a,m),i(a,g),i(g,x),F(x,e[0]),k=!0,$||(y=[q(c,"click",e[2]),q(x,"change",e[5]),q(x,"input",e[5])],$=!0)},p(e,[s]){D&&D.p&&(!k||8&s)&&Z(D,w,e,e[3],k?te(w,e[3],s,ue):ee(e[3]),J),(!k||3&s)&&H(c,"opacity-0",e[0]===e[1]),(!k||3&s)&&H(c,"pointer-events-none",e[0]===e[1]),(!k||1&s)&&se(u,e[0]),1&s&&F(x,e[0])},i(e){k||(ae(D,e),k=!0)},o(e){le(D,e),k=!1},d(e){e&&p(a),D&&D.d(e),$=!1,re(y)}}}function de(e,s,a){let{$$slots:t={},$$scope:l}=s,r=ne();const i=G();return e.$$set=e=>{"$$scope"in e&&a(3,l=e.$$scope)},e.$$.update=()=>{1&e.$$.dirty&&(r||0===r)&&ie(r)},[r,i,function(){a(0,r=G())},l,t,function(){r=oe(this.value),a(0,r)}]}class pe extends L{constructor(e){super(),M(this,e,de,ce,Q,{})}}export{pe as default};
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
const r=()=>{},f=t=>(e,r,n,{client:o})=>{if(!t.hasAttribute("ssr"))return;const s={};for(const[t,e]of Object.entries(n))s[t]=c(t,e);try{const n=new e({target:t,props:{...r,$$slots:s,$$scope:{ctx:[]}},hydrate:"only"!==o,$$inline:!0});t.addEventListener("astro:unmount",(()=>n.$destroy()),{once:!0})}finally{}};function c(t,e){let n;return[()=>({m(r){n=r,r.insertAdjacentHTML("beforeend",`<astro-slot${"default"===t?"":` name="${t}"`}>${e}</astro-slot>`)},c:r,l:r,d(){if(!n)return;const e=n.querySelector("astro-slot"+("default"===t?":not([name])":`[name="${t}"]`));e&&e.remove()}}),r,r]}export{f as default};
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
const o="light",s="dark",a="auto",c=a;function n(){const e=document.getElementById("config-carrier");return parseInt(e?.dataset.hue||"250")}function u(){const e=localStorage.getItem("hue");return e?parseInt(e):n()}function m(e){localStorage.setItem("hue",String(e));const t=document.querySelector(":root");t&&t.style.setProperty("--hue",e)}function r(e){switch(e){case o:document.documentElement.classList.remove("dark");break;case s:document.documentElement.classList.add("dark");break;case a:window.matchMedia("(prefers-color-scheme: dark)").matches?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")}}function d(e){localStorage.setItem("theme",e),r(e)}function l(){return localStorage.getItem("theme")||c}export{a as A,s as D,o as L,n as a,l as b,d as c,r as d,u as g,m as s};
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user