Skip to content

Commit 9e8a4c4

Browse files
authored
Merge pull request #257 from tjklint/refactor(1page)
Refactor(1page)
2 parents a80ea2f + dc27d34 commit 9e8a4c4

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

src/components/about/about.scss

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,51 +34,57 @@
3434
.about-intro {
3535
display: flex;
3636
flex-direction: row;
37-
align-items: center;
37+
align-items: flex-start;
3838
margin-bottom: 40px;
39-
39+
4040
@media (max-width: 768px) {
4141
flex-direction: column;
4242
text-align: center;
4343
}
44-
44+
4545
.about-text {
4646
flex: 1;
4747
padding-right: 0;
4848
text-align: left;
49-
49+
5050
@media (max-width: 768px) {
5151
text-align: center;
5252
padding-right: 0;
5353
}
54-
54+
5555
p {
5656
font-size: 1.2em;
5757
font-family: 'RobotoMono', sans-serif;
58+
margin-bottom: 20px; /* Add consistent margin between paragraphs */
5859
}
59-
60+
6061
.purple-text {
6162
color: #8a2be2;
6263
}
6364
}
64-
65+
6566
.about-photo {
6667
flex: 0 0 30%;
6768
padding-left: 5%;
68-
69+
display: flex;
70+
justify-content: flex-end; /* Align image to the bottom of the text */
71+
align-items: flex-start;
72+
6973
img {
7074
width: 100%;
75+
height: auto;
7176
border: 3px solid #8a2be2;
7277
border-radius: 10px;
7378
}
74-
79+
7580
@media (max-width: 768px) {
7681
width: 70%;
7782
padding-left: 0;
83+
margin-top: 20px;
7884
}
7985
}
8086
}
81-
87+
8288
.about-technologies,
8389
.about-contact {
8490
margin-bottom: 40px;

0 commit comments

Comments
 (0)