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

Add emphasis for EFG summaries #35

Closed
sylvhay opened this issue Jul 21, 2020 · 5 comments
Closed

Add emphasis for EFG summaries #35

sylvhay opened this issue Jul 21, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@sylvhay
Copy link
Collaborator

sylvhay commented Jul 21, 2020

Is it possible to add some kind of emphasis for the Ecosystem Group Summaries? To make them stand out from the rest of the text, particularly because there is some repetition between these and the main text for each group.

We were originally thinking a box of some kind - only if it doesnt interfere with the overall design or add clutter. I cant remember if this was ever discussed?

@sylvhay sylvhay added the enhancement New feature or request label Jul 21, 2020
@tmfrnz
Copy link
Collaborator

tmfrnz commented Jul 21, 2020

related to #8

@tmfrnz
Copy link
Collaborator

tmfrnz commented Jul 21, 2020

@sylvhay yes, we agree the first paragraph should be emphasised but have instead suggested a slightly larger lead-style design
image

tmfrnz added a commit to red-list-ecosystem/typology-map-content that referenced this issue Jul 21, 2020
@tmfrnz
Copy link
Collaborator

tmfrnz commented Jul 21, 2020

This will automatically target the first paragraph, but in case the summary requires multiple paragraphs, I would suggest to make use of markdown's blockquote formatting > paragraph as well as using HTML tags <p class="lead">paragraph</p>

So in case multiple paragraphs are needed, the code should look like:

With blockquote >

> first paragraph first paragraph first paragraph first paragraph first paragraph first paragraph first paragraph first paragraph first paragraph first paragraph
>
> second paragraph second paragraph second paragraph second paragraph second paragraph second paragraph second paragraph second paragraph second paragraph second paragraph second paragraph 

With HTML <p class="lead">...</p>

<p class="lead">first paragraph first paragraph first paragraph first paragraph first paragraph first paragraph first paragraph first paragraph first paragraph first paragraph</p>
<p class="lead">second paragraph second paragraph second paragraph second paragraph second paragraph second paragraph second paragraph second paragraph second paragraph second paragraph second paragraph</p> 

The advantage of using the former is that is easier to use and thus less error prone. However it would also mean that we could not use the blockquote syntax for actual quotes (at least not on the group pages).

tmfrnz added a commit to red-list-ecosystem/typology-map-content that referenced this issue Jul 21, 2020
tmfrnz added a commit to red-list-ecosystem/typology-map-content that referenced this issue Jul 21, 2020
tmfrnz added a commit that referenced this issue Jul 21, 2020
@tmfrnz
Copy link
Collaborator

tmfrnz commented Jul 21, 2020

all 3 options have been implemented and will be supported from the next update

@tmfrnz
Copy link
Collaborator

tmfrnz commented Jul 21, 2020

note that <p class="lead"> should also work on any other content markdown page

@sylvhay sylvhay closed this as completed Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants