File tree Expand file tree Collapse file tree 1 file changed +48
-46
lines changed
apps/web/src/features/home/components/HomeTab Expand file tree Collapse file tree 1 file changed +48
-46
lines changed Original file line number Diff line number Diff line change 19
19
position : relative;
20
20
height : 48px ;
21
21
user-select : none;
22
+ }
23
+
24
+ .tab {
25
+ position : relative;
26
+ display : flex;
27
+ align-items : center;
28
+ background-color : gold;
22
29
23
- . tab {
30
+ & > a {
24
31
display : flex;
25
- position : relative;
26
-
27
- & a {
28
- display : flex;
29
- align-items : center;
30
- justify-content : center;
31
- font-size : 18px ;
32
- text-decoration : none;
33
- white-space : nowrap;
34
- color : var (--text3 );
35
-
36
- & .active {
37
- color : var (--text1 );
38
- font-weight : bold;
39
- }
32
+ align-items : center;
33
+ justify-content : center;
34
+ font-size : 18px ;
35
+ text-decoration : none;
36
+ white-space : nowrap;
37
+ color : var (--text3 );
40
38
41
- & svg {
42
- font-size : 24 px ;
43
- margin-right : 8 px ;
44
- }
39
+ & . active {
40
+ color : var ( --text1 ) ;
41
+ font-weight : bold ;
42
+ }
45
43
46
- @media screen and (max-width : 768px ) {
47
- & svg {
48
- font-size : 18px ;
49
- }
50
- }
44
+ & svg {
45
+ font-size : 24px ;
46
+ margin-right : 8px ;
47
+ }
51
48
52
- @media screen and (max-width : 425px ) {
53
- & svg {
54
- font-size : 16px ;
55
- }
49
+ @media screen and (max-width : 768px ) {
50
+ & svg {
51
+ font-size : 18px ;
56
52
}
57
53
}
58
54
59
- & a + a {
60
- margin-left : 20px ;
61
- @media screen and (max-width : 768px ) {
62
- margin-left : 8px ;
55
+ @media screen and (max-width : 425px ) {
56
+ & svg {
57
+ font-size : 16px ;
63
58
}
59
+ }
60
+ }
64
61
65
- @media screen and (max-width : 425px ) {
66
- margin-left : 5px ;
67
- }
62
+ & a + a {
63
+ margin-left : 20px ;
64
+ @media screen and (max-width : 768px ) {
65
+ margin-left : 8px ;
68
66
}
69
67
70
- .indicator {
71
- position : absolute;
72
- width : 32% ;
73
- height : 2px ;
74
- background : var (--border1 );
75
- bottom : -10px ;
68
+ @media screen and (max-width : 425px ) {
69
+ margin-left : 5px ;
70
+ }
71
+ }
76
72
77
- @media screen and (max-width : 430px ) {
78
- width : 34% ;
79
- margin-left : 3px ;
80
- }
73
+ .indicator {
74
+ position : absolute;
75
+ width : 32% ;
76
+ height : 2px ;
77
+ background : var (--border1 );
78
+ bottom : -10px ;
79
+
80
+ @media screen and (max-width : 430px ) {
81
+ width : 34% ;
82
+ margin-left : 3px ;
81
83
}
82
84
}
83
85
}
You can’t perform that action at this time.
0 commit comments