-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
95 lines (81 loc) · 1.35 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
/* Basic Styling */
body {
margin: 0;
font-family: Arial, sans-serif;
color: #333;
}
header {
background-color: #333;
color: white;
padding: 1rem 0;
text-align: center;
position: sticky;
top: 0;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
justify-content: center;
}
nav ul li {
margin: 0 1.5rem;
}
nav ul li a {
color: white;
text-decoration: none;
font-weight: bold;
}
section {
padding: 5rem 1rem;
text-align: center;
}
.intro {
padding: 5rem 1rem;
background: url('background-image.jpg') no-repeat center center/cover;
color: white;
}
.intro h1 {
font-size: 3rem;
}
button {
padding: 10px 20px;
background-color: #007BFF;
color: white;
border: none;
cursor: pointer;
}
button:hover {
background-color: #0056b3;
}
.project-grid {
display: flex;
justify-content: center;
gap: 2rem;
flex-wrap: wrap;
}
.project {
background-color: #f4f4f4;
padding: 2rem;
width: 300px;
border-radius: 10px;
}
form {
display: flex;
flex-direction: column;
width: 50%;
margin: 0 auto;
}
input, textarea {
margin: 10px 0;
padding: 10px;
border-radius: 5px;
border: 1px solid #ccc;
}
footer {
background-color: #333;
color: white;
padding: 1rem 0;
text-align: center;
}