Version 1.0 upload

This commit is contained in:
aki
2025-04-08 00:05:15 +08:00
parent 2eff273486
commit 35378d17d0
38 changed files with 2096 additions and 598 deletions
+134 -86
View File
@@ -1,96 +1,144 @@
:root {
font-family: 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;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
a {
font-weight: 500;
color: #646cff;
text-decoration: inherit;
}
a:hover {
color: #535bf2;
/* Global styles */
h1,
h2,
h3,
h4,
h5,
h6 {
margin-bottom: 0px;
}
body {
margin: 0;
display: flex;
place-items: center;
min-width: 320px;
min-height: 100vh;
margin: 0;
padding: 0;
overflow: hidden;
font-family: sans-serif;
}
h1 {
font-size: 3.2em;
line-height: 1.1;
.scrolling-background {
position: fixed;
top: 0;
left: 0;
width: 100%; /* Ensure it covers full width */
height: 100vh; /* Full viewport height */
background-image: url('./assets/bg1.jpg');
background-repeat: repeat-x;
background-size: auto 100%; /* Maintain width and fill height */
animation: scroll-bg 30s linear infinite;
z-index: -2;
}
#app {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
text-align: center;
}
.logo {
height: 6em;
padding: 1.5em;
will-change: filter;
transition: filter 300ms;
}
.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.vanilla:hover {
filter: drop-shadow(0 0 2em #3178c6aa);
}
.card {
padding: 2em;
}
.read-the-docs {
color: #888;
}
button {
border-radius: 8px;
border: 1px solid transparent;
padding: 0.6em 1.2em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
background-color: #1a1a1a;
cursor: pointer;
transition: border-color 0.25s;
}
button:hover {
border-color: #646cff;
}
button:focus,
button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
}
@media (prefers-color-scheme: light) {
:root {
color: #213547;
background-color: #ffffff;
@keyframes scroll-bg {
from {
background-position: 0 0;
}
a:hover {
color: #747bff;
}
button {
background-color: #f9f9f9;
to {
background-position: -100% 0;
}
}
.color-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba(33, 37, 41, 0.925);
z-index: -1;
}
.widget {
border: 1px solid rgb(0, 0, 0, 0.20);
background-color: rgb(31, 35, 39, 0.9);
padding: 15px;
margin-bottom: 15px;
border-radius: 5px;
}
.widget-header {
margin-bottom: 10px;
font-weight: bold;
}
.widget-body {
/* Widget body styles */
}
.icon-widget {
padding: 10px;
text-align: center;
}
/* Layout Specific Styles */
.centered-layout {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.three-column-layout {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
padding: 20px;
}
.split-column-layout {
display: grid;
grid-template-columns: 250px 1fr;
/* Sidebar and content */
gap: 20px;
padding: 20px;
}
.split-column-layout.collapsed-sidebar {
grid-template-columns: 80px 1fr;
/* Collapsed sidebar width */
}
/* Modal Styles */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
/* Semi-transparent overlay */
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
/* Ensure modal is on top */
}
.modal-content {
background-color: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
width: 80%;
/* Adjust as needed */
max-width: 800px;
/* Maximum width */
}
/* Responsive adjustments (example) */
@media (max-width: 768px) {
.three-column-layout {
grid-template-columns: 1fr;
/* Stack columns on smaller screens */
}
.split-column-layout {
grid-template-columns: 1fr;
/* Stack sidebar and content */
}
.split-column-layout.collapsed-sidebar {
grid-template-columns: 1fr;
/* Stack even if collapsed */
}
}