/** * A lightweight style for ViewGit * * @author Heikki Hokkanen <hoxu@users.sf.net> */ body { color: black; background-color: white; } h1 { font-size: 130%; } h1 a { text-decoration: none; } table { width: 100%; border-collapse: collapse; font-size: 80%; } table tr td { } table tbody tr:hover { background-color: #ccc; } table th { text-align: left; border-bottom: 1px solid black; } .notices { font-size: 80%; padding-left: 1em; margin: 0; } .notices p { margin: 0; padding: 0; } .notices .error { background-color: #f77; } .notices .info { background-color: #ff7; } .notices .warning { background-color: #fc7; } .nav { font-size: 80%; padding: 0.5em; } .nav a { text-decoration: none; } .pagenav { margin-top: 0.3em; padding-top: 0.5em; padding-bottom: 0.5em; font-size: 80%; border-top: 1px solid #333; border-bottom: 1px solid #333; } .pagenav a { text-decoration: none; } .pagenav a:hover { text-decoration: underline; } .pagenav .cur { font-weight: bold; } .search { display: inline; } .ad { font-size: 60%; position: absolute; top: 0; right: 0; } span.label { font-size: 80%; padding-left: 0.5em; padding-right: 0.5em; margin-left: 0.5em; font-weight: bold; } span.head { background-color: #afa; border-right: 1px solid #090; border-bottom: 1px solid #090; } span.remote { background-color: #faf; border-right: 1px solid #909; border-bottom: 1px solid #909; } span.tag { background-color: #ffa; border-right: 1px solid #990; border-bottom: 1px solid #990; } /* index template */ .tree_link:before, .tar_link:before, .zip_link:before { content: '['; } .tree_link:after, .tar_link:after, .zip_link:after { content: ']'; } /* summary template */ table.shortlog th.date { width: 15%; white-space: pre; } table.shortlog th.author { width: 15%; } table.heads th.date { width: 15%; } .cdiff_link:before, .patch_link:before { content: '['; } .cdiff_link:after, .patch_link:after { content: ']'; } /* commitdiff template */ .commitmessage { padding: 0.5em; background-color: #999; } .diff .add { color: green; } .diff .del { color: red; } .diff .pos { color: purple; } .diff .etc { color: #999; } /* tree template */ table.tree th.perm { width: 10%; } table.tree th.dl { width: 10%; } table.tree .dir { background-color: #ff9; } table.tree .dir:hover { background-color: #ff0; } /* viewblob template */ .file { background-color: #ddd; padding: 0.5em; margin: 0.5em; }