pmd/docs/css/pmd-customstyles.css
Andreas Dangel ba63a16d4c
[doc] Fix styling for details sections
using parse_block_html:true destroyed shuffle_panel on index.md...
2024-03-21 11:12:17 +01:00

135 lines
1.9 KiB
CSS

.landing-page.cat-title {
margin-bottom: .5cm;
margin-top: .5cm;
}
.landing-page.cat-description {
margin-top: .4cm;
}
#grid > div {
margin: 10px 0px;
}
#grid .card-body {
padding-top: 0cm;
}
#grid .card-header {
font-weight: bold;
}
/* Offsets contents by the height of the nav bar */
#topbar-content-offset {
overflow: scroll;
position: absolute;
top: 50px; /* height of the nav bar */
bottom: 0px;
width: 100%;
}
header {
margin-top: 40px;
}
details {
border-radius: 3px;
background: #EEE;
margin-left: 10px;
}
details.no-background {
background: white;
}
details p {
padding: 5px 10px 5px;
background: white;
}
details summary {
font-size: 11pt;
vertical-align: top;
background: #d2d2d2;
color: black;
border-radius: 3px;
padding: 5px 10px;
outline: none;
cursor: pointer;
display: list-item;
}
details summary::after {
content: "...";
}
details[open] summary {
background-color: #347DBE;
color: white;
}
.hiddenRow {
padding: 0 !important;
}
.xpath-fun-doc .fun-name {
font-weight: bold;
}
.xpath-fun-doc .fun-details-header {
font-family: monospace;
font-size: larger;
}
.xpath-fun-doc .fun-ns {
color: darkgray;
}
.xpath-fun-doc span.param-name {
font-weight: normal;
}
.xpath-fun-doc span.param-type {
font-weight: lighter;
font-style: italic;
color: darkgray;
}
.xpath-fun-doc .code-examples dt {
font-weight: normal;
}
.float-right {
float: right;
}
.float-left {
float: left;
}
.footer p img {
margin-left: 1em;
}
pre {
display: block;
padding: 9.5px;
margin: 0 0 10px;
font-size: 13px;
line-height: 1.428571429;
word-break: break-all;
word-wrap: break-word;
color: #77777a;
background-color: #f5f5f5;
border: 1px solid #cccccc;
border-radius: 4px;
}
div.sidebarTitleDate {
margin-top:2.5px;
margin-bottom:5px;
margin-left:5px;
}