-
Notifications
You must be signed in to change notification settings - Fork 321
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
Feature request: style the :guilabel: role #277
Comments
could you give an example of how this role is used? E.g. what would be some minimal rST that highlight the use of this role? Is it meant to look like a button or something? alternatively - could you propose some CSS rules that would make it look as you would expect it to look? |
From the docs:
Here's an excerpt from how I'm using it to explain how to install MSVC: One way to install it is to `download the Build Tools installer`_,
run it, select :guilabel:`C++ build tools` in the :guilabel:`Workloads` tab,
and click :guilabel:`Install`.
.. _download the Build Tools installer:
https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools&rel=16 The Sphinx Read The Docs theme has the same demo site, rendered here, as pydata-sphinx-theme. The former's rendering of .guilabel {
border: 1px solid #7fbbe3;
background: #e7f2fa;
font-size: 80%;
font-weight: 700;
border-radius: 4px;
padding: 2.4px 6px;
margin: auto 2px;
} |
ah very cool! thanks for pointing to the RTD docs, I always forget those exist but they are super helpful 👍 and thanks for the suggestion, it is much appreciated! |
To be clear, there's also a distinct One way to install it is to `download the Build Tools installer`_,
run it, select :menuselection:`Workloads --> C++ build tools`,
and click :guilabel:`Install`. |
nice - I've added the CSS you suggested here: #278 |
As is visible on the demo site, the
:guilabel:
role has no styling different from normal paragraph text, leaving it hard to tell that it's different.The text was updated successfully, but these errors were encountered: