mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Add font-smoothing as global style
Making all links GOV.UK Frontend styled means some will sit in content that doesn't use the GOV.UK Frontend font styles yet. This applies the font-smoothing that comes with those styles to all text so links do not look out of place on browsers that support it. Note: font-smoothing was part of the GOV.UK Template styles which have now been removed: https://github.com/alphagov/govuk_template/blob/master/source/assets/stylesheets/_basic.scss#L68
This commit is contained in:
@@ -5,6 +5,16 @@
|
|||||||
width: device-width;
|
width: device-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// To be removed when all text uses the GOV.UK Frontend New Transport font styles.
|
||||||
|
// At present, some text gets these styles due to being in a GOV.UK Frontend component
|
||||||
|
// or a link.
|
||||||
|
// This ensures all text will have these styles applied, until it can be moved to use
|
||||||
|
// the GOV.UK Frontend font styles.
|
||||||
|
body {
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
}
|
||||||
|
|
||||||
b,
|
b,
|
||||||
strong {
|
strong {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
|||||||
Reference in New Issue
Block a user