| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <!DOCTYPE html>
- <html lang="zh-CN">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>登录 - 极简边框强调</title>
- <script src="https://cdn.tailwindcss.com"></script>
- <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
- <style>body { font-family: 'Inter', sans-serif; }</style>
- </head>
- <body class="min-h-screen flex items-center justify-center p-4 bg-white">
- <div class="w-full max-w-sm">
- <!-- Card with border -->
- <div class="border-2 border-black p-8">
- <!-- Logo -->
- <div class="mb-10">
- <div class="flex items-center gap-2 mb-8">
- <div class="w-8 h-8 bg-black flex items-center justify-center">
- <svg class="w-4 h-4 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
- <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z"/>
- </svg>
- </div>
- <span class="font-semibold text-black">TG Live</span>
- </div>
- <h1 class="text-2xl font-bold text-black">登录</h1>
- </div>
- <!-- Form -->
- <form class="space-y-5">
- <div>
- <label class="block text-black text-sm font-medium mb-2">用户名</label>
- <input type="text" placeholder="输入用户名"
- class="w-full px-0 py-3 bg-transparent border-b-2 border-gray-300 text-black placeholder-gray-400 focus:outline-none focus:border-black transition-colors">
- </div>
- <div>
- <label class="block text-black text-sm font-medium mb-2">密码</label>
- <input type="password" placeholder="输入密码"
- class="w-full px-0 py-3 bg-transparent border-b-2 border-gray-300 text-black placeholder-gray-400 focus:outline-none focus:border-black transition-colors">
- </div>
- <div class="flex items-center justify-between text-sm pt-2">
- <label class="flex items-center text-gray-600 cursor-pointer">
- <input type="checkbox" class="w-4 h-4 border-2 border-black text-black focus:ring-black mr-2">
- 记住我
- </label>
- <a href="#" class="text-black font-medium underline underline-offset-4">忘记密码?</a>
- </div>
- <button type="submit" class="w-full py-3.5 bg-black hover:bg-gray-900 text-white font-medium transition-colors cursor-pointer mt-6">
- 登录
- </button>
- </form>
- <!-- Divider -->
- <div class="flex items-center my-8">
- <div class="flex-1 h-px bg-gray-300"></div>
- <span class="px-4 text-gray-400 text-sm">或</span>
- <div class="flex-1 h-px bg-gray-300"></div>
- </div>
- <!-- Social -->
- <button class="w-full py-3 border-2 border-black hover:bg-black hover:text-white transition-colors flex items-center justify-center gap-2 cursor-pointer font-medium">
- <svg class="w-5 h-5" viewBox="0 0 24 24" fill="currentColor"><path d="M12.545,10.239v3.821h5.445c-0.712,2.315-2.647,3.972-5.445,3.972c-3.332,0-6.033-2.701-6.033-6.032s2.701-6.032,6.033-6.032c1.498,0,2.866,0.549,3.921,1.453l2.814-2.814C17.503,2.988,15.139,2,12.545,2C7.021,2,2.543,6.477,2.543,12s4.478,10,10.002,10c8.396,0,10.249-7.85,9.426-11.748L12.545,10.239z"/></svg>
- Google
- </button>
- </div>
- <!-- Footer -->
- <p class="text-center text-gray-600 text-sm mt-6">
- 还没有账户?<a href="#" class="text-black font-medium underline underline-offset-4">注册</a>
- </p>
- </div>
- </body>
- </html>
|