Skip to content

Commit 0dd6cc5

Browse files
author
Claudio Cortese
committed
Trying to fix header
1 parent 9681226 commit 0dd6cc5

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

_includes/css/agency.css

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -298,14 +298,17 @@ header {
298298
color: white;
299299
display: grid;
300300
place-items: center;
301-
min-height: 100vh;
302301
padding: clamp(1rem, 2vw, 5rem);
303302
background: var(--bg);
304303
background-size: var(--s), var(--s), var(--s), var(--s), 100% 100%;
305304
background-attachment: fixed;
306305
text-align: center;
307306
}
308307

308+
body:not(.post-page) header {
309+
min-height: 100vh;
310+
}
311+
309312
header .container {
310313
background: rgb(0 0 0 / 0.75);
311314
width: 100%;
@@ -314,7 +317,7 @@ header .container {
314317
place-items: center;
315318
}
316319

317-
header .intro-text {
320+
body:not(.post-page) header .intro-text {
318321
display: flex;
319322
flex-direction: column;
320323
align-items: center;
@@ -1120,12 +1123,6 @@ article p {
11201123
font-size: 18px;
11211124
}
11221125

1123-
body.post-page header{
1124-
min-height: 400px;
1125-
max-height: 400px;
1126-
height: 400px;
1127-
}
1128-
11291126
#latest_posts {
11301127
padding-bottom: 0px;
11311128
}

_includes/css/post.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
header {
2+
height: max-content;
3+
}
4+
15
article.container {
26
padding-top: 15px;
37
}

0 commit comments

Comments
 (0)