mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00

* doc/snippet-expansion.org: * doc/snippet-organization.org: Fix typos. * doc/stylesheets/manual.css: Add some simple styling. Mainly, this sets 'max-width' for the main text, and centers it. Adjust the background color. * doc/nav-menu.html.inc: Adjust 'class' of top menu. * doc/yas-doc-helper.el (yas--make-preamble): New function, used for :html-preamble. It sets the element for the current page in the top menu as bolded text to aid navigation. * doc/stylesheets/styles.css: Remove, it was unused since the old rst manual was removed.
71 lines
2.7 KiB
CSS
71 lines
2.7 KiB
CSS
.center { margin-left: auto; margin-right: auto; text-align: center; }
|
|
.current {
|
|
font-weight: bold;
|
|
background-color: #E0E8F0;
|
|
}
|
|
|
|
body { background-color: #E4F0F4 }
|
|
div#content {
|
|
max-width: 20cm;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
nav li {
|
|
vertical-align: top;
|
|
|
|
display: inline;
|
|
list-style-type: none;
|
|
padding: 0.5em;
|
|
}
|
|
nav > ul > li {
|
|
display: inline-block;
|
|
}
|
|
.nopad {
|
|
padding: 0;
|
|
}
|
|
li.border {
|
|
border: solid;
|
|
border-width: 1px;
|
|
}
|
|
|
|
pre, code{ background-color: #F3F5F7; }
|
|
code {
|
|
/* http://neugierig.org/software/chromium/notes/2009/09/monospace-fonts-workaround.html */
|
|
font-family: WorkAroundWebKitAndMozilla, monospace;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Styles for htmlize.el fontification. */
|
|
|
|
.org-comment { color: #005000; } /* font-lock-comment-face */
|
|
.org-keyword { font-weight: bold; } /* font-lock-keyword-face */
|
|
.org-string { color: #8b0000; } /* font-lock-string-face */
|
|
.org-warning { color: #ff8c00;
|
|
font-weight: bold; } /* warning */
|
|
.org-warning-1 { color: #ff0000;
|
|
font-weight: bold; } /* font-lock-warning-face */
|
|
.org-preprocessor { color: #483d8b; } /* font-lock-preprocessor-face */
|
|
.org-constant { color: #008b8b; } /* font-lock-constant-face */
|
|
.org-function-name { color: #0000ff; } /* font-lock-function-name-face */
|
|
.org-type { color: #228b22; } /* font-lock-type-face */
|
|
.org-variable-name { color: #a0522d; } /* font-lock-variable-name-face */
|
|
|
|
.org-rst-adornment { color: #a020f0; } /* rst-adornment */
|
|
.org-rst-block { color: #a020f0; } /* rst-block */
|
|
.org-rst-comment { color: #b22222; } /* rst-comment */
|
|
.org-rst-definition { color: #0000ff; } /* rst-definition */
|
|
.org-rst-directive { color: #483d8b; } /* rst-directive */
|
|
.org-rst-emphasis1 { font-style: italic; } /* rst-emphasis1 */
|
|
.org-rst-emphasis2 { font-weight: bold; } /* rst-emphasis2 */
|
|
.org-rst-external { color: #228b22; } /* rst-external */
|
|
.org-rst-level-1 { background-color: #d9d9d9; } /* rst-level-1 */
|
|
.org-rst-level-2 { background-color: #c7c7c7; } /* rst-level-2 */
|
|
.org-rst-level-3 { background-color: #b5b5b5; } /* rst-level-3 */
|
|
.org-rst-level-4 { background-color: #a3a3a3; } /* rst-level-4 */
|
|
.org-rst-level-5 { background-color: #919191; } /* rst-level-5 */
|
|
.org-rst-level-6 { background-color: #7f7f7f; } /* rst-level-6 */
|
|
.org-rst-literal { color: #8b2252; } /* rst-literal */
|
|
.org-rst-reference { color: #a0522d; } /* rst-reference */
|
|
.org-rst-transition { color: #a020f0; } /* rst-transition */
|