-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
76 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,24 @@ | ||
/** Based on Org-roam's css | ||
https://github.com/org-roam/org-roam/blob/master/doc/assets/page.css | ||
**/ | ||
:root { | ||
--border: #526980; | ||
--code: #007; | ||
} | ||
|
||
body { | ||
margin: 5ex auto; | ||
max-width: 850px; | ||
line-height: 1.5; | ||
font-family: sans-serif; | ||
font-size: 18px; | ||
} | ||
|
||
h1, h2, h3 { | ||
font-weight: normal; | ||
} | ||
|
||
.settitle { | ||
display: none; | ||
} | ||
|
||
pre, code { | ||
font-family: x, monospace; | ||
} | ||
|
||
pre { | ||
padding: 1ex; | ||
background: #eee; | ||
border: solid 1px #ddd; | ||
min-width: 0; | ||
font-size: 80%; | ||
overflow: auto; | ||
} | ||
|
||
code { | ||
color: var(--code); | ||
} | ||
|
||
img { | ||
max-width: 100%; | ||
} | ||
|
||
table { | ||
border-collapse: collapse; | ||
width: 100%; | ||
} | ||
|
||
pre.menu-comment { | ||
background: none; | ||
border: none; | ||
font-family: sans-serif; | ||
padding: 0; | ||
margin: 0; | ||
font-size: 100%; | ||
} | ||
|
||
thead { | ||
border-bottom: 1px solid var(--border); | ||
} | ||
|
||
tfoot { | ||
border-top: 1px solid var(--border); | ||
} | ||
|
||
blockquote { | ||
margin-left: 1rem; | ||
font-style: italic; | ||
font-family: serif; | ||
border-left: 3px solid; | ||
border-left-color: currentcolor; | ||
border-color: var(--text-color); | ||
padding-left: 1em; | ||
} | ||
/* Style-sheet to use for Emacs manuals */ | ||
|
||
/* Copyright (C) 2013-2022 Free Software Foundation, Inc. | ||
Copying and distribution of this file, with or without modification, | ||
are permitted in any medium without royalty provided the copyright | ||
notice and this notice are preserved. This file is offered as-is, | ||
without any warranty. | ||
*/ | ||
|
||
@import url('style.css'); | ||
|
||
/* makeinfo convert @deffn and similar functions to something inside | ||
<blockquote>. style.css uses italic for blockquote. This looks poor | ||
in the Emacs manuals, which make extensive use of @defun (etc). | ||
In particular, references to function arguments appear as <var> | ||
inside <blockquote>. Since <var> is also italic, it makes it | ||
impossible to distinguish variables. We could change <var> to | ||
e.g. bold-italic, or normal, or a different color, but that does | ||
not look as good IMO. So we just override blockquote to be non-italic. | ||
*/ | ||
blockquote { font-style: normal; } | ||
|
||
var { font-style: italic; } |