File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments