[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[eLyXer-users] CSS for LyX-Code
From: |
Jack Desert |
Subject: |
[eLyXer-users] CSS for LyX-Code |
Date: |
Mon, 5 Apr 2010 13:44:09 -0500 |
I have been taking advantage of the style/format called LyX-Code. I notice that
eLyXer puts these in a <pre> tag, which is defined like this using the
nonGNU-hosted CSS file:
pre {
padding: 0em;
margin: 0em;
width: auto;
font-family: monospace;
line-height: 1.5em;
}
Which seems to only change the font-family. I generally prefer my code snippets
indented a bit to make them stand out. Do most people like them left-aligned?
Would you be interested in defining a style in the main nonGNU-hosted CSS file,
something like:
LyX-Code {
margin-left: 5em;
}
-Jack
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jack Desert -- Writer, Entrepeneur
Author and Spokesman: www.LetsEATalready.com
Software Developer: http://GrooveTask.org
Email: address@hidden
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [eLyXer-users] CSS for LyX-Code,
Jack Desert <=