0eea16a0948fef9c0e5adc36265e3890f01f8fac
[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 /* copied from main.css, applied here */
10 body {
11 border-width: 0px;
12 }
13 .page_header,.page_footer {
14 // auto centers it
15 margin-left: auto;
16 margin-right: auto;
17 margin-top: 0;
18 margin-bottom: 0;
19 padding-left: 30px;
20 padding-right: 30px;
21 max-width: $main-column-max-width;
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 .content {
30 /* summary pages etc. don't fit nicely in 700px, so just*/
31 /* have a 20px margin. */
32 margin: 0 20px;
33 }
34
35 div.page_header {
36 /* 21.0667 seems to be default for h3 in the non-gitweb site, copy it here */
37 margin-top: 21.0667px;
38 margin-bottom: 21.0667px;
39 /* remove padding added by gitweb's css */
40 padding-top: 0;
41 padding-bottom: 0;
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 a:hover {
52 text-decoration: underline !important;
53 }
54
55 a:visited {
56 color: $link-visited-color !important;
57 }
58
59
60 .page_header, .page_header a:visited, .page_header a {
61 /* copy from h settings in main.css */
62 line-height: 1.2;
63 /* copy of the h3 size in main site. */
64 font-size: 21.0667px;
65 /* same as for main.css */
66 color: $page-header-link-color !important;
67 }