update web server setup dependency
[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 .index_include {
16 margin-bottom: 0;
17 margin-left: auto;
18 margin-right: auto;
19 margin-top: 0;
20 max-width: $main-column-max-width;
21 padding-left: 30px;
22 padding-right: 30px;
23 }
24
25 table.project_list {
26 // The main project list just has this one uncentered element,
27 // so center it
28 margin: 0 auto;
29 }
30
31 .content {
32 // summary pages etc. don't fit nicely in 700px, so just
33 // have a 20px margin.
34 margin: 0 20px;
35 }
36
37 div.page_header {
38 // 21.0667 seems to be default for h3 in the non-gitweb site, copy it here
39 margin-bottom: 21.0667px;
40 margin-top: 21.0667px;
41 padding-bottom: 0;
42 padding-top: 0; // remove padding added by gitweb's css
43 }
44
45 // I tried to find all the css to override,
46 // but found certain things not overriding as I would expect,
47 // So hammer it with !important
48 a {
49 color: $link-color !important;
50 text-decoration: none;
51 }
52
53 a:hover {
54 text-decoration: underline !important;
55 }
56
57 a:visited {
58 color: $link-visited-color !important;
59 }
60
61 .page_header,
62 .page_header a:visited,
63 .page_header a {
64 color: $page-header-link-color !important; // same as for main.css
65 font-size: 21.0667px; // same as otehr 21.0667
66 line-height: 1.2; // copy from h settings in main.css
67 }