-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
144 lines (123 loc) · 2.22 KB
/
styles.css
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
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Roboto', sans-serif;
line-height: 1.6;
color: #333;
background-color: #f4f4f9;
padding: 0 20px;
}
/* Header */
header {
background: #333;
color: #fff;
padding: 10px 20px;
text-align: center;
}
header nav {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1100px;
margin: 0 auto;
}
.nav-links {
list-style: none;
display: flex;
}
.nav-links li {
margin: 0 15px;
}
.nav-links a {
color: #fff;
text-decoration: none;
font-weight: bold;
transition: color 0.3s;
}
.nav-links a:hover {
color: #f4f4f9;
}
/* Hero Section */
#hero {
text-align: center;
padding: 50px 20px;
background: #4CAF50;
color: #fff;
}
#hero h1 {
font-size: 2.5rem;
margin-bottom: 10px;
}
#hero p {
font-size: 1.2rem;
margin-bottom: 20px;
}
#hero .btn {
background: #fff;
color: #4CAF50;
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
transition: background 0.3s, color 0.3s;
}
#hero .btn:hover {
background: #333;
color: #fff;
}
/* Section Styling */
section {
margin: 20px 0;
padding: 20px;
background: #fff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
section h2 {
font-size: 1.8rem;
margin-bottom: 10px;
}
/* Form Styles */
form {
display: flex;
flex-direction: column;
gap: 10px;
}
form label {
font-weight: bold;
}
form input,
form textarea,
form button {
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 1rem;
}
form input:focus,
form textarea:focus {
border-color: #4CAF50;
outline: none;
}
form button {
background: #4CAF50;
color: #fff;
border: none;
cursor: pointer;
transition: background 0.3s;
}
form button:hover {
background: #333;
}
/* Footer */
footer {
text-align: center;
padding: 10px 20px;
background: #333;
color: #fff;
margin-top: 20px;
font-size: 0.9rem;
}