Cleanup layout and formatting issues with css
Project: http://git-wip-us.apache.org/repos/asf/zookeeper/repo Commit: http://git-wip-us.apache.org/repos/asf/zookeeper/commit/1b578d94 Tree: http://git-wip-us.apache.org/repos/asf/zookeeper/tree/1b578d94 Diff: http://git-wip-us.apache.org/repos/asf/zookeeper/diff/1b578d94 Branch: refs/heads/website Commit: 1b578d940367904e2bccabba570e3c999f62f630 Parents: bad41bd Author: Patrick Hunt <ph...@apache.org> Authored: Thu Nov 30 11:08:53 2017 -0800 Committer: Patrick Hunt <ph...@apache.org> Committed: Thu Nov 30 11:08:53 2017 -0800 ---------------------------------------------------------------------- _layouts/page.html | 6 ------ css/site.css | 16 +++++++++------- css/type-settings.css | 4 ++-- 3 files changed, 11 insertions(+), 15 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/zookeeper/blob/1b578d94/_layouts/page.html ---------------------------------------------------------------------- diff --git a/_layouts/page.html b/_layouts/page.html index ebbbdb5..9aaf87f 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -3,12 +3,6 @@ {% include header.html %} <body> <div class="white_box"> - <div class="header"> - <div class="header_l"> - <div class="header_r"> - </div> - </div> - </div> <div class="content"> <div class="content_l"> <div class="content_r"> http://git-wip-us.apache.org/repos/asf/zookeeper/blob/1b578d94/css/site.css ---------------------------------------------------------------------- diff --git a/css/site.css b/css/site.css index e2faf29..2381388 100644 --- a/css/site.css +++ b/css/site.css @@ -73,11 +73,13 @@ div#header_background{background: #294563; } /* Top and Bottom Bar Styling */ /* ====================================================== */ div.top_red_bar { - background: transparent url("../images/top-red-bar.png") repeat 0pt; +// background: transparent url("../images/top-red-bar.png") repeat 0pt; + background: transparent repeat 0pt; overflow: hidden; } div.bottom_red_bar { - background: transparent url("../images/bottom-red-bar.png") repeat 0pt; height: 11px; +// background: transparent url("../images/bottom-red-bar.png") repeat 0pt; height: 11px; + background: transparent repeat 0pt; height: 11px; overflow: hidden; } @@ -90,7 +92,7 @@ div#searchbox { text-align: right; color: white; z-index:0; - background-image: url(images/rc-t-l-5-1header-2searchbox-3searchbox.png); +// background-image: url(images/rc-t-l-5-1header-2searchbox-3searchbox.png); background-repeat: no-repeat; background-position: top left; bottom: -1px; /* compensate for IE rendering issue */ @@ -153,9 +155,9 @@ div#site-quicklinks sup img { /* ====================================================== */ /* Navigation Styling */ /* ====================================================== */ -div.navigation {background: #ffffff url("../images/right-box-left.png") repeat-y left 0pt; width:200px;} -div.navigation_top {background: transparent url("../images/right-box-top.png") no-repeat left top;} -div.navigation_bottom {background: transparent url("../images/right-box-bottom.png") no-repeat left bottom;} +div.navigation {background: #ffffff repeat-y left 0pt; width:200px;} +div.navigation_top {background: transparent no-repeat left top;} +div.navigation_bottom {background: transparent no-repeat left bottom;} div.navigation_bottom {padding-left: 5px;padding-right:11px; padding-top:17px; padding-bottom:17px;} /* div.navigation {float:right;} */ @@ -194,7 +196,7 @@ div.navigation h3 a:link, div.navigation h3 a:visited, div.navigation h3 a:activ } Xdiv.navigation Xh3 { - background: url("../images/big-bullet.png") no-repeat 0pt; + background: no-repeat 0pt; background-position:left center; margin-left:15px; padding-left: 20px; http://git-wip-us.apache.org/repos/asf/zookeeper/blob/1b578d94/css/type-settings.css ---------------------------------------------------------------------- diff --git a/css/type-settings.css b/css/type-settings.css index b19dc9e..f090ddb 100644 --- a/css/type-settings.css +++ b/css/type-settings.css @@ -77,10 +77,10 @@ ul, ol { } ul li { -list-style-image: url("../images/small-bullet-red.png"); +//list-style-image: url("../images/small-bullet-red.png"); } ul li ul li{ -list-style-image: url("../images/small-bullet-gray.png"); +//list-style-image: url("../images/small-bullet-gray.png"); } pre {