Skip to content

Commit

Permalink
Fixing page-role deprecated style (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
lidiazuin authored Oct 21, 2024
1 parent d7c7d3a commit 9cfe738
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions src/css/neo4j-docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,7 @@ div.roles > span.role {
.sect2.beta > h3::after,
span.alpha::after,
span.beta::after,
body.deprecated article h2::after,
body.deprecated article h3::after,
body.deprecated article h4::after,
div.deprecated h2::after,
div.deprecated h3::after,
div.deprecated h4::after,
body.deprecated article dt::after,
body.deprecated article h1::after,
div.deprecated p::after,
p.deprecated::before,
section.deprecated .title::after,
Expand Down Expand Up @@ -184,21 +178,16 @@ div.roles > span.role::after {
margin-bottom: 0;
}

body.deprecated article h2::after,
body.deprecated article h3::after,
body.deprecated article h4::after,
div.deprecated h2::after,
div.deprecated h3::after,
div.deprecated h4::after,
body.deprecated article h1::after,
.deprecated dt::after,
p.deprecated::before,
section.deprecated .title::after,
.deprecated > .title::after,
span.deprecated::after {
content: "Deprecated";
background: var(--deprecated-color);
background: var(--deprecated-background-color);
border-color: var(--deprecated-color);
color: var(--deprecated-background-color);
color: var(--deprecated-color);
margin-left: 8px;
vertical-align: middle;
}
Expand Down

0 comments on commit 9cfe738

Please sign in to comment.