forked from apache/kudu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate docs with Kudu site menu and CSS, customize CSS somewhat.
Change-Id: Ia8a1cfb2b68a5d527b78d5e3a191a76ba4aabd39 Reviewed-on: http://gerrit.sjc.cloudera.com:8080/7592 Tested-by: Adar Dembo <[email protected]> Reviewed-by: Adar Dembo <[email protected]>
- Loading branch information
Showing
15 changed files
with
205 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
<!-- Bootstrap core CSS --> | ||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet"> | ||
<style> | ||
/* Custom styles for this template */ | ||
|
||
/* from justified-nav.css */ | ||
body { | ||
padding-top: 20px; | ||
} | ||
|
||
.footer { | ||
padding-top: 40px; | ||
padding-bottom: 40px; | ||
margin-top: 40px; | ||
border-top: 1px solid #eee; | ||
} | ||
|
||
/* Main marketing message and sign up button */ | ||
.jumbotron { | ||
text-align: center; | ||
background-color: transparent; | ||
} | ||
.jumbotron .btn { | ||
padding: 14px 24px; | ||
font-size: 21px; | ||
} | ||
|
||
/* Customize the nav-justified links to be fill the entire space of the .navbar */ | ||
|
||
.nav-justified { | ||
background-color: #eee; | ||
border: 1px solid #ccc; | ||
border-radius: 5px; | ||
} | ||
.nav-justified > li > a { | ||
padding-top: 15px; | ||
padding-bottom: 15px; | ||
margin-bottom: 0; | ||
font-weight: bold; | ||
color: #777; | ||
text-align: center; | ||
background-color: #e5e5e5; /* Old browsers */ | ||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e5e5e5)); | ||
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%); | ||
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%); | ||
background-image: linear-gradient(to bottom, #f5f5f5 0%,#e5e5e5 100%); | ||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */ | ||
background-repeat: repeat-x; /* Repeat the gradient */ | ||
border-bottom: 1px solid #d5d5d5; | ||
} | ||
.nav-justified > .active > a, | ||
.nav-justified > .active > a:hover, | ||
.nav-justified > .active > a:focus { | ||
background-color: #ddd; | ||
background-image: none; | ||
-webkit-box-shadow: inset 0 3px 7px rgba(0,0,0,.15); | ||
box-shadow: inset 0 3px 7px rgba(0,0,0,.15); | ||
} | ||
.nav-justified > li:first-child > a { | ||
border-radius: 5px 5px 0 0; | ||
} | ||
.nav-justified > li:last-child > a { | ||
border-bottom: 0; | ||
border-radius: 0 0 5px 5px; | ||
} | ||
|
||
@media (min-width: 768px) { | ||
.nav-justified { | ||
max-height: 52px; | ||
} | ||
.nav-justified > li > a { | ||
border-right: 1px solid #d5d5d5; | ||
border-left: 1px solid #fff; | ||
} | ||
.nav-justified > li:first-child > a { | ||
border-left: 0; | ||
border-radius: 5px 0 0 5px; | ||
} | ||
.nav-justified > li:last-child > a { | ||
border-right: 0; | ||
border-radius: 0 5px 5px 0; | ||
} | ||
} | ||
|
||
/* Responsive: Portrait tablets and up */ | ||
@media screen and (min-width: 768px) { | ||
/* Remove the padding we set earlier */ | ||
.masthead, | ||
.marketing, | ||
.footer { | ||
padding-right: 0; | ||
padding-left: 0; | ||
} | ||
} | ||
|
||
/* Overrides */ | ||
|
||
.admonitionblock td.content>.title, .audioblock>.title, .exampleblock>.title, .imageblock>.title, .listingblock>.title, .literalblock>.title, .stemblock>.title, .openblock>.title, .paragraph>.title, .quoteblock>.title, table.tableblock>.title, .verseblock>.title, .videoblock>.title, .dlist>.title, .olist>.title, .ulist>.title, .qlist>.title, .hdlist>.title { | ||
font-size: 16px; | ||
font-weight: 200; | ||
} | ||
|
||
p, blockquote, dt, td.content { | ||
font-size: 14px; | ||
} | ||
|
||
.jumbotron dt { | ||
font-size: 24px; | ||
font-weight: 200; | ||
} | ||
|
||
.jumbotron dd p { | ||
font-size: 18px; | ||
font-weight: 200; | ||
} | ||
#header h1 { | ||
text-align: center; | ||
} | ||
|
||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters