Anonymous avatar Anonymous committed 40e54c5

Styles the front page differently to make it more accessible.

Comments (0)

Files changed (4)

 * Revamp the front page, and other pages: [ In a separate branch ]
     + - eliminate the links to the resources - they are a relic of the 
     + pre-nav-menu site.
-    - Put the EvilPHish above the breadcrumbs' trail.
-    - Reduce the width of the top Google ads (so they'll fit with the 
-    banner, etc.
+    + - Put the EvilPHish above the breadcrumbs' trail.
+    + - Reduce the width of the top Google ads (so they'll fit with the 
+    + banner, etc.
     - Put the website blog on top.
     - Put a small "About Me" floaty either in the navbar or to the right
     or left of the main text in all the pages.

common/style.css.ttml

 }
 [% PROCESS "shlomif/common_defs.ttml" %]
 [% INCLUDE "lang_switch.css.ttml" %]
+.about_site
+{
+    width: 11em;
+    float: right;
+    margin-left: 1em;
+    margin-right: 10pt;
+    border: #008000 solid 3pt;
+    padding: 5pt;
+    background-color: #D0FFD0;
+}
+.about_site p
+{
+    margin-top:0;
+}
+.about_site a:visited
+{
+    color: #88C;
+}
+.about_site a:hover
+{
+    background-color:transparent;
+    color: #C44;
+}
+

lib/newsitem.css.ttml

-h3.newsitem { text-indent: 3em }
-p.newsitem { margin-left : 6em }
-ol.newsitem { margin-left : 6em }
+/* h3.newsitem { text-indent: 3em } */
+p.newsitem, ol.newsitem, ul.newsitem { margin-left : 3em }

t2/index.html.wml

 #include '../template.wml'
 <latemp_subject "Shlomi Fish' Homepage" />
 
-<h2>About this Site</h2>
-
+<div class="about_site">
 <p>
 This is the personal site of <a href="personal.html">Shlomi Fish</a>. I am
-an Israeli <a href="./open-source/">software developer</a>, 
-<a href="./humour/">writer</a>, <a href="./philosophy/">essayist</a>,
-and occasional <a href="<vipe:url "lecture/" />">lecturer</a>.
+an Israeli software developer, and writer of stories, articles, essays and 
+presentations.
 </p>
 
 <p>
-You can explore the site using the navigation bar to the left. Alternatively,
-you can traverse it page by page using the arrows at the top, or the 
-Mozilla/Firefox site navigation bar.
+You can explore the site using the navigation bar to the left. 
+Alternatively, you can traverse it page by page using the arrows at the top, 
+or the Mozilla/Firefox site navigation bar.
 </p>
-
+</div>
 
 <h2>News</h2>
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.