8000 Fixed #634 - Formatting on admonitions looked off. · googleapis/google-cloud-python@b78d161 · GitHub
[go: up one dir, main page]

Skip to content

Commit b78d161

Browse files
committed
Fixed #634 - Formatting on admonitions looked off.
1 parent f73ad7e commit b78d161

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

docs/_static/css/main.css

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -596,19 +596,28 @@ h2, h3 {
596596
/* Docs Content
597597
========================================================================== */
598598

599-
.admonition-title {
600-
background-color: #e5ecf9;
601-
padding: 8px;
602-
}
603-
604599
.admonition {
605600
background-color: #f8f8f8;
606601
}
607602

603+
.admonition p.admonition-title {
604+
background-color: #e5ecf9;
605+
font-weight: bold;
606+
padding: 8px;
607+
}
608+
608609
.admonition pre {
609610
background-color: #eeeeee !important;
610611
}
611612

613+
.admonition p {
614+
padding: 0 8px;
615+
}
616+
617+
.admonition .last {
618+
padding-bottom: 8px;
619+
}
620+
612621
.docs-header {
613622
position: relative;
614623
padding: 7em 2em 4em;

0 commit comments

Comments
 (0)
0