Skip to content

Commit

Permalink
initial commit of layout for book
Browse files Browse the repository at this point in the history
  • Loading branch information
schacon committed Jul 27, 2008
0 parents commit 76462dd
Show file tree
Hide file tree
Showing 17 changed files with 816 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
== The Community Git Book ==

This is an attempt to make a comprehensive, easy to follow Git learning
resource to be hosted on the main Git website.

== Contributing ==

* Clone this source, add to it and send me (schacon@gmail.com) a patch or pull request
* Install gems 'ultraviolet' and 'discount'
* Install prince (http://www.princexml.com/download/)

== References ==

* A bunch of the scripts for building and such from the Rails 2.1 book by Carlos Brando

== Authors ==

* Scott Chacon


4 changes: 4 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
require 'script/merge'
require 'script/html'
require 'script/pdf'
require 'script/prince'
Empty file added TODO.markdown
Empty file.
9 changes: 9 additions & 0 deletions layout/html_template.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<a rel="license" href="http://creativecommons.org/licenses/by/3.0/us/">
<img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by/3.0/us/88x31.png" />
</a>
<br />
<span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/Text" property="dc:title" rel="dc:type">Git Community Book</span> by
<a xmlns:cc="http://creativecommons.org/ns#" href="http://git-scm.com" property="cc:attributionName" rel="cc:attributionURL">Scott Chacon</a> is licensed under a
<a rel="license" href="http://creativecommons.org/licenses/by/3.0/us/">Creative Commons Attribution 3.0 United States License</a>.
<br />Based on a work at
<a xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://github.com/schacon/learn-github" rel="dc:source">github.com</a>.
123 changes: 123 additions & 0 deletions layout/mac_classic.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
pre.mac_classic .EmbeddedSource {
background-color: #0C0C0C;
}
pre.mac_classic .LibraryObject {
font-weight: bold;
color: #6D79DE;
}
pre.mac_classic .Section {
font-style: italic;
}
pre.mac_classic .FunctionArgumentAndResultTypes {
color: #70727E;
}
pre.mac_classic .TypeName {
text-decoration: underline;
}
pre.mac_classic .Number {
color: #0000CD;
}
pre.mac_classic {
background-color: #FFFFFF;
color: #000000;
}
pre.mac_classic .MarkupList {
color: #B90690;
}
pre.mac_classic .MarkupTagAttribute {
font-style: italic;
}
pre.mac_classic .LibraryVariable {
font-weight: bold;
color: #21439C;
}
pre.mac_classic .line-numbers {
background-color: #4D97FF;
color: #000000;
}
pre.mac_classic .FunctionParameter {
font-style: italic;
}
pre.mac_classic .MarkupTag {
color: #1C02FF;
}
pre.mac_classic .MarkupHeading {
font-weight: bold;
color: #0C07FF;
}
pre.mac_classic .JsOperator {
color: #687687;
}
pre.mac_classic .InheritedClassName {
font-style: italic;
}
pre.mac_classic .StringInterpolation {
color: #26B31A;
}
pre.mac_classic .MarkupQuote {
color: #000000;
font-style: italic;
}
pre.mac_classic .MarkupNameOfTag {
font-weight: bold;
}
pre.mac_classic .InvalidTrailingWhitespace {
background-color: #FFD0D0;
}
pre.mac_classic .LibraryConstant {
font-weight: bold;
color: #06960E;
}
pre.mac_classic .MarkupXmlDeclaration {
color: #68685B;
}
pre.mac_classic .EmbeddedEmbeddedSource {
background-color: #0E0E0E;
}
pre.mac_classic .PreprocessorDirective {
font-weight: bold;
color: #0C450D;
}
pre.mac_classic .BuiltInConstant {
font-weight: bold;
color: #585CF6;
}
pre.mac_classic .MarkupDtd {
font-style: italic;
}
pre.mac_classic .Invalid {
background-color: #990000;
color: #FFFFFF;
}
pre.mac_classic .LibraryFunction {
font-weight: bold;
color: #3C4C72;
}
pre.mac_classic .String {
color: #036A07;
}
pre.mac_classic .UserDefinedConstant {
font-weight: bold;
color: #C5060B;
}
pre.mac_classic .Keyword {
font-weight: bold;
color: #0000FF;
}
pre.mac_classic .MarkupDoctype {
color: #888888;
}
pre.mac_classic .FunctionName {
font-weight: bold;
color: #0000A2;
}
pre.mac_classic .PreprocessorLine {
color: #1A921C;
}
pre.mac_classic .Variable {
color: #318495;
}
pre.mac_classic .Comment {
color: #0066FF;
font-style: italic;
}
38 changes: 38 additions & 0 deletions layout/pdf_template.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../layout/second.css"/>
<link rel="stylesheet" type="text/css" href="../layout/mac_classic.css"/>
</head>
<body>
<div class="frontcover"></div>

<div class="halftitlepage">
<h1 class="no-toc">Git Community Book</h1>
<h2 class="no-toc">What's New</h2>
</div>

<div class="titlepage">
<h1 class="no-toc">Git Community Book</h1>
<h2 class="no-toc">What's New</h2>

<p class="no-toc">Scott Chacon</p>
<!-- also, the publisher's name would typically be printed here -->
</div>

<div class="imprint">
<p>Scott Chacon<br/>Website: www.jointheconversation.org</p>
</div>

<div class="chapter">
#body
</div>

<div class="white_page"></div>
<div class="white_page"></div>

<div class="backcover"></div>
</body>
</html>
Loading

0 comments on commit 76462dd

Please sign in to comment.