vipassana-design-standards 0.0.13 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/HOW_TO_PUBLISH.md +31 -0
- package/README.md +221 -30
- package/TODO +9 -11
- package/demo/.gitattributes +5 -0
- package/demo/.ruby-version +1 -0
- package/demo/Gemfile +29 -0
- package/demo/Gemfile.lock +182 -0
- package/demo/Rakefile +6 -0
- package/demo/app/assets/config/manifest.js +2 -0
- package/demo/app/assets/stylesheets/application.css +15 -0
- package/demo/app/controllers/application_controller.rb +3 -0
- package/demo/app/controllers/demo_controller.rb +4 -0
- package/demo/app/views/demo/index.html.erb +2 -0
- package/demo/app/views/layouts/application.html.erb +73 -0
- package/demo/bin/bundle +114 -0
- package/demo/bin/rails +4 -0
- package/demo/bin/rake +4 -0
- package/demo/bin/setup +25 -0
- package/demo/config/application.rb +37 -0
- package/demo/config/boot.rb +3 -0
- package/demo/config/credentials.yml.enc +1 -0
- package/demo/config/environment.rb +5 -0
- package/demo/config/environments/development.rb +56 -0
- package/demo/config/environments/production.rb +72 -0
- package/demo/config/environments/test.rb +50 -0
- package/demo/config/initializers/assets.rb +12 -0
- package/demo/config/initializers/content_security_policy.rb +25 -0
- package/demo/config/initializers/filter_parameter_logging.rb +8 -0
- package/demo/config/initializers/inflections.rb +16 -0
- package/demo/config/initializers/permissions_policy.rb +11 -0
- package/demo/config/locales/en.yml +33 -0
- package/demo/config/puma.rb +43 -0
- package/demo/config/routes.rb +5 -0
- package/demo/config.ru +6 -0
- package/demo/public/404.html +67 -0
- package/demo/public/422.html +67 -0
- package/demo/public/500.html +66 -0
- package/demo/public/apple-touch-icon-precomposed.png +0 -0
- package/demo/public/apple-touch-icon.png +0 -0
- package/demo/public/favicon.ico +0 -0
- package/demo/public/robots.txt +1 -0
- package/demo.html +55 -0
- package/dist/0.0.16/css/bootstrap5-theme.css +12623 -0
- package/dist/0.0.16/css/bootstrap5-theme.css.map +1 -0
- package/dist/0.0.16/css/bootstrap5-theme.min.css +6 -0
- package/dist/0.0.16/css/bootstrap5-theme.rtl.css +12586 -0
- package/dist/0.0.16/css/bootstrap5-theme.rtl.min.css +6 -0
- package/dist/0.0.16/css/fonts-gu.css +65 -0
- package/dist/0.0.16/css/fonts-gu.min.css +1 -0
- package/{app/assets/stylesheets/fonts.css → dist/0.0.16/css/fonts-ja.css} +1 -2784
- package/dist/0.0.16/css/fonts-ja.min.css +1 -0
- package/dist/0.0.16/css/fonts-km.css +2399 -0
- package/dist/0.0.16/css/fonts-km.min.css +1 -0
- package/dist/0.0.16/css/fonts.css +472 -0
- package/dist/0.0.16/css/fonts.css.map +1 -0
- package/dist/0.0.16/css/fonts.min.css +1 -0
- package/dist/0.0.16/css/logo.css +135 -0
- package/dist/0.0.16/css/logo.css.map +1 -0
- package/dist/0.0.16/css/logo.min.css +1 -0
- package/dist/0.0.16/js/bootstrap.bundle.js +7075 -0
- package/dist/0.0.16/js/bootstrap.bundle.js.map +1 -0
- package/dist/0.0.16/js/bootstrap.bundle.min.js +7 -0
- package/dist/0.0.16/js/bootstrap.bundle.min.js.map +1 -0
- package/dist/css/bootstrap5-theme.css +12623 -0
- package/dist/css/bootstrap5-theme.css.map +1 -0
- package/dist/css/bootstrap5-theme.min.css +6 -0
- package/dist/css/bootstrap5-theme.rtl.css +12586 -0
- package/dist/css/bootstrap5-theme.rtl.min.css +6 -0
- package/dist/css/fonts-gu.css +65 -0
- package/dist/css/fonts-gu.min.css +1 -0
- package/dist/css/fonts-ja.css +2399 -0
- package/dist/css/fonts-ja.min.css +1 -0
- package/dist/css/fonts-km.css +2399 -0
- package/dist/css/fonts-km.min.css +1 -0
- package/dist/css/fonts.css +472 -0
- package/dist/css/fonts.css.map +1 -0
- package/dist/css/fonts.min.css +1 -0
- package/dist/css/logo.css +135 -0
- package/dist/css/logo.css.map +1 -0
- package/dist/css/logo.min.css +1 -0
- package/dist/js/bootstrap.bundle.js +7075 -0
- package/dist/js/bootstrap.bundle.js.map +1 -0
- package/dist/js/bootstrap.bundle.min.js +7 -0
- package/dist/js/bootstrap.bundle.min.js.map +1 -0
- package/dist/logos-inline-svg.json +1 -1
- package/index.html +12 -12
- package/lib/vipassana/design_standards_helper.rb +111 -0
- package/lib/vipassana/logos_inline_svg.rb +1 -2
- package/lib/vipassana/translations.rb +9 -1
- package/lib/vipassana-design-standards.rb +1 -2
- package/package.json +17 -5
- package/{app/assets → src}/javascripts/index.js +8 -11
- package/src/stylesheets/bootstrap5-theme.scss +24 -0
- package/{app/assets → src}/stylesheets/custom-bootstrap-variables.scss +2 -2
- package/src/stylesheets/fonts.scss +331 -0
- package/{app/assets/stylesheets → src/stylesheets/layout}/vds-header.scss +10 -1
- package/{app/assets/stylesheets → src/stylesheets/layout}/vds-layout.scss +6 -5
- package/{app/assets/stylesheets/logo.css → src/stylesheets/logo.scss} +4 -11
- package/src/stylesheets/specific-fonts/fonts-gu.css +65 -0
- package/src/stylesheets/specific-fonts/fonts-ja.css +2399 -0
- package/src/stylesheets/specific-fonts/fonts-km.css +2399 -0
- package/vipassana-design-standards.gemspec +2 -2
- package/app/assets/stylesheets/vds.scss +0 -11
- package/dist/resolutions/logo-en.svg +0 -1
- package/dist/resolutions/logo-en@128px.png +0 -0
- package/dist/resolutions/logo-en@640px.png +0 -0
- package/dist/resolutions/logo-en@64px.png +0 -0
- package/lib/vipassana/engine.rb +0 -4
- package/lib/vipassana/logo_helper.rb +0 -43
- package/resolution.html +0 -22
- package/vipassana-design-standards-0.0.11.gem +0 -0
- /package/{app/assets/images/wheels/wheel-2023.svg → dist/dhamma-wheel.svg} +0 -0
- /package/{app/assets → dist}/fonts/FootlightMTProBold.woff +0 -0
- /package/{app/assets → dist}/fonts/FootlightMTProBoldItalic.woff +0 -0
- /package/{app/assets → dist}/fonts/FootlightMTProExtraBold.woff +0 -0
- /package/{app/assets → dist}/fonts/FootlightMTProExtraBoldIt.woff +0 -0
- /package/{app/assets → dist}/fonts/FootlightMTProItalic.woff +0 -0
- /package/{app/assets → dist}/fonts/FootlightMTProLight.base64.js +0 -0
- /package/{app/assets → dist}/fonts/FootlightMTProLight.woff +0 -0
- /package/{app/assets → dist}/fonts/FootlightMTProLightItalic.woff +0 -0
- /package/{app/assets → dist}/fonts/FootlightMTProRegular.woff +0 -0
- /package/{app/assets → dist}/fonts/Lato-Black.woff +0 -0
- /package/{app/assets → dist}/fonts/Lato-BlackItalic.woff +0 -0
- /package/{app/assets → dist}/fonts/Lato-Bold.woff +0 -0
- /package/{app/assets → dist}/fonts/Lato-BoldItalic.woff +0 -0
- /package/{app/assets → dist}/fonts/Lato-Italic.woff +0 -0
- /package/{app/assets → dist}/fonts/Lato-Light.base64.js +0 -0
- /package/{app/assets → dist}/fonts/Lato-Light.woff +0 -0
- /package/{app/assets → dist}/fonts/Lato-LightItalic.woff +0 -0
- /package/{app/assets → dist}/fonts/Lato-Regular.woff +0 -0
- /package/{app/assets → dist}/fonts/Lato-Thin.woff +0 -0
- /package/{app/assets → dist}/fonts/Lato-ThinItalic.woff +0 -0
- /package/{app/assets → dist}/fonts/OFL.txt +0 -0
- /package/{app/assets → src}/images/wheels/favicon.png +0 -0
- /package/{app/assets → src}/images/wheels/favicon.svg +0 -0
- /package/{app/assets → src}/images/wheels/old versions/2.5D-wheel.png +0 -0
- /package/{app/assets → src}/images/wheels/old versions/2.5D-wheel.svg +0 -0
- /package/{app/assets → src}/images/wheels/old versions/2D-wheel.svg +0 -0
- /package/{app/assets → src}/images/wheels/old versions/3D-wheel.svg +0 -0
- /package/{app/assets → src}/images/wheels/old versions/dhamma wheel 3D.png +0 -0
- /package/{app/assets → src}/images/wheels/old versions/wheel-3d.ai +0 -0
- /package/{app/assets → src}/images/wheels/old versions/wheel-3d.png +0 -0
- /package/{app/assets → src}/images/wheels/tests/2.5D-wheel-1.svg +0 -0
- /package/{app/assets → src}/images/wheels/tests/2.5D-wheel-2.svg +0 -0
- /package/{app/assets → src}/images/wheels/tests/2.5D-wheel-3.svg +0 -0
- /package/{app/assets → src}/images/wheels/tests/2.5D-wheel-4.svg +0 -0
- /package/{app/assets → src}/images/wheels/tests/2.5D-wheel-5.svg +0 -0
- /package/{app/assets → src}/images/wheels/tests/2.5D-wheel-6.svg +0 -0
- /package/{app/assets → src}/images/wheels/tests/2.5D-wheel-7.svg +0 -0
- /package/{app/assets → src}/images/wheels/tests/2.5D-wheel-8.svg +0 -0
- /package/{app/assets → src}/images/wheels/tests/2.5D-wheel-sebastian.svg +0 -0
- /package/{app/assets → src}/images/wheels/tests/3D-wheel-2.svg +0 -0
- /package/{app/assets → src}/images/wheels/tests/3D-wheel-sebastian.svg +0 -0
- /package/{app/assets → src}/images/wheels/tests/3D-wheel.svg +0 -0
- /package/{app/assets → src}/images/wheels/wheel-2023-duotone.png +0 -0
- /package/{app/assets → src}/images/wheels/wheel-2023-duotone.svg +0 -0
- /package/{app/assets → src}/images/wheels/wheel-2023-duotone.svg.js +0 -0
- /package/{app/assets → src}/images/wheels/wheel-2023-working-document-with-all-layers.svg +0 -0
- /package/{app/assets → src}/images/wheels/wheel-2023.png +0 -0
- /package/{dist/Dhamma-Wheel.svg → src/images/wheels/wheel-2023.svg} +0 -0
- /package/{app/assets → src}/images/wheels/wheel-2023.svg.js +0 -0
- /package/{app/assets → src}/javascripts/i18n.js +0 -0
- /package/{app/assets → src}/stylesheets/custom-bootstrap-utilities.scss +0 -0
- /package/{app/assets → src}/stylesheets/custom-bootstrap.scss +0 -0
- /package/{app/assets → src}/stylesheets/index.css +0 -0
- /package/{app/assets/stylesheets → src/stylesheets/layout}/vds-mixins.scss +0 -0
- /package/{app/assets/stylesheets → src/stylesheets/layout}/vds-sidenav.scss +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# this is a copy of i18n.js, using ruby syntax instead of javascript syntax
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
VDS_TRANSLATIONS = {
|
|
4
4
|
"en": {
|
|
5
5
|
"language": "English",
|
|
6
6
|
"vipassana_meditation": "Vipassana Meditation",
|
|
@@ -8,6 +8,14 @@ VIPASSANA_TRANSLATIONS = {
|
|
|
8
8
|
"in_the_tradition": "in the Tradition of Sayagyi U Ba Khin",
|
|
9
9
|
"full": "Vipassana Meditation As Taught By S.N. Goenka in the Tradition of Sayagyi U Ba Khin",
|
|
10
10
|
},
|
|
11
|
+
"ar": {
|
|
12
|
+
"rtl": true,
|
|
13
|
+
"language": "Arabic",
|
|
14
|
+
"vipassana_meditation": "تأمل فيباسانا",
|
|
15
|
+
"as_taught": "كما تم تدريسه بواسطة S.N. جوينكا",
|
|
16
|
+
"in_the_tradition": "في تقليد Sayagyi U Ba Khin",
|
|
17
|
+
"full": "تأمل فيباسانا كما علمه S.N. Goenka في تقليد Sayagyi U Ba Khin",
|
|
18
|
+
},
|
|
11
19
|
"bg": {
|
|
12
20
|
"language": "Bulgarian",
|
|
13
21
|
"vipassana_meditation": "Випассана Медитация",
|
package/package.json
CHANGED
|
@@ -1,12 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vipassana-design-standards",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"description": "Vipassana design standards materials",
|
|
5
5
|
"homepage": "https://design-standards.dhamma.org",
|
|
6
6
|
"author": "Dhamma Workers",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"
|
|
9
|
-
"
|
|
8
|
+
"@popperjs/core": "^2.9.1",
|
|
9
|
+
"bootstrap5": "npm:bootstrap@5"
|
|
10
10
|
},
|
|
11
|
-
"sass": "
|
|
12
|
-
|
|
11
|
+
"sass": "src/stylesheets/bootstrap5-theme.scss",
|
|
12
|
+
"css": "dist/bootstrap5-theme.css",
|
|
13
|
+
"scripts" : {
|
|
14
|
+
"build-sass": "sass --load-path=node_modules src/stylesheets/bootstrap5-theme.scss dist/css/bootstrap5-theme.css && sass src/stylesheets/fonts.scss dist/css/fonts.css && sass src/stylesheets/logo.scss dist/css/logo.css",
|
|
15
|
+
"build-rtl": "rtlcss dist/css/bootstrap5-theme.css dist/css/bootstrap5-theme.rtl.css",
|
|
16
|
+
"build-fonts": "cp src/stylesheets/specific-fonts/* dist/css/",
|
|
17
|
+
"build-min": "cleancss --batch --batch-suffix '.min' dist/css/*.css",
|
|
18
|
+
"build-css": "rm -f dist/css/* && npm run build-fonts && npm run build-sass && npm run build-rtl && npm run build-min",
|
|
19
|
+
"build-js": "rm -f dist/js/* && cp node_modules/bootstrap5/dist/js/bootstrap.bundle* dist/js/",
|
|
20
|
+
"build": "npm run build-css && npm run build-js",
|
|
21
|
+
"dist": "npm run build && npm run dist-version-folder && npm publish",
|
|
22
|
+
"dist-version-folder": "mkdir -p dist/$npm_package_version/css && mkdir -p dist/$npm_package_version/js && cp dist/css/* dist/$npm_package_version/css && cp dist/js/* dist/$npm_package_version/js"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// i18n JSON
|
|
2
|
-
import i18nJson from './i18n.js?ver=0.
|
|
2
|
+
import i18nJson from './i18n.js?ver=0.16'
|
|
3
3
|
|
|
4
4
|
// Dependencies
|
|
5
5
|
import { Canvg } from 'https://cdn.skypack.dev/canvg@^4.0.0';
|
|
@@ -9,8 +9,8 @@ import jszip from 'https://cdn.jsdelivr.net/npm/jszip@3.10.1/+esm'
|
|
|
9
9
|
// Graphicals element as JS
|
|
10
10
|
import wheel from '../images/wheels/wheel-2023.svg.js'
|
|
11
11
|
import wheelDuotone from '../images/wheels/wheel-2023-duotone.svg.js'
|
|
12
|
-
import footlight from '
|
|
13
|
-
import lato from '
|
|
12
|
+
import footlight from '../../dist/fonts/FootlightMTProLight.base64.js'
|
|
13
|
+
import lato from '../../dist/fonts/Lato-Light.base64.js'
|
|
14
14
|
|
|
15
15
|
export default {
|
|
16
16
|
data() {
|
|
@@ -46,14 +46,11 @@ export default {
|
|
|
46
46
|
isRtl() {
|
|
47
47
|
return this.i18n[this.locale].rtl
|
|
48
48
|
},
|
|
49
|
-
fontPath() {
|
|
50
|
-
return 'assets/fonts/'
|
|
51
|
-
},
|
|
52
49
|
titleFontUrl() {
|
|
53
|
-
return
|
|
50
|
+
return footlight
|
|
54
51
|
},
|
|
55
52
|
taglineFontUrl() {
|
|
56
|
-
return
|
|
53
|
+
return lato
|
|
57
54
|
},
|
|
58
55
|
wheels() {
|
|
59
56
|
return {
|
|
@@ -66,7 +63,7 @@ export default {
|
|
|
66
63
|
},
|
|
67
64
|
wheelPath() {
|
|
68
65
|
const paths = {
|
|
69
|
-
wheel1: 'https://design-standards.dhamma.org/dist/
|
|
66
|
+
wheel1: 'https://design-standards.dhamma.org/dist/dhamma-wheel.svg',
|
|
70
67
|
wheel2: 'https://design-standards.dhamma.org/assets/images/wheels/wheel-2023-duotone.svg',
|
|
71
68
|
}
|
|
72
69
|
return paths[this.wheel]
|
|
@@ -297,7 +294,7 @@ export default {
|
|
|
297
294
|
if ((this.width / this.height) > 8.5) {
|
|
298
295
|
this.disposition = 'left-two-lines'
|
|
299
296
|
}
|
|
300
|
-
svgs[locale].
|
|
297
|
+
svgs[locale].default = await this.generateSvgCode()
|
|
301
298
|
|
|
302
299
|
// All dispositions
|
|
303
300
|
for (let disposition of this.dispositions) {
|
|
@@ -315,7 +312,7 @@ export default {
|
|
|
315
312
|
# This file has been generated by design-standards.dhamma.org wesbite
|
|
316
313
|
# index.js#generateAllInlineSVG
|
|
317
314
|
|
|
318
|
-
|
|
315
|
+
VDS_SVGS = ${JSON.stringify(svgs)}
|
|
319
316
|
`
|
|
320
317
|
var blob = new Blob([result], {type: "text/plain;charset=utf-8"})
|
|
321
318
|
fileSaver.saveAs(blob, "logos_inline_svg.rb")
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@import "./custom-bootstrap-variables.scss";
|
|
2
|
+
|
|
3
|
+
@import "bootstrap5/scss/bootstrap.scss";
|
|
4
|
+
|
|
5
|
+
@import "./custom-bootstrap-utilities.scss";
|
|
6
|
+
@import "./custom-bootstrap.scss";
|
|
7
|
+
|
|
8
|
+
@import "./layout/vds-mixins.scss";
|
|
9
|
+
@import "./layout/vds-layout.scss";
|
|
10
|
+
@import "./layout/vds-header.scss";
|
|
11
|
+
@import "./layout/vds-sidenav.scss";
|
|
12
|
+
|
|
13
|
+
@import "./fonts.scss";
|
|
14
|
+
@import "./logo.scss";
|
|
15
|
+
|
|
16
|
+
html.vds-html {
|
|
17
|
+
font-size: 14px;
|
|
18
|
+
@include media-breakpoint-up(md) {
|
|
19
|
+
font-size: 15px;
|
|
20
|
+
}
|
|
21
|
+
@include media-breakpoint-up(xl) {
|
|
22
|
+
font-size: 16px;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -75,8 +75,8 @@ $dark-800: shade-color($dark, 60%);
|
|
|
75
75
|
$dark-900: shade-color($dark, 80%);
|
|
76
76
|
|
|
77
77
|
// Customize Bootstrap
|
|
78
|
-
$font-family-sans-serif: var(--
|
|
79
|
-
$headings-font-family: var(--
|
|
78
|
+
$font-family-sans-serif: var(--vds-font-family), 'Lato', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
79
|
+
$headings-font-family: var(--vds-headings-font-family), 'FootLight', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
80
80
|
$headings-color: $blue;
|
|
81
81
|
$headings-font-weight: 600;
|
|
82
82
|
$headings-line-height: 1.5;
|
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
/* Declare font base on language.
|
|
2
|
+
Code generated in index.html #css-variables
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
:root { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
6
|
+
[lang="en"] { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
7
|
+
[lang="bg"] { --vds-font-family: 'Noto Sans'; --vds-headings-font-family: 'FootLight'; }
|
|
8
|
+
[lang="cs"] { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
9
|
+
[lang="de"] { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
10
|
+
[lang="el"] { --vds-font-family: 'Noto Sans'; --vds-headings-font-family: 'FootLight'; }
|
|
11
|
+
[lang="es"] { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
12
|
+
[lang="fa"] { --vds-font-family: 'Noto Sans Arabic'; --vds-headings-font-family: 'Noto Sans Arabic'; }
|
|
13
|
+
[lang="fi"] { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
14
|
+
[lang="fr"] { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
15
|
+
[lang="gu"] { --vds-font-family: 'Noto Sans Gujarati'; --vds-headings-font-family: 'Noto Sans Gujarati'; }
|
|
16
|
+
[lang="he"] { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
17
|
+
[lang="hi"] { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
18
|
+
[lang="hu"] { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
19
|
+
[lang="id"] { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
20
|
+
[lang="it"] { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
21
|
+
[lang="ja"] { --vds-font-family: 'Noto Sans JP'; --vds-headings-font-family: 'Noto Sans JP'; }
|
|
22
|
+
[lang="km"] { --vds-font-family: 'Noto Sans Khmer'; --vds-headings-font-family: 'Noto Sans Khmer'; }
|
|
23
|
+
[lang="ko"] { --vds-font-family: 'Noto Sans KR'; --vds-headings-font-family: 'Noto Sans KR'; }
|
|
24
|
+
[lang="lt"] { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
25
|
+
[lang="lv"] { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
26
|
+
[lang="mk"] { --vds-font-family: 'Noto Sans'; --vds-headings-font-family: 'FootLight'; }
|
|
27
|
+
[lang="mr"] { --vds-font-family: 'Noto Sans'; --vds-headings-font-family: 'FootLight'; }
|
|
28
|
+
[lang="nl"] { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
29
|
+
[lang="or"] { --vds-font-family: 'Noto Sans'; --vds-headings-font-family: 'FootLight'; }
|
|
30
|
+
[lang="pl"] { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
31
|
+
[lang="pt"] { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
32
|
+
[lang="ro"] { --vds-font-family: 'Noto Sans'; --vds-headings-font-family: 'FootLight'; }
|
|
33
|
+
[lang="ru"] { --vds-font-family: 'Noto Sans'; --vds-headings-font-family: 'FootLight'; }
|
|
34
|
+
[lang="si"] { --vds-font-family: 'Noto Sans Sinhala'; --vds-headings-font-family: 'Noto Sans Sinhala'; }
|
|
35
|
+
[lang="sl"] { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
36
|
+
[lang="sr"] { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
37
|
+
[lang="sv"] { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
38
|
+
[lang="ta"] { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
39
|
+
[lang="te"] { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
40
|
+
[lang="th"] { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
41
|
+
[lang="tr"] { --vds-font-family: 'Noto Sans'; --vds-headings-font-family: 'FootLight'; }
|
|
42
|
+
[lang="vi"] { --vds-font-family: 'Noto Sans'; --vds-headings-font-family: 'FootLight'; }
|
|
43
|
+
[lang="zh-HANS"] { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
44
|
+
[lang="zh-HANT"] { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
45
|
+
[lang="zh-HANT-HK"] { --vds-font-family: 'Lato'; --vds-headings-font-family: 'FootLight'; }
|
|
46
|
+
|
|
47
|
+
/* Main fonts */
|
|
48
|
+
|
|
49
|
+
@font-face {
|
|
50
|
+
font-family: 'FootLight';
|
|
51
|
+
src: url('https://design-standards.dhamma.org/dist/fonts/FootlightMTProLight.woff');
|
|
52
|
+
font-weight: normal;
|
|
53
|
+
font-style: normal;
|
|
54
|
+
}
|
|
55
|
+
@font-face {
|
|
56
|
+
font-family: 'FootLight';
|
|
57
|
+
src: url('https://design-standards.dhamma.org/dist/fonts/FootlightMTProRegular.woff');
|
|
58
|
+
font-weight: 600;
|
|
59
|
+
font-style: normal;
|
|
60
|
+
}
|
|
61
|
+
@font-face {
|
|
62
|
+
font-family: 'Lato';
|
|
63
|
+
src: url('https://design-standards.dhamma.org/dist/fonts/Lato-Regular.woff');
|
|
64
|
+
font-weight: normal;
|
|
65
|
+
font-style: normal;
|
|
66
|
+
}
|
|
67
|
+
@font-face {
|
|
68
|
+
font-family: 'Lato';
|
|
69
|
+
src: url('https://design-standards.dhamma.org/dist/fonts/Lato-Light.woff');
|
|
70
|
+
font-weight: 300;
|
|
71
|
+
font-style: normal;
|
|
72
|
+
}
|
|
73
|
+
@font-face {
|
|
74
|
+
font-family: 'Lato';
|
|
75
|
+
src: url('https://design-standards.dhamma.org/dist/fonts/Lato-Bold.woff');
|
|
76
|
+
font-weight: 800;
|
|
77
|
+
font-style: normal;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* Special fonts downloaded from google for specific languages */
|
|
81
|
+
/* <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+Gujarati:wght@300;400
|
|
82
|
+
family=Noto+Sans+JP:wght@300;400
|
|
83
|
+
family=Noto+Sans+KR:wght@300;400
|
|
84
|
+
family=Noto+Sans+Sinhala:wght@300;500
|
|
85
|
+
family=Noto+Sans:wght@200
|
|
86
|
+
family=Noto+Sans+Khmer:wght@300;400
|
|
87
|
+
family=Noto+Sans+Arabic:wght@200;400&display=swap" rel="stylesheet"> */
|
|
88
|
+
/* <link href="https://fonts.googleapis.com/css2?
|
|
89
|
+
|
|
90
|
+
family=Noto+Sans+Gujarati:wght@300;400
|
|
91
|
+
family=Noto+Sans+JP:wght@300;400
|
|
92
|
+
family=Noto+Sans+KR:wght@300;400
|
|
93
|
+
family=Noto+Sans+Sinhala:wght@300;500
|
|
94
|
+
family=Noto+Sans:wght@200
|
|
95
|
+
family=Noto+Sans+Khmer:wght@300;400
|
|
96
|
+
family=Noto+Sans+Arabic:wght@200;400
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
/* cyrillic-ext */
|
|
100
|
+
@font-face {
|
|
101
|
+
font-family: 'Noto Sans';
|
|
102
|
+
font-style: normal;
|
|
103
|
+
font-weight: 200;
|
|
104
|
+
font-display: swap;
|
|
105
|
+
src: url(https://fonts.gstatic.com/s/notosans/v28/o-0NIpQlx3QUlC5A4PNjKhVVadyB1Wk.woff2) format('woff2');
|
|
106
|
+
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/* cyrillic */
|
|
110
|
+
@font-face {
|
|
111
|
+
font-family: 'Noto Sans';
|
|
112
|
+
font-style: normal;
|
|
113
|
+
font-weight: 200;
|
|
114
|
+
font-display: swap;
|
|
115
|
+
src: url(https://fonts.gstatic.com/s/notosans/v28/o-0NIpQlx3QUlC5A4PNjKhVVYNyB1Wk.woff2) format('woff2');
|
|
116
|
+
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/* devanagari */
|
|
120
|
+
@font-face {
|
|
121
|
+
font-family: 'Noto Sans';
|
|
122
|
+
font-style: normal;
|
|
123
|
+
font-weight: 200;
|
|
124
|
+
font-display: swap;
|
|
125
|
+
src: url(https://fonts.gstatic.com/s/notosans/v28/o-0NIpQlx3QUlC5A4PNjKhVVZdyB1Wk.woff2) format('woff2');
|
|
126
|
+
unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* greek-ext */
|
|
130
|
+
@font-face {
|
|
131
|
+
font-family: 'Noto Sans';
|
|
132
|
+
font-style: normal;
|
|
133
|
+
font-weight: 200;
|
|
134
|
+
font-display: swap;
|
|
135
|
+
src: url(https://fonts.gstatic.com/s/notosans/v28/o-0NIpQlx3QUlC5A4PNjKhVVaNyB1Wk.woff2) format('woff2');
|
|
136
|
+
unicode-range: U+1F00-1FFF;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/* greek */
|
|
140
|
+
@font-face {
|
|
141
|
+
font-family: 'Noto Sans';
|
|
142
|
+
font-style: normal;
|
|
143
|
+
font-weight: 200;
|
|
144
|
+
font-display: swap;
|
|
145
|
+
src: url(https://fonts.gstatic.com/s/notosans/v28/o-0NIpQlx3QUlC5A4PNjKhVVZ9yB1Wk.woff2) format('woff2');
|
|
146
|
+
unicode-range: U+0370-03FF;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/* vietnamese */
|
|
150
|
+
@font-face {
|
|
151
|
+
font-family: 'Noto Sans';
|
|
152
|
+
font-style: normal;
|
|
153
|
+
font-weight: 200;
|
|
154
|
+
font-display: swap;
|
|
155
|
+
src: url(https://fonts.gstatic.com/s/notosans/v28/o-0NIpQlx3QUlC5A4PNjKhVVa9yB1Wk.woff2) format('woff2');
|
|
156
|
+
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/* latin-ext */
|
|
160
|
+
@font-face {
|
|
161
|
+
font-family: 'Noto Sans';
|
|
162
|
+
font-style: normal;
|
|
163
|
+
font-weight: 200;
|
|
164
|
+
font-display: swap;
|
|
165
|
+
src: url(https://fonts.gstatic.com/s/notosans/v28/o-0NIpQlx3QUlC5A4PNjKhVVatyB1Wk.woff2) format('woff2');
|
|
166
|
+
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/* latin */
|
|
170
|
+
@font-face {
|
|
171
|
+
font-family: 'Noto Sans';
|
|
172
|
+
font-style: normal;
|
|
173
|
+
font-weight: 200;
|
|
174
|
+
font-display: swap;
|
|
175
|
+
src: url(https://fonts.gstatic.com/s/notosans/v28/o-0NIpQlx3QUlC5A4PNjKhVVZNyB.woff2) format('woff2');
|
|
176
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/* arabic */
|
|
180
|
+
@font-face {
|
|
181
|
+
font-family: 'Noto Sans Arabic';
|
|
182
|
+
font-style: normal;
|
|
183
|
+
font-weight: 200;
|
|
184
|
+
font-stretch: 100%;
|
|
185
|
+
font-display: swap;
|
|
186
|
+
src: url(https://fonts.gstatic.com/s/notosansarabic/v18/nwpCtLGrOAZMl5nJ_wfgRg3DrWFZWsnVBJ_sS6tlqHHFlj4wv4o.woff2) format('woff2');
|
|
187
|
+
unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/* arabic */
|
|
191
|
+
@font-face {
|
|
192
|
+
font-family: 'Noto Sans Arabic';
|
|
193
|
+
font-style: normal;
|
|
194
|
+
font-weight: 400;
|
|
195
|
+
font-stretch: 100%;
|
|
196
|
+
font-display: swap;
|
|
197
|
+
src: url(https://fonts.gstatic.com/s/notosansarabic/v18/nwpCtLGrOAZMl5nJ_wfgRg3DrWFZWsnVBJ_sS6tlqHHFlj4wv4o.woff2) format('woff2');
|
|
198
|
+
unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/* khmer */
|
|
202
|
+
@font-face {
|
|
203
|
+
font-family: 'Noto Sans Khmer';
|
|
204
|
+
font-style: normal;
|
|
205
|
+
font-weight: 300;
|
|
206
|
+
font-stretch: 100%;
|
|
207
|
+
font-display: swap;
|
|
208
|
+
src: url(https://fonts.gstatic.com/s/notosanskhmer/v23/ijwCs5roRME5LLRxjsRb-gssOenAyendxrgV2c-Zw-9vR1IFeh7j.woff2) format('woff2');
|
|
209
|
+
unicode-range: U+1780-17FF, U+19E0-19FF, U+200C, U+25CC;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/* latin-ext */
|
|
213
|
+
@font-face {
|
|
214
|
+
font-family: 'Noto Sans Khmer';
|
|
215
|
+
font-style: normal;
|
|
216
|
+
font-weight: 300;
|
|
217
|
+
font-stretch: 100%;
|
|
218
|
+
font-display: swap;
|
|
219
|
+
src: url(https://fonts.gstatic.com/s/notosanskhmer/v23/ijwCs5roRME5LLRxjsRb-gssOenAyendxrgV2c-Zw-9vR1cFeh7j.woff2) format('woff2');
|
|
220
|
+
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/* latin */
|
|
224
|
+
@font-face {
|
|
225
|
+
font-family: 'Noto Sans Khmer';
|
|
226
|
+
font-style: normal;
|
|
227
|
+
font-weight: 300;
|
|
228
|
+
font-stretch: 100%;
|
|
229
|
+
font-display: swap;
|
|
230
|
+
src: url(https://fonts.gstatic.com/s/notosanskhmer/v23/ijwCs5roRME5LLRxjsRb-gssOenAyendxrgV2c-Zw-9vR1kFeg.woff2) format('woff2');
|
|
231
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/* khmer */
|
|
235
|
+
@font-face {
|
|
236
|
+
font-family: 'Noto Sans Khmer';
|
|
237
|
+
font-style: normal;
|
|
238
|
+
font-weight: 400;
|
|
239
|
+
font-stretch: 100%;
|
|
240
|
+
font-display: swap;
|
|
241
|
+
src: url(https://fonts.gstatic.com/s/notosanskhmer/v23/ijwCs5roRME5LLRxjsRb-gssOenAyendxrgV2c-Zw-9vR1IFeh7j.woff2) format('woff2');
|
|
242
|
+
unicode-range: U+1780-17FF, U+19E0-19FF, U+200C, U+25CC;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
/* latin-ext */
|
|
246
|
+
@font-face {
|
|
247
|
+
font-family: 'Noto Sans Khmer';
|
|
248
|
+
font-style: normal;
|
|
249
|
+
font-weight: 400;
|
|
250
|
+
font-stretch: 100%;
|
|
251
|
+
font-display: swap;
|
|
252
|
+
src: url(https://fonts.gstatic.com/s/notosanskhmer/v23/ijwCs5roRME5LLRxjsRb-gssOenAyendxrgV2c-Zw-9vR1cFeh7j.woff2) format('woff2');
|
|
253
|
+
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/* latin */
|
|
257
|
+
@font-face {
|
|
258
|
+
font-family: 'Noto Sans Khmer';
|
|
259
|
+
font-style: normal;
|
|
260
|
+
font-weight: 400;
|
|
261
|
+
font-stretch: 100%;
|
|
262
|
+
font-display: swap;
|
|
263
|
+
src: url(https://fonts.gstatic.com/s/notosanskhmer/v23/ijwCs5roRME5LLRxjsRb-gssOenAyendxrgV2c-Zw-9vR1kFeg.woff2) format('woff2');
|
|
264
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/* sinhala */
|
|
268
|
+
@font-face {
|
|
269
|
+
font-family: 'Noto Sans Sinhala';
|
|
270
|
+
font-style: normal;
|
|
271
|
+
font-weight: 300;
|
|
272
|
+
font-stretch: 100%;
|
|
273
|
+
font-display: swap;
|
|
274
|
+
src: url(https://fonts.gstatic.com/s/notosanssinhala/v26/yMJ7MJBya43H0SUF_WmcBEEf4rQVO2P524V5N_MxQzQtb-t19Pqq4-E.woff2) format('woff2');
|
|
275
|
+
unicode-range: U+0964-0965, U+0D81-0DF4, U+200C-200D, U+25CC, U+111E1-111F4;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/* latin-ext */
|
|
279
|
+
@font-face {
|
|
280
|
+
font-family: 'Noto Sans Sinhala';
|
|
281
|
+
font-style: normal;
|
|
282
|
+
font-weight: 300;
|
|
283
|
+
font-stretch: 100%;
|
|
284
|
+
font-display: swap;
|
|
285
|
+
src: url(https://fonts.gstatic.com/s/notosanssinhala/v26/yMJ7MJBya43H0SUF_WmcBEEf4rQVO2P524V5N_MxQzQtb-t15_qq4-E.woff2) format('woff2');
|
|
286
|
+
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/* latin */
|
|
290
|
+
@font-face {
|
|
291
|
+
font-family: 'Noto Sans Sinhala';
|
|
292
|
+
font-style: normal;
|
|
293
|
+
font-weight: 300;
|
|
294
|
+
font-stretch: 100%;
|
|
295
|
+
font-display: swap;
|
|
296
|
+
src: url(https://fonts.gstatic.com/s/notosanssinhala/v26/yMJ7MJBya43H0SUF_WmcBEEf4rQVO2P524V5N_MxQzQtb-t16fqq.woff2) format('woff2');
|
|
297
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/* sinhala */
|
|
301
|
+
@font-face {
|
|
302
|
+
font-family: 'Noto Sans Sinhala';
|
|
303
|
+
font-style: normal;
|
|
304
|
+
font-weight: 500;
|
|
305
|
+
font-stretch: 100%;
|
|
306
|
+
font-display: swap;
|
|
307
|
+
src: url(https://fonts.gstatic.com/s/notosanssinhala/v26/yMJ7MJBya43H0SUF_WmcBEEf4rQVO2P524V5N_MxQzQtb-t19Pqq4-E.woff2) format('woff2');
|
|
308
|
+
unicode-range: U+0964-0965, U+0D81-0DF4, U+200C-200D, U+25CC, U+111E1-111F4;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/* latin-ext */
|
|
312
|
+
@font-face {
|
|
313
|
+
font-family: 'Noto Sans Sinhala';
|
|
314
|
+
font-style: normal;
|
|
315
|
+
font-weight: 500;
|
|
316
|
+
font-stretch: 100%;
|
|
317
|
+
font-display: swap;
|
|
318
|
+
src: url(https://fonts.gstatic.com/s/notosanssinhala/v26/yMJ7MJBya43H0SUF_WmcBEEf4rQVO2P524V5N_MxQzQtb-t15_qq4-E.woff2) format('woff2');
|
|
319
|
+
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
/* latin */
|
|
323
|
+
@font-face {
|
|
324
|
+
font-family: 'Noto Sans Sinhala';
|
|
325
|
+
font-style: normal;
|
|
326
|
+
font-weight: 500;
|
|
327
|
+
font-stretch: 100%;
|
|
328
|
+
font-display: swap;
|
|
329
|
+
src: url(https://fonts.gstatic.com/s/notosanssinhala/v26/yMJ7MJBya43H0SUF_WmcBEEf4rQVO2P524V5N_MxQzQtb-t16fqq.woff2) format('woff2');
|
|
330
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
331
|
+
}
|
|
@@ -20,8 +20,9 @@
|
|
|
20
20
|
padding: var(--header-y-padding) var(--layout-padding);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.vds-logo {
|
|
23
|
+
.vds-logo-link {
|
|
24
24
|
display: inline-flex;
|
|
25
|
+
text-decoration: none;
|
|
25
26
|
|
|
26
27
|
svg {
|
|
27
28
|
max-height: 40px;
|
|
@@ -31,4 +32,12 @@
|
|
|
31
32
|
}
|
|
32
33
|
}
|
|
33
34
|
}
|
|
35
|
+
|
|
36
|
+
.vds-locale-picker {
|
|
37
|
+
border: none;
|
|
38
|
+
padding-right: 2.3em;
|
|
39
|
+
padding-left: 0.7em;
|
|
40
|
+
color: $primary;
|
|
41
|
+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 18'%3e%3cpath fill='none' stroke='%231e3461' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
|
|
42
|
+
}
|
|
34
43
|
}
|
|
@@ -3,6 +3,10 @@ html, body {
|
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.vds-body {
|
|
6
|
+
min-height: 100vh;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
|
|
6
10
|
--page-max-width: 100%;
|
|
7
11
|
|
|
8
12
|
&:not(.iframe) {
|
|
@@ -53,11 +57,10 @@ html, body {
|
|
|
53
57
|
|
|
54
58
|
// Sticky footer
|
|
55
59
|
.vds-header-and-content {
|
|
56
|
-
min-height: 100%;
|
|
57
|
-
padding-bottom: 3.5rem;
|
|
58
60
|
position: relative;
|
|
59
61
|
display: flex;
|
|
60
62
|
flex-direction: column;
|
|
63
|
+
flex-grow: 1;
|
|
61
64
|
|
|
62
65
|
.vds-page-content {
|
|
63
66
|
padding: var(--layout-padding);
|
|
@@ -67,15 +70,13 @@ html, body {
|
|
|
67
70
|
.vds-footer {
|
|
68
71
|
background-color: var(--bs-primary);
|
|
69
72
|
color: white;
|
|
70
|
-
margin-top: -3.5rem;
|
|
71
|
-
height: 3.5rem;
|
|
72
73
|
position: relative;
|
|
73
74
|
display: flex;
|
|
74
75
|
flex-direction: column;
|
|
75
76
|
justify-content: center;
|
|
76
77
|
|
|
77
78
|
.vds-container {
|
|
78
|
-
padding:
|
|
79
|
+
padding: 1rem var(--layout-padding);
|
|
79
80
|
}
|
|
80
81
|
|
|
81
82
|
a {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
--vipassana-logo-title-color: white;
|
|
33
33
|
--vipassana-logo-tagline-color: #ffffff90;
|
|
34
34
|
}
|
|
35
|
-
.vipassana-logo[data-disposition="
|
|
35
|
+
.vipassana-logo[data-disposition="default"] {
|
|
36
36
|
max-width: 48em; /* the title will wrap if it's too long */
|
|
37
37
|
}
|
|
38
38
|
.vipassana-logo[data-disposition="centered"] {
|
|
@@ -46,10 +46,6 @@
|
|
|
46
46
|
max-width: 3.9em;
|
|
47
47
|
margin-right: 1em;
|
|
48
48
|
}
|
|
49
|
-
[dir="rtl"] .vipassana-logo .logo-wheel {
|
|
50
|
-
margin-left: 1em;
|
|
51
|
-
margin-right: 0;
|
|
52
|
-
}
|
|
53
49
|
.vipassana-logo[data-disposition="centered"] .logo-wheel {
|
|
54
50
|
margin: 0 !important;
|
|
55
51
|
margin-bottom: .6em !important;
|
|
@@ -70,7 +66,7 @@
|
|
|
70
66
|
/* Title */
|
|
71
67
|
.vipassana-logo .logo-title {
|
|
72
68
|
color: var(--vipassana-logo-title-color);
|
|
73
|
-
font-family: var(--
|
|
69
|
+
font-family: var(--vds-headings-font-family);
|
|
74
70
|
line-height: var(--vipassana-logo-title-line-height);
|
|
75
71
|
font-size: var(--vipassana-logo-title-font-size);
|
|
76
72
|
font-weight: normal;
|
|
@@ -101,10 +97,7 @@
|
|
|
101
97
|
display: inline-flex;
|
|
102
98
|
}
|
|
103
99
|
.vipassana-logo:not([data-reverse="true"]) [data-start-with="v"] {
|
|
104
|
-
margin-left: -.17em
|
|
105
|
-
}
|
|
106
|
-
[dir="rtl"] .vipassana-logo [data-start-with="v"] {
|
|
107
|
-
margin-left: 0 !important;
|
|
100
|
+
margin-left: -.17em /*rtl:0*/;
|
|
108
101
|
}
|
|
109
102
|
|
|
110
103
|
.vipassana-logo[data-disposition="left-two-lines"] .logo-title span {
|
|
@@ -118,7 +111,7 @@
|
|
|
118
111
|
/* Tagline */
|
|
119
112
|
.logo-subtitle {
|
|
120
113
|
color: var(--vipassana-logo-tagline-color);
|
|
121
|
-
font-family: var(--
|
|
114
|
+
font-family: var(--vds-font-family);
|
|
122
115
|
font-weight: 300;
|
|
123
116
|
font-size: var(--vipassana-logo-tagline-font-size);
|
|
124
117
|
line-height: var(--vipassana-logo-tagline-line-height);
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/* gujarati */
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: 'Noto Sans Gujarati';
|
|
4
|
+
font-style: normal;
|
|
5
|
+
font-weight: 300;
|
|
6
|
+
font-stretch: 100%;
|
|
7
|
+
font-display: swap;
|
|
8
|
+
src: url(https://fonts.gstatic.com/s/notosansgujarati/v23/wlpZgx_HC1ti5ViekvcxnhMlCVo3f5pv17ivlzsUB14gg1TMbXaYEL-C.woff2) format('woff2');
|
|
9
|
+
unicode-range: U+0964-0965, U+0A80-0AFF, U+200C-200D, U+20B9, U+25CC, U+A830-A839;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/* latin-ext */
|
|
13
|
+
@font-face {
|
|
14
|
+
font-family: 'Noto Sans Gujarati';
|
|
15
|
+
font-style: normal;
|
|
16
|
+
font-weight: 300;
|
|
17
|
+
font-stretch: 100%;
|
|
18
|
+
font-display: swap;
|
|
19
|
+
src: url(https://fonts.gstatic.com/s/notosansgujarati/v23/wlpZgx_HC1ti5ViekvcxnhMlCVo3f5pv17ivlzsUB14gg1TMbWOYEL-C.woff2) format('woff2');
|
|
20
|
+
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* latin */
|
|
24
|
+
@font-face {
|
|
25
|
+
font-family: 'Noto Sans Gujarati';
|
|
26
|
+
font-style: normal;
|
|
27
|
+
font-weight: 300;
|
|
28
|
+
font-stretch: 100%;
|
|
29
|
+
font-display: swap;
|
|
30
|
+
src: url(https://fonts.gstatic.com/s/notosansgujarati/v23/wlpZgx_HC1ti5ViekvcxnhMlCVo3f5pv17ivlzsUB14gg1TMbW2YEA.woff2) format('woff2');
|
|
31
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* gujarati */
|
|
35
|
+
@font-face {
|
|
36
|
+
font-family: 'Noto Sans Gujarati';
|
|
37
|
+
font-style: normal;
|
|
38
|
+
font-weight: 400;
|
|
39
|
+
font-stretch: 100%;
|
|
40
|
+
font-display: swap;
|
|
41
|
+
src: url(https://fonts.gstatic.com/s/notosansgujarati/v23/wlpZgx_HC1ti5ViekvcxnhMlCVo3f5pv17ivlzsUB14gg1TMbXaYEL-C.woff2) format('woff2');
|
|
42
|
+
unicode-range: U+0964-0965, U+0A80-0AFF, U+200C-200D, U+20B9, U+25CC, U+A830-A839;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* latin-ext */
|
|
46
|
+
@font-face {
|
|
47
|
+
font-family: 'Noto Sans Gujarati';
|
|
48
|
+
font-style: normal;
|
|
49
|
+
font-weight: 400;
|
|
50
|
+
font-stretch: 100%;
|
|
51
|
+
font-display: swap;
|
|
52
|
+
src: url(https://fonts.gstatic.com/s/notosansgujarati/v23/wlpZgx_HC1ti5ViekvcxnhMlCVo3f5pv17ivlzsUB14gg1TMbWOYEL-C.woff2) format('woff2');
|
|
53
|
+
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* latin */
|
|
57
|
+
@font-face {
|
|
58
|
+
font-family: 'Noto Sans Gujarati';
|
|
59
|
+
font-style: normal;
|
|
60
|
+
font-weight: 400;
|
|
61
|
+
font-stretch: 100%;
|
|
62
|
+
font-display: swap;
|
|
63
|
+
src: url(https://fonts.gstatic.com/s/notosansgujarati/v23/wlpZgx_HC1ti5ViekvcxnhMlCVo3f5pv17ivlzsUB14gg1TMbW2YEA.woff2) format('woff2');
|
|
64
|
+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
65
|
+
}
|