-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
97 lines (84 loc) · 1.88 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
/* Reset some default styles */
body,
h1,
h2,
p {
margin: 0;
padding: 0;
}
/* Define a container for content */
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
/* Style the header and navigation */
header {
background-color: #333;
color: #fff;
padding: 10px 0;
}
nav ul {
list-style: none;
}
nav ul li {
display: inline;
margin-right: 20px;
}
nav a {
color: #fff;
text-decoration: none;
}
/* ... */
/* Add styles for the profile section */
.profile {
display: flex;
align-items: center;
justify-content: center; /* Center content horizontally and vertically */
height: 100vh; /* Make the section cover the entire viewport height */
}
.profile img {
max-width: 100%;
height: auto;
width: 300px; /* Set a fixed width for the square image */
border-radius: 0; /* Make the image circular */
margin-right: 20px; /* Add space between image and text */
}
.profile-text {
flex-grow: 1; /* Allow the text to fill the remaining space */
text-align: center; /* Center-align the text */
}
/* ... */
/* Add a wrapper for the content to enable flexbox */
.wrapper {
display: flex;
flex-direction: column;
min-height: 100vh; /* Ensure the wrapper takes up the entire viewport height */
}
.profile-text h1 {
font-size: 2.5em; /* Increase the font size for a larger heading */
}
.profile-text p {
font-size: 1.5em; /* Increase the font size for the paragraph */
}
/* Set the content to grow and push the footer to the bottom */
.container {
flex-grow: 1;
}
/* ... */
/* Style the footer as needed */
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 10px 0;
}
/* ... */
/* Style other sections as needed */
/* Add your custom styles for images, headings, and details in the projects section */
/* Style the footer and social media links */
.social-media a {
color: #fff;
text-decoration: none;
margin: 0 10px;
}