Permalink
Browse files

Merge branch 'html5' of github.com:caelum/tubaina into html5

  • Loading branch information...
2 parents 3ac273c + 8867838 commit 49d4bd77c44659142cadf3239f89581c1d096abf @ceci ceci committed Jun 6, 2011
Showing with 32,237 additions and 0 deletions.
  1. BIN .DS_Store
  2. BIN templates/.DS_Store
  3. BIN templates/html/.DS_Store
  4. BIN templates/html/includes/.DS_Store
  5. BIN templates/htmlcssjs/.DS_Store
  6. +24,483 −0 templates/htmlcssjs/04-xml [grande].html
  7. +904 −0 templates/htmlcssjs/04-xml.afc
  8. +608 −0 templates/htmlcssjs/04-xml.html
  9. +14 −0 templates/htmlcssjs/README
  10. +8 −0 templates/htmlcssjs/TODO
  11. BIN templates/htmlcssjs/img/TDD-criando-metodo.png
  12. BIN templates/htmlcssjs/img/extract-desktop.png
  13. BIN templates/htmlcssjs/img/extract.png
  14. BIN templates/htmlcssjs/img/folder-lib.png
  15. BIN templates/htmlcssjs/img/new-folder.png
  16. BIN templates/htmlcssjs/img/new-testcase.png
  17. BIN templates/htmlcssjs/img/pasta-caelum.png
  18. BIN templates/htmlcssjs/img/xml.png
  19. +3 −0 templates/htmlcssjs/template/css/highlight.css
  20. +168 −0 templates/htmlcssjs/template/css/layout.css
  21. +2 −0 templates/htmlcssjs/template/css/print.css
  22. +54 −0 templates/htmlcssjs/template/css/screen.css
  23. +35 −0 templates/htmlcssjs/template/css/structure.css
  24. +21 −0 templates/htmlcssjs/template/css/syntax.css
  25. +8 −0 templates/htmlcssjs/template/css/yui-3.3-base-min.css
  26. +8 −0 templates/htmlcssjs/template/css/yui-3.3-fonts-min.css
  27. +8 −0 templates/htmlcssjs/template/css/yui-3.3-reset-min.css
  28. +18 −0 templates/htmlcssjs/template/js/jquery-1.6.1.min.js
  29. BIN templates/htmlcssjs/template/js/syntax-highlighter/scripts/.DS_Store
  30. +17 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shAutoloader.js
  31. +59 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shBrushAS3.js
  32. +75 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shBrushAppleScript.js
  33. +59 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shBrushBash.js
  34. +65 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shBrushCSharp.js
  35. +100 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shBrushColdFusion.js
  36. +97 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shBrushCpp.js
  37. +91 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shBrushCss.js
  38. +55 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shBrushDelphi.js
  39. +41 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shBrushDiff.js
  40. +52 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shBrushErlang.js
  41. +67 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shBrushGroovy.js
  42. +52 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shBrushJScript.js
  43. +57 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shBrushJava.js
  44. +58 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shBrushJavaFX.js
  45. +72 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shBrushPerl.js
  46. +88 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shBrushPhp.js
  47. +33 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shBrushPlain.js
  48. +74 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shBrushPowerShell.js
  49. +64 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shBrushPython.js
  50. +55 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shBrushRuby.js
  51. +94 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shBrushSass.js
  52. +51 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shBrushScala.js
  53. +66 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shBrushSql.js
  54. +56 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shBrushVb.js
  55. +69 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shBrushXml.js
  56. +17 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shCore.js
  57. +17 −0 templates/htmlcssjs/template/js/syntax-highlighter/scripts/shLegacy.js
  58. +226 −0 templates/htmlcssjs/template/js/syntax-highlighter/styles/shCore.css
  59. +328 −0 templates/htmlcssjs/template/js/syntax-highlighter/styles/shCoreDefault.css
  60. +331 −0 templates/htmlcssjs/template/js/syntax-highlighter/styles/shCoreDjango.css
  61. +339 −0 templates/htmlcssjs/template/js/syntax-highlighter/styles/shCoreEclipse.css
  62. +324 −0 templates/htmlcssjs/template/js/syntax-highlighter/styles/shCoreEmacs.css
  63. +328 −0 templates/htmlcssjs/template/js/syntax-highlighter/styles/shCoreFadeToGrey.css
  64. +324 −0 templates/htmlcssjs/template/js/syntax-highlighter/styles/shCoreMDUltra.css
  65. +324 −0 templates/htmlcssjs/template/js/syntax-highlighter/styles/shCoreMidnight.css
  66. +324 −0 templates/htmlcssjs/template/js/syntax-highlighter/styles/shCoreRDark.css
  67. +117 −0 templates/htmlcssjs/template/js/syntax-highlighter/styles/shThemeDefault.css
  68. +120 −0 templates/htmlcssjs/template/js/syntax-highlighter/styles/shThemeDjango.css
  69. +128 −0 templates/htmlcssjs/template/js/syntax-highlighter/styles/shThemeEclipse.css
  70. +113 −0 templates/htmlcssjs/template/js/syntax-highlighter/styles/shThemeEmacs.css
  71. +117 −0 templates/htmlcssjs/template/js/syntax-highlighter/styles/shThemeFadeToGrey.css
  72. +113 −0 templates/htmlcssjs/template/js/syntax-highlighter/styles/shThemeMDUltra.css
  73. +113 −0 templates/htmlcssjs/template/js/syntax-highlighter/styles/shThemeMidnight.css
  74. +113 −0 templates/htmlcssjs/template/js/syntax-highlighter/styles/shThemeRDark.css
  75. +412 −0 templates/htmlcssjs/template/js/tubaina.js
  76. BIN templates/htmlcssjs/teste.pdf
  77. BIN templates/htmlcssjs/teste.ps
View
BIN .DS_Store
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -0,0 +1,14 @@
+* Instale o Firefox 4.0 ou superior (nightly builds OK)
+
+* File > Page Setup. Escolha "A4 (Sheet Feeder - Borderless)" [ou crie um papel custom de tamanho 21 por 29.7cm com bordas 0]
+
+* Vá em about:config e procure por "margin". Mude para "0" todos os valores das chaves print.print_margin_*
+
+* File > Print. Marque as opções:
+ - Ignore scalling and shrink to fit page width
+ - Print Background Colors
+ - Print Background Images
+
+* Ainda nessa tela, deixe todos os campos de header e footer como '--blank--'
+
+* Salve em um PDF
View
@@ -0,0 +1,8 @@
+TODO
+
+* Support code splitting
+* Support UL splitting
+* Support div box sppliting
+* Support notes splitting
+* Support table splitting
+* Detect if a code line overflows
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,3 @@
+.syntaxhighlighter {
+ overflow: hidden !important;
+}
@@ -0,0 +1,168 @@
+body {
+ counter-reset:section;
+ font-family: Helvetica;
+ font-size: 12pt;
+ position: relative;
+}
+
+h1 { /* chapter */
+ font-size: 26pt;
+ position: relative;
+ }
+
+h1:before {
+ border-bottom: 1px solid black;
+ content: 'Capítulo';
+ display: block;
+ font-size: 14px;
+ font-weight: normal;
+ margin-bottom: 50px;
+ padding-right: 62px;
+ text-align: right;
+ text-transform: uppercase;
+ }
+ h1:after {
+ background: black;
+ color: white;
+ counter-increment:section;
+ content: counter(section);
+ font-size: 38px;
+ font-weight: bold;
+ padding: 3px 6px 0 8px;
+ position: absolute;
+ top: -31px;
+ right: 0;
+ text-align: center;
+ }
+
+.newchapter {
+ counter-reset:subsection;
+}
+
+h2 { /* section */
+ background: #bbb;
+ border-top: 2px solid black;
+ counter-increment: subsection;
+ font-size: 17pt;
+ padding: 2px 0 0 6px;
+ }
+ h2:before {
+ content: counter(section) "." counter(subsection) " - ";
+ }
+
+h3 { /* title */
+ font-weight: bolder;
+ margin-bottom: 1em;
+}
+
+q {
+ display: block;
+ font-style: italic;
+ text-align: right;
+ }
+ q:after {
+ content: "-- " attr(cite);
+ display: block;
+ text-align: right;
+ }
+
+p {
+ text-align: justify;
+ text-indent: 25px;
+}
+
+img {
+ display: block;
+ margin: 10px auto;
+}
+
+.note {
+ display: none;
+}
+
+.box {
+ border: 1px solid black;
+ border-left: none;
+ border-right: none;
+ display: block;
+ margin-left: 50px;
+ margin-bottom: 17px;
+ }
+ .box h4 {
+ background: #bbb;
+ border-bottom: 1px solid black;
+ padding: 2px 5px;
+ margin-bottom: 3px;
+ }
+ .box p {
+ text-indent: 0;
+ }
+ .box p:last-child {
+ margin-bottom: 2px;
+ }
+
+h2 {
+ /*counter-reset:question;*/
+ }
+ .newquestion {
+ counter-increment: question;
+ text-indent: 0;
+ }
+ .newquestion:before {
+ content: counter(question) ") ";
+ }
+
+.page, .page .content {
+ overflow: hidden;
+}
+.header {
+ font-size: 10pt;
+ }
+ .page.newchapter .header {
+ visibility: hidden;
+ }
+.footer {
+ font-size: 10pt;
+ text-align: left;
+ }
+ .page:nth-child(2n+1) .footer {
+ text-align: right;
+ }
+.blank .header, .blank .footer {
+ visibility: hidden;
+}
+
+/** INDEX **/
+#index {
+
+ }
+ #index .content p {
+ border-bottom: 1px dotted black;
+ clear: both;
+ height: 15px;
+ margin: 0;
+ position: relative;
+ text-indent: 0;
+ width: 100%;
+ }
+ #index .content p.chapter {
+ font-weight: bold;
+ margin-top: 20px;
+ }
+ #index .content p a {
+ background: white;
+ color: black;
+ float: left;
+ padding: 2px 10px 2px 2px;
+ text-decoration: none;
+ z-index: 10;
+ }
+ #index .content p span {
+ background: white;
+ float: right;
+ padding-left: 10px;
+ text-indent: 0;
+ }
+ #index .content p:after {
+ clear: both;
+ }
@@ -0,0 +1,2 @@
+.page { page-break-after: always; }
+#progressbar, #tubaina { display: none; }
@@ -0,0 +1,54 @@
+html {
+ background: #e3e9ff;
+}
+
+.page {
+ background: white;
+ border: 1px solid #bbb;
+
+ -moz-box-shadow: 0 0 6px #aaa;
+ -webkit-box-shadow: 0 0 6px #aaa;
+ box-shadow: 0 0 6px #aaa;
+}
+
+#tubaina {
+ display: none;
+}
+
+#progressbar {
+ background: #444;
+ border-radius: 3px;
+ height: 20px;
+ margin: 20px auto;
+ width: 905px;
+
+ -moz-box-shadow: 0 0 6px #aaa;
+ -webkit-box-shadow: 0 0 6px #aaa;
+ box-shadow: 0 0 6px #aaa;
+ }
+ #progressbar span {
+ background: darkorange;
+ border-radius: 3px;
+ display: block;
+ height: 100%;
+ text-indent: -1000px;
+ width: 0;
+ }
+ #progressbar.done span {
+ color: #444;
+ font-family: Arial;
+ font-size: 11pt;
+ padding: 0;
+ text-indent: 0;
+ text-align: right;
+ width: 100% !important;
+ }
+
+canvas {
+ position: absolute;
+ left: 0;
+ top: 0;
+ height: 100%;
+ width: 100%;
+ z-index: 10;
+}
@@ -0,0 +1,35 @@
+.page, #tubaina {
+ height: 1190px;
+ margin: 30px auto;
+ padding: 55px 80px 55px 30px;
+ position: relative;
+ width: 794px;
+ }
+ .page:nth-child(odd) {
+ padding-left: 80px;
+ padding-right: 30px;
+ }
+.page .header {
+ height: 20px;
+ margin-bottom: 30px;
+}
+.page .footer {
+ height: 20px;
+ margin-top: 30px;
+}
+.page .content {
+ height: 1090px;
+ padding: 0 5px;
+ position: relative;
+}
+
+@media print {
+ .page {
+ margin: auto;
+ padding-bottom: 0;
+ }
+}
+
+#book {
+ /* -moz-transform: scale(0.2); */
+}
@@ -0,0 +1,21 @@
+.syntax-container {
+ font-size: 14px;
+ padding: 0 !important;
+ padding-bottom: 18px !important;
+}
+
+.syntax-container .toolbar {
+ display: none ! important;
+}
+
+.syntax-container .syntax {
+ background: none !important;
+ border: none !important;
+}
+
+.syntax-container .syntax pre {
+ overflow: hidden !important;
+}
+.syntax-container table, .syntax-container td, .syntax-container tr {
+ border: none;
+}
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2010, Yahoo! Inc. All rights reserved.
+Code licensed under the BSD License:
+http://developer.yahoo.com/yui/license.html
+version: 3.3.0
+build: 3167
+*/
+h1{font-size:138.5%;}h2{font-size:123.1%;}h3{font-size:108%;}h1,h2,h3{margin:1em 0;}h1,h2,h3,h4,h5,h6,strong{font-weight:bold;}abbr,acronym{border-bottom:1px dotted #000;cursor:help;}em{font-style:italic;}blockquote,ul,ol,dl{margin:1em;}ol,ul,dl{margin-left:2em;}ol li{list-style:decimal outside;}ul li{list-style:disc outside;}dl dd{margin-left:1em;}th,td{border:1px solid #000;padding:.5em;}th{font-weight:bold;text-align:center;}caption{margin-bottom:.5em;text-align:center;}p,fieldset,table,pre{margin-bottom:1em;}input[type=text],input[type=password],textarea{width:12.25em;*width:11.9em;}
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2010, Yahoo! Inc. All rights reserved.
+Code licensed under the BSD License:
+http://developer.yahoo.com/yui/license.html
+version: 3.3.0
+build: 3167
+*/
+body{font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}select,input,button,textarea{font:99% arial,helvetica,clean,sans-serif;}table{font-size:inherit;font:100%;}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;}
@@ -0,0 +1,8 @@
+/*
+Copyright (c) 2010, Yahoo! Inc. All rights reserved.
+Code licensed under the BSD License:
+http://developer.yahoo.com/yui/license.html
+version: 3.3.0
+build: 3167
+*/
+html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1,17 @@
+/**
+ * SyntaxHighlighter
+ * http://alexgorbatchev.com/SyntaxHighlighter
+ *
+ * SyntaxHighlighter is donationware. If you are using it, please donate.
+ * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
+ *
+ * @version
+ * 3.0.83 (July 02 2010)
+ *
+ * @copyright
+ * Copyright (C) 2004-2010 Alex Gorbatchev.
+ *
+ * @license
+ * Dual licensed under the MIT and GPL licenses.
+ */
+eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(2(){1 h=5;h.I=2(){2 n(c,a){4(1 d=0;d<c.9;d++)i[c[d]]=a}2 o(c){1 a=r.H("J"),d=3;a.K=c;a.M="L/t";a.G="t";a.u=a.v=2(){6(!d&&(!8.7||8.7=="F"||8.7=="z")){d=q;e[c]=q;a:{4(1 p y e)6(e[p]==3)B a;j&&5.C(k)}a.u=a.v=x;a.D.O(a)}};r.N.R(a)}1 f=Q,l=h.P(),i={},e={},j=3,k=x,b;5.T=2(c){k=c;j=q};4(b=0;b<f.9;b++){1 m=f[b].w?f[b]:f[b].S(/\\s+/),g=m.w();n(m,g)}4(b=0;b<l.9;b++)6(g=i[l[b].E.A]){e[g]=3;o(g)}}})();',56,56,'|var|function|false|for|SyntaxHighlighter|if|readyState|this|length|||||||||||||||||true|document||javascript|onload|onreadystatechange|pop|null|in|complete|brush|break|highlight|parentNode|params|loaded|language|createElement|autoloader|script|src|text|type|body|removeChild|findElements|arguments|appendChild|split|all'.split('|'),0,{}))
Oops, something went wrong.

0 comments on commit 49d4bd7

Please sign in to comment.