-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
107 lines (92 loc) · 1.86 KB
/
style.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
/* Reset Styles */
body, h2, h3, p, a {
margin: 0;
padding: 0;
font-family: 'Arial', sans-serif;
}
body {
line-height: 1.6;
background-color: #f4f7fb;
}
/* Header */
header {
background: #fff;
padding: 10px 50px;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 24px;
font-weight: bold;
color: #007bff;
}
.navigation a {
margin: 0 15px;
text-decoration: none;
color: #333;
}
.navigation a:hover {
color: #007bff;
}
/* Main Section */
.main {
text-align: center;
padding: 50px 20px;
color: #fff; /* Text color to make sure it's visible on dark backgrounds */
height: 100vh; /* Full viewport height for the background */
background: url(images/background.jpg);
}
.main h2 {
font-size: 2.5rem;
margin-bottom: 10px;
}
.main .main-btn {
display: inline-block;
padding: 10px 20px;
background: #007bff;
color: #fff;
text-decoration: none;
border-radius: 5px;
margin-top: 20px;
}
.main img.profile-img {
width: 300px;
margin-top: 20px;
border-radius: 10px;
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1); /* Optional shadow for profile image */
}
/* Cards Section */
.cards {
padding: 50px 20px;
text-align: center;
}
.cards .content {
display: flex;
justify-content: center;
gap: 20px;
}
.card {
padding: 20px;
background: #fff;
border-radius: 5px;
width: 300px;
}
.card .icon {
font-size: 36px;
color: #007bff;
margin-bottom: 15px;
}
/* Projects Section */
.projects .project-card img {
width: 100%;
height: auto;
border-radius: 5px;
}
/* Footer */
footer {
text-align: center;
padding: 20px;
background: #333;
color: #fff;
}