summaryrefslogtreecommitdiff
path: root/shared/css
diff options
context:
space:
mode:
authorCameron McEfee <cameron@github.com>2011-05-16 15:59:52 -0700
committerCameron McEfee <cameron@github.com>2011-05-16 16:55:32 -0700
commit4a73a1e5bc6ae610f356cbaafec5c32c4a9bb95a (patch)
treea3e0e63a1823567e8f5095bb9cf2dc8ba3ee8268 /shared/css
parent6a43807ebdc863d360330845eb4cc3b5d0efb10f (diff)
add shared
Diffstat (limited to 'shared/css')
-rw-r--r--shared/css/documentation.css643
-rw-r--r--shared/css/pygments.css60
2 files changed, 703 insertions, 0 deletions
diff --git a/shared/css/documentation.css b/shared/css/documentation.css
new file mode 100644
index 0000000..cafbefb
--- /dev/null
+++ b/shared/css/documentation.css
@@ -0,0 +1,643 @@
+/*------------------------------------------------------------------------------
+ Global Documentation Styles
+------------------------------------------------------------------------------*/
+
+body {
+ font: 13px helvetica,arial,freesans,clean,sans-serif;
+ line-height: 1.4em;
+ background-color: #fff;
+ color: #393939;
+ margin: 0px;
+ padding: 0px;
+ height: 100%;
+}
+
+p {
+ margin-bottom: 1em;
+}
+
+h1 {
+ font-size: 20px;
+ border-bottom: 1px solid #cccccc;
+ padding: .5em 0;
+ margin: 0 0 1em;
+}
+
+h2 {
+ font-size: 16px;
+ color: #333;
+ margin: 2em auto 1em;
+}
+
+h2 span.step {
+ color: #666;
+}
+
+h3 {
+ font-size: 14px;
+ color: #333;
+ margin: 1.5em 0 .5em;
+}
+
+h5 {
+ font-size: 13px;
+}
+
+h6 {
+ font-size: 13px;
+ color: #666;
+}
+
+a {
+ color: #4183C4;
+ text-decoration: none;
+}
+
+a:hover,
+a:active {
+ text-decoration:underline;
+}
+
+blockquote {
+ margin:0 -5px;
+ padding: 0px 20px;
+}
+
+ul,
+ol {
+ margin: 0px;
+ padding: 0px;
+}
+
+dt {
+ font-weight: bold;
+}
+
+dd {
+ padding-left: 1em;
+ margin-bottom: 1em;
+}
+
+dd + dd {
+ margin-bottom: 0;
+}
+
+span.attention,
+p.attention {
+ color: #e98400;
+ font-style: italic;
+}
+
+/*------------------------------------------------------------------------------
+ Header Styles
+------------------------------------------------------------------------------*/
+
+#header-wrapper {
+ margin-bottom: 0;
+ clear: both;
+ height: 91px;
+ background: white url(/shared/images/background-v2.png) 0 0 repeat-x;
+}
+
+#header {
+ margin: 0 auto;
+ width: 920px;
+}
+
+#header a.logo {
+ float: left;
+ margin-top: 15px;
+ display: inline-block;
+}
+
+#header ul.nav {
+ float: right;
+ padding: 8px 3px 8px 2px;
+ font-weight: bold;
+ text-shadow: white 1px 1px 0px;
+ font-size: 12px;
+ margin-top: 18px;
+ background: #f5f5f5;
+ filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#fcfcfc', endColorstr='#ececec');
+ background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#fcfcfc), to(#e8e8e8));
+ background:-moz-linear-gradient(270deg, #fcfcfc, #ececec);
+ border-color:#eee;
+ border:1px solid #e9e9e9;
+ border-bottom-color:#f5f5f5;
+ -webkit-border-radius:5px;
+ -moz-border-radius:5px;
+ border-radius:5px;
+ -webkit-box-shadow:0 1px 1px rgba(0,0,0,0.2);
+ -moz-box-shadow:0 1px 1px rgba(0,0,0,0.2);
+ box-shadow:0 1px 1px rgba(0,0,0,0.2);
+}
+
+#header ul.nav li:first-child {
+ background: transparent;
+}
+
+#header ul.nav li {
+ float: left;
+ margin: 0;
+ padding: 0px 11px 0px 13px;
+ list-style-type: none;
+ background: url(/shared/images/nav-rule.png) no-repeat 0px 50%;
+ line-height: 1.4em;
+}
+
+#header a {
+ outline: none;
+ text-decoration: none;
+}
+
+/*------------------------------------------------------------------------------
+ Sidebar
+------------------------------------------------------------------------------*/
+
+div.sidebar-shell {
+ position: relative;
+ float: right;
+ margin: .5em 0 0;
+}
+
+div.sidebar-module {
+ padding: 3px;
+ background: #EEE;
+ -moz-border-radius: 3px;
+ -webkit-border-radius: 3px;
+ border-radius: 3px;
+ display: block;
+ width: 332px;
+ margin-bottom: 20px;
+ font-size: 12px;
+}
+
+div.sidebar-module > ul {
+ background: #fafafb;
+ border: solid #CACACA;
+ border-width: 1px 1px 0px 1px;
+ margin: 0px;
+}
+
+div.sidebar-module > p {
+ background: #fafafb;
+ border: solid #CACACA;
+ border-width: 1px;
+ padding: 8px 10px;
+ margin: 0px;
+ display: block;
+ line-height: 1.4em;
+}
+
+div.sidebar-module li {
+ list-style-type: none;
+}
+
+div.sidebar-module > ul > li {
+ border-bottom: 1px solid #CACACA;
+}
+
+div.sidebar-module > ul h3 {
+ margin: 0px;
+ color: #666;
+ text-shadow: 1px 1px 0px #fff;
+ background-color: #f1f1f1;
+ border-bottom: 1px solid #CACACA;
+ background-image: -moz-linear-gradient(top, #f1f1f1, #e1e1e1);
+ background-image: -ms-linear-gradient(top, #f1f1f1, #e1e1e1);
+ background-image: -o-linear-gradient(top, #f1f1f1, #e1e1e1);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#f1f1f1), to(#e1e1e1));
+ background-image: -webkit-linear-gradient(top, #f1f1f1, #e1e1e1);
+ background-image: linear-gradient(top, #f1f1f1, #e1e1e1);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f1f1f1', EndColorStr='#e1e1e1');
+ font-size: 14px;
+}
+
+div.sidebar-module > ul h3:hover {
+ text-decoration: none;
+ background-color: #e1e1e1;
+ background-image: -moz-linear-gradient(top, #e1e1e1, #d1d1d1);
+ background-image: -ms-linear-gradient(top, #e1e1e1, #d1d1d1);
+ background-image: -o-linear-gradient(top, #e1e1e1, #d1d1d1);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#e1e1e1), to(#d1d1d1));
+ background-image: -webkit-linear-gradient(top, #e1e1e1, #d1d1d1);
+ background-image: linear-gradient(top, #e1e1e1, #d1d1d1);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#e1e1e1', EndColorStr='#d1d1d1');
+}
+
+
+div.sidebar-module > ul h3 a {
+ padding: 8px 0px 8px 10px;
+ color: #666;
+ display: block;
+ text-decoration: none;
+}
+
+div.sidebar-module > ul h3:hover a {
+ text-decoration: none;
+}
+
+div.sidebar-module ul ul,
+div.sidebar-module .spacer {
+ display: block;
+ margin-bottom: 2px;
+ padding: 0px;
+}
+
+div.sidebar-module ul ul li {
+ border-top: 1px solid #fff;
+ border-bottom: 1px solid #e9ecee;
+ font-weight: bold;
+ color: #666;
+}
+
+div.sidebar-module ul ul li:hover,
+div.sidebar-module li.disable {
+ border-top: 1px solid #fafafb;
+ border-bottom: 1px solid #e5e8ea;
+ background-color: #f0f0f3;
+}
+
+div.sidebar-module ul ul li a,
+div.sidebar-module ul ul li span {
+ padding: 6px 0px 6px 10px;
+ display: block;
+ text-decoration: none;
+}
+
+div.sidebar-module ul ul li span {
+ padding-left: 20px;
+ cursor: default;
+}
+
+/* @end */
+
+/*------------------------------------------------------------------------------
+ Footer
+------------------------------------------------------------------------------*/
+
+#footer-wrapper {
+ border-top: solid 1px #ddd;
+ background-color: #222;
+ padding: 1em 0;
+ color: #eee;
+ margin-top: -88px;
+}
+
+#footer {
+ font-size: 12px;
+ line-height: 100%;
+ overflow: hidden;
+ margin: 0 auto;
+ width: 920px;
+
+}
+
+#footer p {
+ margin: 0;
+}
+
+#footer .rackspace {
+ line-height: 1.5em;
+ padding: 1.1em 1em 1em 65px;
+ color: #666;
+ background: url(/shared/images/rackspace_logo.png) 1.2em 50% no-repeat #f1f1f1;
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
+}
+
+.rackspace a,
+.rackspace a:active,
+.rackspace a:hover {
+ color: #333;
+}
+
+#bottom-nav {
+ padding-top: 0.7em;
+ position: relative;
+ float: left;
+ display: block;
+}
+
+#footer .nav,
+#footer .nav li {
+ margin:0;
+}
+
+#footer .nav li {
+ display: inline;
+ line-height: 2em;
+ padding-right: 3px;
+}
+
+#footer .nav li + li {
+ border-left: 2px solid #666;
+ padding-left: 5px;
+}
+
+#bottom-notice {
+ width: 310px;
+ display: block;
+ position: relative;
+ float: right;
+}
+
+/* end */
+
+/*------------------------------------------------------------------------------
+ Not Footer
+------------------------------------------------------------------------------*/
+#wrapper {
+ padding: 20px 25px 128px;
+ overflow:hidden;
+ height: auto;
+ min-height: 80%;
+ width: 920px;
+ margin: -20px auto 0;
+ background: url(/shared/images/background-white.png) 0 0 no-repeat;
+}
+
+#not-footer {
+ height: auto;
+ min-height: 100%;
+}
+
+.content {
+ width: 560px;
+ position: relative;
+ float: left;
+ color: #393939;
+}
+
+.content dl {
+ margin-left: 10px;
+}
+
+.content dt {
+ color: #666;
+}
+
+.content ul,
+.content ol {
+ margin-left: 1.5em;
+}
+
+.content ul {
+ list-style-type: disc;
+}
+
+.content img {
+ max-width: 100%;
+ border: 1px solid #dddddd;
+ -webkit-box-shadow: 1px 1px 3px #ddd;
+ -moz-box-shadow: 1px 1px 3px #ddd;
+ box-shadow: 1px 1px 3px #ddd;
+}
+
+
+.content .description {
+ margin-left: 20px;
+}
+
+.content .verseblock-content {
+ padding: 3px;
+}
+
+.content .verseblock-content,
+.content .sectionbody .dlist dt,
+.content p > tt,
+.content dl code,
+.content ul code,
+p code {
+ font: 12px Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;
+ color: #52595d;
+ -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: 1px solid #ccc;
+ background-color: #f9f9f9;
+ padding: 0px 3px;
+ display: inline-block;
+}
+
+.content .sectionbody .dlist dt {
+ margin-top: 10px;
+}
+
+.content .verseblock-content {
+ padding: 3px;
+}
+
+.content .intro {
+ color: #868686;
+}
+/* @end */
+
+/*------------------------------------------------------------------------------
+ Pre/Code Styles
+------------------------------------------------------------------------------*/
+
+code {white-space: nowrap;}
+
+pre {
+ border: 1px solid #cacaca;
+ line-height: 1.2em;
+ font: 12px Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;
+ margin-bottom: 1em;
+ padding: 1em;
+ 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;
+}
+
+pre code {white-space: pre;}
+pre span.comment {color: #aaa;}
+
+pre.headers {
+ margin-bottom: 0;
+ border-bottom-width: 0;
+ -webkit-border-radius: 3px 3px 0 0;
+ -moz-border-radius: 3px 3px 0 0;
+ border-radius: 3px 3px 0 0;
+ color: #666;
+ background-color: #f1f1f1;
+ background-image: -moz-linear-gradient(top, #f1f1f1, #e1e1e1);
+ background-image: -ms-linear-gradient(top, #f1f1f1, #e1e1e1);
+ background-image: -o-linear-gradient(top, #f1f1f1, #e1e1e1);
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#f1f1f1), to(#e1e1e1));
+ background-image: -webkit-linear-gradient(top, #f1f1f1, #e1e1e1);
+ background-image: linear-gradient(top, #f1f1f1, #e1e1e1);
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f1f1f1', EndColorStr='#e1e1e1');
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
+}
+
+pre.no-response {
+ -webkit-border-radius: 3px 3px;
+ -moz-border-radius: 3px 3px;
+ border-radius: 3px 3px;
+ border-bottom: 1px solid #CACACA;
+}
+
+pre.headers + pre.highlight {
+ -webkit-border-radius: 0 0 3px 3px;
+ -moz-border-radius: 0 0 3px 3px;
+ border-radius: 0 0 3px 3px;
+}
+
+pre.highlight {
+ -webkit-border-radius:3px;
+ -moz-border-radius:3px;
+ border-radius:3px;
+ background-color: #FAFAFB;
+}
+
+pre.terminal {
+ background-color: #444;
+ color: #fff;
+ display: block;
+ -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;
+}
+
+pre.terminal em {
+ color: #f9fe64;
+}
+
+span.codeline {
+ display: block;
+ position: relative;
+}
+
+span.codeline:hover {
+ background-color: #292929;
+ margin: 0px;
+ padding-left: 3px;
+ margin-left: -3px;
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+ border-radius: 3px;
+ color: #666666;
+}
+
+span.codeline span {
+ display: inline-block;
+ font-size: 10px;
+ color: #fff;
+ padding: 0 0.3em 0.05em;
+ position: absolute;
+ right: 0px;
+ top: 0px;
+ text-indent: -9999px;
+ background-image: url(/shared/images/qmark.png);
+ background-repeat: no-repeat;
+ background-position: 1px 3px;
+ max-width: 8px;
+ min-width: 8px;
+ -moz-user-select: none;
+ -khtml-user-select: none;
+ user-select: none;
+ cursor: default;
+}
+
+span.codeline span:hover {
+ display: inline-block;
+ text-indent: 0px;
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+ border-radius: 3px;
+ background: #000;
+ border: 1px solid #292929;
+ max-width: 1000px;
+}
+
+span.codeline:hover em {
+ color: #666666;
+}
+
+pre.bootcamp {
+ white-space: normal;
+ margin-left: -10px;
+ margin-bottom: 1.5em;
+ background-image: none;
+}
+
+span.bash-output {
+ color: #63e463;
+ display: block;
+ position: relative;
+ -moz-user-select: none;
+ -khtml-user-select: none;
+ user-select: none;
+}
+
+/* end */
+
+/*------------------------------------------------------------------------------
+ More Info Expander
+------------------------------------------------------------------------------*/
+
+.more-info {
+ margin: 10px 0;
+ position: relative;
+}
+.more-info > h4 {
+ background-image: url('/shared/images/dropdown_sprites.jpg');
+ background-repeat: no-repeat;
+ padding: .25em 0 .25em 25px;
+ cursor: pointer;
+ color: #4183C4;
+ font-weight: normal;
+}
+.more-info h4.compressed {
+ background-position: 0 0;
+}
+.more-info:hover h4.compressed {
+ background-position: 0 -23px;
+}
+.more-info h4.expanded {
+ background-position: 0 -46px;
+}
+.more-info:hover h4.expanded {
+ background-position: 0 -69px;
+}
+
+.more-info .more-content {
+ display: none;
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+ border-radius: 3px;
+ background-color: #FFFFFF;
+ border: 3px solid #DDDDDD;
+ padding: 1em 2em;
+ -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
+ -moz-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
+ box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
+ margin: 15px 0 30px;
+}
+
+.more-info .more-content h4 {
+ margin-top: 1em;
+}
+
+.more-info .more-content pre {
+ margin-left: 0px;
+} \ No newline at end of file
diff --git a/shared/css/pygments.css b/shared/css/pygments.css
new file mode 100644
index 0000000..1e651cf
--- /dev/null
+++ b/shared/css/pygments.css
@@ -0,0 +1,60 @@
+.highlight { background: #ffffff; }
+.highlight .c { color: #999988; font-style: italic } /* Comment */
+.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
+.highlight .k { font-weight: bold } /* Keyword */
+.highlight .o { font-weight: bold } /* Operator */
+.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
+.highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
+.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
+.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
+.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
+.highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
+.highlight .ge { font-style: italic } /* Generic.Emph */
+.highlight .gr { color: #aa0000 } /* Generic.Error */
+.highlight .gh { color: #999999 } /* Generic.Heading */
+.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
+.highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
+.highlight .go { color: #888888 } /* Generic.Output */
+.highlight .gp { color: #555555 } /* Generic.Prompt */
+.highlight .gs { font-weight: bold } /* Generic.Strong */
+.highlight .gu { color: #aaaaaa } /* Generic.Subheading */
+.highlight .gt { color: #aa0000 } /* Generic.Traceback */
+.highlight .kc { font-weight: bold } /* Keyword.Constant */
+.highlight .kd { font-weight: bold } /* Keyword.Declaration */
+.highlight .kp { font-weight: bold } /* Keyword.Pseudo */
+.highlight .kr { font-weight: bold } /* Keyword.Reserved */
+.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
+.highlight .m { color: #009999 } /* Literal.Number */
+.highlight .s { color: #d14 } /* Literal.String */
+.highlight .na { color: #008080 } /* Name.Attribute */
+.highlight .nb { color: #0086B3 } /* Name.Builtin */
+.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
+.highlight .no { color: #008080 } /* Name.Constant */
+.highlight .ni { color: #800080 } /* Name.Entity */
+.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
+.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
+.highlight .nn { color: #555555 } /* Name.Namespace */
+.highlight .nt { color: #000080 } /* Name.Tag */
+.highlight .nv { color: #008080 } /* Name.Variable */
+.highlight .ow { font-weight: bold } /* Operator.Word */
+.highlight .w { color: #bbbbbb } /* Text.Whitespace */
+.highlight .mf { color: #009999 } /* Literal.Number.Float */
+.highlight .mh { color: #009999 } /* Literal.Number.Hex */
+.highlight .mi { color: #009999 } /* Literal.Number.Integer */
+.highlight .mo { color: #009999 } /* Literal.Number.Oct */
+.highlight .sb { color: #d14 } /* Literal.String.Backtick */
+.highlight .sc { color: #d14 } /* Literal.String.Char */
+.highlight .sd { color: #d14 } /* Literal.String.Doc */
+.highlight .s2 { color: #d14 } /* Literal.String.Double */
+.highlight .se { color: #d14 } /* Literal.String.Escape */
+.highlight .sh { color: #d14 } /* Literal.String.Heredoc */
+.highlight .si { color: #d14 } /* Literal.String.Interpol */
+.highlight .sx { color: #d14 } /* Literal.String.Other */
+.highlight .sr { color: #009926 } /* Literal.String.Regex */
+.highlight .s1 { color: #d14 } /* Literal.String.Single */
+.highlight .ss { color: #990073 } /* Literal.String.Symbol */
+.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
+.highlight .vc { color: #008080 } /* Name.Variable.Class */
+.highlight .vg { color: #008080 } /* Name.Variable.Global */
+.highlight .vi { color: #008080 } /* Name.Variable.Instance */
+.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */ \ No newline at end of file