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) styles and template tweaks #276

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sandroscosta
Copy link
Contributor

@sandroscosta sandroscosta commented Nov 27, 2024

  • Some font-size and styles were not in accordance with AMA standards.
    image

  • Blogpost template was changed to have only one h1 instead of two.
    image

  • Minor tweaks to heading margins for better reading.
    image

  • Minor tweaks to footer link padding for 44px minimum height.
    image

https://github.com/fccn/nau-technical/issues/323

@sandroscosta sandroscosta marked this pull request as draft November 27, 2024 18:51
@sandroscosta
Copy link
Contributor Author

Missing the external links tweak

Some font-size and styles were not in accordance with AMA standards.
Blogpost template was changed to have only one h1 instead of two.
@sandroscosta sandroscosta force-pushed the sandroscosta/a11y/external-links branch from 1b1ab56 to a59c0ba Compare November 27, 2024 21:07
Add external link arrow svg for visually distinguish external links
@sandroscosta sandroscosta marked this pull request as ready for review November 27, 2024 21:19
@sandroscosta
Copy link
Contributor Author

External links
image

Comment on lines +65 to +66
a[href*="//"]:not([href*="nau.edu.pt"]),
a[target="_blank"] {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having nau.edu.pt hardcoded seams not a good solution, please remove it.

a[href*="//"]:not([href*="nau.edu.pt"]),

Having a special case for target _blank cases is ok. I tried adding for all site but isn't practical, because of the social sharing stuff.

a[target="_blank"]

But having the same code repeated N times isn't a good solution.
Can you create a scss function/mixin and add it to the places that need to have that special arrow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants