diff --git a/src/css/doc.css b/src/css/doc.css index ddaadc8f..f5bd10e8 100644 --- a/src/css/doc.css +++ b/src/css/doc.css @@ -32,7 +32,7 @@ body { font-weight: var(--heading-font-weight); hyphens: none; line-height: calc((var(--doc-line-height) + 1) / 2); - margin: 17px 0 8px; + margin: 2rem 0 1rem; } .doc h1 { @@ -78,8 +78,8 @@ body { } @media screen and (min-width: 769px) { - .doc > .sect-header > h1.page:first-child { - /* margin-top: 2.5rem; */ + .has-banner .doc > .sect-header > h1.page:first-child { + margin-top: 2.5rem; } } diff --git a/src/css/docs-ndl.css b/src/css/docs-ndl.css index 1b2c411d..ec351d71 100644 --- a/src/css/docs-ndl.css +++ b/src/css/docs-ndl.css @@ -4,13 +4,13 @@ } @media screen and (min-width: 1024px) { - body:not(.landing) main > .content { + body.docs-ndl:not(.explainer) main > .content { margin-top: 0; } } @media screen and (min-width: 769px) { - .doc > .sect-header > h1.page:first-child { + body.docs-ndl .doc > .sect-header > h1.page:first-child { margin-top: 0; } } diff --git a/src/css/labels.css b/src/css/labels.css index 793e8f79..fea91721 100644 --- a/src/css/labels.css +++ b/src/css/labels.css @@ -84,10 +84,10 @@ h2 > .flex-label { .label { display: inline-block; - height: 24px; + /* height: 24px; */ padding: 0.2rem 0.8rem; - justify-content: center; - align-items: center; + /* justify-content: center; */ + /* align-items: center; */ flex-shrink: 0; border-radius: 9999px; background: rgba(var(--colors-baltic-50)); diff --git a/src/css/neo4j-docs.css b/src/css/neo4j-docs.css index 67a67f7d..62177093 100644 --- a/src/css/neo4j-docs.css +++ b/src/css/neo4j-docs.css @@ -118,7 +118,7 @@ span.fabric::after { font-size: 0.7rem; line-height: var(--doc-line-height); padding: 0.2rem 0.8rem; - border-radius: 0.25rem; + border-radius: 9999px; position: relative; bottom: 2px; margin-left: 0.5rem;