Changes between Version 19 and Version 20 of InstallationInstructions


Ignore:
Timestamp:
11/10/06 16:50:05 (18 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallationInstructions

    v19 v20  
    283283ln -s index.php interests 
    284284}}} 
     285 
     286 
     287 
     288---- 
     289=== own CSS (style sheet) === 
     290 
     291You can customize the look and feel of your rdfhomepage as you like. There are at least three possibilities for your look and feel: 
     292 1. You can just take the predefined look and feel that comes with rdfhomepage. 
     293    For this, there is actually nothing to do. 
     294 2. You can have your own style sheet and use the predefined rdfhomepage style sheet and override some of the styles. 
     295    This would be done by creating a file {{{homepage.css}}} in your myrdfhomepage directory (the directory where your config.php resides). 
     296    In that CSS file you would include the homepage.css of the rdfhomepage package. Example: 
     297{{{ 
     298@import url("rdfhomepage/homepage.css"); 
     299 
     300a { 
     301    background:red; 
     302} 
     303}}} 
     304 3. You can, of course have you very own style sheet without depending on predefined styles. 
     305    This would be done by creating a file {{{homepage.css}}} in your myrdfhomepage directory. 
     306    In that CSS file you will have to specify the style for every class (div) generated by the rdfhomepage scripts. 
     307    However, this alternative is in no way better than the 2nd alternative... [[BR]] 
     308    ['''TODO:''' We shall provide a documentation about the used classes.] 
     309 
     310The style sheet of rdfhomepage is divided into three style sheets. [[BR]] 
     311homepage.css includes color_and_font.css and template.css. 
     312 * template.css defines the layout for the multi-column layout. [[BR]] 
     313 * color_and_font.css defines the colors and fonts to be used. 
     314 * homepage.css defines ordering and spacing of the <div>s. 
     315 
     316If you just like to override the coloring or some fonts, then you could create an own {{{homepage.css}}} in your myrdfhomepage directory containing 
     317{{{ 
     318@import url("rdfhomepage/homepage.css"); 
     319@import url("color_and_font.css");         // <--- private color_and_font.css 
     320 
     321a { 
     322    background:red; 
     323} 
     324}}} 
     325Then you can also create an own {{{color_and_font.css}}} in that directory containing 
     326{{{ 
     327@import url("rdfhomepage/color_and_font.css"); 
     328 
     329a.menuItem:hover { 
     330    font-weight:bold; 
     331    background: red; 
     332    text-decoration: none; 
     333} 
     334}}} 
     335You see, that both CSS files include and override the predefined style sheet that comes with rdfhomepage. 
     336 
     337Note, that for the examples above it is assumed, that the rdfhomepage package can be found directly inside your myrdfhomepage directory. If you put the rdfhomepage package to let's say {{{/home/share/rdfhomepage}}} to share the rdfhomepage core, then the import statements have to be modified in the code above, i.e., changed to [[BR]] 
     338{{{@import url("/home/share/rdfhomepage/homepage.css");}}} [[BR]] 
     339{{{@import url("/home/share/rdfhomepage/color_and_font.css");}}}