minor css cleanup
[iankelling.org] / css / gitweb-site.scss
1 @import "common";
2
3 .main-content-stripe {
4 // default too bright.
5 background-color: $content-color;
6 padding: 30px 0;
7 }
8
9 body {
10 border-width: 0; // remove ugly border
11 }
12
13 .page_header,
14 .page_footer {
15 margin-bottom: 0;
16 margin-left: auto;
17 margin-right: auto;
18 margin-top: 0;
19 max-width: $main-column-max-width;
20 padding-left: 30px;
21 padding-right: 30px;
22 }
23
24 table.project_list {
25 // The main project list just has this one uncentered element,
26 // so center it
27 margin: 0 auto;
28 }
29
30 .content {
31 // summary pages etc. don't fit nicely in 700px, so just
32 // have a 20px margin.
33 margin: 0 20px;
34 }
35
36 div.page_header {
37 // 21.0667 seems to be default for h3 in the non-gitweb site, copy it here
38 margin-bottom: 21.0667px;
39 margin-top: 21.0667px;
40 padding-bottom: 0;
41 padding-top: 0; // remove padding added by gitweb's css
42 }
43
44 // I tried to find all the css to override,
45 // but found certain things not overriding as I would expect,
46 // So hammer it with !important
47 a {
48 color: $link-color !important;
49 text-decoration: none;
50 }
51
52 a:hover {
53 text-decoration: underline !important;
54 }
55
56 a:visited {
57 color: $link-visited-color !important;
58 }
59
60 .page_header,
61 .page_header a:visited,
62 .page_header a {
63 color: $page-header-link-color !important; // same as for main.css
64 font-size: 21.0667px; // same as otehr 21.0667
65 line-height: 1.2; // copy from h settings in main.css
66 }