-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.css
More file actions
64 lines (55 loc) · 1.14 KB
/
index.css
File metadata and controls
64 lines (55 loc) · 1.14 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
.tabs-container {
font-family: Arial, sans-serif;
}
.tabs {
list-style-type: none;
padding: 0;
display: flex;
background: #f0f0f0;
border-radius: 8px;
overflow: hidden;
}
.tabs li {
flex-grow: 1;
text-align: center;
padding: 10px 20px;
cursor: pointer;
background: #ddd;
transition: background-color 0.3s ease;
}
.tabs li.is-active,
.tabs li:hover {
background: #bbb;
}
.tab-content {
padding: 20px;
border: 1px solid #ddd;
border-radius: 8px;
margin-top: 10px;
}
/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
.tabs {
flex-direction: column;
/* Stack tabs vertically */
}
.tabs li {
padding: 10px 10px;
/* Adjust padding for better touch targets */
}
.tab-content {
padding: 6px;
/* Adjust padding for consistency */
}
}
/* Further adjustments for very small screens */
@media (max-width: 480px) {
.tabs li {
padding: 8px 8px;
/* Reduce padding on very small screens */
}
.tab-content {
padding: 4px;
/* Consistent padding adjustment */
}
}