Commits

Shlomi Fish  committed d412fd0

Add more.

  • Participants
  • Parent commits 257c85e

Comments (0)

Files changed (27)

 vim-begin/jekyll-prototype/_site
+vim-begin/jekyll-prototype/.sass-cache
+vim-begin/jekyll-prototype/src/jqui-override.css
+vim-begin/jekyll-prototype/src/print.css
+vim-begin/jekyll-prototype/src/style.css
+vim-begin/jekyll-prototype/src/vim_syntax_highlighting.css

File vim-begin/jekyll-prototype/Makefile

 GENERATED_HTMLS = _site/index.html
+GENERATED_CSS = _site/style.css
 
-all: $(GENERATED_HTMLS)
+all: $(GENERATED_HTMLS) $(GENERATED_CSS)
 
 $(GENERATED_HTMLS) : atom.xml CNAME _config.yml pgp.txt README.textile _layouts/default.html index.html
 	jekyll
 
+$(GENERATED_CSS) : sass/jqui-override.sass sass/style.sass sass/print.sass sass/vim_syntax_highlighting.sass
+	compass compile
+	cp -f src/*.css _site/
+
 RSYNC = rsync --progress --verbose --rsh=ssh
 
 upload: all

File vim-begin/jekyll-prototype/_layouts/default.html

 <a class="extra" href="/">Home</a>
 </div>
 
+<h3 class="hide">Main Navigation</h3>
+<div id="left-sidebar">
+<div id="main_nav_menu">
+<ul class="navbarmain">
+<li>
+<a href="/">Home</a>
+</li>
+<li>
+<a href="/about.html">About</a>
+</li>
+<li>
+<a href="/news/" title="Previous News Item">News</a>
+</li>
+<li>
+<a href="/links/" title="External Links to Other Resources">Links</a>
+</li>
+<li>
+<a href="/humour/" title="Vim Humour and Links to Vim Humour resources">Perl Humour</a>
+</li>
+</ul>
+<h2>
+<a href="/learn/" title="Why and how to learn Vim?">Learn Vim Now</a>
+</h2>
+<h2>
+<a href="/resources/" title="Links to Online and Offline Resources for Learning Vim">Resources</a>
+</h2>
+<ul class="navbarnested">
+<li>
+<a href="/tutorials/">Online Tutorials</a>
+</li>
+</ul>
+</li>
+<li>
+<a href="books/">Books</a>
+</li>
+<li>
+<a href="core-doc/">Core Docs</a>
+</li>
+<li>
+<a href="articles/">Article Collections</a>
+</li>
+<li>
+<a href="training/" title="Take paid courses for learning Vim">Training</a>
+</li>
+<li>
+<a href="FAQs/" title="Lists of Frequently Asked Questions with Answers">FAQs</a>
+<br />
+<ul class="navbarnested">
+</ul>
+</li>
+<li>
+<a href="exercises/" title="Links to Exercises and Challenges for Practice">Exercises and Challenges</a>
+</li>
+</ul>
+<ul class="navbarmain">
+<li>
+<a href="mailing-lists/" title="Ask questions and receive answers about Perl by E-mail">Mailing Lists</a>
+</li>
+<li>
+<a href="web-forums/" title="Ask questions and receive answers by using a web-browser">Web Forums</a>
+</li>
+<li>
+<a href="irc/" title="Chat online about Vim using the Internet Relay Chat (IRC)">IRC Channels</a>
+</li>
+</ul>
+<ul class="navbarmain">
+<li>
+<a href="reference-resources/" title="Resources for reference about Perl and looking up information.">Reference Resources</a>
+</li>
+<li>
+<a href="wikis/" title="Publicly editable sites with Lots of Useful Information">Wikis</a>
+</li>
+<li>
+<a href="blogs/" title="Links to some Vim-related Blogs (a.k.a &quot;Weblogs&quot; or online journals)">Blogs</a>
+</li>
+</ul>
+<h2>
+<a href="platforms/">Platforms</a>
+</h2>
+<ul class="navbarmain">
+<li>
+<a href="/platforms/mac/" title="Macintosh and PowerPC/PowerMac Platforms">Mac OS</a>
+</li>
+<li>
+<a href="/platforms/unix/">UNIX/Linux</a>
+</li>
+<li>
+<a href="/platforms/windows/">Windows</a>
+</li>
+</ul>
+<h2>
+<a href="/contribute/" title="Contribute new content or corrections to this site">Contribute</a>
+</h2>
+<ul class="navbarmain">
+<li>
+<a href="/contribute/list/">Contributors List</a>
+</li>
+<li>
+<a href="/source/">Site’s Source Code</a>
+</li>
+</ul>
 {{ content }}
 
 <div class="footer">
 </div>
 </div>
 </div>
+</div>
 
 <!-- ClickTale Bottom part -->
 <div id="ClickTaleDiv" style="display: none;"></div>

File vim-begin/jekyll-prototype/config.rb

+# Require any additional compass plugins here.
+project_type = :stand_alone
+css_dir = "src"
+sass_dir = "sass"
+images_dir = "src/images"
+# output_style = :compressed
+output_style = :expanded
+# To enable relative image paths using the images_url() function:
+# http_images_path = :relative
+http_images_path = "images"

File vim-begin/jekyll-prototype/index.html

 ---
 layout: default
-title: Tom Preston-Werner
+title: The Vim Beginners’ Site
 ---
 
 <div id="home">

File vim-begin/jekyll-prototype/sass/jqui-override.sass

+/* Override or augment the styles in the jQueryUI stylesheet.
+.ui-tabs .ui-tabs-nav
+    // Make the font sizes of the tabs' labels smaller, to save on real-estate.
+    font-size: 80%

File vim-begin/jekyll-prototype/sass/print.sass

+@import "blueprint"
+
++blueprint-print

File vim-begin/jekyll-prototype/sass/style.sass

+@import "blueprint"
+@import "blueprint/scaffolding"
+@import "compass/utilities"
+
++blueprint-typography
++blueprint-debug
+
+#page-container
+    +container
+    :width 100%
+    :color #000
+
+.hide
+    :display none
+
+=hover-effect
+    &:hover
+        :color red
+
+/* Headers positioning common elements mix-in */
+=headers-pos
+    :margin-left 40px
+
+=header-style
+    :color white
+    :text-shadow 1px 1px 3px black
+
+=side-box
+    :border 1px solid #c8c8c8
+    :padding 2pt 8pt
+
+    &:hover
+        :border-color black
+
+    h2
+        :margin-top 3pt
+
+a
+    :color blue
+    +hover-effect
+
+a:active
+    :color green
+
+a:visited
+    :color #006400
+
+a:visited:hover
+    :color red
+
+h1, h2, h3
+    :font-family arial,verdana,sans-serif !important
+    :font-weight bold
+    :margin-top 10pt
+
+#header
+    :position relative
+    :background-color #6a9850
+    :background-image url('./images/palms-110-pixels-high-strip.jpg')
+    :background-repeat no-repeat
+    :background-position center center
+    :height 110px
+
+    .site-name
+        :position absolute
+        :top 20px
+
+        h1
+            :margin 0px
+            +headers-pos
+
+            a
+                +header-style
+                :text-decoration none
+                :font-weight bold
+
+    .site-slogan
+        +header-style
+        :position absolute
+        :top 70px
+        :font-weight bold
+        :font-size 1.3em
+        +headers-pos
+
+
+
+.nav-main
+    :border-top 1px solid #7d7d7d
+    :border-bottom 1px solid #7d7d7d
+    :background-color #efefef
+    :padding-left 20px
+    :overflow hidden
+    :display block
+
+    a
+        :color #2F2FCF
+        :font-weight bold
+        :text-decoration none
+        :font-size 1.3em
+
+        +hover-effect
+
+    .breadcrumbs
+        :float left
+        :margin-bottom 0
+
+    .about-links
+        +horizontal-list
+        :float right
+
+        // :display block
+        :margin-left 100px
+
+        li
+            a
+                :font-size 1.2em
+                :text-transform uppercase
+                :text-decoration none
+                :border-left 1px solid
+                :padding-left 5px
+
+#left-sidebar
+    +column(5)
+    :border-top 5px solid #000
+    :background-color #cce0ff
+    :padding-top 20px
+    :padding-left 10px
+    :font-size 1.2em
+    :margin 10px
+
+    h2
+        :font-size 1.4em
+        :font-weight bold
+        :margin-left 5px
+
+#left-sidebar:hover
+    :border-top-color #44F
+
+#content
+    :width 500px
+    :float left
+    :padding-right 20px
+    :padding-left 10px
+    :font-size 1.3em
+    :margin-top 20px
+
+    .full_width_notice
+        +side-box
+        :border-color black
+        :font-size 1.2em
+        :background-color #ccccff
+        :text-align center
+        // :border 1px solid #000
+        :width 400px
+        :margin 50px auto
+
+        &:hover
+            :border-color #585858
+
+    .toggle_nav_control
+        :margin-top 20px
+
+    h1
+        :font-size 1.7em
+
+    h2
+        :font-size 1.5em
+
+    h3
+        :font-size 1.3em
+
+    pre, tt
+        :font-family monospace
+
+
+#right-sidebar
+    +column(4)
+    +last
+    :font-size 1.3em
+    :padding-top 20px
+    :padding-left 5px
+    :margin 10px
+    :color #6e6e6e
+
+    h2
+        :font-size 1.2em
+        :font-weight bold
+        :text-align center
+
+    .testimonials
+        +side-box
+        :background-color #edf6e5
+
+        h2
+            :color #6e6e6e
+            :background-color #dceecc
+
+    .news-box
+        +side-box
+        :margin-top 20px
+
+        h2
+            :background-color #e1e1e1
+
+            a
+                :color #008800
+
+                +hover-effect
+
+#footer
+    :border-top 1px solid #7d7d7d
+    :text-align center
+    :font-size 1.2em
+    :margin-bottom 10px
+
+div.bookinfo
+    :border-style dotted
+    :border-width thin
+    /* LightYellow */
+    :background-color #FFFFE0
+    :margin-left 1em
+    :margin-right 1em
+    :margin-bottom 1em
+    :padding-left 1em
+    :padding-bottom 0.7em
+    :padding-top 0.7em
+
+    &:hover
+        :border-style solid
+
+    h3
+        :border none
+        :margin-top 0em
+        :padding-left 0em
+        :background-color transparent
+
+h2
+    strong
+        :color red
+
+ul, ol
+    :margin-left 0.5em
+    :padding-left 1em
+
+.further_reading
+    :float right
+    :border #99b double medium
+    :padding 0.5em
+    :margin 0.5em
+    :width 170px
+    :background-color #ddf
+
+    ul
+        :padding-left 0em
+
+.screenshot
+    :float right
+    :border black double 3pt
+    :padding 0.5em
+    :margin 0.5em
+
+.study_group
+    :margin-top 2em
+
+=indent
+    :margin-left 3em
+
+.indent
+    +indent
+
+$ss_margin: 2em
+
+.sub_section
+    margin-top: $ss_margin
+    // margin-bottom: $ss_margin
+    padding-left: 1.5em
+    border-left: black solid 3pt
+    padding-top: 0.3em
+    // padding-bottom: 0.3em
+    // border-radius: 5pt
+    &:hover
+        border-left-color: #555555
+    > p:last-child, > ul:last-child > li:last-child > p:last-child, > ol:last-child > li:last-child > p:last-child
+        padding-bottom: 1em
+
+@import "vim_syntax_highlighting"
+
+/* From http://hyperpolyglot.org/scripting :
+.wiki-content-table
+    margin-left: 0
+
+table.wiki-content-table
+    border-collapse: collpase
+    border-spacing: 0
+
+    th
+        background-color: #EEEEEE
+        border: 1px solid #888888
+        padding: 0.3em 0.7em
+
+table.wiki-content-table *, code, table.wiki-content-table tr td span.fixed, table.wiki-content-table tr td span.fixed *
+    font-family: consolas,inconsolata,andale mono,monospace
+
+*, table.wiki-content-table th *, table.wiki-content-table td:first-child *, table.wiki-content-table td:first-child
+    font-family: helvetica,arial,san-serif
+
+table.wiki-content-table td
+    border: 1px solid #888888
+    padding: 0.3em 0.7em
+
+table.wiki-content-table *, code, table.wiki-content-table tr td span.fixed, table.wiki-content-table tr td span.fixed *
+    font-family: consolas,inconsolata,andale mono,monospace
+
+.wiki-content-table td
+    text-align: left
+
+*, table.wiki-content-table th *, table.wiki-content-table td:first-child *, table.wiki-content-table td:first-child
+    font-family: helvetica,arial,san-serif
+
+// Added on my own.
+.wiki-content-table
+    font-size: 80%
+    *
+        // overflow: auto
+        white-space: pre-wrap !important

File vim-begin/jekyll-prototype/sass/vim_syntax_highlighting.sass

+/* Vim-HTML markup codes
+.Comment
+    color: #0000ff
+.Constant
+    color: #ff00ff
+.Identifier
+    color: #008b8b
+.Special
+    color: #6a5acd
+.Statement
+    color: #a52a2a
+    font-weight: bold
+.PreProc
+    color: #a020f0
+.Type
+    color: #2e8b57
+    font-weight: bold

File vim-begin/jekyll-prototype/src/images/background.gif

Added
New image

File vim-begin/jekyll-prototype/src/images/berlios-logo.png

Added
New image

File vim-begin/jekyll-prototype/src/images/get-firefox.gif

Added
New image

File vim-begin/jekyll-prototype/src/images/get-firefox.png

Added
New image

File vim-begin/jekyll-prototype/src/images/grid.png

Added
New image

File vim-begin/jekyll-prototype/src/images/header-bak.jpg

Added
New image

File vim-begin/jekyll-prototype/src/images/header.jpg

Added
New image

File vim-begin/jekyll-prototype/src/images/image.jpg

Added
New image

File vim-begin/jekyll-prototype/src/images/latemp-button-rounded.png

Added
New image

File vim-begin/jekyll-prototype/src/images/logo-wml.png

Added
New image

File vim-begin/jekyll-prototype/src/images/palms-110-pixels-high-strip.jpg

Added
New image

File vim-begin/jekyll-prototype/src/images/perl-begin.png

Added
New image

File vim-begin/jekyll-prototype/src/images/sidebanner.jpg

Added
New image

File vim-begin/jekyll-prototype/src/images/somerights20.png

Added
New image

File vim-begin/jekyll-prototype/src/images/study-group.png

Added
New image

File vim-begin/jekyll-prototype/src/images/valid-css.png

Added
New image

File vim-begin/jekyll-prototype/src/images/valid-xhtml10.png

Added
New image

File vim-begin/jekyll-prototype/src/images/valid-xhtml11.png

Added
New image