From 17e67a4ee9473e910c86387aa9d6e950c29bd2a0 Mon Sep 17 00:00:00 2001 From: Daniel Grunwald Date: Thu, 13 Sep 2012 03:57:02 -0700 Subject: [PATCH] Create gh-pages branch via GitHub --- images/checker.png | Bin 0 -> 250 bytes index.html | 178 ++++++++++++++++++ javascripts/scale.fix.js | 20 ++ params.json | 1 + stylesheets/pygment_trac.css | 60 ++++++ stylesheets/styles.css | 356 +++++++++++++++++++++++++++++++++++ 6 files changed, 615 insertions(+) create mode 100644 images/checker.png create mode 100644 index.html create mode 100644 javascripts/scale.fix.js create mode 100644 params.json create mode 100644 stylesheets/pygment_trac.css create mode 100644 stylesheets/styles.css diff --git a/images/checker.png b/images/checker.png new file mode 100644 index 0000000000000000000000000000000000000000..ab1454032c6ec47a4c974f4e4d75bd226911b4fc GIT binary patch literal 250 zcmeAS@N?(olHy`uVBq!ia0vp^3P3E!!3HFKxnwkf6icy_X9x!n)NrJ90QsB+9+AZi z4BSE>%y{W;-5;Q!Oo?kmNpOBzNqJ&XDuZK6ep0G}TV_#ed45rLv4V53Y2nt#W z{&tJwQo64!`zEoY0VG=WX{H35gh8JhW7>iX;yrE$GemF_3=9!wFW${k`+fjuK7*&L KpUXO@geCwfrcS5; literal 0 HcmV?d00001 diff --git a/index.html b/index.html new file mode 100644 index 000000000..896e6fa92 --- /dev/null +++ b/index.html @@ -0,0 +1,178 @@ + + + + + + ILSpy by icsharpcode + + + + + + + + + +
+
+

ILSpy

+

.NET Decompiler

+

View the Project on GitHub icsharpcode/ILSpy

+ +
+
+

ILSpy is the open-source .NET assembly browser and decompiler.

+ +

Development started after Red Gate announced that the free version of .NET Reflector would cease to exist by end of February 2011. +ILSpy is the open-source .NET assembly browser and decompiler.

+ +

Download

+ +

Version 2.1 (ILSpy 2.1.0.1603):

+ +

ILSpy requires .NET 4.0.

+ +

Test the latest ILSpy builds: Build +Server Old +versions are available on +SourceForge.

+ +

Get ILSpy plugins from here.

+ +

ILSpy Features

+ +
    +
  • Assembly browsing
  • +
  • IL Disassembly
  • +
  • Support C# 5.0 "async"
  • +
  • Decompilation to C# + +
      +
    • Supports lambdas and 'yield return'
    • +
    • Shows XML documentation
    • +
    +
  • +
  • Decompilation to VB
  • +
  • Saving of resources
  • +
  • Save decompiled assembly as .csproj
  • +
  • Search for types/methods/properties (substring)
  • +
  • Hyperlink-based type/method/property navigation
  • +
  • Base/Derived types navigation
  • +
  • Navigation history
  • +
  • BAML to XAML decompiler
  • +
  • Save Assembly as C# Project
  • +
  • Find usage of field/method
  • +
  • Extensible via plugins (MEF)
  • +
  • Assembly Lists
    +
  • +

ILSpy - Further Down the Road

+ +
    +
  • Bookmarks
  • +
  • Debugger Eusebiu's blog +
  • +
  • Support C# 4.0 "dynamic"
  • +
  • Add casts where required to make C# overload resolution call the correct method
  • +
  • Support for fixed fields ("struct A{ public unsafe fixed int Field[10](10.ashx);}")
  • +
  • Decompiling ILSpy with itself and recompiling the result should result in a working ILSpy copy
  • +
  • Assembly editing capabilities (similar to Reflexil)
    +
  • +

Release History

+ +

Want to know when major new features are added? When a new stable version is +released?

+ +

Follow us on Twitter!

+ +

Discussion Forum

+ +

http://community.sharpdevelop.net/forums/69.aspx

+ +

Please use the forum to discuss issues, feature ideas, et cetera. For bug +reporting, either use the forum or if you have a GitHub account, add them +directly to https://github.com/icsharpcode/ILSpy/issues

+ +

Blog Posts on ILSpy Development

+ +

ILSpy Source Code

+ +

See +https://github.com/icsharpcode/ILSpy

+ +

Screencasts, Demo & How To Videos

+ +

Screenshots

+ +

Viewing IL (Build 199)

+ +

Image

+ +

Navigating Types (Build 199)

+ +

Image

+ +

Saving Resources (Build 199)

+ +

Image

+ +

Decompiling a Type to C# (Build 199)

+ +

Image

+ +

Decompiling method with 'yield return' (Build 528)

+ +

Image

+
+
+ + + + + \ No newline at end of file diff --git a/javascripts/scale.fix.js b/javascripts/scale.fix.js new file mode 100644 index 000000000..08716c006 --- /dev/null +++ b/javascripts/scale.fix.js @@ -0,0 +1,20 @@ +fixScale = function(doc) { + + var addEvent = 'addEventListener', + type = 'gesturestart', + qsa = 'querySelectorAll', + scales = [1, 1], + meta = qsa in doc ? doc[qsa]('meta[name=viewport]') : []; + + function fix() { + meta.content = 'width=device-width,minimum-scale=' + scales[0] + ',maximum-scale=' + scales[1]; + doc.removeEventListener(type, fix, true); + } + + if ((meta = meta[meta.length - 1]) && addEvent in doc) { + fix(); + scales = [.25, 1.6]; + doc[addEvent](type, fix, true); + } + +}; \ No newline at end of file diff --git a/params.json b/params.json new file mode 100644 index 000000000..9f14b803f --- /dev/null +++ b/params.json @@ -0,0 +1 @@ +{"note":"Don't delete this file! It's used internally to help with page regeneration.","name":"ILSpy","body":"ILSpy is the open-source .NET assembly browser and decompiler.\r\n\r\nDevelopment started after Red Gate [announced](http://www.red-gate.com/products/dotnet-development/reflector/announcement) that the free version of .NET Reflector would cease to exist by end of February 2011.\r\nILSpy is the open-source .NET assembly browser and decompiler.\r\n\r\n\r\n## Download\r\n\r\nVersion 2.1 (ILSpy 2.1.0.1603):\r\n\r\n * [Binaries](http://sourceforge.net/projects/sharpdevelop/files/ILSpy/2.0/ILSpy_Master_2.1.0.1603_RTW_Binaries.zip/download)\r\n * [Source Code](http://sourceforge.net/projects/sharpdevelop/files/ILSpy/2.0/ILSpy_Master_2.1.0.1603_RTW_Source.zip/download)\r\n * [Release Notes](http://community.sharpdevelop.net/blogs/christophwille/archive/2012/06/03/ilspy-2-1-async-await-decompilation-support.aspx) \r\n\r\n \r\nILSpy requires [.NET 4.0](http://www.microsoft.com/downloads/en/details.aspx?F\r\namilyID=5765d7a8-7722-4888-a970-ac39b33fd8ab&displaylang=en).\r\n\r\n \r\nTest the latest ILSpy builds: [Build\r\nServer](http://build.sharpdevelop.net/BuildArtefacts/#ILSpyMaster) Old\r\nversions are available on\r\n[SourceForge](http://sourceforge.net/projects/sharpdevelop/files/ILSpy/).\r\n\r\n \r\nGet ILSpy plugins from [here](ILSpy%20Plugins.ashx).\r\n\r\n \r\n\r\n## ILSpy Features\r\n\r\n * Assembly browsing\r\n * IL Disassembly\r\n * Support C# 5.0 \"async\"\r\n * Decompilation to C#\r\n * Supports lambdas and 'yield return'\r\n * Shows XML documentation\r\n * Decompilation to VB\r\n * Saving of resources\r\n * Save decompiled assembly as .csproj\r\n * Search for types/methods/properties (substring)\r\n * Hyperlink-based type/method/property navigation\r\n * Base/Derived types navigation\r\n * Navigation history\r\n * BAML to XAML decompiler\r\n * Save Assembly as C# Project\r\n * Find usage of field/method\r\n * Extensible via [plugins](ILSpy%20Plugins.ashx) (MEF)\r\n * Assembly Lists \r\n\r\n \r\n\r\n## ILSpy - Further Down the Road\r\n\r\n * Bookmarks\r\n * Debugger [Eusebiu's blog](http://community.sharpdevelop.net/blogs/marcueusebiu/default.aspx)\r\n * Support C# 4.0 \"dynamic\"\r\n * Add casts where required to make C# overload resolution call the correct method\r\n * Support for fixed fields (\"`struct A{ public unsafe fixed int Field[10](10.ashx); `}\")\r\n * Decompiling ILSpy with itself and recompiling the result should result in a working ILSpy copy\r\n * Assembly editing capabilities (similar to [Reflexil](http://reflexil.net/)) \r\n\r\n \r\n\r\n## Release History\r\n\r\nWant to know when major new features are added? When a new stable version is\r\nreleased?\r\n\r\n \r\n[Follow us on Twitter!](http://twitter.com/ilspy)\r\n\r\n \r\n\r\n * 6/3/2012 Version 2.1 [announcement](http://community.sharpdevelop.net/blogs/christophwille/archive/2012/06/03/ilspy-2-1-async-await-decompilation-support.aspx)\r\n * 4/15/2012 Version 2.0 [announcement](http://community.sharpdevelop.net/blogs/christophwille/archive/2012/04/15/ilspy-2-0-final.aspx)\r\n * 2/16/2012 2.0 Beta [announcement](http://community.sharpdevelop.net/blogs/danielgrunwald/archive/2012/02/16/ilspy-2-0-beta-1.aspx)\r\n * 7/16/2011 Version 1.0 [announcement](http://community.sharpdevelop.net/blogs/christophwille/archive/2011/07/16/ilspy-1-0-has-landed.aspx)\r\n * 5/29/2011 Beta [announcement](http://community.sharpdevelop.net/blogs/christophwille/archive/2011/05/29/ilspy-1-0-beta.aspx)\r\n * 5/4/2011 M3 [announcement](http://community.sharpdevelop.net/blogs/christophwille/archive/2011/05/04/ilspy-1-0-m3-object-initializer-search-ui-xml-documentation.aspx)\r\n * 4/13/2011 M2 [annoucement](http://community.sharpdevelop.net/blogs/christophwille/archive/2011/04/13/ilspy-1-0-milestone-2-quot-m2-quot.aspx)\r\n * 2/24/2011 M1 (Milestone 1) Release [announcement](http://community.sharpdevelop.net/blogs/christophwille/archive/2011/02/24/ilspy-1-0-m1-milestone-1.aspx)\r\n * 2/16/2011 First Preview [announcement](http://community.sharpdevelop.net/blogs/christophwille/archive/2011/02/16/new-from-sharpdevelop-ilspy.aspx)\r\n * 2/4/2011 Development Starts (github repository created) \r\n\r\n \r\n \r\n \r\n\r\n## Discussion Forum\r\n\r\n[http://community.sharpdevelop.net/forums/69.aspx](http://community.sharpdevel\r\nop.net/forums/69.aspx)\r\n\r\n \r\nPlease use the forum to discuss issues, feature ideas, et cetera. For bug\r\nreporting, either use the forum or if you have a GitHub account, add them\r\ndirectly to [https://github.com/icsharpcode/ILSpy/issues](https://github.com/i\r\ncsharpcode/ILSpy/issues)\r\n\r\n \r\n\r\n## Blog Posts on ILSpy Development\r\n\r\n * [Daniel Grunwald's blog](http://community.sharpdevelop.net/blogs/danielgrunwald/archive/tags/ILSpy/default.aspx)\r\n * [David Srbecky's blog](http://community.sharpdevelop.net/blogs/dsrbecky/archive/tags/ILSpy/default.aspx)\r\n * [Siegfried Pammer's blog](http://community.sharpdevelop.net/blogs/siegfried_pammer/archive/tags/ILSpy/default.aspx)\r\n * [Eusebiu Marcu's blog](http://community.sharpdevelop.net/blogs/marcueusebiu/archive/tags/ILSpy/default.aspx) \r\n\r\n \r\n\r\n## ILSpy Source Code\r\n\r\nSee\r\n[https://github.com/icsharpcode/ILSpy](https://github.com/icsharpcode/ILSpy)\r\n\r\n \r\n\r\n## Screencasts, Demo & How To Videos\r\n\r\n * [Overview of features in ILSpy Build 296](http://www.youtube.com/watch?v=CDi5yT1ekuU) Resolution: 720p \r\n\r\n \r\n\r\n## Screenshots\r\n\r\nViewing IL (Build 199)\r\n\r\n[![Image](http://community.sharpdevelop.net/photos/christophwille/images/34590\r\n/500x375.aspx)](http://community.sharpdevelop.net/photos/christophwille/images\r\n/34590/original.aspx)\r\n\r\n \r\nNavigating Types (Build 199)\r\n\r\n[![Image](http://community.sharpdevelop.net/photos/christophwille/images/34591\r\n/500x375.aspx)](http://community.sharpdevelop.net/photos/christophwille/images\r\n/34591/original.aspx)\r\n\r\n \r\nSaving Resources (Build 199)\r\n\r\n[![Image](http://community.sharpdevelop.net/photos/christophwille/images/34592\r\n/500x375.aspx)](http://community.sharpdevelop.net/photos/christophwille/images\r\n/34592/original.aspx)\r\n\r\n \r\nDecompiling a Type to C# (Build 199)\r\n\r\n[![Image](http://community.sharpdevelop.net/photos/christophwille/images/34593\r\n/500x375.aspx)](http://community.sharpdevelop.net/photos/christophwille/images\r\n/34593/original.aspx)\r\n\r\n \r\nDecompiling method with 'yield return' (Build 528)\r\n\r\n[![Image](http://community.sharpdevelop.net/blogs/danielgrunwald/ILSpy%20-%20y\r\nield%20return.png)](http://community.sharpdevelop.net/blogs/danielgrunwald/ILS\r\npy%20-%20yield%20return.png)","google":"","tagline":".NET Decompiler"} \ No newline at end of file diff --git a/stylesheets/pygment_trac.css b/stylesheets/pygment_trac.css new file mode 100644 index 000000000..1926cfdf3 --- /dev/null +++ b/stylesheets/pygment_trac.css @@ -0,0 +1,60 @@ +.highlight .hll { background-color: #49483e } +.highlight { background: #3A3C42; color: #f8f8f2 } +.highlight .c { color: #75715e } /* Comment */ +.highlight .err { color: #960050; background-color: #1e0010 } /* Error */ +.highlight .k { color: #66d9ef } /* Keyword */ +.highlight .l { color: #ae81ff } /* Literal */ +.highlight .n { color: #f8f8f2 } /* Name */ +.highlight .o { color: #f92672 } /* Operator */ +.highlight .p { color: #f8f8f2 } /* Punctuation */ +.highlight .cm { color: #75715e } /* Comment.Multiline */ +.highlight .cp { color: #75715e } /* Comment.Preproc */ +.highlight .c1 { color: #75715e } /* Comment.Single */ +.highlight .cs { color: #75715e } /* Comment.Special */ +.highlight .ge { font-style: italic } /* Generic.Emph */ +.highlight .gs { font-weight: bold } /* Generic.Strong */ +.highlight .kc { color: #66d9ef } /* Keyword.Constant */ +.highlight .kd { color: #66d9ef } /* Keyword.Declaration */ +.highlight .kn { color: #f92672 } /* Keyword.Namespace */ +.highlight .kp { color: #66d9ef } /* Keyword.Pseudo */ +.highlight .kr { color: #66d9ef } /* Keyword.Reserved */ +.highlight .kt { color: #66d9ef } /* Keyword.Type */ +.highlight .ld { color: #e6db74 } /* Literal.Date */ +.highlight .m { color: #ae81ff } /* Literal.Number */ +.highlight .s { color: #e6db74 } /* Literal.String */ +.highlight .na { color: #a6e22e } /* Name.Attribute */ +.highlight .nb { color: #f8f8f2 } /* Name.Builtin */ +.highlight .nc { color: #a6e22e } /* Name.Class */ +.highlight .no { color: #66d9ef } /* Name.Constant */ +.highlight .nd { color: #a6e22e } /* Name.Decorator */ +.highlight .ni { color: #f8f8f2 } /* Name.Entity */ +.highlight .ne { color: #a6e22e } /* Name.Exception */ +.highlight .nf { color: #a6e22e } /* Name.Function */ +.highlight .nl { color: #f8f8f2 } /* Name.Label */ +.highlight .nn { color: #f8f8f2 } /* Name.Namespace */ +.highlight .nx { color: #a6e22e } /* Name.Other */ +.highlight .py { color: #f8f8f2 } /* Name.Property */ +.highlight .nt { color: #f92672 } /* Name.Tag */ +.highlight .nv { color: #f8f8f2 } /* Name.Variable */ +.highlight .ow { color: #f92672 } /* Operator.Word */ +.highlight .w { color: #f8f8f2 } /* Text.Whitespace */ +.highlight .mf { color: #ae81ff } /* Literal.Number.Float */ +.highlight .mh { color: #ae81ff } /* Literal.Number.Hex */ +.highlight .mi { color: #ae81ff } /* Literal.Number.Integer */ +.highlight .mo { color: #ae81ff } /* Literal.Number.Oct */ +.highlight .sb { color: #e6db74 } /* Literal.String.Backtick */ +.highlight .sc { color: #e6db74 } /* Literal.String.Char */ +.highlight .sd { color: #e6db74 } /* Literal.String.Doc */ +.highlight .s2 { color: #e6db74 } /* Literal.String.Double */ +.highlight .se { color: #ae81ff } /* Literal.String.Escape */ +.highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */ +.highlight .si { color: #e6db74 } /* Literal.String.Interpol */ +.highlight .sx { color: #e6db74 } /* Literal.String.Other */ +.highlight .sr { color: #e6db74 } /* Literal.String.Regex */ +.highlight .s1 { color: #e6db74 } /* Literal.String.Single */ +.highlight .ss { color: #e6db74 } /* Literal.String.Symbol */ +.highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */ +.highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */ +.highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */ +.highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */ +.highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */ \ No newline at end of file diff --git a/stylesheets/styles.css b/stylesheets/styles.css new file mode 100644 index 000000000..466b9d68b --- /dev/null +++ b/stylesheets/styles.css @@ -0,0 +1,356 @@ +@import url(https://fonts.googleapis.com/css?family=Lato:300italic,700italic,300,700); +html { + background: #6C7989; + background: #6c7989 -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #6c7989), color-stop(100%, #434b55)) fixed; + background: #6c7989 -webkit-linear-gradient(#6c7989, #434b55) fixed; + background: #6c7989 -moz-linear-gradient(#6c7989, #434b55) fixed; + background: #6c7989 -o-linear-gradient(#6c7989, #434b55) fixed; + background: #6c7989 -ms-linear-gradient(#6c7989, #434b55) fixed; + background: #6c7989 linear-gradient(#6c7989, #434b55) fixed; +} + +body { + padding: 50px 0; + margin: 0; + font: 14px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; + color: #555; + font-weight: 300; + background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAeCAYAAABNChwpAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNXG14zYAAAAUdEVYdENyZWF0aW9uIFRpbWUAMy82LzEygrTcTAAAAFRJREFUSIljfPDggZRf5RIGGNjUHsNATz6jXmSL1Kb2GLiAX+USBnrymRgGGDCORgFmoNAXjEbBaBSMRsFoFIxGwWgUjEbBaBSMRsFoFIxGwWgUAABYNujumib3wAAAAABJRU5ErkJggg==') fixed; +} + +.wrapper { + width: 640px; + margin: 0 auto; + background: #DEDEDE; + -webkit-border-radius: 8px; + -moz-border-radius: 8px; + -ms-border-radius: 8px; + -o-border-radius: 8px; + border-radius: 8px; + -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px; + -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px; + box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 1px, rgba(0, 0, 0, 0.45) 0 3px 10px; +} + +header, section, footer { + display: block; +} + +a { + color: #069; + text-decoration: none; +} + +p { + margin: 0 0 20px; + padding: 0; +} + +strong { + color: #222; + font-weight: 700; +} + +header { + -webkit-border-radius: 8px 8px 0 0; + -moz-border-radius: 8px 8px 0 0; + -ms-border-radius: 8px 8px 0 0; + -o-border-radius: 8px 8px 0 0; + border-radius: 8px 8px 0 0; + background: #C6EAFA; + background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ddfbfc), color-stop(100%, #c6eafa)); + background: -webkit-linear-gradient(#ddfbfc, #c6eafa); + background: -moz-linear-gradient(#ddfbfc, #c6eafa); + background: -o-linear-gradient(#ddfbfc, #c6eafa); + background: -ms-linear-gradient(#ddfbfc, #c6eafa); + background: linear-gradient(#ddfbfc, #c6eafa); + position: relative; + padding: 15px 20px; + border-bottom: 1px solid #B2D2E1; +} +header h1 { + margin: 0; + padding: 0; + font-size: 24px; + line-height: 1.2; + color: #069; + text-shadow: rgba(255, 255, 255, 0.9) 0 1px 0; +} +header.without-description h1 { + margin: 10px 0; +} +header p { + margin: 0; + color: #61778B; + width: 300px; + font-size: 13px; +} +header p.view { + display: none; + font-weight: 700; + text-shadow: rgba(255, 255, 255, 0.9) 0 1px 0; + -webkit-font-smoothing: antialiased; +} +header p.view a { + color: #06c; +} +header p.view small { + font-weight: 400; +} +header ul { + margin: 0; + padding: 0; + list-style: none; + position: absolute; + z-index: 1; + right: 20px; + top: 20px; + height: 38px; + padding: 1px 0; + background: #5198DF; + background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #77b9fb), color-stop(100%, #3782cd)); + background: -webkit-linear-gradient(#77b9fb, #3782cd); + background: -moz-linear-gradient(#77b9fb, #3782cd); + background: -o-linear-gradient(#77b9fb, #3782cd); + background: -ms-linear-gradient(#77b9fb, #3782cd); + background: linear-gradient(#77b9fb, #3782cd); + border-radius: 5px; + -webkit-box-shadow: inset rgba(255, 255, 255, 0.45) 0 1px 0, inset rgba(0, 0, 0, 0.2) 0 -1px 0; + -moz-box-shadow: inset rgba(255, 255, 255, 0.45) 0 1px 0, inset rgba(0, 0, 0, 0.2) 0 -1px 0; + box-shadow: inset rgba(255, 255, 255, 0.45) 0 1px 0, inset rgba(0, 0, 0, 0.2) 0 -1px 0; + width: auto; +} +header ul:before { + content: ''; + position: absolute; + z-index: -1; + left: -5px; + top: -4px; + right: -5px; + bottom: -6px; + background: rgba(0, 0, 0, 0.1); + -webkit-border-radius: 8px; + -moz-border-radius: 8px; + -ms-border-radius: 8px; + -o-border-radius: 8px; + border-radius: 8px; + -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0, inset rgba(255, 255, 255, 0.7) 0 -1px 0; + -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0, inset rgba(255, 255, 255, 0.7) 0 -1px 0; + box-shadow: rgba(0, 0, 0, 0.2) 0 -1px 0, inset rgba(255, 255, 255, 0.7) 0 -1px 0; +} +header ul li { + width: 79px; + float: left; + border-right: 1px solid #3A7CBE; + height: 38px; +} +header ul li.single { + border: none; +} +header ul li + li { + width: 78px; + border-left: 1px solid #8BBEF3; +} +header ul li + li + li { + border-right: none; + width: 79px; +} +header ul a { + line-height: 1; + font-size: 11px; + color: #fff; + color: rgba(255, 255, 255, 0.8); + display: block; + text-align: center; + font-weight: 400; + padding-top: 6px; + height: 40px; + text-shadow: rgba(0, 0, 0, 0.4) 0 -1px 0; +} +header ul a strong { + font-size: 14px; + display: block; + color: #fff; + -webkit-font-smoothing: antialiased; +} + +section { + padding: 15px 20px; + font-size: 15px; + border-top: 1px solid #fff; + background: -webkit-gradient(linear, 50% 0%, 50% 700, color-stop(0%, #fafafa), color-stop(100%, #dedede)); + background: -webkit-linear-gradient(#fafafa, #dedede 700px); + background: -moz-linear-gradient(#fafafa, #dedede 700px); + background: -o-linear-gradient(#fafafa, #dedede 700px); + background: -ms-linear-gradient(#fafafa, #dedede 700px); + background: linear-gradient(#fafafa, #dedede 700px); + -webkit-border-radius: 0 0 8px 8px; + -moz-border-radius: 0 0 8px 8px; + -ms-border-radius: 0 0 8px 8px; + -o-border-radius: 0 0 8px 8px; + border-radius: 0 0 8px 8px; + position: relative; +} + +h1, h2, h3, h4, h5, h6 { + color: #222; + padding: 0; + margin: 0 0 20px; + line-height: 1.2; +} + +p, ul, ol, table, pre, dl { + margin: 0 0 20px; +} + +h1, h2, h3 { + line-height: 1.1; +} + +h1 { + font-size: 28px; +} + +h2 { + color: #393939; +} + +h3, h4, h5, h6 { + color: #494949; +} + +blockquote { + margin: 0 -20px 20px; + padding: 15px 20px 1px 40px; + font-style: italic; + background: #ccc; + background: rgba(0, 0, 0, 0.06); + color: #222; +} + +img { + max-width: 100%; +} + +code, pre { + font-family: Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal; + color: #333; + font-size: 12px; + overflow-x: auto; +} + +pre { + padding: 20px; + background: #3A3C42; + color: #f8f8f2; + margin: 0 -20px 20px; +} +pre code { + color: #f8f8f2; +} +li pre { + margin-left: -60px; + padding-left: 60px; +} + +table { + width: 100%; + border-collapse: collapse; +} + +th, td { + text-align: left; + padding: 5px 10px; + border-bottom: 1px solid #aaa; +} + +dt { + color: #222; + font-weight: 700; +} + +th { + color: #222; +} + +small { + font-size: 11px; +} + +hr { + border: 0; + background: #aaa; + height: 1px; + margin: 0 0 20px; +} + +footer { + width: 640px; + margin: 0 auto; + padding: 20px 0 0; + color: #ccc; + overflow: hidden; +} +footer a { + color: #fff; + font-weight: bold; +} +footer p { + float: left; +} +footer p + p { + float: right; +} + +@media print, screen and (max-width: 740px) { + body { + padding: 0; + } + + .wrapper { + -webkit-border-radius: 0; + -moz-border-radius: 0; + -ms-border-radius: 0; + -o-border-radius: 0; + border-radius: 0; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + width: 100%; + } + + footer { + -webkit-border-radius: 0; + -moz-border-radius: 0; + -ms-border-radius: 0; + -o-border-radius: 0; + border-radius: 0; + padding: 20px; + width: auto; + } + footer p { + float: none; + margin: 0; + } + footer p + p { + float: none; + } +} +@media print, screen and (max-width:580px) { + header ul { + display: none; + } + + header p.view { + display: block; + } + + header p { + width: 100%; + } +} +@media print { + header p.view a small:before { + content: 'at http://github.com/'; + } +}