123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290 |
- /* 重置和基础样式 */
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- body {
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
- background: #000000;
- color: white;
- min-height: 100vh;
- overflow-x: hidden;
- }
- /* 头部样式 */
- .header {
- text-align: center;
- padding: 20px;
- margin-bottom: 0px;
- }
- .site-title {
- font-size: 28px;
- font-weight: 700;
- margin-bottom: 8px;
- background: linear-gradient(45deg, #fff, #f0f0f0);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- background-clip: text;
- }
- .tagline {
- font-size: 14px;
- font-weight: 400;
- }
- /* 主要内容区域 */
- .main-content {
- padding: 0 20px;
- display: flex;
- flex-direction: column;
- gap: 16px;
- max-width: 400px;
- margin: 0 auto;
- }
- /* 卡片基础样式 */
- .card {
- border-radius: 5px;
- overflow: hidden;
- transition: all 0.3s ease;
- cursor: pointer;
- margin-bottom: 5px;
- position: relative;
- }
- .status-dot {
- margin: 58px 0 0 10px;
- position: absolute;
- top: 8px;
- left: 8px;
- width: 8px;
- height: 8px;
- border-radius: 50%;
- z-index: 10;
- box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
- }
- .status-dot.red {
- background: #ff4757;
- box-shadow: 0 0 10px rgba(255, 71, 87, 0.6);
- }
- .status-dot.green {
- background: #2ed573;
- box-shadow: 0 0 10px rgba(46, 213, 115, 0.6);
- }
- .card:hover {
- transform: translateY(-2px);
- box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
- }
- .card-link {
- text-decoration: none;
- color: inherit;
- display: block;
- }
- .card-img {
- width: 100%;
- height: auto;
- display: block;
- object-fit: contain;
- object-position: center;
- max-width: 100%;
- max-height: none;
- }
- /* 首页专用样式 */
- body.index-page {
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .index-page .container {
- text-align: center;
- width: 100%;
- max-width: 400px;
- padding: 20px;
- }
- .index-page .site-title {
- font-size: 28px;
- font-weight: 700;
- margin-bottom: 40px;
- color: white;
- background: none;
- -webkit-text-fill-color: white;
- }
- .index-page .button-container {
- display: flex;
- flex-direction: column;
- gap: 16px;
- width: 100%;
- }
- .index-page .region-button {
- display: flex;
- align-items: center;
- padding: 20px 24px;
- border-radius: 12px;
- text-decoration: none;
- color: white;
- font-weight: 500;
- font-size: 20px;
- transition: all 0.3s ease;
- position: relative;
- overflow: hidden;
- }
- .index-page .region-button:hover {
- transform: translateY(-2px);
- box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
- }
- .index-page .japan-button {
- background: linear-gradient(90deg, #4A90E2, #9B59B6);
- }
- .index-page .vietnam-button {
- background: linear-gradient(90deg, #2ECC71, #1ABC9C);
- }
- .index-page .flag-icon {
- width: 48px;
- height: 48px;
- margin-right: 16px;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .index-page .flag-circle {
- width: 40px;
- height: 40px;
- border-radius: 50%;
- position: relative;
- }
- .index-page .japan-flag .flag-circle {
- background: white;
- }
- .index-page .japan-flag .flag-center {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- width: 20px;
- height: 20px;
- background: #DC143C;
- border-radius: 50%;
- }
- .index-page .vietnam-flag .flag-circle {
- background: #DC143C;
- }
- .index-page .vietnam-flag .flag-star {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- width: 20px;
- height: 20px;
- background: #FFD700;
- clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
- }
- .index-page .region-text {
- flex: 1;
- text-align: left;
- font-weight: 500;
- }
- .index-page .go-button {
- background: white;
- color: #333;
- padding: 12px 20px;
- border-radius: 8px;
- font-size: 18px;
- font-weight: 600;
- border: none;
- }
- .index-page .japan-button .go-button {
- color: #4A90E2;
- }
- .index-page .vietnam-button .go-button {
- color: #2ECC71;
- }
- /* 响应式设计 */
- @media (max-width: 480px) {
- .main-content {
- padding: 0 16px;
- }
-
- .site-title {
- font-size: 24px;
- }
-
- .index-page .container {
- padding: 16px;
- }
-
- .index-page .site-title {
- font-size: 24px;
- margin-bottom: 30px;
- }
-
- .index-page .region-button {
- padding: 18px 18px;
- font-size: 18px;
- }
-
- .index-page .flag-icon {
- width: 44px;
- height: 44px;
- margin-right: 12px;
- }
-
- .index-page .flag-circle {
- width: 36px;
- height: 36px;
- }
-
- .index-page .japan-flag .flag-center {
- width: 18px;
- height: 18px;
- }
-
- .index-page .vietnam-flag .flag-star {
- width: 18px;
- height: 18px;
- }
- }
- /* 滚动条样式 */
- ::-webkit-scrollbar {
- width: 6px;
- }
- ::-webkit-scrollbar-track {
- background: rgba(255, 255, 255, 0.1);
- }
- ::-webkit-scrollbar-thumb {
- background: rgba(255, 255, 255, 0.3);
- border-radius: 3px;
- }
- ::-webkit-scrollbar-thumb:hover {
- background: rgba(255, 255, 255, 0.5);
- }
|