X-Git-Url: https://iankelling.org/git/?p=iankelling.org;a=blobdiff_plain;f=css%2Fgitweb-site.scss;h=0eea16a0948fef9c0e5adc36265e3890f01f8fac;hp=11b81e287608685453f81102b871d48eb5dcce5a;hb=d668aa72f0503fe96aff5865215602e8f87e1a56;hpb=512e27c6bf1c40085f9fcc4c9769ef5b8ba6f4f9 diff --git a/css/gitweb-site.scss b/css/gitweb-site.scss index 11b81e2..0eea16a 100644 --- a/css/gitweb-site.scss +++ b/css/gitweb-site.scss @@ -1,8 +1,8 @@ @import 'common'; .main-content-stripe { - /* i don't like bright white. copy a gitweb color */ - background-color: #f6f6f0; + // default too bright. + background-color: $content-color; padding: 30px 0; } @@ -11,8 +11,14 @@ body { border-width: 0px; } .page_header,.page_footer { - margin: 0 auto; - max-width: 700px; + // auto centers it + margin-left: auto; + margin-right: auto; + margin-top: 0; + margin-bottom: 0; + padding-left: 30px; + padding-right: 30px; + max-width: $main-column-max-width; } table.project_list { @@ -31,14 +37,15 @@ div.page_header { margin-top: 21.0667px; margin-bottom: 21.0667px; /* remove padding added by gitweb's css */ - padding: 0; + padding-top: 0; + padding-bottom: 0; } /* I tried to find all the css to override,*/ /* but found certain things not overriding as I would expect,*/ /* So hammer it with !important */ a { - color: #0645ad !important; + color: $link-color !important; text-decoration: none; } a:hover { @@ -46,7 +53,7 @@ a:hover { } a:visited { - color: #0b0080 !important; + color: $link-visited-color !important; } @@ -56,5 +63,5 @@ a:visited { /* copy of the h3 size in main site. */ font-size: 21.0667px; /* same as for main.css */ - color: #333333 !important; + color: $page-header-link-color !important; }