Align header and headers nicely to top of page
This commit is contained in:
parent
a65b3f5707
commit
e440512293
3 changed files with 30 additions and 1 deletions
|
|
@ -9604,6 +9604,19 @@ iframe {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a#main-content {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
a#main-content + article {
|
||||||
|
margin-top: 52px;
|
||||||
|
}
|
||||||
|
@media screen and (min-width: 1024px) {
|
||||||
|
a#main-content + article {
|
||||||
|
margin-top: 90px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.content .image {
|
.content .image {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -142,3 +142,19 @@ hr {
|
||||||
iframe {
|
iframe {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// No spacing on main heading to avoid gap at top of page
|
||||||
|
|
||||||
|
a#main-content {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
// position node content in relation to fixed header minus a couple pixels for overlap
|
||||||
|
+ article {
|
||||||
|
margin-top: 52px;
|
||||||
|
@media screen and (min-width: 1024px) {
|
||||||
|
margin-top: 90px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue