Skip to content
Permalink
Browse files

keep more CSS from base

  • Loading branch information
ralsina committed May 29, 2015
1 parent 27d17f2 commit 65e35be3d4c14850ab551c5577eb3d319d6a1511
Showing with 34 additions and 1 deletion.
  1. +34 −1 stories/creating-a-theme.txt
@@ -508,7 +508,8 @@ The sidebar looks bad because of yet more CSS conflicts with rst.css. By adding
transition: all .3s ease-in-out;
}

Also, the accessibility link on top is visible when it should not. That's because we removed "theme.css" from the base theme, and with it, we lost a couple of classes. We can add them in lanyon.css:
Also, the accessibility link on top is visible when it should not. That's because we removed "theme.css" from the base theme, and with it, we lost a couple of classes. We can add them in lanyon.css, along with others used by other
pieces of the site:

.. code:: css

@@ -533,6 +534,38 @@ Also, the accessibility link on top is visible when it should not. That's becaus
clip: auto;
}

.breadcrumb {
padding: 8px 15px;
margin-bottom: 20px;
list-style: none;
}

.breadcrumb > li {
display: inline-block;
margin-right: 0;
margin-left: 0;
}

.breadcrumb > li:after {
content: ' / ';
color: #888;
}

.breadcrumb > li:last-of-type:after {
content: '';
margin-left: 0;
}

.thumbnails > li {
display: inline-block;
margin-right: 10px;
}

.thumbnails > li:last-of-type {
margin-right: 0;
}


.. figure:: /images/lanyon-5.thumbnail.png
:target: /images/lanyon-5.png

0 comments on commit 65e35be

Please sign in to comment.