File tree Expand file tree Collapse file tree 1 file changed +30
-11
lines changed Expand file tree Collapse file tree 1 file changed +30
-11
lines changed Original file line number Diff line number Diff line change @@ -36,24 +36,43 @@ layout: default
36
36
width : 100% ;
37
37
height : 100% ;
38
38
}
39
-
40
- .full-width-logo {
41
- display : block ; /* Ensure the image is treated as a block-level element */
42
- margin : 0 auto ; /* Center the image horizontally */
43
- width : 100% ; /* Set the image width to 100% of the screen width */
44
- height : auto ; /* Maintain the aspect ratio */
39
+ /* Full-screen logo */
40
+ .full-screen-logo {
41
+ display : block ;
42
+ margin : 0 ;
43
+ width : 100% ;
44
+ height : 100vh ; /* Full viewport height */
45
+ object-fit : cover ; /* Maintain aspect ratio while covering screen */
46
+ }
47
+ /* Center-align header and content */
48
+ .centered-content {
49
+ position : absolute ;
50
+ top : 50% ;
51
+ left : 50% ;
52
+ transform : translate (-50% , -50% );
53
+ text-align : center ;
54
+ }
55
+ .post-header {
56
+ text-align : center ;
57
+ margin : 0 auto ;
58
+ }
59
+ /* Additional styles for other sections if needed */
60
+ .post {
61
+ max-width : 900px ;
62
+ margin : 0 auto ;
63
+ padding : 20px ;
64
+ box-sizing : border-box ;
45
65
}
46
66
</style >
47
67
48
68
69
+ <div >
70
+ <img src =" /assets/img/lab_logo.png" alt =" Lab Logo" class =" full-screen-logo" >
71
+ </div >
72
+
49
73
<!-- <div class="transparent-bg"> -->
50
74
<div class =" post" >
51
75
<header class =" post-header" >
52
- <!-- Centered Lab Logo -->
53
- <p align =" center" style =" margin : 0 ; padding : 0 ;" >
54
- <img src =" /assets/img/lab_logo.png" alt =" Lab Logo" class =" full-width-logo" >
55
- </p >
56
-
57
76
<h1 class =" post-title" >
58
77
{% if site .title == 'blank' %}
59
78
<span class =" font-weight-bold" >{{ site .first_name }}</span > {{ site .middle_name }}
You can’t perform that action at this time.
0 commit comments