Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove customization for definition lists #2868

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 0 additions & 43 deletions doc/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,6 @@ h3 {
border-bottom: 1px solid lightpink;
}

/* Override the red color and background for code elements */
code {
color: #2c3e50;
background-color: #ecf0f1;
}

/* Contrast for pre elements was to small. */
pre {
color: #2c3e50;
Expand Down Expand Up @@ -77,43 +71,6 @@ level AA test for contrast */
background-color: #f2dede;
}

/* Definition list */
dl {
overflow: auto;
}

dt {
clear: left;
float: left;
text-align: right;
width: 14rem;
}

dt:after {
content: ":";
}

dd {
margin-top: 0;
margin-left: 15rem;
}

/* Autogenerated classes use definition lists. Override for them */
.class dt {
clear: none;
float: none;
text-align: initial;
width: auto;
}

.class dd {
margin-left: auto;
}

.class dt:after {
content: initial;
}

/* Highlight versionadded more */
p.versionadded {
background-color: lightsteelblue;
Expand Down
Loading