Skip to content

Commit 933f472

Browse files
authored
Update main.scss
1 parent 889fb8f commit 933f472

File tree

1 file changed

+4
-29
lines changed

1 file changed

+4
-29
lines changed

assets/css/main.scss

Lines changed: 4 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,3 @@
1-
---
2-
# Only the main Sass file needs front matter (the dashes are enough)
3-
---
4-
@charset "utf-8";
5-
6-
// Dimensions
7-
$max-content-width: {{ site.max_width }};
8-
9-
@import
10-
"variables",
11-
"themes",
12-
"layout",
13-
"base",
14-
"distill",
15-
"cv",
16-
"tabs",
17-
"typograms",
18-
"font-awesome/fontawesome",
19-
"font-awesome/brands",
20-
"font-awesome/solid",
21-
"font-awesome/regular",
22-
"tabler-icons/tabler-icons.scss",
23-
"tabler-icons/tabler-icons-filled.scss",
24-
"tabler-icons/tabler-icons-outline.scss"
25-
;
26-
271
.shadow-box {
282
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
293
padding: 40px;
@@ -38,18 +12,19 @@ $max-content-width: {{ site.max_width }};
3812
}
3913

4014
.profile img {
41-
width: 200px !important; /* Force the width for all profile pictures */
15+
width: 220px !important; /* Force the width for all profile pictures */
4216
height: auto !important; /* Maintain aspect ratio */
43-
display: block;
17+
display: flex;
4418
margin: 0 auto; /* Center the image */
4519
max-width: none; /* Disable max-width to ensure fixed width */
4620
}
4721

4822
.profile-name {
4923
width: 100%;
50-
background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
24+
background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
5125
color: white;
5226
text-align: center;
27+
margin-bottom: 10px; /* Add margin to create space between the name and the image */
5328
}
5429

5530
.more-info {

0 commit comments

Comments
 (0)