-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathapplication.scss
61 lines (51 loc) · 1.39 KB
/
application.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// The main application stylesheet
// This flag stops the font from being included in this application's
// stylesheet - the font is being served by Static across all of GOV.UK, so is
// not needed here.
$govuk-include-default-font-face: false;
// Components from govuk_publishing_components gem
@import "govuk_publishing_components/govuk_frontend_support";
// government-frontend mixins
@import "mixins/margins";
// helpers for common page elements
@import "helpers/organisation-logos";
@import "helpers/parts";
@import "helpers/content-bottom-margin";
@import "helpers/organisation-links";
@import "helpers/publisher-metadata-with-logo";
@import "helpers/sticky-element-container";
// pages specific view imports
@import "views/worldwide-organisation";
.case-study,
.corporate-information-page,
.detailed-guide,
.html-publication,
.news-article,
.publication,
.speech,
.worldwide-organisation,
.worldwide-corporate-information-page {
.direction-rtl & {
direction: rtl;
text-align: start;
table th {
text-align: start;
}
}
}
@include govuk-media-query($media-type: print) {
// Targeting (right to left) rtl languages
main[lang="ar"], // Arabic
main[lang="he"], // Hebrew
main[lang="ur"] { // Urdu
direction: rtl;
text-align: start;
}
}
.constrained-image {
max-width: 100%;
}
.inverse-background {
background: $govuk-brand-colour;
color: govuk-colour("white");
}