Skip to content

Commit

Permalink
Add AsciiDoc formatting for an example block (#541)
Browse files Browse the repository at this point in the history
Support keycloak/keycloak#35415

Signed-off-by: Alexander Schwartz <[email protected]>
  • Loading branch information
ahus1 authored Dec 3, 2024
1 parent ba99564 commit b9c20b1
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions resources/css/keycloak.css
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,36 @@ ol.toc-list .is-collapsed {
color: #bf0000;
}

.exampleblock > .content {
border-style: solid;
border-width: 1px;
border-color: #e6e6e6;
margin-bottom: 1.25em;
padding: 1.25em;
background: #fff;
-webkit-border-radius: 4px;
border-radius: 4px
}

.exampleblock > .content > :first-child {
margin-top: 0
}

.exampleblock > .content > :last-child {
margin-bottom: 0
}

.exampleblock > .content > :last-child > :last-child, .exampleblock > .content .olist > ol > li:last-child > :last-child, .exampleblock > .content .ulist > ul > li:last-child > :last-child, .exampleblock > .content .qlist > ol > li:last-child > :last-child, .sidebarblock > .content > :last-child > :last-child, .sidebarblock > .content .olist > ol > li:last-child > :last-child, .sidebarblock > .content .ulist > ul > li:last-child > :last-child, .sidebarblock > .content .qlist > ol > li:last-child > :last-child {
margin-bottom: 0
}

.exampleblock > .content {
background-color: #fffef7;
border-color: #e0e0dc;
-webkit-box-shadow: 0 1px 4px #e0e0dc;
box-shadow: 0 1px 4px #e0e0dc
}

dl dd {
margin-left: 1.125em;
}
Expand Down

0 comments on commit b9c20b1

Please sign in to comment.