Changeset 13429 for trunk


Ignore:
Timestamp:
2006-12-06T10:57:11+13:00 (17 years ago)
Author:
shaoqun
Message:

added a new macro _csslink_ to allow css link customization for different pages, for example, the document page now uses its own print stylesheets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/macros/style.dm

    r13133 r13429  
    6161# declarations containing images are done here so the path is correct
    6262# at runtime.
     63
     64_csslink_{
     65  <link rel="stylesheet" href="_cssfilelink_" type="text/css"
     66   title="Greenstone Style" charset="UTF-8" _linktagend_
     67  <link rel="alternate stylesheet" href="_httpimg_/style-print.css"
     68   type="text/css" title="Printer" charset="UTF-8" media="print, screen" _linktagend_
     69  <link rel="stylesheet" href="_httpimg_/style-print.css" type="text/css"
     70   title="Printer" charset="UTF-8" media="print" _linktagend_
     71}
     72
    6373_cssheader_ {
    64 <link rel="stylesheet" href="_cssfilelink_" type="text/css"
    65    title="Greenstone Style" charset="UTF-8" _linktagend_
    66 <link rel="alternate stylesheet" href="_httpimg_/style-print.css"
    67    type="text/css" title="Printer" charset="UTF-8" media="print, screen" _linktagend_
    68 <link rel="stylesheet" href="_httpimg_/style-print.css" type="text/css"
    69    title="Printer" charset="UTF-8" media="print" _linktagend_
    70 
     74_csslink_
    7175<style type="text/css">
    7276body.bgimage \{ background-image: url("_httpimg_/chalk.gif"); \}
Note: See TracChangeset for help on using the changeset viewer.