Skip to content

Commit

Permalink
docs: remove legacy footer customization (#1229)
Browse files Browse the repository at this point in the history
  • Loading branch information
12rambau authored Mar 5, 2023
1 parent 2d245c9 commit 160e3ce
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions docs/user_guide/layout.rst
Original file line number Diff line number Diff line change
Expand Up @@ -463,29 +463,6 @@ If you'd like them to stack **horizontally** use a custom CSS rule like the foll
flex-direction: row;
}
Change footer display
---------------------

Each footer element is wrapped in a ``<div>`` with a ``footer-item`` class, allowing you to style the structure of these items with custom CSS.

For example, by default the footer items are displayed as blocks that stack vertically.
To change this behavior so that they stack **horizontally**, add a rule like the following in your custom ``.css`` file.

.. code-block:: css
/* Make each footer item in-line so they stack horizontally instead of vertically */
.footer-item {
display: inline-block;
}
/* Add a separating border line for all but the last item */
.footer-item:not(:last-child) {
border-right: 1px solid var(--pst-color-text-base);
margin-right: .5em;
padding-right: .5em;
}
Built-in components to insert into sections
===========================================

Expand Down

0 comments on commit 160e3ce

Please sign in to comment.