Skip to content

Conversation

@orangetoaster
Copy link

The sidebar of a quote, as seen both on github and gmail quotes, is a vertical line extending across multiple lines to indicate to the reader that they are reading text that is quoted from elsewhere. This has been popularized in many forums and clients, but is missing on RTD by default, making it unclear that a blockquote in the document is a quoted text.

The relevant part of the diff with linebreaks is:

  .rst-content blockquote{
+ padding-left:10px;
+ border-left:2px solid #9b9b9b;
+ margin-left:14px;
- margin-left:24px;
  line-height:24px;
  margin-bottom:24px
  }

The color chosen is the same as the main sidebar default color, while preserving the overall spacing width of the quote layout.

I am opening this as a draft PR as it is not the correct way to apply this change according to the contribution guidelines, but may provide inspiration to someone else to make a correct change using SASS and Wyrim.

…t sidebar of a quote as seen both on github and gmail quotes, as well as popularized in many forums. Without it, it is not clear that it is a quote at all.
@stsewd
Copy link
Member

stsewd commented Dec 3, 2020

These changes should be somewhere in https://github.com/readthedocs/sphinx_rtd_theme/tree/master/src/sass

@stsewd stsewd added Design Design or UX/UI related Needed: design decision A core team decision is required labels Dec 3, 2020
@stsewd
Copy link
Member

stsewd commented Dec 3, 2020

Closing as duplicate of #390 thanks for the PR anyway!

@stsewd stsewd closed this Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Design Design or UX/UI related Needed: design decision A core team decision is required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants