fabf174999
tex formulas in the documentation using mathjax. and spliting the MLlib documentation by techniques see jira https://spark-project.atlassian.net/browse/MLLIB-19 and https://github.com/shivaram/spark/compare/mathjax Author: Martin Jaggi <m.jaggi@gmail.com> == Merge branch commits == commit 0364bfabbfc347f917216057a20c39b631842481 Author: Martin Jaggi <m.jaggi@gmail.com> Date: Fri Feb 7 03:19:38 2014 +0100 minor polishing, as suggested by @pwendell commit dcd2142c164b2f602bf472bb152ad55bae82d31a Author: Martin Jaggi <m.jaggi@gmail.com> Date: Thu Feb 6 18:04:26 2014 +0100 enabling inline latex formulas with $.$ same mathjax configuration as used in math.stackexchange.com sample usage in the linear algebra (SVD) documentation commit bbafafd2b497a5acaa03a140bb9de1fbb7d67ffa Author: Martin Jaggi <m.jaggi@gmail.com> Date: Thu Feb 6 17:31:29 2014 +0100 split MLlib documentation by techniques and linked from the main mllib-guide.md site commit d1c5212b93c67436543c2d8ddbbf610fdf0a26eb Author: Martin Jaggi <m.jaggi@gmail.com> Date: Thu Feb 6 16:59:43 2014 +0100 enable mathjax formula in the .md documentation files code by @shivaram commit d73948db0d9bc36296054e79fec5b1a657b4eab4 Author: Martin Jaggi <m.jaggi@gmail.com> Date: Thu Feb 6 16:57:23 2014 +0100 minor update on how to compile the documentation
149 lines
2.9 KiB
CSS
Executable file
149 lines
2.9 KiB
CSS
Executable file
/* ==========================================================================
|
|
Author's custom styles
|
|
========================================================================== */
|
|
|
|
.navbar .brand {
|
|
height: 50px;
|
|
width: 110px;
|
|
margin-left: 1px;
|
|
padding: 0;
|
|
}
|
|
|
|
.version {
|
|
line-height: 30px;
|
|
vertical-align: bottom;
|
|
font-size: 12px;
|
|
padding: 0;
|
|
margin: 0;
|
|
font-weight: bold;
|
|
color: #777;
|
|
}
|
|
|
|
.navbar-inner {
|
|
padding-top: 2px;
|
|
height: 50px;
|
|
}
|
|
|
|
.navbar-inner .nav {
|
|
margin-top: 5px;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.navbar .divider-vertical {
|
|
border-right-color: lightgray;
|
|
}
|
|
|
|
.navbar-text .version-text {
|
|
color: #555555;
|
|
padding: 5px;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
body #content {
|
|
line-height: 1.6; /* Inspired by Github's wiki style */
|
|
}
|
|
|
|
.title {
|
|
font-size: 32px;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 28px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 24px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 21px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
pre {
|
|
font-family: "Menlo", "Lucida Console", monospace;
|
|
}
|
|
|
|
code {
|
|
font-family: "Menlo", "Lucida Console", monospace;
|
|
background: white;
|
|
border: none;
|
|
padding: 0;
|
|
color: #444444;
|
|
}
|
|
|
|
a code {
|
|
color: #0088cc;
|
|
}
|
|
|
|
a:hover code {
|
|
color: #005580;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.container {
|
|
max-width: 914px;
|
|
}
|
|
|
|
.dropdown-menu {
|
|
/* Remove the default 2px top margin which causes a small
|
|
gap between the hover trigger area and the popup menu */
|
|
margin-top: 0;
|
|
/* Avoid too much whitespace at the right for shorter menu items */
|
|
min-width: 50px;
|
|
}
|
|
|
|
/**
|
|
* Make dropdown menus in nav bars show on hover instead of click
|
|
* using solution at http://stackoverflow.com/questions/8878033/how-
|
|
* to-make-twitter-bootstrap-menu-dropdown-on-hover-rather-than-click
|
|
**/
|
|
ul.nav li.dropdown:hover ul.dropdown-menu{
|
|
display: block;
|
|
}
|
|
|
|
a.menu:after, .dropdown-toggle:after {
|
|
content: none;
|
|
}
|
|
|
|
/** Make the submenus open on hover on the parent menu item */
|
|
ul.nav li.dropdown ul.dropdown-menu li.dropdown-submenu:hover ul.dropdown-menu {
|
|
display: block;
|
|
}
|
|
|
|
/** Make the submenus be invisible until the parent menu item is hovered upon */
|
|
ul.nav li.dropdown ul.dropdown-menu li.dropdown-submenu ul.dropdown-menu {
|
|
display: none;
|
|
}
|
|
|
|
/**
|
|
* Made the navigation bar buttons not grey out when clicked.
|
|
* Essentially making nav bar buttons not react to clicks, only hover events.
|
|
*/
|
|
.navbar .nav li.dropdown.open > .dropdown-toggle {
|
|
background-color: transparent;
|
|
}
|
|
|
|
/**
|
|
* Made the active tab caption blue. Otherwise the active tab is black, and inactive tab is blue.
|
|
* That looks weird. Changed the colors to active - blue, inactive - black, and
|
|
* no color change on hover.
|
|
*/
|
|
.nav-tabs > .active > a, .nav-tabs > .active > a:hover {
|
|
color: #08c;
|
|
}
|
|
|
|
.nav-tabs > li > a, .nav-tabs > li > a:hover {
|
|
color: #333;
|
|
}
|
|
|
|
/**
|
|
* MathJax (embedded latex formulas)
|
|
*/
|
|
.MathJax .mo { color: inherit }
|
|
.MathJax .mi { color: inherit }
|
|
.MathJax .mf { color: inherit }
|
|
.MathJax .mh { color: inherit }
|