build common css into single css file
[iankelling.org] / css / gitweb-site.scss
1 @import 'common';
2
3 .main-content-stripe {
4 /* i don't like bright white. copy a gitweb color */
5 background-color: #f6f6f0;
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 margin: 0 auto;
15 max-width: 700px;
16 }
17
18 table.project_list {
19 /* The main project list just has this one uncentered element,*/
20 /* so center it */
21 margin: 0 auto;
22 }
23 .content {
24 /* summary pages etc. don't fit nicely in 700px, so just*/
25 /* have a 20px margin. */
26 margin: 0 20px;
27 }
28
29 div.page_header {
30 /* 21.0667 seems to be default for h3 in the non-gitweb site, copy it here */
31 margin-top: 21.0667px;
32 margin-bottom: 21.0667px;
33 /* remove padding added by gitweb's css */
34 padding: 0;
35 }
36
37 /* I tried to find all the css to override,*/
38 /* but found certain things not overriding as I would expect,*/
39 /* So hammer it with !important */
40 a {
41 color: #0645ad !important;
42 text-decoration: none;
43 }
44 a:hover {
45 text-decoration: underline !important;
46 }
47
48 a:visited {
49 color: #0b0080 !important;
50 }
51
52
53 .page_header, .page_header a:visited, .page_header a {
54 /* copy from h settings in main.css */
55 line-height: 1.2;
56 /* copy of the h3 size in main site. */
57 font-size: 21.0667px;
58 /* same as for main.css */
59 color: #333333 !important;
60 }