Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: make the icons available to implicit component #991

Merged
merged 3 commits into from
Oct 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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