File: //usr/lib/python3/dist-packages/trac/htdocs/css/code.css
div.code {
background: #f7f7f7;
border: 1px solid #d7d7d7;
overflow: auto;
border-radius: .3em; /* content_border_radius */
box-shadow: 0.3em 0.3em 0.75em 0.1em rgba(210, 215, 220, 0.3); /* content_box_shadow */
}
div.code pre {
margin: 0;
overflow: auto;
padding: .25em;
border-radius: .3em;
}
@media print {
div.code { box-shadow: none }
div.code pre { white-space: pre-wrap }
}
table.code {
border: 1px solid #ddd;
border-spacing: 0;
border-top: 0;
border-collapse: collapse;
empty-cells: show;
font-size: .9em; /* code_font_size */
line-height: 120%; /* code_line_height */
padding: 0;
margin: 0 auto;
table-layout: fixed;
width: 100%;
box-shadow: 0.3em 0.3em 0.75em 0.1em rgba(210, 215, 220, 0.3); /* content_box_shadow */
}
table.code th {
border-right: 1px solid #d7d7d7;
border-bottom: 1px solid #d7d7d7;
font-size: .9em;
}
table.code th.lineno { width: 4em }
table.code thead th {
background: #eee;
border-top: 1px solid #d7d7d7;
color: #999;
padding: 0 .25em;
text-align: center;
white-space: nowrap;
}
table.code thead th.content {
text-align: left;
}
table.code thead th.content span.recover {
background: #f7f7f7;
border-left: 1px solid;
border-right: 1px solid;
cursor: pointer;
margin: 0 1em 0 0;
padding: 0 .5em;
}
table.code tbody th {
background: #eed;
color: #886;
font-weight: normal;
padding: 0 .5em;
text-align: right;
vertical-align: top;
}
table.code tbody th :link, table.code tbody th :visited {
border: none;
color: #886;
text-decoration: none;
}
table.code tbody th :link:hover, table.code tbody th :visited:hover {
color: #000;
}
table.code tbody tr:hover td {
background: #eed;
}
table.code td {
font-family: 'Open Sans Mono',Consolas,'Lucida Console',monospace; /* code_monospace */
overflow: hidden;
padding: 1px 2px;
vertical-align: top;
white-space: pre-wrap;
}
table.code tr.hilite th {
background: #ccf;
}
table.code tr.hilite td {
background: #ddf;
}
.image-file { background: #eee; padding: .3em }
.image-file img { background: url(../imggrid.png) }
/* Default XXX is that used anywhere? */
.code-block span {
font-family: 'Open Sans Mono',Consolas,'Lucida Console',monospace; /* code_monospace */
}