forked from ironhack-labs/lab-html-exercise
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
151 lines (130 loc) · 2.18 KB
/
Copy pathstyle.css
File metadata and controls
151 lines (130 loc) · 2.18 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
@import url('https://fonts.googleapis.com/css?family=Poppins');
body {
font-family: 'Poppins';
}
/* Header layout */
header {
padding: 0 25px;
display: flex;
flex-direction: column;
gap: 20px;
border-bottom: 1px solid lightgray;
background-color: white;
}
/* top section layout */
.top-header {
display: flex;
align-items: center;
gap: 20px;
}
/* Nifty Penguin Magic logo */
.logo-title {
display: flex;
align-items: center;
}
.blackHeart {
width: 20px;
margin-right: 0.5rem;
}
/* Nav */
nav ul {
list-style: none;
display: flex;
gap: 20px;
padding: 0;
margin: 0;
}
nav a {
text-decoration: none;
color: black;
font-size: 14px;
}
/* Right section layout */
.bottom-header {
display: flex;
align-items: center;
gap: 16px;
}
.npm-logo {
width: 60px;
}
/* Search form */
.search-form {
display: flex;
align-items: center;
background-color: #f4f4f4;
padding: 6px 10px;
border-radius: 4px;
flex-grow: 1;
}
.search-icon {
width: 16px;
margin-right: 6px;
opacity: 0.5;
}
.search-form input {
border: none;
background: none;
outline: none;
padding: 4px 8px;
color: black;
width: 200px;
flex: 1;
}
.search-form button {
background-color: #fb3e44;
color: white;
border: none;
padding: 6px 12px;
border-radius: 3px;
font-weight: bold;
cursor: pointer;
}
/* Auth links */
.auth-links {
display: flex;
align-items: center;
gap: 10px;
}
.auth-links .btn {
font-size: 14px;
padding: 6px 14px;
font-weight: bold;
border-radius: 4px;
cursor: pointer;
}
/* Join button – white bg, black text, border */
.auth-links .join {
background-color: white;
color: black;
border: 1px solid #888;
}
/* Log in button – transparent, no border */
.auth-links .login {
background: none;
color: black;
border: none;
}
/* Main section */
.main-section {
text-align: center;
margin: 50px auto 0;
max-width: 600px;
padding: 20px;
}
.main-section h1 {
font-size: 2rem;
margin-bottom: 1rem;
}
.main-section p {
font-size: 1rem;
margin-bottom: 1.5rem;
line-height: 1.5;
}
.main-section .btn {
margin: 0 10px;
padding: 8px 16px;
border: 1px solid gray;
background-color: white;
cursor: pointer;
}