Skip to content

Commit 3b7a49d

Browse files
committed
fix: adjust h2 CSS styles to not mix with functions descriptions
1 parent fc4533b commit 3b7a49d

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

src/Resources/themes/default/css/doctum.css

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,13 @@ a abbr {
352352
margin: 0 0 20px 0;
353353
}
354354

355+
.namespace-container > h2 {
356+
background-color: #edf3fe;
357+
padding: 4px 4px 4px 8px;
358+
font-size: 25px;
359+
margin: 20px 0;
360+
}
361+
355362
@media (max-width: 991px) {
356363
.namespaces .namespace-container {
357364
margin-right: 0;
@@ -387,13 +394,14 @@ pre {
387394
border-radius: 3px;
388395
}
389396

390-
h2 {
397+
#page-content > h2 {
391398
background-color: #edf3fe;
392399
padding: 4px 4px 4px 8px;
393400
font-size: 25px;
394401
margin: 20px 0;
395402
}
396403

404+
397405
/** Doc index **/
398406

399407
dt {
@@ -429,14 +437,14 @@ dd {
429437
border-bottom: 1px solid #ccc;
430438
}
431439

432-
.search-results h2 {
440+
.search-results > li > h2 {
433441
background: none;
434442
margin: 0;
435443
padding: 0;
436444
font-size: 18px;
437445
}
438446

439-
.search-results h2 a {
447+
.search-results > li > h2 > a {
440448
float: left;
441449
display: block;
442450
margin: 0 0 4px 0;

0 commit comments

Comments
 (0)