-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
121 lines (102 loc) · 1.81 KB
/
styles.css
File metadata and controls
121 lines (102 loc) · 1.81 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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
color: #303030;
background-color: #f0f0f0;
}
header {
background-color: #f0f0f0;
padding: 35px;
text-align: center;
color: #f0f0f0;
}
/* About me section */
.youtube-icon {
position: absolute;
top: 10px;
right: 10px;
font-size: 24px;
color: red;
}
.header-bg {
background-image: url('Resources/Images/HeaderBackground.jpg');
background-size: cover;
background-position: center;
}
.about-me {
max-width: 500px;
margin: 0 auto;
padding: 30px 20px;
background-color: rgba(0, 0, 0, 0.65);
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.about-me h1 {
font-size: 2.5em;
margin-bottom: 10px;
}
.about-me p {
font-size: 1.1em;
line-height: 1.6;
}
/* Project section */
main {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 20px;
margin-bottom: 20px;
}
.project {
display: flex;
max-width: 1100px;
width: 95%;
margin: 30px auto;
border: 1px solid #ccc;
border-radius: 5px;
}
.project-image {
flex: 1;
}
.project-image img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 5px 0 0 5px;
}
.project-description {
flex: 2;
padding: 20px;
}
.project-description h1 {
margin-top: 15px;
margin-bottom: 15px;
}
.project-description h2 {
margin-top: 15px;
margin-bottom: 25px;
}
.project-description p {
margin-top: 15px;
margin-bottom: 15px;
}
/* Contact section */
.contact {
background-color: #e0e0e0;
text-align: center;
padding: 20px 20px;
}
.contact h2 {
margin-bottom: 20px;
}
.contact p {
margin-bottom: 30px;
}
.contact ul {
list-style: none;
padding: 0;
}
.contact li {
margin: 10px 0;
}