-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathworkstyle.css
More file actions
93 lines (79 loc) · 1.73 KB
/
Copy pathworkstyle.css
File metadata and controls
93 lines (79 loc) · 1.73 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
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@200;300;400;500&display=swap');
/* General styles */
body {
font-family: 'Raleway', sans-serif;
line-height: 1.8;
margin: 0;
padding: 0;
background-color: #222; /* Dark gray background */
color: white;
box-sizing: border-box;
}
/* Navbar styles */
.navbar {
background-color: rgba(0, 0, 0, 0.7);
padding: 15px 30px;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-weight: 200;
letter-spacing: 4px;
margin: 0;
}
.nav-items {
list-style: none;
margin: 0;
padding: 0;
display: flex;
}
.nav-item {
margin-left: 20px;
padding: 15px;
}
.nav-item a {
color: white;
text-decoration: none;
}
/* Work section styles */
.work-section {
padding: 100px 0;
text-align: center;
}
.work-heading {
font-size: 36px;
margin-bottom: 40px;
}
.work-gallery {
display: flex;
justify-content: center;
gap: 40px;
}
.work-item {
background-color: rgba(0, 0, 0, 0.7);
padding: 30px;
border-radius: 10px;
flex: 1;
max-width: 300px; /* Adjust the max-width to contain images within the grid */
text-align: center; /* Center align content */
}
.work-item img {
max-width: 100%; /* Ensure images fit within the work-item container */
height: auto; /* Maintain aspect ratio */
}
.work-item h3 {
font-size: 24px;
margin-bottom: 20px;
}
.work-item p {
font-size: 16px;
margin-bottom: 0;
}
/* Footer styles */
.footer {
background-color: rgba(0, 0, 0, 0.7);
color: white;
text-align: center;
padding: 20px 0;
}