diff --git a/static/main.css b/static/main.css index 7513f9b..f38896f 100644 --- a/static/main.css +++ b/static/main.css @@ -654,3 +654,60 @@ pre code { width: 0%; } + +/* Tabs layout styles */ +.tab-layout { + display: block; + padding: 20px; + max-width: 1100px; + margin: 0 auto; +} + +.tab-nav { + display: flex; + gap: 8px; + background: #ffffff; + border: 1px solid #e2e8f0; + border-radius: 12px; + padding: 8px; + margin: 10px 0 20px 0; + position: sticky; + top: 0; + z-index: 5; + backdrop-filter: blur(8px); +} + +.tab-btn { + appearance: none; + background: #f1f5f9; + border: 1px solid #e2e8f0; + color: #0f172a; + padding: 10px 14px; + border-radius: 8px; + cursor: pointer; + font-weight: 600; + font-size: 14px; + transition: all 0.15s ease; +} + +.tab-btn:hover { + background: #e2e8f0; +} + +.tab-btn.active { + background: #3b82f6; + border-color: #3b82f6; + color: #ffffff; + box-shadow: 0 4px 10px rgba(59, 130, 246, 0.25); +} + +.tab-panels { margin-top: 10px; } + +.tab-panel { display: block; } + +.tab-panel[hidden] { display: none; } + +@media (max-width: 640px) { + .tab-layout { padding: 12px; } + .tab-nav { position: static; } +} diff --git a/views/index.html b/views/index.html index 93fc586..8b6f3e2 100644 --- a/views/index.html +++ b/views/index.html @@ -1,111 +1,128 @@ {{define "content"}} -
FITRA (File Transfer API) is a lightweight, developer-friendly file sharing service designed for CLI usage and automation.
- -Files are automatically deleted after 24 hours. This service is designed for temporary file sharing and should not be used for permanent storage.
- -Matrix: @root@adhd.sh
-Discord: nu11ed
--
-
-
FITRA (File Transfer API) is a lightweight, developer-friendly file sharing service designed for CLI usage and automation.
+ +Files are automatically deleted after 24 hours. This service is designed for temporary file sharing and should not be used for permanent storage.
+ +Matrix: @root@adhd.sh
+Discord: nu11ed
+