system-config/modules/openstack_project/files/git/openstack.css
Zhongyue Luo 7b7836e5c6 Fixes git repository browser line number misalignment
When browsing the source code in Chrome, the lines and line numbers are not
aligned. Setting a font family and font size fixes this problem.

Change-Id: I6809e7bf6eab869f2c686db73019bf70fdb51430
2014-05-30 14:59:54 +08:00

100 lines
2.1 KiB
CSS

@import url('/cgit-data/cgit.css');
body {
background: url("/static/openstack-page-bkg.jpg") no-repeat scroll 0 0 white !important;
}
div#cgit {
background: transparent;
}
div#cgit table#header td.main {
font-size: 200%;
letter-spacing: -1px;
color: #CF2F19;
}
div#cgit table.list {
border-collapse: separate;
border-spacing: 0;
}
div#cgit table.list th {
border: 1px solid #ffffff;
padding: 2px 6px 1px;
background-color: #eef3f5;
font-style: italic;
white-space: nowrap;
font-weight: normal;
}
div#cgit table.list th a {
color: #264d69;
}
div#cgit table.list td.reposection {
color: #264d69;
}
div#cgit table.list tr:nth-child(odd) {
background: white;
}
div#cgit table.list tr:nth-child(even) {
background: #f5f5ff;
}
div#cgit table.list td {
padding-left: 5px;
padding-right: 5px;
border-right: 1px solid #eef3f5;
border-bottom: 1px solid #eef3f5;
}
div#cgit table.list td a {
color: #264d69;
}
div#cgit table.list td a:hover {
color: black;
}
div#cgit table.list tr.nohover {
background: #eef3f5;
}
div#cgit table.list tr.nohover:hover {
background: #eef3f5;
}
div#cgit table.blob td.lines {
margin: 0; padding: 0 0 0 0.5em;
vertical-align: top;
color: black;
font-family: monospace;
font-size: 14px;
}
div#cgit table.blob td.linenumbers {
margin: 0; padding: 0 0.5em 0 0.5em;
vertical-align: top;
text-align: right;
border-right: 1px solid gray;
font-family: monospace;
font-size: 14px;
}
/* Syntax highlighting */
div#cgit table.blob .num { color:#2928ff; }
div#cgit table.blob .esc { color:#ff00ff; }
div#cgit table.blob .str { color:#ff0000; }
div#cgit table.blob .dstr { color:#818100; }
div#cgit table.blob .slc { color:#838183; font-style:italic; }
div#cgit table.blob .com { color:#838183; font-style:italic; }
div#cgit table.blob .dir { color:#008200; }
div#cgit table.blob .sym { color:#000000; }
div#cgit table.blob .kwa { color:#000000; font-weight:bold; }
div#cgit table.blob .kwb { color:#830000; }
div#cgit table.blob .kwc { color:#000000; font-weight:bold; }
div#cgit table.blob .kwd { color:#010181; }