Skip to content

Commit 79c3abc

Browse files
committed
9 juli, 1927, HF
1 parent c349691 commit 79c3abc

File tree

5 files changed

+35
-2
lines changed

5 files changed

+35
-2
lines changed

assets/.DS_Store

0 Bytes
Binary file not shown.

assets/css/.DS_Store

0 Bytes
Binary file not shown.

assets/css/main.css

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3218,4 +3218,36 @@ input, select, textarea {
32183218
padding-left: 0;
32193219
}
32203220

3221-
}
3221+
}
3222+
3223+
/* Profile image styling */
3224+
header .inner img {
3225+
border-radius: 50%; /* Makes the image circular */
3226+
width: 180px; /* Set a fixed width */
3227+
height: 180px; /* Set a fixed height to match width for perfect circle */
3228+
object-fit: cover; /* Ensures image fills the circle without distortion */
3229+
display: block;
3230+
margin: 0 auto 20px; /* Centers the image and adds space below */
3231+
border: 3px solid rgba(255, 255, 255, 0.2); /* Optional: adds a subtle border */
3232+
}
3233+
3234+
/* Better alignment for sidebar content */
3235+
header .inner {
3236+
text-align: center; /* Centers all text in the sidebar */
3237+
padding: 20px;
3238+
display: flex;
3239+
flex-direction: column;
3240+
align-items: center;
3241+
justify-content: center;
3242+
height: 100%;
3243+
}
3244+
3245+
/* Adjust spacing between elements */
3246+
header .inner h1 {
3247+
margin-top: 0;
3248+
margin-bottom: 10px;
3249+
}
3250+
3251+
header .inner p {
3252+
margin-top: 0;
3253+
}
File renamed without changes.

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<body class="is-preload">
1313
<header id="header">
1414
<div class="inner">
15+
<img src="images/henrik.jpg" alt="HM" class="profile-image" />
1516
<h1>Henry Moe</h1>
1617
<p>
1718
Cognitive Neuroscience Student Researcher
@@ -30,7 +31,7 @@ <h2>About Me</h2>
3031

3132
<!-- Contact Section -->
3233
<section id="contact" class="inner">
33-
<h2>Get In Touch</h2>
34+
<h2> Communication </h2>
3435
<p>
3536
Feel free to reach out for collaborations or discussions!
3637
</p>

0 commit comments

Comments
 (0)