Some terrible witchcraft for allowing editing with heroes
This commit is contained in:
parent
ca04eaf71a
commit
f52fbc4575
3 changed files with 45 additions and 26 deletions
|
|
@ -9608,20 +9608,26 @@ 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;
|
||||
}
|
||||
}
|
||||
|
||||
.gin--horizontal-toolbar .section:has(#block-agarica-local-tasks) {
|
||||
padding-block: 0;
|
||||
}
|
||||
.gin--horizontal-toolbar article[data-history-node-id] {
|
||||
margin-top: 0 !important;
|
||||
.gin--horizontal-toolbar:has(.hero-project) #navbar {
|
||||
background-color: transparent;
|
||||
}
|
||||
.gin--horizontal-toolbar:has(.hero-project) .hero {
|
||||
margin-top: -8rem;
|
||||
}
|
||||
.gin--horizontal-toolbar:has(.hero-project) section:has(#block-agarica-local-tasks) {
|
||||
position: absolute;
|
||||
z-index: 999;
|
||||
padding-top: 1rem;
|
||||
}
|
||||
.gin--horizontal-toolbar:has(.hero-project) section:has(#block-agarica-local-tasks) ul li a {
|
||||
color: white;
|
||||
}
|
||||
.gin--horizontal-toolbar:has([data-history-node-id]):has(.hero-main) article[data-history-node-id] {
|
||||
margin-top: 4rem;
|
||||
}
|
||||
.gin--horizontal-toolbar:has([data-history-node-id]):has(.hero-main) .section:has(#block-agarica-local-tasks) {
|
||||
position: absolute;
|
||||
|
|
@ -10860,9 +10866,11 @@ a.teaser:hover .subtitle {
|
|||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
.hero-project {
|
||||
.hero-project,
|
||||
.hero-person {
|
||||
margin-top: -6rem;
|
||||
}
|
||||
|
||||
.hero-project .container .hero-body .title {
|
||||
color: currentColor;
|
||||
font-size: 2.5rem;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -148,12 +148,16 @@ iframe {
|
|||
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;
|
||||
}
|
||||
}
|
||||
|
||||
// Positioning witchcraft to allow editing in the presence of heroes
|
||||
|
||||
@mixin localfloaters {
|
||||
position: absolute;
|
||||
z-index: 999;
|
||||
padding-top: 1rem;
|
||||
ul li a {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -165,18 +169,25 @@ a#main-content {
|
|||
padding-block: 0;
|
||||
}
|
||||
|
||||
article[data-history-node-id] {
|
||||
margin-top: 0 !important;
|
||||
&:has(.hero-project) {
|
||||
#navbar {
|
||||
background-color: transparent;
|
||||
}
|
||||
.hero {
|
||||
margin-top: -8rem;
|
||||
}
|
||||
|
||||
section:has(#block-agarica-local-tasks) {
|
||||
@include localfloaters();
|
||||
}
|
||||
}
|
||||
|
||||
&:has([data-history-node-id]):has(.hero-main){
|
||||
article[data-history-node-id] {
|
||||
margin-top: 4rem;
|
||||
}
|
||||
.section:has(#block-agarica-local-tasks) {
|
||||
position: absolute;
|
||||
z-index: 999;
|
||||
padding-top: 1rem;
|
||||
ul li a {
|
||||
color: white;
|
||||
}
|
||||
@include localfloaters();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue