Skip to content

Commit 56b51e0

Browse files
authored
Update main.scss
1 parent 42da1aa commit 56b51e0

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

assets/css/main.scss

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,36 @@ $max-content-width: {{ site.max_width }};
2323
"tabler-icons/tabler-icons-filled.scss",
2424
"tabler-icons/tabler-icons-outline.scss"
2525
;
26+
27+
.shadow-box {
28+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
29+
padding: 20px;
30+
margin-bottom: 20px;
31+
border-radius: 10px;
32+
background-color: var(--background-light); /* Default to light mode background */
33+
color: var(--text-light); /* Default to light mode text */
34+
}
35+
36+
.shadow-box:hover {
37+
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3); /* Darker shadow on hover */
38+
}
39+
40+
.profile img {
41+
width: 150px !important; /* Force the width for all profile pictures */
42+
height: auto !important; /* Maintain aspect ratio */
43+
display: block;
44+
margin: 0 auto; /* Center the image */
45+
max-width: none; /* Disable max-width to ensure fixed width */
46+
}
47+
48+
.profile-name {
49+
width: 100%;
50+
background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
51+
color: white;
52+
text-align: center;
53+
}
54+
55+
.more-info {
56+
text-align: center; /* Center the links */
57+
margin-top: 10px;
58+
}

0 commit comments

Comments
 (0)