Skip to content

Commit e840ff2

Browse files
Update custom.scss
1 parent 2b6c9d8 commit e840ff2

1 file changed

Lines changed: 34 additions & 7 deletions

File tree

_sass/custom/custom.scss

Lines changed: 34 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,44 @@
1-
.page-header {
2-
height: 250px;
3-
background-size: cover;
4-
background-position: center;
1+
// Page Header
2+
3+
.header-container {
54
display: flex;
65
align-items: center;
7-
justify-content: center;
8-
color: white;
9-
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
6+
justify-content: space-between;
7+
height: 250px; /* Adjust height to match the image */
8+
padding: 20px; /* Add padding for spacing */
9+
box-sizing: border-box;
10+
}
11+
12+
.title-box {
13+
flex: 1;
14+
padding-right: 20px; /* Space between title and image */
15+
color: #333; /* Modern typography color */
1016
}
1117

1218
.page-title {
1319
font-size: 2rem;
1420
font-weight: bold;
21+
margin: 0;
22+
}
23+
24+
.page-subtitle {
25+
font-size: 1.2rem;
26+
color: #666;
27+
margin-top: 5px;
28+
}
29+
30+
.image-box {
31+
flex-shrink: 0;
32+
width: 590px;
33+
height: 250px; /* Keep original image size */
34+
overflow: hidden;
35+
}
36+
37+
.image-box img {
38+
width: 100%;
39+
height: 100%;
40+
object-fit: cover; /* Ensures consistent image display */
41+
border-radius: 8px; /* Optional: Rounded corners for a modern look */
1542
}
1643

1744
// Blue Button

0 commit comments

Comments
 (0)