Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Style and other minor updates

  • Loading branch information...
commit cb538ebc15d7ce52a0861eefbdcf137e5c88c27f 1 parent 2a830a1
Chloe Jackson authored
Showing with 416 additions and 105 deletions.
  1. +4 −0 .gitignore
  2. +3 −1 Gemfile
  3. +9 −0 Gemfile.lock
  4. +1 −1  README.md
  5. +3 −1 config.rb
  6. +7 −0 source/docs/running/architecture/index.html.md
  7. +9 −9 source/docs/running/deploying-cf/components/index.html.md
  8. +3 −1 source/docs/running/deploying-cf/ec2/index.html.md
  9. +7 −7 source/docs/running/deploying-cf/index.html.md
  10. +3 −1 source/docs/running/deploying-cf/openstack/index.html.md
  11. +3 −1 source/docs/running/deploying-cf/releases/index.html.md
  12. +3 −1 source/docs/running/deploying-cf/vsphere/index.html.md
  13. +7 −0 source/docs/running/index.html.md
  14. +3 −1 source/docs/running/monitoring/index.html.md
  15. +1 −1  source/docs/using/deploying-apps/custom/index.html.md
  16. +7 −0 source/docs/using/deploying-apps/index.html.md
  17. +20 −22 source/docs/using/deploying-apps/javascript/index.html.md
  18. +2 −2 source/docs/using/deploying-apps/jvm/index.html.md
  19. +2 −2 source/docs/using/deploying-apps/ruby/index.html.md
  20. +2 −0  source/docs/using/managing-apps/index.html.md
  21. +7 −0 source/docs/using/managing-apps/sts/index.html.md
  22. +7 −0 source/docs/using/managing-apps/vmc/index.html.md
  23. +6 −3 source/docs/using/working-with-services/index.html.md
  24. +3 −1 source/docs/using/working-with-services/key-value-store/mongodb.html.md
  25. +3 −1 source/docs/using/working-with-services/key-value-store/redis.html.md
  26. +3 −1 source/docs/using/working-with-services/message-queue/rabbit.html.md
  27. +3 −1 source/docs/using/working-with-services/relational-db/mysql.html.md
  28. +3 −1 source/docs/using/working-with-services/relational-db/postgresql.html.md
  29. BIN  source/images/BG_CF.jpg
  30. BIN  source/images/background.png
  31. BIN  source/images/logo_cloudfoundry.png
  32. BIN  source/images/middleman.png
  33. +30 −30 source/index.html.md
  34. +36 −2 source/layouts/layout.erb
  35. +216 −14 source/stylesheets/style.css
View
4 .gitignore
@@ -12,3 +12,7 @@
# Ignore Sass' cache
/.sass-cache
+
+.idea
+/vendor
+.DS_Store
View
4 Gemfile
@@ -1,4 +1,6 @@
source :rubygems
gem "middleman", "~>3.0.10"
-gem "redcarpet", "~>2.2.2"
+gem "redcarpet", "~>2.2.2"
+
+gem 'middleman-syntax'
View
9 Gemfile.lock
@@ -56,6 +56,9 @@ GEM
middleman-more (>= 3.0.1)
sprockets (~> 2.1, < 2.5)
sprockets-sass (~> 0.9.0)
+ middleman-syntax (1.0.1)
+ middleman-core (~> 3.0)
+ pygments.rb (~> 0.3)
multi_json (1.5.0)
padrino-core (0.10.7)
activesupport (~> 3.2.0)
@@ -66,6 +69,10 @@ GEM
padrino-helpers (0.10.7)
i18n (~> 0.6)
padrino-core (= 0.10.7)
+ posix-spawn (0.3.6)
+ pygments.rb (0.3.7)
+ posix-spawn (~> 0.3.6)
+ yajl-ruby (~> 1.1.0)
rack (1.4.4)
rack-protection (1.3.2)
rack
@@ -96,10 +103,12 @@ GEM
multi_json (~> 1.3)
url_mount (0.2.1)
rack
+ yajl-ruby (1.1.0)
PLATFORMS
ruby
DEPENDENCIES
middleman (~> 3.0.10)
+ middleman-syntax
redcarpet (~> 2.2.2)
View
2  README.md
@@ -24,5 +24,5 @@ If you want to contribute on a larger scale, see the [Pivotal Project for CF Doc
**Support**
-[suport.cloudfoundry.com](http://suport.cloudfoundry.com)
+[support.cloudfoundry.com](http://support.cloudfoundry.com)
View
4 config.rb
@@ -81,4 +81,6 @@
# Or use a different image path
# set :http_path, "/Content/images/"
-end
+end
+
+activate :syntax
View
7 source/docs/running/architecture/index.html.md
@@ -0,0 +1,7 @@
+---
+title: Cloud Foundry Architecture
+---
+
+## Cloud Foundry Architecture
+
+Coming soon...
View
18 source/docs/running/deploying-cf/components/index.html.md
@@ -2,13 +2,13 @@
title: BOSH Components
---
-A little text here.
+[Intro text here]
-[Director](director.html)
-[Messaging](messaging.html)
-[Workers](workers.html)
-[Health Monitor](health-monitor.html)
-[Stemcell](stemcell.html)
-[Agent](agent.html)
-[Blobstore](blobstore.html)
-[Micro BOSH](micro-bosh.html)
+- [Director](director.html)
+- [Messaging](messaging.html)
+- [Workers](workers.html)
+- [Health Monitor](health-monitor.html)
+- [Stemcell](stemcell.html)
+- [Agent](agent.html)
+- [Blobstore](blobstore.html)
+- [Micro BOSH](micro-bosh.html)
View
4 source/docs/running/deploying-cf/ec2/index.html.md
@@ -2,4 +2,6 @@
title: Deploying Cloud Foundry on EC2
---
-instructions...
+## Deploying Cloud Foundry on EC2
+
+Instructions coming soon...
View
14 source/docs/running/deploying-cf/index.html.md
@@ -2,11 +2,11 @@
title: Deploying to the Cloud with BOSH
---
-An introduction to BOSH here
+[An introduction to BOSH here]
-[components](components/index.html)
-[releases](releases/index.html)
-[Deploying to EC2](ec2/index.html)
-[Deploying to OpenStack](openstack/index.html)
-[Deploying to vSphere](vsphere/index.html)
-[Monitoring](monitoring/index.html)
+- [Components](components/index.html)
+- [Releases](releases/index.html)
+- [Deploying to EC2](ec2/index.html)
+- [Deploying to OpenStack](openstack/index.html)
+- [Deploying to vSphere](vsphere/index.html)
+- [Monitoring](/docs/running/monitoring/index.html)
View
4 source/docs/running/deploying-cf/openstack/index.html.md
@@ -2,4 +2,6 @@
title: Deploying Cloud Foundry on OpenStack
---
-Instructions...
+## Deploying Cloud Foundry on OpenStack
+
+Instructions coming soon...
View
4 source/docs/running/deploying-cf/releases/index.html.md
@@ -2,4 +2,6 @@
title: Understanding Releases
---
-Etc...
+## Understanding Releases
+
+Coming soon...
View
4 source/docs/running/deploying-cf/vsphere/index.html.md
@@ -2,4 +2,6 @@
title: Deploying Cloud Foundry on vSphere
---
-Etc...
+## Deploying Cloud Foundry on vSphere
+
+Instructions coming soon...
View
7 source/docs/running/index.html.md
@@ -0,0 +1,7 @@
+---
+title: Running Apps on Cloud Foundry
+---
+
+## Running Apps on Cloud Foundry
+
+Coming soon...
View
4 source/docs/running/monitoring/index.html.md
@@ -2,4 +2,6 @@
title: Monitoring
---
-How to Monitor a Cloud Foundry installation
+## Monitoring
+
+How to Monitor a Cloud Foundry Installation (coming soon)
View
2  source/docs/using/deploying-apps/custom/index.html.md
@@ -2,4 +2,4 @@
title: Introduction to Custom Buildpacks
---
-Etc...
+Coming soon...
View
7 source/docs/using/deploying-apps/index.html.md
@@ -0,0 +1,7 @@
+---
+title: Deploying Apps
+---
+
+## Deploying Apps
+
+Coming soon...
View
42 source/docs/using/deploying-apps/javascript/index.html.md
@@ -30,16 +30,15 @@ For the purposes of this tutorial we will build a very simple application that m
Open a shell and create a folder for your application in your desired location
-~~~console
+<pre class="terminal">
$ cd ~/Projects
$ mkdir hello-node
$ cd hello-node
-~~~
+</pre>
Create a file called "app.js" with the following contents;
-~~~javascript
-
+```javascript
var express = require("express");
var app = express();
@@ -48,11 +47,11 @@ app.get('/', function(req, res) {
});
app.listen(3000);
-~~~
+```
Create a file called "package.json" with the following contents;
-~~~json
+```json
{
"name": "hello-node",
"version": "0.0.1",
@@ -63,7 +62,7 @@ Create a file called "package.json" with the following contents;
"node": "0.8.x"
}
}
-~~~
+```
This file tells node which libraries are in use (express, in this case) and what versions to use. The engines configuration can also be used to specify which version of node to use, although this is also selected using VMC when deploying the application. For a more detailed explanation of package.json, take a look at https://npmjs.org/doc/json.html
@@ -71,23 +70,23 @@ This file tells node which libraries are in use (express, in this case) and what
Install the modules declared as dependencies in package.json using NPM
-~~~console
+<pre class="terminal">
$ npm install
-~~~
+</pre>
This should create a "node_modules" folder that contains the application's dependencies.
Start the application as a local and server and check it's output
-~~~console
+<pre class="terminal">
$ node app.js
-~~~
+</pre>
Open a browser and navigate to http://localhost:3000, or, alternatively use "curl" in another shell
-~~~console
+<pre class="terminal">
$ curl http://localhost:3000
-~~~
+</pre>
You should see the output - "Hello from Cloud Foundry"
@@ -95,21 +94,20 @@ You should see the output - "Hello from Cloud Foundry"
With VMC installed, target your desired Cloud Foundry instance and login
-~~~console
+<pre class="terminal">
$ vmc target api.cloudfoundry.com
Setting target to https://api.cloudfoundry.com... OK
$ vmc login
-~~~
+</pre>
Deploy the application by using the "push" command, notice the URL "hello-node.cloudfoundry.com" was taken, so it was changed to hello-node2.cloudfoundry.com
All the other options were left as the default by pushing enter.
-~~~console
+<pre class="terminal">
$ vmc push
Name> hello-node
-
Instances> 1
1: node
@@ -157,7 +155,7 @@ Save configuration?> n
Uploading hello-node... OK
Starting hello-node... OK
Checking hello-node... OK
-~~~
+</pre>
Finally check your application has deployed correctly, navigating to the configured URL.
@@ -165,14 +163,14 @@ Finally check your application has deployed correctly, navigating to the configu
It's important to make sure that the version of Node.js used on your computer is the same as the version you use when deploying to Cloud Foundry. Check your local version, like so;
-~~~console
+<pre class="terminal">
$ node -v
v0.8.2
-~~~
+</pre>
In this instance you can see the installed version is 0.8.2, so when deploying we would select "node08" for the runtime. To see a list of available runtimes using VMC, use the following command;
-~~~console
+<pre class="terminal">
$ vmc info --runtimes
Getting runtimes... OK
@@ -185,7 +183,7 @@ node06 0.6.8
node08 0.8.2
ruby18 1.8.7p357
ruby19 1.9.2p180
-~~~
+</pre>
## <a id='next-steps'></a>Next steps - Binding a service ##
View
4 source/docs/using/deploying-apps/jvm/index.html.md
@@ -2,10 +2,10 @@
title: Using Cloud Foundry - Java and the JVM
---
-# Using Cloud Foundry - Java and the JVM
+## Using Cloud Foundry - Java and the JVM
-## Frameworks
+### Frameworks
Spring
View
4 source/docs/using/deploying-apps/ruby/index.html.md
@@ -2,10 +2,10 @@
title: Using Cloud Foundry - Ruby
---
-# Using Cloud Foundry - Ruby
+## Using Cloud Foundry - Ruby
-## Frameworks
+### Frameworks
Rails
View
2  source/docs/using/managing-apps/index.html.md
@@ -2,6 +2,8 @@
title: Managing Applications
---
+## Managing Applications
+
A brief introduction to STS and VMC
[VMC](vmc/index.html)
View
7 source/docs/using/managing-apps/sts/index.html.md
@@ -0,0 +1,7 @@
+---
+title: STS
+---
+
+## Spring Tool Suite
+
+Coming soon...
View
7 source/docs/using/managing-apps/vmc/index.html.md
@@ -0,0 +1,7 @@
+---
+title: vmc
+---
+
+## vmc
+
+Coming soon...
View
9 source/docs/using/working-with-services/index.html.md
@@ -1,19 +1,22 @@
---
title: Using Services
+---
+
+## Using Services
A brief introduction to services
Relational Databases
-[mysql](relational-db/mysql.html)
+[MySQL](relational-db/mysql.html)
-[postgreSQL](relational-db/postgresql.html)
+[PostgreSQL](relational-db/postgresql.html)
Key Value Stores
[Redis](key-value-store/redis.html)
-[Mongodb](key-value-store/mongodb.html)
+[MongoDB](key-value-store/mongodb.html)
Message Queues
View
4 source/docs/using/working-with-services/key-value-store/mongodb.html.md
@@ -2,4 +2,6 @@
title: MongoDB
---
-Etc...
+## MongoDB
+
+Coming soon...
View
4 source/docs/using/working-with-services/key-value-store/redis.html.md
@@ -2,4 +2,6 @@
title: Redis
---
-Etc...
+## Redis
+
+Coming soon...
View
4 source/docs/using/working-with-services/message-queue/rabbit.html.md
@@ -2,5 +2,7 @@
title: RabbitMQ
---
-Etc.
+## RabbitMQ
+
+Coming soon...
View
4 source/docs/using/working-with-services/relational-db/mysql.html.md
@@ -2,4 +2,6 @@
title: MySQL
---
-Etc...
+## MySQL
+
+Coming soon...
View
4 source/docs/using/working-with-services/relational-db/postgresql.html.md
@@ -2,4 +2,6 @@
title: PostgreSQL
---
-Etc...
+## PostgreSQL
+
+Coming soon...
View
BIN  source/images/BG_CF.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  source/images/background.png
Deleted file not rendered
View
BIN  source/images/logo_cloudfoundry.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  source/images/middleman.png
Deleted file not rendered
View
60 source/index.html.md
@@ -2,63 +2,63 @@
title: Welcome to Cloud Foundry Documentation
---
-Cloud Foundry Documentation
-===========================
+This set of materials will replace all Cloud Foundry documentation, for cloudfoundry.com, vcap, and bosh, in Q1 of 2013.
+This information is forward looking and favors 'next generation' components which may not be applicable to existing Cloud Foundry installations.
-This set of materials will replace all Cloud Foundry documentation, for cloudfoundry.com, vcap, and bosh, in Q1 of 2013. This information is forward looking and favors 'next generation' components which may not be applicable to existing Cloud Foundry installations.
-
-## [Using Cloud Foundry](using/index.html)
+## [Using Cloud Foundry](docs/using/index.html)
For developers pushing applications to Cloud Foundry.
-* [Deploying Apps](using/deploying-apps/index.html)
-
- * [Java / jvm based](using/deploying-apps/jvm/index.html)
+* [Deploying Apps](docs/using/deploying-apps/index.html)
+
+ * [Java / jvm based](docs/using/deploying-apps/jvm/index.html)
- * [node.js](using/deploying-apps/javascript/index.html)
+ * [node.js](docs/using/deploying-apps/javascript/index.html)
- * [Ruby](using/deploying-apps/ruby/index.html)
+ * [Ruby](docs/using/deploying-apps/ruby/index.html)
- * [Custom](using/deploying-apps/custom/index.html)
+ * [Custom](docs/using/deploying-apps/custom/index.html)
-* [Managing Apps](using/managing-apps/index.html)
+* [Managing Apps](docs/using/managing-apps/index.html)
- * [vmc](using/managing-apps/vmc/index.html)
+ * [vmc](docs/using/managing-apps/vmc/index.html)
- * [STS](using/managing-apps/sts/index.html)
+ * [STS](docs/using/managing-apps/sts/index.html)
-* [Working with Services](using/working-with-services/index.html)
+* [Working with Services](docs/using/working-with-services/index.html)
- * [MySQL](using/working-with-services/relational-db/mysql.html)
+ * [MySQL](docs/using/working-with-services/relational-db/mysql.html)
- * [PostgreSQL](using/working-with-services/relational-db/postgresql.html)
+ * [PostgreSQL](docs/using/working-with-services/relational-db/postgresql.html)
- * [Redis](using/working-with-services/key-value-store/redis.html)
+ * [Redis](docs/using/working-with-services/key-value-store/redis.html)
- * [MongoDB](using/working-with-services/key-value-store/mongodb.html)
+ * [MongoDB](docs/using/working-with-services/key-value-store/mongodb.html)
- * [RabbitMQ](using/working-with-services/message-queue/rabbit.html)
+ * [RabbitMQ](docs/using/working-with-services/message-queue/rabbit.html)
-## [Running Cloud Foundry](running/index.html)
+
+## [Running Cloud Foundry](docs/running/index.html)
For dev/ops people managing instances of Cloud Foundry.
-* [Cloud Foundry API](running/api/index.html)
+* [Cloud Foundry API](docs/running/api/index.html)
+
+* [Cloud Foundry Architecture](docs/running/architecture/index.html)
-* [Cloud Foundry Architecture](running/api/architecture/index.html)
+* [Deploying Cloud Foundry](docs/running/deploying-cf/index.html)
-* [Deploying Cloud Foundry](running/deploying-cf/index.html)
+ * [Components](docs/running/deploying-cf/components/index.html)
- * [Components](running/deploying-cf/components/index.html)
+ * [Understanding Releases](docs/running/deploying-cf/releases/index.html)
- * [Understanding Releases](running/deploying-cf/releases/index.html)
+ * [Deploying to EC2](docs/running/deploying-cf/ec2/index.html)
- * [Deploying to EC2](running/deploying-cf/ec2/index.html)
+ * [Deploying to OpenStack](docs/running/deploying-cf/openstack/index.html)
- * [Deploying to OpenStack](running/deploying-cf/openstack/index.html)
+ * [Deploying to vSphere](docs/running/deploying-cf/vsphere/index.html)
- * [Deploying to vSphere](running/deploying-cf/vsphere/index.html)
+* [Monitoring Cloud Foundry](docs/running/monitoring/index.html)
-* [Monitoring Cloud Foundry](running/monitoring/index.html)
Docs are a work in progress and we welcome your [help](http://github.com/cloudfoundry/docs).
View
38 source/layouts/layout.erb
@@ -7,13 +7,47 @@
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<!-- Use title if it's in the page YAML frontmatter -->
- <title><%= data.page.title || "The Middleman" %></title>
+ <title><%= data.page.title || "Cloud Foundry Docs" %></title>
<%= stylesheet_link_tag "style" %>
<%= javascript_include_tag "all" %>
+ <!--[if IE 8]>
+ <style>
+ body {background-color:#85bfe4;background-image:none;}
+ </style>
+ <![endif]-->
</head>
<body class="<%= page_classes %>">
- <%= yield %>
+ <div id="main">
+ <div id="logo">
+ <a href="http://www.cloudfoundry.com">
+ <img src="/images/logo_cloudfoundry.png" height="57">
+ </a>
+ </div>
+ <div id="container">
+ <a href="/">
+ <h1>Cloud Foundry Documentation</h1>
+ </a>
+ <br>
+ <div id="bg-content">
+ <%= yield %>
+ </div>
+ </div>
+ </div>
+ <div id="footer">
+ <p>
+ Copyright ©
+ <script>
+ //<![CDATA[
+ //
+ var d = new Date();
+ document.write(d.getFullYear());
+ //
+ //]]>
+ </script>
+ VMware, Inc. All rights reserved.
+ </p>
+ </div>
</body>
</html>
View
230 source/stylesheets/style.css
@@ -2,16 +2,107 @@
/* Global Reset & Standards ---------------------- */
*, *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
-html { font-size: 62.5%; margin-left: 20px;width: 960px;}
+* {
+ margin: 0;
+}
+
+html, body {
+ height: 100%;
+ margin: 0;
+ padding: 0;
+}
+
+body {
+ background: url("/images/BG_CF.jpg") no-repeat center fixed;
+ -webkit-background-size: cover;
+ -moz-background-size: cover;
+ -o-background-size: cover;
+ background-size: cover;
+ font-family: Helvetica, Arial, sans-serif;
+ font-weight: normal;
+ font-size: 14px;
+ line-height: 24px;
+ color: #333333;
+ min-width: 1024px;
+ -moz-text-shadow: 0 1px #fff;
+ -webkit-text-shadow: 0 1px #fff;
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
+}
+
+
+#main {
+ padding: 0 0 0 20px;
+ height: auto !important;
+ margin: 0 auto;
+ min-height: 100%;
+ height: 100%;
+}
+
+#logo {
+ width: 1000px;
+ margin: 40px auto;
+}
+
+#container {
+ margin: 0 auto;
+ width: 960px;
+}
+
+#bg-content {
+ width: 960px;
+ padding: 25px 40px;
+ margin: 0 20px 0 0;
+ background: none repeat scroll 0 0 rgba(255,255,255,0.5);
+ -moz-box-shadow: 0 0 4px #999;
+ -webkit-box-shadow: 0 0 4px #999;
+ box-shadow: 0 0 10px rgba(0,0,0,0.1);
+ -moz-border-radius: 5px;
+ -webkit-border-radius: 5px;
+ border-radius: 5px;
+ border: 1px solid #CEDBE2;
+ overflow: hidden;
+}
+
+#footer {
+ /*position: absolute;*/
+ /*bottom: 0;*/
+ /*overflow: hidden;*/
+ margin: 30px 0 0 0;
+ width: 100%;
+ border: 1px solid rgba(0,0,0,.75);
+ -moz-box-shadow: 0 0 10px rgba(0,0,0,.09), inset 0 1px 0 rgba(255,255,255,.25);
+ -webkit-box-shadow: 0 0 10px rgba(0,0,0,.09), inset 0 1px 0 rgba(255,255,255,.25);
+ box-shadow: 0 0 10px rgba(0,0,0,.09), inset 0 1px 0 rgba(255,255,255,.25);
+ background-image: -moz-linear-gradient(bottom, #1e1f23 -25%, #2d2f33 125%);
+ background-image: -o-linear-gradient(bottom, #1e1f23 -25%, #2d2f33 125%);
+ background-image: -webkit-linear-gradient(bottom, #1e1f23 -25%, #2d2f33 125%);
+ background-image: linear-gradient(bottom, #1e1f23 -25%, #2d2f33 125%);
+ background-color: #2d2f33;
+ padding: 20px 0;
+ height: 70px; /* should match padding-bottom of wrapper */
+}
+
+#footer p {
+ margin-top: 5px;
+ font-size: 12px;
+ text-align: center;
+ color: #999999;
+ text-shadow: 0 1px 0 #000000;
+}
+
+#footer a {
+ color: #2E93D7;
+ font-size: 12px;
+ text-decoration: none;
+}
-body { background: white; font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-weight: normal; font-style: normal; font-size: 14px; line-height: 1; color: #222222; position: relative; -webkit-font-smoothing: antialiased; }
/* Links ---------------------- */
a img { border: none; }
-a { color: #2ba6cb; text-decoration: none; line-height: inherit; }
+a { color: #0099D6; text-decoration: none; line-height: inherit; }
-a:hover { color: #2795b6; }
+a:hover { color: #0099D6; text-decoration: underline; }
a:focus { color: #2795b6; }
@@ -32,7 +123,7 @@ p a, p a:visited { line-height: inherit; }
.hide-override { display: none !important; }
-.highlight { background: #ffff99; }
+.highlight { /*background: #FAFAFB;*/ }
/* Reset for strange margins by default on <figure> elements */
@@ -41,19 +132,67 @@ figure { margin: 0; }
/* Base Type Styles Using Modular Scale ---------------------- */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, th, td { margin: 0; padding: 0; font-size: 14px; direction: ltr; }
-p { font-family: inherit; font-weight: normal; font-size: 14px; line-height: 1.6; margin-bottom: 17px; }
+pre {
+ border: 1px solid #cacaca;
+ line-height: 1.2em;
+ font: 13px Courier;
+ padding: 15px;
+ overflow: auto;
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+ border-radius: 3px;
+ -moz-background-clip: padding;
+ -webkit-background-clip: padding-box;
+ background-clip: padding-box;
+ background-color: #FAFAFB;
+ color: #393939;
+ margin-bottom: 5px;
+ text-shadow: none;
+}
+
+pre.terminal {
+ background-color: #444;
+ color: #fff;
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+ border-radius: 3px;
+ -moz-background-clip: padding;
+ -webkit-background-clip: padding-box;
+ background-clip: padding-box;
+ border: 2px solid #DEDEDE;
+ position: relative;
+ padding: 10px;
+ text-shadow: none;
+ background-image: none;
+ filter: none;
+ font-weight: normal;
+}
+
+p { font-family: inherit; font-weight: normal; font-size: 14px; line-height: 1.6; margin: 10px 0; }
p.lead { font-size: 17.5px; line-height: 1.6; margin-bottom: 17px; }
aside p { font-size: 13px; line-height: 1.35; font-style: italic; }
-h1, h2, h3, h4, h5, h6 { font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; font-weight: bold; font-style: normal; color: #222222; text-rendering: optimizeLegibility; line-height: 1.1; margin-bottom: 14px; margin-top: 14px; }
+h1, h2, h3, h4, h5, h6 { font-family: Helvetica, Arial, sans-serif; font-weight: bold; font-style: normal; color: #333333; text-rendering: optimizeLegibility; line-height: 1.1; margin-bottom: 14px; margin-top: 14px; }
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { font-size: 60%; color: #6f6f6f; line-height: 0; }
-h1 { font-size: 44px; }
+h1 {
+ font-size: 36px;
+ line-height: 40px;
+ font-weight: 300;
+}
-h2 { font-size: 37px; }
+h2 {
+ font-size: 28px;
+ line-height: 35px;
+ font-weight: 300;
+}
-h3 { font-size: 27px; }
+h3 {
+ font-size: 20px;
+ line-height: 32px;
+ font-weight: normal;
+}
h4 { font-size: 23px; }
@@ -71,10 +210,10 @@ strong, b { font-weight: bold; line-height: inherit; }
small { font-size: 60%; line-height: inherit; }
-code { font-weight: bold; background: #ffff99; }
+code { /*font-weight: bold; background: #ffff99;*/ }
/* Lists ---------------------- */
-ul, ol, dl { font-size: 14px; line-height: 1.6; margin-bottom: 17px; list-style-position: outside; }
+ul, ol, dl { font-size: 14px; line-height: 1.6; margin: 0 0 17px 17px; list-style-position: outside; }
ul li ul, ul li ol { margin-left: 20px; margin-bottom: 0; }
ul.square, ul.circle, ul.disc { margin-left: 17px; }
@@ -148,9 +287,9 @@ span.prefix, span.postfix { background: #f2f2f2; border: 1px solid #cccccc; }
.postfix { right: 2px; -moz-border-radius-topright: 2px; -webkit-border-top-right-radius: 2px; border-top-right-radius: 2px; -moz-border-radius-bottomright: 2px; -webkit-border-bottom-right-radius: 2px; border-bottom-right-radius: 2px; }
-input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], textarea { background-color: white; font-family: inherit; border: 1px solid #cccccc; -webkit-border-radius: 2px; -moz-border-radius: 2px; -ms-border-radius: 2px; -o-border-radius: 2px; border-radius: 2px; -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); color: rgba(0, 0, 0, 0.75); display: block; font-size: 14px; margin: 0 0 12px 0; padding: 6px; height: 32px; width: 100%; -webkit-transition: all 0.15s linear; -moz-transition: all 0.15s linear; -o-transition: all 0.15s linear; transition: all 0.15s linear; }
+input[type="text"], input[type="password"], input[type="date"], input[type="datetime"], input[type="email"], input[type="number"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], textarea { background-color: white; font-family: inherit; border: 1px solid #cccccc; -webkit-border-radius: 2px; -moz-border-radius: 2px; -ms-border-radius: 2px; -o-border-radius: 2px; border-radius: 2px; -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); color: rgba(0, 0, 0, 0.75); display: block; font-size: 14px; margin: 0 0 12px 0; padding: 6px; height: 26px; width: 100%; /*-webkit-transition: all 0.15s linear; -moz-transition: all 0.15s linear; -o-transition: all 0.15s linear; transition: all 0.15s linear;*/ }
input[type="text"].oversize, input[type="password"].oversize, input[type="date"].oversize, input[type="datetime"].oversize, input[type="email"].oversize, input[type="number"].oversize, input[type="search"].oversize, input[type="tel"].oversize, input[type="time"].oversize, input[type="url"].oversize, textarea.oversize { font-size: 17px; padding: 4px 6px; }
-input[type="text"]:focus, input[type="password"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="time"]:focus, input[type="url"]:focus, textarea:focus { background: #fafafa; border-color: #b3b3b3; }
+input[type="text"]:focus, input[type="password"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="time"]:focus, input[type="url"]:focus, textarea:focus { background: #333; border-color: #333; }
input[type="text"][disabled], input[type="password"][disabled], input[type="date"][disabled], input[type="datetime"][disabled], input[type="email"][disabled], input[type="number"][disabled], input[type="search"][disabled], input[type="tel"][disabled], input[type="time"][disabled], input[type="url"][disabled], textarea[disabled] { background-color: #ddd; }
textarea { height: auto; }
@@ -161,3 +300,66 @@ select { width: 100%; }
fieldset { border: solid 1px #ddd; -webkit-border-radius: 3px; -moz-border-radius: 3px; -ms-border-radius: 3px; -o-border-radius: 3px; border-radius: 3px; padding: 12px; margin: 18px 0; }
fieldset legend { font-weight: bold; background: white; padding: 0 3px; margin: 0; margin-left: -3px; }
+
+/* Pygments.css */
+
+.c { color: #999988; font-style: italic } /* Comment */
+.err { color: #a61717; background-color: #e3d2d2 } /* Error */
+.k { font-weight: bold } /* Keyword */
+.o { font-weight: bold } /* Operator */
+.cm { color: #999988; font-style: italic } /* Comment.Multiline */
+.cp { color: #999999; font-weight: bold } /* Comment.Preproc */
+.c1 { color: #999988; font-style: italic } /* Comment.Single */
+.cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
+.gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
+.gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
+.ge { font-style: italic } /* Generic.Emph */
+.gr { color: #aa0000 } /* Generic.Error */
+.gh { color: #999999 } /* Generic.Heading */
+.gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
+.gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
+.go { color: #888888 } /* Generic.Output */
+.gp { color: #555555 } /* Generic.Prompt */
+.gs { font-weight: bold } /* Generic.Strong */
+.gu { color: #aaaaaa } /* Generic.Subheading */
+.gt { color: #EC6219 } /* Generic.Traceback */
+.kc { font-weight: bold } /* Keyword.Constant */
+.kd { font-weight: bold } /* Keyword.Declaration */
+.kp { font-weight: bold } /* Keyword.Pseudo */
+.kr { font-weight: bold } /* Keyword.Reserved */
+.kt { color: #445588; font-weight: bold } /* Keyword.Type */
+.m { color: #009999 } /* Literal.Number */
+.s { color: #EC6129 } /* Literal.String */
+.na { color: #008080 } /* Name.Attribute */
+.nb { color: #0086B3 } /* Name.Builtin */
+.nc { color: #445588; font-weight: bold } /* Name.Class */
+.no { color: #008080 } /* Name.Constant */
+.ni { color: #800080 } /* Name.Entity */
+.ne { color: #EC6219; font-weight: bold } /* Name.Exception */
+.nf { color: #EC6219; font-weight: bold } /* Name.Function */
+.nn { color: #555555 } /* Name.Namespace */
+.nt { color: #000080 } /* Name.Tag */
+.nv { color: #008080 } /* Name.Variable */
+.ow { font-weight: bold } /* Operator.Word */
+.w { color: #bbbbbb } /* Text.Whitespace */
+.mf { color: #009999 } /* Literal.Number.Float */
+.mh { color: #009999 } /* Literal.Number.Hex */
+.mi { color: #009999 } /* Literal.Number.Integer */
+.mo { color: #009999 } /* Literal.Number.Oct */
+.sb { color: #EC6129 } /* Literal.String.Backtick */
+.sc { color: #EC6129 } /* Literal.String.Char */
+.sd { color: #EC6129 } /* Literal.String.Doc */
+.s2 { color: #EC6129 } /* Literal.String.Double */
+.se { color: #EC6129 } /* Literal.String.Escape */
+.sh { color: #EC6129 } /* Literal.String.Heredoc */
+.si { color: #EC6129 } /* Literal.String.Interpol */
+.sx { color: #EC6129 } /* Literal.String.Other */
+.sr { color: #009926 } /* Literal.String.Regex */
+.s1 { color: #EC6129 } /* Literal.String.Single */
+.ss { color: #990073 } /* Literal.String.Symbol */
+.bp { color: #999999 } /* Name.Builtin.Pseudo */
+.vc { color: #008080 } /* Name.Variable.Class */
+.vg { color: #008080 } /* Name.Variable.Global */
+.vi { color: #008080 } /* Name.Variable.Instance */
+.il { color: #009999 } /* Literal.Number.Integer.Long */
+
Please sign in to comment.
Something went wrong with that request. Please try again.