-
Notifications
You must be signed in to change notification settings - Fork 0
/
style1.css
168 lines (140 loc) · 3.4 KB
/
style1.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
/* General styling */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: #000000; /* Dark grey background */
color: white; /* White font color */
}
/* Front page section */
.front-page {
display: flex;
padding: 50px;
align-items: flex-start; /* Align items to the top */
justify-content: flex-start; /* Ensure left alignment */
}
.profile-photo {
border-radius: 50%;
width: 200px;
height: 266px;
margin-right: 20px; /* Add some space between photo and text */
margin-top: 40px;
}
.intro-section {
text-align: left;
margin-top: 50px; /* Adjust this value to move the section down */
}
.intro-section h3{
font-size: 40px;
margin: 0;
}
.intro-section h1{
font-size: 80px;
margin: 0;
background: linear-gradient(to right, violet, yellow, red, blue); /* Gradient background */
-webkit-background-clip: text; /* Ensures gradient applies to text */
color: transparent; /* Makes the actual text color transparent */
}
/* About section */
.about-section {
padding: 50px;
text-align: left;
}
.about-section h1 {
font-size: 40px;
}
.about-section p {
font-size: 20px;
width: 80%;
text-align: justify;
margin-left: 0;
}
.contact-section {
padding: 50px;
text-align: left;
background-color: #333; /* Dark background for contrast */
}
.contact-section h1 {
font-size: 40px;
color: white; /* White text color */
margin-bottom: 20px; /* Space below the heading */
}
.contact-list {
list-style-type: none; /* Remove bullet points */
padding: 0; /* Remove default padding */
}
.contact-list li {
margin-bottom: 10px; /* Space between items */
}
.contact-list a {
color: #f0f0f0; /* Light color for links */
text-decoration: none; /* Remove underline from links */
font-size: 20px; /* Font size for contact items */
}
.contact-list a:hover {
text-decoration: underline; /* Underline on hover for better user experience */
}
/* Education section */
.education-section {
padding: 50px;
text-align: left;
}
.education-section h1 {
font-size: 40px;
margin-bottom: 40px;
}
.education-item {
display: flex;
align-items: flex-start;
margin-top: 20px;
}
.education-photo {
border-radius: 50%;
width: 100px;
height: 100px;
margin-right: 20px;
margin-top: -20px;
}
.education-text h3 {
font-size: 40px;
margin: 0;
margin-top: 0;
}
.education-text p {
font-size: 20px;
margin-top: 10px;
color: #bbbbbb; /* Slightly lighter grey for paragraphs */
}
/* Hobbies section */
.hobbies-section {
padding: 50px;
text-align: justify;
}
.hobbies-section h1 {
font-size: 40px;
}
.hobbies-item {
display: flex;
justify-content: center; /* Center the photo horizontally */
margin-bottom: 20px;
}
.nr-photo {
width: 400px;
height: 300px;
margin-left: 20px;
}
.rg-photo {
width: 400px; /* Adjust size of the RyanG photo */
height: auto;
margin-left: 0;
margin-right: 0;
display: block;
}
/* Ensure text after the photo is normal */
.hobbies-section h3,
.hobbies-section p {
font-size: 20px;
color: #bbbbbb;
text-align: left; /* Align text to the left */
}