Showing the changes to assets (8 of 16 files). Show all
Unified · Split
Binary file not shown.
Binary file not shown.
| @@ -39,6 +39,7 @@ app.templates.aboutPage = -> """ · 38 unmodified lines | ||
| 39 | 39 | <ul> |
| 40 | 40 | <li><a href="https://www.heroku.com">Heroku</a> and <a href="http://newrelic.com">New Relic</a> for providing awesome free service |
| 41 | 41 | <li>Daniel Bruce for the <a href="http://www.entypo.com">Entypo</a> pictograms |
| 42 | + <li><a href="http://www.jeremykratz.com/">Jeremy Kratz</a> for the C logo | |
| 42 | 43 | </ul> |
| 43 | 44 | |
| 44 | 45 | <h2 class="_lined-heading" id="faq">Questions & Answsers</h2> |
| @@ -83,6 +84,11 @@ credits = [ · 38 unmodified lines | ||
| 83 | 84 | '2010-2014 Jeremy Ashkenas, DocumentCloud', |
| 84 | 85 | 'MIT', |
| 85 | 86 | 'https://raw.github.com/jashkenas/backbone/master/LICENSE' |
| 87 | + ], [ | |
| 88 | + 'C', | |
| 89 | + 'cppreference.com', | |
| 90 | + 'CC BY-SA', | |
| 91 | + 'http://en.cppreference.com/w/Cppreference:Copyright/CC-BY-SA' | |
| 86 | 92 | ], [ |
| 87 | 93 | 'CoffeeScript', |
| 88 | 94 | '2009-2014 Jeremy Ashkenas', |
| @@ -24,7 +24,10 @@ newsItem = (date, news) -> · 23 unmodified lines | ||
| 24 | 24 | result |
| 25 | 25 | |
| 26 | 26 | app.news = [ |
| 27 | − [ 1392508800000, # February 16, 2013 | |
| 27 | + [ 1393027200000, # February 22, 2013 | |
| 28 | + """ New <a href="/c/">C</a> documentation """, | |
| 29 | + ], [ | |
| 30 | + 1392508800000, # February 16, 2013 | |
| 28 | 31 | """ New <a href="/moment/">Moment.js</a> documentation """, |
| 29 | 32 | ], [ |
| 30 | 33 | 1392163200000, # February 12, 2013 |
| @@ -0,0 +1,6 @@ | ||
| 1 | +#= require views/pages/base | |
| 2 | + | |
| 3 | +class app.views.CPage extends app.views.BasePage | |
| 4 | + afterRender: -> | |
| 5 | + @highlightCode @findAll('pre.source-c, .source-c > pre'), 'c' | |
| 6 | + return | |
| @@ -28,6 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | 'components/mobile'; |
| 29 | 29 | |
| 30 | 30 | @import 'pages/angular', |
| 31 | + 'pages/c', | |
| 31 | 32 | 'pages/coffeescript', |
| 32 | 33 | 'pages/d3', |
| 33 | 34 | 'pages/ember', |
| @@ -48,3 +48,4 @@ · 47 unmodified lines | ||
| 48 | 48 | ._icon-d3:before { background-position: -4rem -6rem; } |
| 49 | 49 | ._icon-knockout:before { background-position: 0 -7rem; } |
| 50 | 50 | ._icon-moment:before { background-position: -1rem -7rem; } |
| 51 | +._icon-c:before { background-position: -2rem -7rem; } | |
| @@ -0,0 +1,22 @@ | ||
| 1 | +._c { | |
| 2 | + > h2, > h3 { @extend %block-heading; } | |
| 3 | + > h4 { @extend %block-label, %label-blue; } | |
| 4 | + > p > code { @extend %label; } | |
| 5 | + | |
| 6 | + .t-dcl-begin pre { | |
| 7 | + margin: 0; | |
| 8 | + padding: 0; | |
| 9 | + line-height: inherit; | |
| 10 | + background: none; | |
| 11 | + border: 0; | |
| 12 | + box-shadow: none; | |
| 13 | + } | |
| 14 | + | |
| 15 | + .t-lines > span { display: block; } // numeric/fenv, string/byte, etc. | |
| 16 | + | |
| 17 | + .t-spar { // language/switch, language/for, etc. | |
| 18 | + font-style: italic; | |
| 19 | + color: $textColorLight; | |
| 20 | + } | |
| 21 | + .t-sdsc-nopad dl, .t-sdsc-nopad dd { margin: 0; } | |
| 22 | +} | |