Skip to content
Browse files

A fedmsg logo header for the docs.

  • Loading branch information...
1 parent d91b5f8 commit e4205e452702d0384cf880bff5dbf361f8338778 @ralphbean committed
Showing with 13 additions and 51 deletions.
  1. +0 −50 doc/_static/editor.css
  2. +8 −0 doc/_static/site.css
  3. +3 −0 doc/_templates/fedmsg-logo.html
  4. +2 −1 doc/conf.py
View
50 doc/_static/editor.css
@@ -1,50 +0,0 @@
-/* Styles for floating Edit on GitHub box */
-#editor-trap {
- margin: 1em;
- padding: 1em;
- border: 1px solid black;
- box-shadow: 0 0 3px black;
- width: 200px;
-
- background: #fefabc;
- position: fixed;
- bottom: 1em;
- left: 1em;
- font-size: 60%;
- text-align: left;
- z-index: 2;
-
- -moz-transform: rotate(-4deg);
- -webkit-transform: rotate(-4deg);
- -o-transform: rotate(-4deg);
- -ms-transform: rotate(-4deg);
- transform: rotate(-4deg);
- box-shadow: 0px 4px 6px #333;
- -moz-box-shadow: 0px 4px 6px #333;
- -webkit-box-shadow: 0px 4px 6px #333;
-
-
- cursor: pointer;
-}
-
-#editor-trap h3 {
- margin: 0 0 0.5em 0;
- padding: 0;
- background: transparent;
-}
-
-#editor-trap ol {
- margin: 0;
- padding: 0 0 0 2em;
-}
-
-/* Hide trick */
-
-#editor-trap.toggled > * {
- display: none;
-}
-
-
-#editor-trap.toggled > h3 {
- display: block;
-}
View
8 doc/_static/site.css
@@ -0,0 +1,8 @@
+@import url("cloud.css");
+@import url("http://fonts.googleapis.com/css?family=Comfortaa");
+
+.fedmsg-logo {
+ font-family: 'Comfortaa', sans-serif;
+ margin-top: -10px;
+ margin-bottom: 12px;
+}
View
3 doc/_templates/fedmsg-logo.html
@@ -0,0 +1,3 @@
+<h1 class='fedmsg-logo'>fedmsg</h1>
+<iframe src="http://ghbtns.com/github-btn.html?user=ralphbean&repo=fedmsg&type=watch&count=true&size=large"
+ allowtransparency="true" frameborder="0" scrolling="0" width="200px" height="35px"></iframe>
View
3 doc/conf.py
@@ -145,7 +145,7 @@
# The style sheet to use for HTML and HTML Help pages. A file of that name
# must exist either in Sphinx' static/ path, or in one of the custom paths
# given in html_static_path.
-#html_style = 'default.css'
+html_style = 'site.css'
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
@@ -179,6 +179,7 @@
# Custom sidebar templates, maps document names to template names.
html_sidebars = {
'**': [
+ 'fedmsg-logo.html',
'localtoc.html',
'relations.html',
'githubedit.html',

0 comments on commit e4205e4

Please sign in to comment.
Something went wrong with that request. Please try again.