Skip to content

Commit

Permalink
FIX: make the icons available to implicit component (#991)
Browse files Browse the repository at this point in the history
  • Loading branch information
12rambau authored Oct 12, 2022
1 parent b3a1928 commit d99811d
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/user_guide/fonts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The default body and header fonts can be changed as follows:

.. code-block:: css
:root {
html {
--pst-font-family-base: Verdana, var(--pst-font-family-base-system);
--pst-font-family-heading: Cambria, Georgia, Times, var(--pst-font-family-base-system);
--pst-font-family-monospace: Courier, var(--pst-font-family-monospace-system);
Expand Down
4 changes: 2 additions & 2 deletions docs/user_guide/styling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ base variables
In order to change a variable, follow these steps:

1. :ref:`Add a custom CSS stylesheet <custom-css>`. This is where we'll configure the variables.
2. Underneath a ``:root`` section, add the variables you wish to update. For example, to update
2. Underneath a ``html`` section, add the variables you wish to update. For example, to update
the base font size, you might add this to ``custom.css``:

.. code-block:: css
:root {
html {
--pst-font-size-base: 17px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ div#searchbox {
content: var(--pst-icon-search-minus);
color: unset; // make sure it uses the same color as the text
font-family: "Font Awesome 6 Free";
font-weight: 900;
padding-right: 0.5rem;
margin-right: 0;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:root {
html {
/*****************************************************************************
* Admonitions
**/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:root {
html {
/*****************************************************************************
* Font features used in this theme
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:root {
html {
/*****************************************************************************
* Icon
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:root {
html {
/*****************************************************************************
* Overall Layout Variables
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:root {
html {
/*****************************************************************************
* versionmodified
**/
Expand Down

0 comments on commit d99811d

Please sign in to comment.