2012-09-03 02:05:40 -04:00
|
|
|
/* ==========================================================================
|
|
|
|
Author's custom styles
|
|
|
|
========================================================================== */
|
2012-09-12 22:27:44 -04:00
|
|
|
|
2012-09-13 15:08:12 -04:00
|
|
|
.navbar .brand {
|
2012-09-25 22:31:07 -04:00
|
|
|
height: 50px;
|
2012-10-13 22:05:11 -04:00
|
|
|
width: 110px;
|
2012-09-25 22:31:07 -04:00
|
|
|
margin-left: 1px;
|
2012-10-13 22:05:11 -04:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.version {
|
|
|
|
line-height: 30px;
|
|
|
|
vertical-align: bottom;
|
|
|
|
font-size: 12px;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
font-weight: bold;
|
|
|
|
color: #777;
|
2012-09-12 22:27:44 -04:00
|
|
|
}
|
|
|
|
|
2012-09-13 18:27:33 -04:00
|
|
|
.navbar-inner {
|
2012-09-26 02:26:56 -04:00
|
|
|
padding-top: 2px;
|
2012-09-25 22:31:07 -04:00
|
|
|
height: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-inner .nav {
|
|
|
|
margin-top: 5px;
|
2012-09-25 18:46:18 -04:00
|
|
|
font-size: 15px;
|
2012-09-13 18:27:33 -04:00
|
|
|
}
|
|
|
|
|
2012-10-08 20:14:53 -04:00
|
|
|
.navbar .divider-vertical {
|
|
|
|
border-right-color: lightgray;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-text .version-text {
|
2012-10-09 17:30:23 -04:00
|
|
|
color: #555555;
|
2012-10-08 20:14:53 -04:00
|
|
|
padding: 5px;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
2015-11-23 00:51:42 -05:00
|
|
|
body .container-wrapper {
|
2015-12-16 13:12:33 -05:00
|
|
|
background-color: #FFF;
|
|
|
|
color: #1D1F22;
|
|
|
|
max-width: 1024px;
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
border-radius: 15px;
|
2015-11-23 00:51:42 -05:00
|
|
|
position: relative;
|
2012-09-12 22:27:44 -04:00
|
|
|
}
|
|
|
|
|
2012-09-12 22:47:31 -04:00
|
|
|
.title {
|
|
|
|
font-size: 32px;
|
|
|
|
}
|
|
|
|
|
2012-09-12 22:27:44 -04:00
|
|
|
h1 {
|
|
|
|
font-size: 28px;
|
2012-09-26 22:17:58 -04:00
|
|
|
margin-top: 12px;
|
2012-09-12 22:27:44 -04:00
|
|
|
}
|
|
|
|
|
2012-09-12 22:47:31 -04:00
|
|
|
h2 {
|
|
|
|
font-size: 24px;
|
2012-09-26 22:17:58 -04:00
|
|
|
margin-top: 12px;
|
2012-09-12 22:47:31 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 21px;
|
2012-09-26 22:17:58 -04:00
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
font-family: "Menlo", "Lucida Console", monospace;
|
2012-09-12 22:47:31 -04:00
|
|
|
}
|
|
|
|
|
2012-09-12 22:27:44 -04:00
|
|
|
code {
|
2012-09-25 18:46:18 -04:00
|
|
|
font-family: "Menlo", "Lucida Console", monospace;
|
|
|
|
background: white;
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
2012-09-26 22:17:58 -04:00
|
|
|
color: #444444;
|
2012-09-25 18:46:18 -04:00
|
|
|
}
|
|
|
|
|
2019-08-28 18:30:38 -04:00
|
|
|
dt code {
|
|
|
|
white-space: nowrap;
|
|
|
|
max-width: 100%;
|
|
|
|
border: solid 1px #e1e4e5;
|
|
|
|
font-size: .8rem;
|
|
|
|
padding: 0 5px;
|
|
|
|
font-family: "Menlo", "Lucida Console", monospace;
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
dd {
|
|
|
|
margin: 0 1.5em 1.5em;
|
|
|
|
}
|
|
|
|
|
2015-10-27 02:53:41 -04:00
|
|
|
div .highlight pre {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
2012-09-26 02:51:04 -04:00
|
|
|
a code {
|
|
|
|
color: #0088cc;
|
|
|
|
}
|
|
|
|
|
2012-09-26 22:17:58 -04:00
|
|
|
a:hover code {
|
|
|
|
color: #005580;
|
|
|
|
text-decoration: underline;
|
2012-09-12 22:27:44 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
|
|
max-width: 914px;
|
|
|
|
}
|
2012-09-25 18:42:50 -04:00
|
|
|
|
2015-12-16 13:12:33 -05:00
|
|
|
.content {
|
|
|
|
z-index: 1;
|
|
|
|
position: relative;
|
|
|
|
background-color: #FFF;
|
|
|
|
max-width: 914px;
|
|
|
|
line-height: 1.6; /* Inspired by Github's wiki style */
|
|
|
|
padding-left: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content-with-sidebar {
|
|
|
|
z-index: 1;
|
|
|
|
position: relative;
|
|
|
|
background-color: #FFF;
|
|
|
|
max-width: 914px;
|
|
|
|
line-height: 1.6; /* Inspired by Github's wiki style */
|
|
|
|
padding-left: 30px;
|
|
|
|
}
|
|
|
|
|
2012-10-08 12:30:32 -04:00
|
|
|
.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;
|
2014-01-29 00:51:05 -05:00
|
|
|
/* Avoid too much whitespace at the right for shorter menu items */
|
|
|
|
min-width: 50px;
|
2012-10-08 12:30:32 -04:00
|
|
|
}
|
2014-01-29 00:51:05 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 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
|
|
|
|
**/
|
2012-09-25 18:42:50 -04:00
|
|
|
ul.nav li.dropdown:hover ul.dropdown-menu{
|
2012-10-08 12:30:32 -04:00
|
|
|
display: block;
|
2012-09-25 18:42:50 -04:00
|
|
|
}
|
2014-01-29 00:51:05 -05:00
|
|
|
|
2012-09-25 18:42:50 -04:00
|
|
|
a.menu:after, .dropdown-toggle:after {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
|
2014-01-29 00:51:05 -05:00
|
|
|
/** 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;
|
|
|
|
}
|
2014-02-08 14:39:13 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
* MathJax (embedded latex formulas)
|
|
|
|
*/
|
|
|
|
.MathJax .mo { color: inherit }
|
|
|
|
.MathJax .mi { color: inherit }
|
|
|
|
.MathJax .mf { color: inherit }
|
|
|
|
.MathJax .mh { color: inherit }
|
2015-06-18 18:10:09 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* AnchorJS (anchor links when hovering over headers)
|
|
|
|
*/
|
|
|
|
a.anchorjs-link:hover { text-decoration: none; }
|
2015-11-23 00:51:42 -05:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The left navigation bar.
|
|
|
|
*/
|
|
|
|
.left-menu-wrapper {
|
2015-12-16 13:12:33 -05:00
|
|
|
margin-left: 0px;
|
|
|
|
margin-right: 0px;
|
2015-11-23 00:51:42 -05:00
|
|
|
background-color: #F0F8FC;
|
2015-12-16 13:12:33 -05:00
|
|
|
border-top-width: 0px;
|
|
|
|
border-left-width: 0px;
|
|
|
|
border-bottom-width: 0px;
|
|
|
|
margin-top: 0px;
|
|
|
|
width: 210px;
|
|
|
|
float: left;
|
2017-11-21 08:25:56 -05:00
|
|
|
position: fixed;
|
2019-08-19 02:17:50 -04:00
|
|
|
overflow-y: scroll;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
2015-11-23 00:51:42 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.left-menu {
|
2015-12-16 13:12:33 -05:00
|
|
|
padding: 0px;
|
2019-08-19 02:17:50 -04:00
|
|
|
width: 399px;
|
2015-11-23 00:51:42 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.left-menu h3 {
|
|
|
|
margin-left: 10px;
|
|
|
|
line-height: 30px;
|
2015-12-16 13:12:33 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The collapsing button for the navigation bar.
|
|
|
|
*/
|
|
|
|
.nav-trigger {
|
|
|
|
position: fixed;
|
|
|
|
clip: rect(0, 0, 0, 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-trigger + label:after {
|
|
|
|
content: '»';
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
z-index: 10;
|
|
|
|
}
|
|
|
|
|
|
|
|
label[for="nav-trigger"] {
|
|
|
|
position: fixed;
|
|
|
|
margin-left: 0px;
|
|
|
|
padding-top: 100px;
|
|
|
|
padding-left: 5px;
|
|
|
|
width: 10px;
|
|
|
|
height: 80%;
|
|
|
|
cursor: pointer;
|
|
|
|
background-size: contain;
|
|
|
|
background-color: #D4F0FF;
|
|
|
|
}
|
|
|
|
|
|
|
|
label[for="nav-trigger"]:hover {
|
|
|
|
background-color: #BEE9FF;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-trigger:checked + label {
|
|
|
|
margin-left: 200px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-trigger:checked + label:after {
|
|
|
|
content: '«';
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-trigger:checked ~ div.content-with-sidebar {
|
|
|
|
margin-left: 200px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-trigger + label, div.content-with-sidebar {
|
|
|
|
transition: left 0.4s;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Rules to collapse the menu automatically when the screen becomes too thin.
|
|
|
|
*/
|
|
|
|
|
|
|
|
@media all and (max-width: 780px) {
|
|
|
|
|
|
|
|
div.content-with-sidebar {
|
|
|
|
margin-left: 200px;
|
|
|
|
}
|
|
|
|
.nav-trigger + label:after {
|
|
|
|
content: '«';
|
|
|
|
}
|
|
|
|
label[for="nav-trigger"] {
|
|
|
|
margin-left: 200px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-trigger:checked + label {
|
|
|
|
margin-left: 0px;
|
|
|
|
}
|
|
|
|
.nav-trigger:checked + label:after {
|
|
|
|
content: '»';
|
|
|
|
}
|
|
|
|
.nav-trigger:checked ~ div.content-with-sidebar {
|
|
|
|
margin-left: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.container-index {
|
|
|
|
margin-left: -215px;
|
|
|
|
}
|
|
|
|
|
2017-11-21 08:25:56 -05:00
|
|
|
}
|