diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-10-03 19:28:27 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-10-03 19:31:48 -0400 |
commit | 14b5f96494f79b75e3e77844561678c793d0caa6 (patch) | |
tree | 11fca7cbe115634564254e6b7926ad24cd98c6f8 /lib/sisu/v6/defaults.rb | |
parent | v5 v6: --act provides info on current --act0 to --act9 settings (diff) |
v5 v6: html, tiny first nudge toward html5 (v5 v6 differ)
* document headers, other minor
Diffstat (limited to 'lib/sisu/v6/defaults.rb')
-rw-r--r-- | lib/sisu/v6/defaults.rb | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/lib/sisu/v6/defaults.rb b/lib/sisu/v6/defaults.rb index fb56a6d4..185e28e7 100644 --- a/lib/sisu/v6/defaults.rb +++ b/lib/sisu/v6/defaults.rb @@ -268,7 +268,7 @@ module SiSU_Viz end #% path def path_stylesheet_home - %{ <link rel="stylesheet" href="./#{@dir.path.style}/homepage.css" type="text/css" />} + %{ <link href="./#{@dir.path.style}/homepage.css" rel="stylesheet">} end #% text #changed from txt to avoid naming conflicts #FOLLOW def txt_generator @@ -372,7 +372,7 @@ module SiSU_Viz end #% color def color_body - %{<body bgcolor="#ffffff" text="#000000" link="#003090" lang="en" xml:lang="en">} + %{<body lang="en" xml:lang="en">} end def color_white '"#ffffff"' @@ -450,7 +450,7 @@ module SiSU_Viz %{"#{color_white}"} end def color_body - %{<body bgcolor="#ffffff" text="#000000" link="#003090" lang="en" xml:lang="en">} + %{<body lang="en" xml:lang="en">} end def color_font_face #was font WATCH "#{color_black}" @@ -663,38 +663,38 @@ module SiSU_Viz <td width="2%" align="right" valign="top"> ' end def margin_txt_w1 - %{<table summary="" width=#{table_width_txt_r} border="0" bgcolor="white" cellpadding="2" align="center"> + %{<table summary="" width=#{table_width_txt_r} border="0" cellpadding="2" align="center"> <tr><td width="6%" align="right"> </td> <td width="90%" valign="top" align="justify">} end def margin_txt_w2 - %{<table summary="" width=#{table_width_txt_r} border="0" bgcolor="white" cellpadding="2" align="center"> + %{<table summary="" width=#{table_width_txt_r} border="0" cellpadding="2" align="center"> <tr><td width="10%" align="right"> </td> <td width="86%" valign="top" align="justify">} end def margin_txt_0 - %{<table summary="" width=#{table_width_txt} border="0" bgcolor="white" cellpadding="2" align="center"> + %{<table summary="" width=#{table_width_txt} border="0" cellpadding="2" align="center"> <tr><td width=#{indent_level_0} align="right"> </td><td valign="top" align="justify">} end def margin_txt_1 - %{<table summary="" width=#{table_width_txt} border="0" bgcolor="white" cellpadding="2" align="center"> + %{<table summary="" width=#{table_width_txt} border="0" cellpadding="2" align="center"> <tr><td width=#{indent_level_1} align="right"></td><td valign="top" align="justify">} end def margin_txt_2 - %{<table summary="" width=#{table_width_txt} border="0" bgcolor="white" cellpadding="2" align="center"> + %{<table summary="" width=#{table_width_txt} border="0" cellpadding="2" align="center"> <tr><td width=#{indent_level_2} align="right"> </td> <td valign="top" align="justify">} end def margin_txt_3 - %{<table summary="" width=#{table_width_txt} border="0" bgcolor="white" cellpadding="2" align="center"> + %{<table summary="" width=#{table_width_txt} border="0" cellpadding="2" align="center"> <tr><td width=#{indent_level_3} align="right"> </td> <td valign="top" align="justify">} end def margin_css - '<table summary="normal text css" width="100%" border="0" bgcolor="white" cellpadding="2" align="center"> + '<table summary="normal text css" width="100%" border="0" cellpadding="2" align="center"> <tr><td valign="top" align="justify"> ' end #% png @@ -790,8 +790,8 @@ module SiSU_Viz </a>} end def banner_band #yellow_dark now white - %{<table summary="home button" width="100%" border="0" cellpadding="3" bgcolor= "#ffffff" align="center"> -<tr><td align="left" valign="middle" bgcolor="#{color_white}"> + %{<table summary="home button" width="100%" border="0" cellpadding="3" align="center"> +<tr><td align="left" valign="middle"> <a href="#{url_site}/" target="_top"> #{png_home} </a> @@ -800,11 +800,11 @@ module SiSU_Viz #{table_close}} end def banner_instrument_cover_band_scr - '<table summary="scroll instrument cover band" width="100%" border="0" cellpadding="8" bgcolor="#ffffff" align="center"> + '<table summary="scroll instrument cover band" width="100%" border="0" cellpadding="8" align="center"> <tr><td align="center">' end def banner_instrument_cover_band_seg - '<table summary="segment instrument cover band, title, author, location" width="100%" border="0" cellpadding="8" bgcolor="#ffffff" align="center"> + '<table summary="segment instrument cover band, title, author, location" width="100%" border="0" cellpadding="8" align="center"> <tr><td align="center">' end #% widget @@ -813,7 +813,7 @@ module SiSU_Viz end def widgets_open <<WOK -<table summary="SiSU summary" bgcolor="#ffffff" cellpadding="4" border="0"> +<table summary="SiSU summary" cellpadding="4" border="0"> WOK end def widget_sisu_text @@ -941,7 +941,7 @@ WOK end def credits_sisu %{<div class="substance"> -<table summary="SiSU summary" bgcolor="#ffffff" cellpadding="4" border="0"> +<table summary="SiSU summary" cellpadding="4" border="0"> <tr><td> #{widget_sisu} </table></div>} @@ -993,7 +993,7 @@ WOK <link rel="shortcut icon" href="./_sisu/image/rb7.ico" /> </head> -<body bgcolor="#ffffff" text="#000000" link="#003090" lang="en" xml:lang="en"> +<body lang="en" xml:lang="en"> <a name="top" id="top"></a> <a name="up" id="up"></a> <a name="start" id="start"></a> |