123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190 |
- /* no use tailwind default css*/
- @tailwind base;
- @tailwind components;
- @tailwind utilities;
- :root {
- font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
- line-height: 1.5;
- font-weight: 400;
- color-scheme: light dark;
- color: rgba(255, 255, 255, 0.87);
- /*background-color: #242424;*/
- font-synthesis: none;
- text-rendering: optimizeLegibility;
- --vt-c-white: #ffffff;
- --vt-c-white-soft: #f8f8f8;
- --vt-c-white-mute: #d3d3d3;
- --vt-c-black: #181818;
- --vt-c-black-soft: #222222;
- --vt-c-black-mute: #282828;
- --vt-c-indigo: #2c3e50;
- --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
- --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
- --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
- --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
- --vt-c-text-light-1: var(--vt-c-indigo);
- --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
- --vt-c-text-light-3: #56a7fb;
- --vt-c-text-dark-1: var(--vt-c-white);
- --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
- --vt-c-text-dark-3: #56a7fb;
- --vt-c-text-light-title: #fffff;
- --vt-c-text-red: #e74c3c;
- --vt-blue-500: #56a7fb;
- --vt-c-blue-500: #56a7fb;
- }
- :root {
- --color-background: var(--vt-c-white);
- --color-background-soft: var(--vt-c-white-soft);
- --color-background-mute: var(--vt-c-white-mute);
- --color-border: var(--vt-c-divider-light-2);
- --color-border-hover: var(--vt-c-divider-light-1);
- --color-heading: var(--vt-c-text-light-1);
- --color-text: var(--vt-c-text-light-1);
- --color-text-title: var(--vt-c-text-light-title);
- --color-text-show: var(--vt-c-text-light-3);
- --color-text-money: var(--vt-c-text-red);
- --color-btn-bg: var(--vt-c-indigo);
- --color-btn-text: var(--vt-c-white);
- --color-btn-bg-hover: var(--vt-c-text-light-1);
- --color-btn-text-hover: var(--vt-c-white);
- --color-btn-text-disabled: var(--vt-c-text-light-2);
- --color-btn-text-disabled-hover: var(--vt-c-text-light-2);
- --color-btn-bg-disabled: var(--vt-c-indigo);
- --color-btn-bg-disabled-hover: var(--vt-c-indigo);
- --color-btn-bg-active: var(--vt-c-indigo);
- --color-btn-text-active: var(--vt-c-white);
- --color-shadow: var(--vt-c-divider-light-2);
- --color-shadow-hover: var(--vt-c-divider-light-1);
- --section-gap: 160px;
- }
- @media (prefers-color-scheme: dark) {
- :root {
- --color-background: var(--vt-c-black);
- --color-background-soft: var(--vt-c-black-soft);
- --color-background-mute: var(--vt-c-black-mute);
- --color-border: var(--vt-c-divider-dark-2);
- --color-border-hover: var(--vt-c-divider-dark-1);
- --color-shadow: var(--vt-c-white-mute);
- --color-shadow-hover: var(--vt-c-white-soft);
- --color-heading: var(--vt-c-text-dark-1);
- /*--color-text-title: var(--vt-c-text-dark-title);*/
- --color-text-pirmary: var(--vt-c-text-dark-1);
- --color-text-subtitle: var(--vt-c-text-dark-2);
- --color-text-show: var(--vt-c-text-dark-3);
- --color-text-money: var(--vt-c-text-red);
- --color-btn-bg: var(--vt-c-indigo);
- --color-btn-bg-hover: var(--vt-c-indigo);
- --color-btn-text: var(--vt-c-white);
- --color-btn-text-hover: var(--vt-c-white);
- }
- }
- *{
- /*box-size: border-box;*/
- margin: 0;
- padding: 0;
- /* 禁止 拖拽元素 */
- -webkit-user-drag: none;
- user-select:none;
- }
- html , body{
- font-size: 16px;
- width: 100%;
- height: 100%;
- /* electron no frame */
- overflow: hidden;
- }
- #app {
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- /*margin: 5px;*/
- }
- a {
- font-weight: 500;
- color: #646cff;
- text-decoration: inherit;
- }
- a:hover {
- color: #535bf2;
- }
- @media (prefers-color-scheme: light) {
- :root {
- color: #213547;
- /*background-color: #ffffff;*/
- }
- a:hover {
- color: #747bff;
- }
- button {
- background-color: #f9f9f9;
- }
- }
- .slide-left-enter-active,
- .slide-left-leave-active,
- .slide-right-enter-active,
- .slide-right-leave-active {
- transition: transform 0.3s;
- }
- .slide-right-enter-from {
- transform: translateX(0);
- }
- .slide-right-enter-to {
- transform: translateX(-100%);
- }
- .slide-right-leave-from {
- transform: translateX(0);
- }
- .slide-right-leave-to {
- transform: translateX(-100%);
- }
- .slide-left-enter-from {
- transform: translateX(-200%);
- }
- .slide-left-enter-to {
- transform: translateX(-100%);
- }
- .slide-left-leave-from {
- transform: translateX(0);
- }
- .slide-left-leave-to {
- transform: translateX(100%);
- }
|