diff --git a/src/App.scss b/src/App.scss index 3510121..2084121 100644 --- a/src/App.scss +++ b/src/App.scss @@ -69,14 +69,24 @@ .ka-footer { width: 100%; display: flex; + margin: 1rem 0; align-items: center; flex-direction: column; justify-content: center; - div { + .searched { + width: 100%; display: flex; align-items: center; - flex-direction: row; + justify-content: center; + } + + .footer { + margin: 1rem 0; + width: 100%; + display: flex; + align-items: flex-end; + flex-direction: column; justify-content: center; } } diff --git a/src/App.tsx b/src/App.tsx index 1d6209d..5b23385 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -130,7 +130,8 @@ function Footer() { ) : <> : <>}
- © 2020-2025 Project_IO. MIT License. Powered by WSERVER. + © 2020-2025 Project_IO. All rights reserved. + Powered by WSERVER.
); diff --git a/src/components/directory/directory.scss b/src/components/directory/directory.scss index a7e940b..b6215fe 100644 --- a/src/components/directory/directory.scss +++ b/src/components/directory/directory.scss @@ -18,7 +18,7 @@ padding: 0.25rem 10px; place-items: left center; transition-duration: 300ms; - grid-template-columns: 0.1fr 2fr 1fr 1fr; + grid-template-columns: 0.15fr 2fr 1fr 1fr; &:hover { transition-duration: 300ms; @@ -28,14 +28,27 @@ .ka-dir-item { display: flex; align-items: center; - } + } a:hover.ka-dir-item { text-decoration: underline; } + + @media (max-width: 640px) { + grid-template-columns: 0.05fr 1fr; + + #size, #date { + display: none; + } + } } } .ka-readme { - padding: 1rem; + padding: 1rem 1rem 0 1rem; + + h1, h2 { + width: 100%; + border-bottom: 1px solid var(--foreground); + } } diff --git a/src/components/directory/index.tsx b/src/components/directory/index.tsx index e58387c..f009e8b 100644 --- a/src/components/directory/index.tsx +++ b/src/components/directory/index.tsx @@ -19,8 +19,8 @@ function Directory() {
Name - Size - Date + Size + Date
{path.data.path === "/" ? <> : ( @@ -56,12 +56,12 @@ function DirItem({ data }: { data: DirEntry }) { {data.name} - + {data.is_dir ? ( "-" ): convert(data.file_size)} - + {data.date === -1 ? "-" : new Date(data.date * 1000).toLocaleString("en-US", { weekday: "short", year: "numeric",