]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdtitle.inc
europeCV: complete revision of layout and example file
[lyx.git] / lib / layouts / stdtitle.inc
index d3593bea98ded23756b7f41eb00f17f60c4231f9..b81466405d6f17be7a29bdaa50c7deb702811430 100644 (file)
@@ -8,7 +8,49 @@
 # a document, like title, author and such.
 
 
-Format 16
+Format 41
+
+# CSS for the TOC
+AddToHTMLStyles
+div.toc {
+  margin: 2em 0em;
+  border-style: solid;
+  border-width: 2px 0px;
+  padding: 1em 0em;
+}
+div.tochead { font-size: x-large; font-weight: bold; }
+div.lyxtoc-0 {
+  margin: 2em 0em 0em 0em;
+  font-size: xx-large;
+  font-weight: bold;
+}
+div.lyxtoc-1 {
+  margin: 1em 0em 0em 0em;
+  font-size: x-large;
+  font-weight: bold;
+}
+div.lyxtoc-2 {
+  margin: 0em 0em 0em 1em;
+  font-size: large;
+  font-weight: normal;
+}
+div.lyxtoc-3 { margin: 0em 0em 0em 0.5em; font-size: medium; }
+div.lyxtoc-4 { margin: 0em 0em 0em 0.5em; }
+div.lyxtoc-5 { margin: 0em 0em 0em 0.5em; }
+div.lyxtoc-6 { margin: 0em 0em 0em 0.5em; }
+a.tocentry {
+  text-decoration: none;
+  color: black;
+}
+a.tocentry:visited { color: black; }
+a.tocarrow {
+  font-weight: bold;
+  text-decoration: none;
+  color: #909090;
+}
+a.tocarrow:visited { color: #C0C0C0; }
+EndStyles
+
 
 Style Title
        Margin                Static
@@ -27,7 +69,7 @@ Style Title
          Size                Largest
        EndFont
        HTMLTag               h1
-       HTMLAttr              class='title'
+       HTMLTitle             true
 End
 
 
@@ -47,8 +89,6 @@ Style Author
        Font
          Size                Large
        EndFont
-       HTMLTag               h2
-       HTMLAttr              class='author'
 End
 
 
@@ -68,6 +108,4 @@ Style Date
        Font
          Size                Large
        EndFont
-       HTMLTag               h2
-       HTMLAttr              class='date'
 End