-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
116 lines (103 loc) · 2.15 KB
/
index.css
File metadata and controls
116 lines (103 loc) · 2.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
/* 🌍 画面全体 */
body {
font-family: 'Arial', sans-serif;
background: radial-gradient(circle, #1a1a2e, #16213e);
color: white;
text-align: center;
margin: 0;
padding: 20px;
}
/* 📌 ヘッダー */
.header {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
padding: 1rem 2rem;
margin: 2rem auto 1rem auto;
max-width: 600px;
}
h1 {
font-size: 24px;
}
/* 📌 タブメニュー */
.tab-menu {
display: flex;
justify-content: center;
margin-top: 20px;
gap: 1rem;
margin-bottom: 1rem;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}
.tab-button {
padding: 10px 20px;
font-size: 16px;
border: 2px solid white;
background: rgba(255, 255, 255, 0.1);
cursor: pointer;
transition: background 0.3s, border-color 0.3s;
border-radius: 5px;
color: white;
}
.tab-button:hover {
background: rgba(255, 255, 255, 0.2);
}
.tab-button.active {
background: #007bff;
border-color: #0056b3;
}
/* 📌 情報エリア */
.info-tab {
display: none;
margin-top: 20px;
padding: 1.5rem;
margin: 0 auto 2rem auto;
max-width: 600px;
min-height: 120px;
}
.info-tab.active {
display: block;
}
/* 📌 情報カード */
.custom-card {
background: rgba(255, 255, 255, 0.1);
border-radius: 10px;
padding: 20px;
margin: 10px auto;
backdrop-filter: blur(10px);
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}
/* 🚀 ぐるぐる回る地球 */
.spin-slow {
display: inline-block;
animation: spin 8s linear infinite;
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
/* 📱 スマホ対応 */
@media (max-width: 600px) {
h1 {
font-size: 20px;
}
.tab-button {
font-size: 14px;
padding: 8px 16px;
}
}
/* ガラスUI共通 */
.glass {
background: rgba(255, 255, 255, 0.2); /* 半透明白 */
border-radius: 16px;
box-shadow: 0 4px 32px 0 rgba(0,0,0,0.12);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255,255,255,0.3);
}