Commits

Anonymous committed 4438013

Added the old stylesheet as an alternate stylesheet.

Comments (0)

Files changed (2)

common/style-2008.css.ttml

+:link:hover, :visited:hover, img.highlight:hover, .nav_links img:hover
+{ 
+    background-color : #90EE90; /* LightGreen */
+}
+[% SET navbar_width = "20%" %]
+[% PROCESS "shlomif/navbar.ttml" %]
+.navbar 
+{
+    /* derived from moccasin, but less intrusive, as a background.*/
+    background-color: #FFEED3; 
+}
+.navbar ul
+{
+    font-family: sans-serif;
+    font-size : small;
+}
+[% INCLUDE "nav_links.ttml" %]
+[% PROCESS "newsitem.css.ttml" %]
+div.indent { margin-left : 3em }
+p.indent { margin-left : 3em  }
+div.rightalign { text-align : right }
+/*
+    Make sure the links inside the navigation bar are highlited
+    with a different colour. That's CSS 2.
+    http://www.zvon.org/xxl/CSS2Tutorial/Examples/example3.html
+*/
+
+.main 
+{
+    padding-left : 1em;
+    margin-left : 25%;
+}
+.main img
+{
+     margin-right: 1em;
+}
+
+ul.noindent { margin-left : 0em }
+.center { text-align: center }
+#noie
+{
+    text-align: center;
+    margin-bottom:1.5em;
+}
+table.center { margin-left : auto ; margin-right : auto }
+table.cv { width : 100% ; border : none ; }
+table.cv td { vertical-align : top; }
+ul.nospace
+{
+    margin-top : 0em;
+    margin-bottom : 0em;
+}
+[% SET note_background_color = "#DFD" %]
+[% PROCESS "shlomif/note.ttml" %]
+
+/* This is for the breadcrumbs trail (= leading path) at the top. */
+.leading_path
+{
+    background-color : #ccffd0;
+    margin-bottom: 0.2em;
+    padding-left: 0.2em;
+    padding-top: 0.1em;
+    padding-bottom: 0.15em;
+    margin-right: 10pt;
+}
+.leading_path a:visited
+{
+    color : #B24;
+}
+.leading_path a:hover
+{
+    background-color : #FFA500; /* orange */
+}
+
+/* Border-less */
+.bless
+{
+    border : none;
+}
+.footer {
+    clear : both;
+    margin-right : 30px;
+    padding-top: 0.5em;
+}
+/* Workaround to get the <hr /> element at the bottom to properly display 
+   with Konqueror 3.3.x
+   */
+.footer hr
+{
+    width:100%;
+    clear:both;
+}
+.banner
+{
+    margin-bottom: 4pt;
+}
+.banner img, .banner div, .banner iframe
+{
+    vertical-align: middle;
+}
+.books
+{
+    padding-top: 0.5em;
+    padding-bottom: 0.5em;
+    padding-left: 0.5em;
+    padding-right: 0.5em;
+    background-image: url("./images/grsites-beige049-modified.png");
+    border: 4pt double #E02030;
+}
+.books dt
+{
+    border: 1.5pt solid #FFA500;
+    padding-top: 0.2em;
+    padding-bottom: 0.25em;
+    padding-left: 0.3em;
+    padding-right: 0.3em;
+    background-color: #FFFFBB;
+}
+.books dd
+{
+    background-color: #E0FFE0;
+    padding-left: 0.5em;
+    padding-right: 0.5em;
+    padding-top: 0.3em;
+    padding-bottom: 0.3em;
+    margin-left: 0.5em;    
+    margin-right: 0.5em;
+    margin-top: 0.7em;
+    margin-bottom: 0.7em;
+    border: 1pt solid black;
+}
+.books dd p
+{
+    margin-top: 3pt;
+    margin-bottom: 7pt;
+}
+.menu_floaty
+{
+    float: right;
+    width:25%;
+    min-width:275px;
+    margin-left: 7pt;
+    margin-right: 10pt;
+}
+.sub_menu
+{
+    background-color: #C0C0C0;
+    padding-top: 7pt;
+    padding-bottom: 2em;
+    padding-right:5pt;
+    padding-left:5pt;
+    margin-bottom: 1em;
+}
+.sub_menu ul
+{
+    list-style-type:disc;
+    list-style-position:inside;
+    margin-top:0;
+    margin-bottom:0;
+    padding-left:3pt;
+    font-size:80%;
+    font-family:sans-serif;
+    margin-left:0;
+}
+.sub_menu ul.nm_nested
+{
+   padding-left:10pt;
+}
+/* 
+This is to make sure the visited links look clear in Konqueror or other
+browsers where they are magenta by default.
+*/
+.sub_menu :visited
+{
+    color: #800080; /* Purple */
+}
+
+.sub_menu h2
+{
+   font-size: medium;
+   padding-top:0;
+   margin-top:0;
+   margin-bottom:0;  
+}
+.sub_menu .toggle_sect_menu
+{
+   float:right;
+}
+.hide
+{
+    display:none;
+}
+/* Style for the google search box */
+.search
+{
+    padding: 3pt;
+    border: 1.5pt solid #207020;
+    margin-bottom: 0.5cm;
+}
+.search h2
+{
+    font-size: large;
+    font-weight: bold;
+}
+.hebrew
+{
+    direction:rtl;
+    text-align:right;
+    padding-right: 0.75cm;
+}
+.hilight dt
+{
+    font-size: x-large;
+}
+table.thumbs
+{
+    border: none;
+}
+.thumbs td
+{
+    vertical-align: middle;
+}
+.thumbs img
+{
+    border:0;
+}
+[% PROCESS "shlomif/common_defs.ttml" %]
+[% INCLUDE "lang_switch.css.ttml" %]
+.about_site
+{
+    width: 35%;
+    float: right;
+    margin-left: 1em;
+    margin-right: 10pt;
+    [% SET about_color = "#008000" %]
+    [% SET vert_style = about_color _ " solid 1pt" %]
+    [% SET horiz_style = about_color _  " solid 3pt" %]
+    border-left: [% vert_style %];
+    border-right: [% vert_style %];
+    border-bottom: [% horiz_style %];
+    /* padding: 5pt; */
+}
+.about_site h2
+{
+    margin-top: 0em;
+    background-color: [% about_color %];
+    color: white;
+    padding: 3pt;
+}
+.about_site p, .about_site h3
+{
+    margin-top:0;
+    margin-left: 0.5em;
+    margin-right: 0.5em;
+}
+.revhistory th, .revhistory td
+{
+    vertical-align:top;
+    text-align: left;
+}
+.revhistory
+{
+    border-collapse: collapse;
+    overflow: hidden;
+}
+.revhistory td, .revhistory th
+{
+    border: 1.5pt black solid;
+    padding: 2pt;
+}
+.self_picture
+{
+    margin : 2em;
+}
+.self_picture.heb
+{
+    float : left;
+}
+.self_picture.eng
+{
+    float : right;
+}
+table.visible
+{
+    border: #286 medium solid;
+}
+.visible td, .visible th
+{
+    vertical-align: top;
+    padding: 0.2em 0.2em 1em 0.2em;
+    border: #689 thin solid;
+}
+[% PROCESS "shlomif/products-syndication.ttml" %]
+.ads_side, .ads_top_wide
+{
+    overflow: hidden;
+}
+.ads_side
+{
+    width:120px;
+    height:600px;
+}
+.ads_top_wide
+{
+    width:500px;
+    height:70px;
+}
+.article h4, .article h5, .article h6
+{
+     margin-top:8pt;
+     margin-bottom: 0.7cm;
+}
+.article h4 { font-size: 145%; text-decoration:underline; }
+.article h5 { font-size: 130%;  }
+.article h6 { font-size: 110%;  }
+
+.sub_menu .nav_links li
+{
+    display: inline;
+    margin:0;
+    padding:0;
+}
+
+.sub_menu .nav_links img
+{
+    border:0;
+    margin:0;
+    padding:0;
+}
+
+[% SET sponsored_ad_border = "#407" %]
+
+.spons.ad
+{
+     border: solid 1.5pt [% sponsored_ad_border %];
+     margin-bottom: 1em;
+     padding: 0;
+     background-color: white;
+}
+
+.spons.ad h2
+{
+    font-size: medium;
+    padding-top: 1pt;
+    padding-bottom: 1pt;
+    display: block;
+    background-color: [% sponsored_ad_border %];
+    color: white;
+    margin-top: 0;
+}
+
+.spons.ad .in
+{
+    margin: 0;
+    padding-left: 0.5em;
+    padding-right: 0.5em;
+}
+
+.vercon
+{
+    color: #8A2BE2; /* BlueViolet */
+}
+
+.fortunes_list .irc-conversation .who
+{
+    vertical-align: top;
+    text-align: right;
+    color: #33d;
+    padding-right: 7pt;
+    padding-left: 10pt;
+    white-space: nowrap;
+}
+
+.fortunes_list .irc-conversation .text
+{
+    vertical-align: top;
+    text-align: left;
+    padding-left: 3pt;
+}
+
+.fortunes_list .irc-conversation td
+{
+     padding-top: 1pt;
+     padding-bottom: 2pt;
+     font-family: Courier New;
+     font-size: small;
+}
+
+.fortunes_list .irc-conversation .me_is td
+{
+     color: red;
+}
+
+.fortunes_list table.irc-conversation
+{
+    overflow: hidden;
+}
+
+.fortunes_list .info
+{
+    border-collapse: collapse;
+    margin: 0.7em;
+}
+
+.fortunes_list .info td
+{
+    border: black thin solid;
+    padding: 0.2em;
+}
+
+/* For Adbrite */
+.adHeadline {font: bold 10pt Arial; text-decoration: underline; color: #0000FF;}
+.adText {font: normal 10pt Arial; text-decoration: none; color: #000000;}
+/* End of Adbrite */
+
+.wishlist_notice
+{
+    border: thin solid #006400 /* darkgreen */;
+    padding: 0.3em;
+    overflow: hidden;
+    margin-bottom: 0.5em;
+}
+
+.wishlist_notice p
+{
+    padding: 0;
+    margin: 0;
+}
+
+.news_buttons
+{
+    float: right;
+}

lib/rest-of-template.wml

 </define-tag>
 
 <define-tag my_extra_head_elements>
+<link rel="alternate stylesheet" type="text/css" href="$(ROOT)/style-2008.css" media="screen, projection" title="Old 2008 Style" />
 <script type="text/javascript" src="$(ROOT)/js/toggle_sect.js"></script>
 <script type="text/javascript" src="$(ROOT)/js/jq.js"></script>
 <link rel="alternate" type="application/rss+xml" title="Shlomi Fish's Homepage RSS Feed" href="http://www.livejournal.com/community/shlomif_hsite/data/rss" />