Skip to content

Commit

Permalink
Add pretty styling to definition lists, and adjust padding on unorder…
Browse files Browse the repository at this point in the history
…ed lists

Closes #260
  • Loading branch information
lsegal committed Feb 27, 2011
2 parents 4737bd2 + 8c5c706 commit 4822edf
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion templates/default/fulldoc/html/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ h2 small { font-weight: normal; font-size: 0.7em; display: block; float: right;
.docstring h3, .docstring h4 { font-size: 1em; border-bottom: 0; padding-top: 10px; }
.summary_desc .object_link, .docstring .object_link { font-family: monospace; }

/* style for <ul> */
#filecontents li > p, .docstring li > p { margin: 0px; }
#filecontents ul, .docstring ul { padding-left: 20px; }
/* style for <dl> */
#filecontents dl, .docstring dl { border: 1px solid #ccc; }
#filecontents dt, .docstring dt { background: #ddd; font-weight: bold; padding: 3px 5px; }
#filecontents dd, .docstring dd { padding: 5px 0px; margin-left: 18px; }
#filecontents dd > p, .docstring dd > p { margin: 0px; }

.note {
color: #222;
-moz-border-radius: 3px; -webkit-border-radius: 3px;
Expand Down Expand Up @@ -307,4 +316,3 @@ pre.code .id.backref,
pre.code .id.nth_ref { color: #6D79DE; }
pre.code .regexp, .dregexp { color: #036A07; }
pre.code a { border-bottom: 1px dotted #bbf; }

0 comments on commit 4822edf

Please sign in to comment.