-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathHeader.styled.tsx
More file actions
111 lines (93 loc) · 2.08 KB
/
Header.styled.tsx
File metadata and controls
111 lines (93 loc) · 2.08 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
import styled from "styled-components";
// Styled Components 정의
export const HeaderContainer = styled.header`
display: flex;
flex-grow: 1;
flex-align: flex-end;
align-items: center;
background-color: var(--FarmSystem_White);
padding: 0.5rem 1rem;
width: auto;
height: 70px;
font-style: normal;
padding-bottom: 0px;
border-bottom: 4px solid var(--FarmSystem_White);
`;
export const Nav = styled.nav`
padding-top: 40px;
width: 600px;
flex-grow: 1;
text-align: center;
display: flex;
justify-content: center;
padding-right: 420px;
padding-bottom: 0px;
`;
export const NavList = styled.ul`
list-style: none;
display: flex;
flex: 1 1 auto;
justify-content: center;
padding: 0;
margin: 0;
margin-left: 100px;
li {
color: var(--FarmSystem_Green04);
width: 120px;
font-weight: 400;
font-size: 16px;
&:hover {
color: var(--FarmSystem_Green01);
border-bottom: 2px solid var(--FarmSystem_Green01);
}
border-bottom: 2px solid var(--FarmSystem_Green04);
}
`;
export const Button = styled.button`
width: 120px;
height: 40px;
margin-right: 0px;
margin-top: 5px;
box-shadow: 0px 2px 10px 0px #19191933;
font-style: normal;
font-weight: 400;
font-size: 16px;
text-align: center;
border-radius: 10px;
background-color: var(--FarmSystem_Green01);
color: var(--FarmSystem_White);
&:hover {
background-color: #1f5a2f;
}
`;
export const TextBlock = styled.div`
font-size: 20px;
font-weight: 700;
color: #28723f;
text-align: center;
margin-top: 5px;
margin-left: 20px;
`
;
// Styled Components 중 navbar
export const Navbar = styled.nav`
background-color: #216D35; /* 배경색 */
padding: 10px 20px;
border-radius: 20px; /* 모서리 둥글게 */
display: flex;
align-items: center;
gap: 20px;
`;
export const NavItem = styled.a`
color: white;
font-size: 14px;
text-decoration: none;
font-weight: 500;
&:first-child {
font-weight: bold; /* 첫 번째 메뉴 강조 */
}
`;
export const Content = styled.a`{
background-color: #f1f1f1; /* 배경색 */
}
`;