diff --git a/Gruntfile.js b/Gruntfile.js index bc9d7cb..99ab1ef 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1,381 +1,382 @@ /* eslint-env node */ /*! * Grunt file */ module.exports = function ( grunt ) { /* * PostCSS processors */ // Without minifier var postCssProcessorsDev = [ require( 'postcss-import' )( { from: 'css/wmui-style-guide.dev.css' } ), require( 'postcss-custom-properties' )( { preserve: false } ), require( 'autoprefixer' )() ], // With minifier postCssProcessorsMin = postCssProcessorsDev.concat( [ require( 'cssnano' )() ] ), zopfli = require( 'imagemin-zopfli' ); grunt.loadNpmTasks( 'grunt-contrib-concat' ); grunt.loadNpmTasks( 'grunt-contrib-imagemin' ); grunt.loadNpmTasks( 'grunt-contrib-watch' ); grunt.loadNpmTasks( 'grunt-contrib-uglify' ); grunt.loadNpmTasks( 'grunt-eslint' ); grunt.loadNpmTasks( '@lodder/grunt-postcss' ); grunt.loadNpmTasks( 'grunt-replace' ); grunt.loadNpmTasks( 'grunt-sketch' ); grunt.loadNpmTasks( 'grunt-stylelint' ); grunt.loadNpmTasks( 'grunt-svgmin' ); grunt.initConfig( { // Build – JavaScript concat: { options: { sourceMap: true, sourceMapName: function ( concatFileName ) { return concatFileName + '.map.json'; } }, files: { src: [ 'js/src/fonts-loader.js' // 'js/src/matomo-tracking-code.js' ], dest: 'js/wikimedia-design-style-guide.concat.js' } }, uglify: { options: { sourceMap: true, sourceMapIncludeSources: true, sourceMapName: function ( uglifyFileName ) { return uglifyFileName + '.map.json'; }, report: 'gzip' }, min: { files: { 'js/wikimedia-design-style-guide.min.js': 'js/wikimedia-design-style-guide.concat.js', 'js/matomo-tracking.min.js': 'js/src/matomo-tracking.js' } } }, // Lint – JavaScript eslint: { options: { cache: true }, dev: [ 'Gruntfile.js', 'js/src/**/*.js' ] }, // Lint – Stylesheets stylelint: { src: [ 'css/*.dev.css', '!node_modules/**' ] }, // Postprocessing Stylesheets postcss: { // Output unminified compiled CSS file into `build` dir dev: { options: { processors: postCssProcessorsDev }, src: 'css/wmui-style-guide.dev.css', dest: 'css/build/wmui-style-guide.css' }, // Output minified compiled CSS file + source maps into `build` dir min: { options: { map: { inline: false, // Save all source maps as separate files… annotation: 'css/build/' // …to the specified directory }, processors: postCssProcessorsMin }, src: 'css/wmui-style-guide.dev.css', dest: 'css/build/wmui-style-guide.min.css' } }, // Export resources from Sketch files sketch_export: { wikimediaui_components_png: { options: { type: 'slices', items: [ 'Primary_Buttons', 'Quiet_Buttons', 'Button_Group', 'Link', 'Checkbox', 'Radio_Button', 'Toggle_Switch', 'Text_Input', 'Dropdown' ], groupContentsOnly: true, scales: [ 2.0 ], formats: [ 'png' ], saveForWeb: true }, src: 'resources/WikimediaUI-components_overview.sketch', dest: 'img/components' }, wikimediaui_components_svg: { options: { type: 'slices', items: [ 'Primary_Buttons', 'Quiet_Buttons', 'Button_Group', 'Link', 'Checkbox', 'Radio_Button', 'Toggle_Switch', 'Text_Input', - 'Dropdown' + 'Dropdown', + 'Language_Selectors' ], groupContentsOnly: true, compact: true, scales: [ 1.0 ], formats: [ 'svg' ], saveForWeb: true }, src: 'resources/WikimediaUI-components_overview.sketch', dest: 'img/components' }, wikimediaui_overview: { options: { type: 'artboards', items: [ 'WikimediaUI-components_overview' ], groupContentsOnly: true, compact: true, scales: [ 1.0 ], formats: [ 'png', 'svg' ], saveForWeb: true }, src: 'resources/WikimediaUI-components_overview.sketch', dest: 'resources' }, wikimediaui_style_guide_imagery_design_principles_svg: { options: { type: 'artboards', items: [ 'content-first', 'trustworthy-yet-joyful' ], groupContentsOnly: true, compact: true, scales: [ 1.0 ], formats: [ 'svg' ], saveForWeb: true }, src: 'resources/Wikimedia_Design_Style_Guide-imagery.sketch', dest: 'img/design-principles' }, wikimediaui_style_guide_imagery_design_principles_png: { options: { type: 'artboards', items: [ 'content-first', 'trustworthy-yet-joyful' ], groupContentsOnly: true, compact: true, scales: [ 2.0 ], formats: [ 'png' ], saveForWeb: true }, src: 'resources/Wikimedia_Design_Style_Guide-imagery.sketch', dest: 'img/design-principles' }, wikimediaui_style_guide_imagery_visual_style_svg: { options: { type: 'artboards', items: [ 'icons-sample', 'icons-optical-adjustment', 'illustrations-header', 'illustrations-article', 'illustrations-colored-background', 'illustrations-white-background', 'illustrations-grey-background' ], groupContentsOnly: true, compact: true, scales: [ 1.0 ], formats: [ 'svg' ], saveForWeb: true }, src: 'resources/Wikimedia_Design_Style_Guide-imagery.sketch', dest: 'img/visual-style' }, wikimediaui_style_guide_imagery_visual_style_png: { options: { type: 'artboards', items: [ 'principles-paper-ink', 'principles-paper-shadow', 'principles-content-chrome', 'principles-color-type', 'typography-specimen', 'typography-readability', 'icons-sample', 'icons-optical-adjustment', 'illustrations-header', 'illustrations-article', 'illustrations-colored-background', 'illustrations-white-background', 'illustrations-grey-background' ], groupContentsOnly: true, compact: true, scales: [ 2.0 ], formats: [ 'png' ], saveForWeb: true }, src: 'resources/Wikimedia_Design_Style_Guide-imagery.sketch', dest: 'img/visual-style' } }, // Image Optimization imagemin: { distPngs: { options: { use: [ zopfli() ] }, expand: true, src: [ 'img/**/*.png', 'resources/*.png', '!resources/WikimediaUI-components_overview.png' ] } }, svgmin: { options: { js2svg: { indent: '\t', multipass: true, pretty: true }, plugins: [ { cleanupIDs: false }, { removeDesc: true }, { removeRasterImages: true }, { removeTitle: false }, { removeViewBox: false }, { removeXMLProcInst: false }, { sortAttrs: true } ] }, all: { files: [ { expand: true, cwd: './', src: [ '**/*.svg', '!img/visual-style/principles-paper-ink.svg' ], dest: './', ext: '.svg' } ] } }, replace: { dist: { options: { patterns: [ { match: /Helvetica Neue"/g, replacement: 'Helvetica Neue, sans-serif"' }, { match: /Lato"/g, replacement: 'Lato, sans-serif"' } ] }, files: [ { expand: true, cwd: './', src: [ 'img/components/*.svg', 'resources/WikimediaUI-components_overview.svg' ], dest: './' } ] } }, // Development watch: { files: [ 'css/**/*.css', '!css/build/**/*.css', '.{stylelintrc}' ], tasks: 'default' } } ); grunt.registerTask( 'lint', [ 'eslint', 'stylelint' ] ); grunt.registerTask( 'images', [ 'sketch_export', 'svgmin' ] ); grunt.registerTask( 'images-pre-production', [ 'replace' ] ); grunt.registerTask( 'default', [ 'concat', 'uglify', 'postcss:dev', 'postcss:min' ] ); }; diff --git a/components/button-groups.html b/components/button-groups.html index 2271a24..c793890 100644 --- a/components/button-groups.html +++ b/components/button-groups.html @@ -1,140 +1,141 @@ Components: Button groups – Wikimedia Design Style Guide
Components

Button groups

Buttons in button groups signal a number of equally important actions that will occur when the user taps on them. Button groups can include normal buttons with icon and or text label (dropdown) or any mixture of the three.

button groups visual example

Using button groups

Buttons must carry a label. In case of icon only buttons, it will become available only to screen reader users. They can carry an icon or an indicator.

Designing

Label
Button labels should be as short as possible, with text that clearly states what action will be taken once the button is pressed (e.g. download, submit form, search).

Icon (optional)
Icons simplify user recognition and provide ability to shorten button label to a minimum.

Button groups always consist of normal (framed) buttons.

States of button groups

Button group buttons have following visually separate states:

button groups states

Types

Button groups with only one possible selection at a time

Button groups consist of two or more buttons. While it's possible to group buttons to strengthen actions being equal and connected, there's also a button select group, where only one of the actions can be activated at a time.

Primary button groups with two equally important actions

Primary buttons signal the single, primary action in a given view. Even though they should not be used twice or more in a view there are circumstances where two equally important primary actions are presented to the user – a button group of two buttons, progressively or destructively flagged.

Coding

See OOUI's demos section of button groups.

diff --git a/components/buttons.html b/components/buttons.html index a5984a5..487b67b 100644 --- a/components/buttons.html +++ b/components/buttons.html @@ -1,175 +1,176 @@ Components: Buttons – Wikimedia Design Style Guide
Components

Buttons

Buttons signal an action that will occur when the user clicks or taps on them.

button visual example

Enabled buttons look clickable and are accessible to all users.

Using buttons

A button toggles something in current user's context. If an action is to “navigate the user to a new resource, taking them away from current context”[1], consider a link instead.

Buttons must carry a label. They can include an icon or a 'down' indicator or any mixture of the three. In case of icon-only buttons, the label will be visually hidden while still available to screen reader users.

Normal buttons and quiet buttons
Normal, framed buttons are the default choice. Quiet, frameless buttons should only be used in views, where normal buttons need to be further visually de-emphasized, see below.

Designing

The button styles distinguish types of buttons and each button’s state (e.g. disabled, hover, active) in accessible color variations.

button design properties

Minimum target size
When using buttons consider the size of their target area. Make sure that the associated active touch area is at least 44 x 44 dp. Otherwise users may fail to hit the active area, for example due to motor disabilities.

Label
Button labels should be as short as possible, with text that clearly states what action follows clicking the button (eg. download, submit form, search).

Icon (optional)
Icons simplify user recognition and provide ability to shorten button label to a minimum.

Indicator (optional)
Indicators are special icons for a small number of use cases. The only indicator on buttons is 'down' down indicator when menus are attached. For majority of cases where menus are needed use dropdowns though.

States of buttons

Buttons have following visually separate states (normal on the left, primary progressive and destructive buttons on the right):

buttons states

Types

Primary buttons

primary progressive button visual example
primary destructive button visual example

Primary buttons signal the single, primary action in a given view – a page or a dialog. As they should guide the user to the most important action (“call to action”), there should not be used twice or more of them per view.

They come in two variants (“flags”):

  • Progressive: Use progressive variant for actions which lead to a next step in the process.
  • Destructive: Use destructive buttons for actions that remove or limit, such as deleting a page or blocking a user. Don't use it for actions such as cancel buttons.

Toggle buttons

toggle buttons visual example

Toggle buttons feature a normal and a selected state. Use them for state-persistent user actions, that are longer then a normal button click action.

Quiet buttons (“frameless”)

quiet buttons' states

Use quiet buttons where a stronger focus on content is preferable, yet remain easily recognizable. For example, the icon-only edit buttons alongside sections in article view on mobile Wikipedia[2]. They still feature minimal target sizes and states to provide user clear interaction feedback. Normal (framed) buttons are the default choice for simplified recognition.

Coding

See OOUI's demos section of buttons, primary buttons and toggle buttons.

References

  1. “Links vs. Buttons in Modern Web Applications” by Marcy Sutton
  2. Mobile English Wikipedia: Button (computing) article with exemplified quiet edit buttons
diff --git a/components/checkboxes.html b/components/checkboxes.html index e4ff9f1..cd76f95 100644 --- a/components/checkboxes.html +++ b/components/checkboxes.html @@ -1,147 +1,148 @@ Components: Checkboxes – Wikimedia Design Style Guide
Components

Checkboxes

Checkboxes signal to the user that an option is selectable. They allow for users to select as many or as few checkable options as listed. The checkable option states for the user are selected, unselected or indeterminate.

checkboxes visual example in non-selected state
checkboxes visual example in selected state

Using checkboxes

Checkboxes must feature a descriptive label. Checkboxes may appear alone or as a part of a group. A checkbox may also have sub-components or child checkboxes.

Designing

checkboxes design properties

Checkbox
Checkboxes make the selection visually distinct.

Checkbox label
Its labels should be short, with text that clearly states what action is selected.

Checkboxes group label (optional)
If 2 or more checkboxes are grouped, it's recommended that the group also carries a clear label.

States of checkboxes

The styles for checkbox states were designed with accessible color variations, additional to the 'check' check icon icon to distinguish the checkbox following visually separated states in selected or unselected mode (e.g. disabled, hover, active):

checkboxes visual design and states

Types

Indeterminate

In addition to selected and unselected, a checkbox can be in indeterminate state. This state uses the 'subtract' subtract icon icon.

checkboxes visual example in indeterminate selected state

The most common is when a checkbox is available that "owns" a number of sub-options (which are also checkboxes). If all of the sub-options are checked, the owning checkbox is also checked, and if they're all unchecked, the owning checkbox is unchecked. If any one or more of the sub-options have a different state than the others, the owning checkbox is in the indeterminate state.[1]

Coding

See OOUI's demos section of checkboxes.

References

  1. MDN: <input type="checkbox"> Indeterminate state checkboxes
diff --git a/components/comboboxes.html b/components/comboboxes.html index 52f4998..f0645f2 100644 --- a/components/comboboxes.html +++ b/components/comboboxes.html @@ -1,138 +1,139 @@ Components: Comboboxes – Wikimedia Design Style Guide
Components

Comboboxes

Comboboxes combine a text input with autocomplete and a dropdown button.

text input field

Using comboboxes

Through combobox inputs users can input text, numbers, symbols or mixed-format strings (unless specifically restricted) while being offered auto complete options in a dropdown menu.

Comboboxes should be used when a user’s answer to a prompt can not easily be predicted, but offers a number of pre-defined input values as options, for example common responses, to ease filling out the input with useful values.

Designing

text input field design properties

Label
Combobox labels communicate what input is requested in the text box. Labels are obligatory for input fields and should only be visibly hidden, but still accessible for screen readers in exceptional cases.

Placeholder text (optional)
Placeholder text provides an example of what type of information is being requested in the input box. Placeholder text should further illustrate and support the combobox input label, however they should never be the only input description. Use Base30 for it.

Icon (optional)
Icons may be added to simple identification of specific combobox inputs.

Inline error messages and form validation (optional)
When possible, place messages inline with where the error occurred and explain to users what caused the error and, or how it can be fixed. Utilize appropriate colors for different message types (Green50 for successful or Red50 for erroneous). Inline messages should only be shown after a user has clicked into or interacted with the corresponding field.

States

comboboxes field visual design and states

Coding

See OOUI's demos section of combobox inputs.

diff --git a/components/dropdowns.html b/components/dropdowns.html index abf16b8..0fe40ea 100644 --- a/components/dropdowns.html +++ b/components/dropdowns.html @@ -1,133 +1,134 @@ Components: Dropdowns – Wikimedia Design Style Guide
Components

Dropdowns

Using dropdowns

Dropdowns must feature a label stating the current selection and a menu of at least two, preferably three option.

dropdowns visual design and states

Designing

dropdown design properties

Label
Dropdown labels communicate what selections the component conveys. Labels are obligatory for dropdowns.

Icon (optional)
Icons might simplify identification for the available selection in dropdowns by the user.

Down indicator
Dropdowns appear button like with obligatory 'down' indicator as identifier.

States of dropdowns

Dropdowns have following visually separate states:

dropdowns states

Coding

See OOUI's demos section of dropdowns.

diff --git a/components/file-inputs.html b/components/file-inputs.html index c4a1eef..4084e87 100644 --- a/components/file-inputs.html +++ b/components/file-inputs.html @@ -1,153 +1,154 @@ Components: File inputs – Wikimedia Design Style Guide
Components

File inputs

File inputs allow users to select files from their system for upload.

file input field

Using file inputs

Through file input fields users can input files, which are selected for upload.

File inputs feature an input field and a select button by default. But they also exist in button only and upload drop area types. Moreover they are part of some form or dialog where the upload itself follows as final step.

Designing

file inputs design properties

Label
File input labels communicate what input is requested in the input box. Labels are obligatory for file input fields.

Icon (optional)
Icon is optional in the input. Consider 'upload' icon as useful hint.

Placeholder text (optional)
Use Base30 for it.

Inline error messages and form validation (optional)
When possible, place messages inline with where the error occurred and explain to users what caused the error and, or how it can be fixed. Utilize appropriate colors for different message types (Green50 for successful or Red50 for erroneous). Inline messages should only be shown after a user has clicked into or interacted with the corresponding input.

Types

File input and button

See definition above.

File input with drop area

file input field with drop area

A user-friendly type of file inputs on pointer devices is featuring a drop area. It's normally signified by a dashed border which allows the user to drag and drop a file for selection.

File input select button only

file input select button only

In cases where screen space is very limited, a select button only input could be considered. Please note, that feedback on which file has been chosen by the user, needs to be provided in a different manner here.

Coding

See OOUI's demos section of file inputs.

Resources

Several Wikimedia projects provide file naming guidelines, that might be of interest for file input hints.
A selection:

diff --git a/components/language-selectors.html b/components/language-selectors.html new file mode 100644 index 0000000..c21903e --- /dev/null +++ b/components/language-selectors.html @@ -0,0 +1,243 @@ + + + + + + + + + + + Components: Language selectors – Wikimedia Design Style Guide + + + + + + + + +
+
+ +
+
+
Components
+

Language selectors

+

Language selectors allow users to pick languages from a list. In projects like Wikipedia with 300+ language Wikipedias, or software like MediaWiki with 350+ languages supported, language selection is crucial and can occur in many different contexts.

+ +
+

Using language selectors

+

Language selectors display a list of languages. The list of languages can be customized and may be different in each component application. In some cases the selection will display all possible languages. In other cases, only the few languages for which a specific piece of content is available may be shown.

+

The language selectors should be used when users select language as input or for navigation purposes. Language selectors automatically adapt to the number of languages and the screen real state available. In addition, language selectors can be customized with more information and actions.

+

Depending on the context, the language selectors can include:

+
    +
  1. Suggested languages to facilitate finding frequently selected languages by the user.
  2. +
  3. Additional details for each language to provide additional metadata in the form of labels or icons.
  4. +
  5. Grouping language variants[1] to easily support the selection of closely-related languages.
  6. +
  7. Quick actions to access other language-related activities relevant to the context.
  8. +
  9. Selection range for cases where more than one language has to be selected at a time.
  10. +
  11. Empty states with optional follow-up actions allowing users to expand the available languages.
  12. +
+
+ language selectors visual design +
+
+
+
+

Designing

+
+ language selectors design properties +
+

The language selectors combine a search input and a menu with the list of languages. In addition, specific elements of the language selectors can be adjusted to address particular needs.

+

Label
+ The visual label is optional, due to the specific context language selectors are used in. But a visually hidden label for screen readers is obligatory.

+

Placeholder text
+ Placeholder text is obligatory for language selectors. Use Base30 for it.

+

Suggested languages
+ The suggested languages section is provided by default to simplify recurrent selection based on frequent and previous choices. They are hidden automatically when the total number of languages is small (less than 10) to avoid unnecessary repetition. Consider hiding the suggested list explicitly when the suggestions may not be useful.

+

Additional details
+ Provide a clarifying text or icon next to the language can help to anticipate relevant information such as the title of the page the user will be navigating to. However, given the potentially large number of languages, additional details might increase the information density and make the selection process less fluent.

+

Grouping language variants
+ When providing options that are considered variants of the same language such as Swiss German and Austrian German, it is preferred to present related languages grouped under a common family rather than exposing all the individual options.

+
+ language selectors grouping language variants +
+

Additional actions
+ In addition to picking a language, the selector allows to optionally integrate different kinds of actions that may be relevant:

+
    +
  • Quick actions. Surface secondary general actions related to the whole list of languages. These consist of an icon and a label. When one is provided, the icon will be shown in the language selector directly. When more than one action is provided, a "more" icon will provide access to a separate view will list them.
  • +
  • Prominent action. One relevant action that is strongly connected to the content can be presented at the top of the list. For example, surfacing missing languages to lead users to create them with follow-up actions (next).
  • +
  • Follow-up actions on empty states. Provide actions that allow to make the missing language available (by translating, creating, connecting, or any other means).
  • +
+
+ language selectors additional actions + language selectors additional actions + language selectors additional actions +
+

Selection range
+ Selecting one language at a time is the default, but cases where more than one language can be selected, the multiple selection version can be more convenient. +

+

See the detailed design specification document for more details.

+
+
+

States of language selectors

+

Selecting
+ Interaction with the language selector respects the visual states and interaction of its individual components. For example, hover or focus states, and keyboard manipulation work in the usual way for the search bar and the menu listing the languages.

+
+ language selectors selecting state +
+

Searching
+ Flexible search with typeahead autocompletion is used to filter the language results. +

+
+ language selectors searching state +
+

Empty states
+ The selector shows empty states in different circumstances: +

+
    +
  • No languages available.
  • +
  • Search leads to a language not available for selection.
  • +
  • Search leads to no known language.
  • +
+

Empty states can be customized to include mechanisms for making more languages available.

+
+ language selectors empty states + language selectors empty states +
Generic empty state (first) and custom one to make languages available by translating the content (second).
+
+

Expanded layout
+ By default language selectors are shown as a modal + element over the current contents and taping outside cancels the selection. The layout adapts responsively:

+
    +
  • On wide screens when the number of languages to select is large (more than 30), the selector becomes wider and uses a 3-column layout.
  • +
  • On narrow screens the selector expands to the full viewport. In such cases, a header provides the control to close the selector.
  • +
+
+ language selectors expanded layout state + language selectors expanded layout state +
Language selector adapted to a high number of languages on a wide screen (first) and taking the whole viewport on a narrow screen (second).
+
+

The optional section for suggested languages shows up to six languages using a two column layout by default, but using three columns when the list of all languages does so.

+
+
+

Types

+

Default
+ By default, the language selector presents list of languages for users to pick one. Making one selection closes the selector automatically. The list of languages adapts dynamically to the number of languages and the space available. Regardless of the layout, it is composed simply by language names.

+

Other types of language selector provide room for additional information, actions, groupings and selections.

+

Additional details and actions
+

A type of language selector allowing for additional details and actions is also available:

+
    +
  • Description labels and/or icons. Language items in the list optionally include an icon and a secondary label to communicate further details.
  • +
  • Additional actions. Although the main purpose of the selector is still to pick languages, additional actions can be defined. These actions can appear more prominently (on top) or as part of the quick action menu in a corner at the bottom.
  • +
+
+ language selectors additional details types + language selectors additional details types +
Examples of descriptions to include the name of the item in each language (first) and highlight featured content with an icon (second).
+
+
+ language selector additional actions type +
Additional actions to communicate missing languages more prominently (on top) and providing access to additional functionality through the "…" icon (corner at the bottom). +
+
+

Grouping language variants

+

Support for language variants includes the possibility + to expand/collapse groups of related languages. In addition, when a variant is selected a prominent section with other variants allow users to quickly switch between related variants.

+
+ language selector grouping language variants type +
A section of "Variants of English" is shown after selecting an English variant previously.
+
+

Multiple selection
+ By default the selector is optimized to support selecting one language at a time. Specific types of selector are available to support a different number of languages. In particular, the following cases are supported:

+
    +
  • Multiple selection. Supports selecting a whole list of languages in one go.
  • +
  • Language pair. Supports selecting two languages. This can be useful when selecting a language pair from a single entry point control.
  • +
  • All languages. Provides an additional option to select all languages. This can be convenient as a reset option when filtering.
  • +
+
+ +
+
+
+

Coding

+

See OOUI's demos section of dropdowns.

+
+
+

References

+
    +
  1. English Wikipedia: Variety in linguistics; language variants
  2. +
+
+
+
+
+
+ + + diff --git a/components/links.html b/components/links.html index 1403607..4190fba 100644 --- a/components/links.html +++ b/components/links.html @@ -1,154 +1,155 @@ Components: Links – Wikimedia Design Style Guide
Components

Links

Links signal an action that will let the user navigate to another page, view or resource, when they click or tap on them. The following examples are emphasized in bold for presentation only.

link visual example

Using links

Links must include a descriptive link text or a combination of the text and an additional icon.

Designing

Link text
Link text should describe the assigned action as clear and short as possible in active voice (e.g. download, submit form, search).

Icon (optional)
Icons simplify user recognition and provide ability to shorten link text to a minimum. Icons should be limited to differentiate from a standard hyperlink (i.e. if it does something other than navigating to a new page). In contrast to buttons, icons are only allowed additionally to link text, not as only link signifier.

Examples of non-standard links include:

  • Links that open a modal instead of a new page (e.g. map links)
  • Links that open a file instead of a web page (e.g. PDF or document links)
  • Links that cause something to happen that the user would otherwise not expect (e.g. play a sound, like pronunciation links)
  • Links that open a new website instead of just a new page (external links)[1]
  • Links that open a non-web protocol URI (e.g. mailto:, tel: links)

Several Wikimedia Movement projects provide extensive “manuals of style” for applying and designing for links, for example English Wikipedia.[2]

States of links

The link styles outlined here were designed with accessible color variations to distinguish the link’s following visually separated interaction states:

links states

Links focus outline is the default browser focus, here Blink based browsers only with outline color amendment to Accent50. This varies in different browsers.
Links don't feature a disabled state. Consider using quiet buttons for those applications instead.

Types

By default, links are only underlined on interaction (hover, active).

Underlined links

To suit user preference and for accessibility reasons MediaWiki also provides a setting to always underline links.

Links of underlined type, visual example

New links

A speciality of wiki software and MediaWiki are so called “new links”. Links to article and pages that are yet to be written. These apply Red50 in both, normal or underlined type.

Links of underlined type, visual example

References

  1. English Wikipedia: External links
  2. English Wikipedia: Manual of Style/Linking
diff --git a/components/number-inputs.html b/components/number-inputs.html index 43c6771..0d0097c 100644 --- a/components/number-inputs.html +++ b/components/number-inputs.html @@ -1,122 +1,123 @@ Components: Number inputs – Wikimedia Design Style Guide
Components

Number inputs

Number inputs allow users to input numbers or decrease/increase number values by attached buttons.

number input field

Using number inputs

Through number input fields users can input numbers.

Number inputs feature two buttons to decrement and increment the number by a certain step (default is 1). They are useful in context where users' task is about a quick numeral change in limited range.

Designing

Label
Number input labels communicate what input is requested in the input box. Labels are obligatory for input fields and should only be visibly hidden, but still accessible for screen readers in exceptional cases.

Placeholder text (optional)
Placeholder text provides an example of what type of information is being requested in the input box. Placeholder text should further illustrate and support the number input label, however they should never be the only input description. Use Base30 for it.

Inline error messages and form validation (optional)
When possible, place messages inline with where the error occurred and explain to users what caused the error and, or how it can be fixed. Utilize appropriate colors for different message types (Green50 for successful or Red50 for erroneous). Inline messages should only be shown after a user has clicked into or interacted with the corresponding input.

Coding

See OOUI's demos section of number inputs.

diff --git a/components/radio-buttons.html b/components/radio-buttons.html index f57f80d..389d6b9 100644 --- a/components/radio-buttons.html +++ b/components/radio-buttons.html @@ -1,134 +1,135 @@ Components: Radio buttons – Wikimedia Design Style Guide
Components

Radio buttons

Radio buttons are part of a group of two or more. They signal an action where users can only select one radio button.

radio buttons visual example
radio buttons visual example

Using radio buttons

Radio buttons must feature a descriptive label. They must be part of a group of radio buttons of at least two. A radio button may also have sub-components or child radio button groups.

Designing

radio buttons design properties

Radio
Radio buttons make the selection visually distinct.

Radio button label
Its labels should be as short as possible, with text that clearly states what selection is chosen once the corresponding form is submitted.

Radio button group label (optional)
If 2 or more radio buttons are grouped, it's recommended that the group also carries a clear label.

States of radio buttons

The styles for its states were designed with accessible color variations additional to the 'disc' disc icon icon to distinguish the checkbox' following visually separated states in switched on and off mode (e.g. disabled, hover, active):

radio buttons visual design and states

Coding

See OOUI's demos section of radio buttons.

diff --git a/components/text-inputs-and-textarea.html b/components/text-inputs-and-textarea.html index f421828..9f0d827 100644 --- a/components/text-inputs-and-textarea.html +++ b/components/text-inputs-and-textarea.html @@ -1,177 +1,178 @@ Components: Text inputs and textarea – Wikimedia Design Style Guide
Components

Text inputs and textarea

Text inputs allow users to input text or select text via auto-complete or dropdown.

text input field

Using text inputs

Through text input fields users can input text, numbers, symbols or mixed-format strings (unless specifically restricted). Text inputs can be single line or as textarea multiple line inputs.

Text inputs should be used in forms when a user’s answer to a prompt can not easily be predicted, or when there is significant variability in potential inputs. Text inputs should also be used when other form components prove more difficult (require additional steps) to achieve the same result (e.g. selecting a date from a calendar versus typing in the date). The Search type of text inputs is also prominently used for search queries.

When possible provide auto complete options that are tailored to the input field, such as a list of common responses or relevant search results.

Designing

text input field design properties

Label
- Text input labels communicate what input is requested in the text box. Labels are obligatory for input fields and should only be visibly hidden, but still accessible for screen readers in exceptional cases.

+ Text input labels communicate what input is requested in the text box. Labels are obligatory for input fields and should only be visually hidden, but still accessible for screen readers in exceptional cases.

Placeholder text (optional)
Placeholder text provides an example of what type of information is being requested in the input box. Placeholder text should further illustrate and support the text input field label, however they should never be the only input description. Use Base30 for it.

Icon
Icons can add to simple identification of specific user inputs. Examples are 'search' search icon magnifying glass for search bars or 'user avatar' user icon for user login input fields.

Indicator icon
Indicator icons are used in two contexts with inputs:

  • Showing that a user input is required with a 'required' required indicator indicator
  • Clearing the input, like in search inputs with a 'clear' clear indicator indicator

The length (width and number of lines) provides a hint to users as to the expected length of their input. Textareas should be used when the input length is multiple sentences long, whereas shorter responses like a search query or password have to be limited to a single line.

Inline error messages and form validation (optional)
When possible, place messages inline with where the error occurred and explain to users what caused the error and, or how it can be fixed. Utilize appropriate colors for different message types (Green50 for successful or Red50 for erroneous). Inline messages should only be shown after a user has clicked into or interacted with the corresponding field.

States

text input field visual design and states

Types

Text input

A single line text input field.

Textarea

textarea visual design and states

A multi-line text input field.

Search inputs

search input field visual design and states

A single line text input with optional auto-complete or dropdown and a 'search' icon as quick lookup helper.

Number inputs

number input field visual design and states

See Entry > Number inputs page for details.

Password inputs

password input field visual design and states

Password inputs automatically protect the user's input to visual hacking.

Coding

See OOUI's demos section of text inputs, textareas, search inputs and number inputs.

diff --git a/components/toggle-switches.html b/components/toggle-switches.html index 749fa15..53739be 100644 --- a/components/toggle-switches.html +++ b/components/toggle-switches.html @@ -1,131 +1,132 @@ Components: Toggle switches – Wikimedia Design Style Guide
Components

Toggle switches

Toggle switches signal an instant choice to the user.

toggle switches visual example in non-selected state
toggle switches visual example in selected state

Using toggle switches

Toggle switches must feature a descriptive label. Use toggle switches only where instant change in the user-interface based on their assigned action is intended. For non-instant selections and selection groups use checkboxes.

Designing

toggle switches design properties

Toggle switch
Toggle switches make the selection visually distinct. In selected state, filled Accent50 background with Base100 foreground together with the toggle handle moved to the opposite side signifies a clear distinction from unselected state.

Toggle switch label
Its labels should be short, with text that clearly states what action is selected.

States of toggle switches

The styles for toggle switch states were designed with accessible color variations, additional to the toggle handle to distinguish the toggle switch following visually separated states in selected or unselected mode (e.g. disabled, hover, active).:

toggle switches visual design and states

Coding

See OOUI's demos section of toggle switches.

diff --git a/css/build/wmui-style-guide.css b/css/build/wmui-style-guide.css index 8d06562..8ebdfa7 100644 --- a/css/build/wmui-style-guide.css +++ b/css/build/wmui-style-guide.css @@ -1,1792 +1,1806 @@ /* ::: Vendor Imports ::: */ /* Load files from 'node_modules' folders with postCSS-import plugin. * Modules specified in package.json file. */ /** * WikimediaUI Base v0.18.1 * Wikimedia Foundation user interface base variables * https://gerrit.wikimedia.org/g/wikimedia-ui-base/ * * See also https://design.wikimedia.org/style-guide/ */ :root { /* == Breakpoints == */ /* The following numbers are prone to change with new information. */ /** * Minimum available screen width at which a device can be considered a mobile device * Many older feature phones have screens smaller than this value. */ /** * Minimum available screen width at which a device can be considered a tablet * The number is currently based on the device width of a Samsung Galaxy S5 mini and is low * enough to cover iPad (768px). */ /* Minimum available screen width at which a device can be considered a desktop. */ /* Wider desktop breakpoint, currently used in Flow. */ /* Extra wide desktop breakpoint */ /* == Colors == */ /** * WikimediaUI (`wmui`) color palette * See https://design.wikimedia.org/style-guide/visual-style_colors.html * Don't use those variables directly, instead define your vars * referring to them as applied further below. */ /* = HSB 0°, 0%, 0% */ /* = HSB 210°, 6%, 13% */ /* = HSB 207°, 10%, 36%; WCAG 2.0 level AAA 7.09:1 contrast ratio on `#fff` */ /* = HSB 210°, 9%, 49%; WCAG 2.0 level AA at 4.52:1 contrast ratio on `#fff` */ /* = HSB 212°, 8%, 69% */ /* = HSB 213°, 4%, 82% */ /* = HSB 220°, 3%, 94% */ /* = HSB 210°, 1%, 98% */ /* = HSB 0°, 0%, 100% */ /* = HSB 220°, 70%, 55% */ /* = HSB 220°, 75%, 80% */ /* = HSB 214°, 8%, 100% */ /* = HSB 360°, 80%, 70% */ /* = HSB 360°, 77%, 87% */ /* = HSB 3°, 9%, 100% */ /* = HSB 36°, 100%, 67% */ /* = HSB 45°, 80%, 100% */ /* = HSB 39°, 9%, 100% */ /* = HSB 167°, 85%, 53% */ /* = HSB 167°, 100%, 69% */ /* = HSB 166°, 16%, 99% */ /* Modifier colors, not part of official palette, limited to interaction state usage. */ /* = `filter: brightness( 109% )` */ /* ~= `filter: brightness( 120% )` */ /* From here on no static color values, only variable references. */ /* Background Colors */ /* 'Framed' UI elements (Framed Buttons, Dropdowns, ToggleSwitches…) */ /* 'Filled' UI elements (Checkboxes, Radios, ProgressBars…) */ /* Binary Input elements (Checkboxes, Radios, Toggle Switches) */ /* Quiet Buttons */ /* Use `rgba()` values here as the quiet buttons need to blend in with background. */ /* = `--wmui-color-base90` on white. */ /* = `--wmui-color-base80` on white. */ /* Toolbar and Tools */ /* Tabs Navigation Background Color */ /* User system messages (errors, warnings, successes, notices) */ /* Highlight Colors for text highlighting, think metaphorically text marker */ /* Equals to `#ffe29e` on `#fff` background. */ /* Foreground Colors */ /* Primary 'Progressive' Color, Background Color and states */ /* 'Destructive' Color, Background Color and states */ /* Secondary Color and states (links only) */ /* User system messages (errors, warnings, successes, notices) */ /* Toolbar and Tools */ /* Used here in combination with `:hover` background-color turning light grey */ /* Opacity */ /* = `#7d7d7d` on `background-color: #fff`; HSB 0°, 0%, 49% */ /* = `#222` on `background-color: #fff`, closest to `#202122` */ /* = `#424242` on `background-color: #fff`, closest to `#404244` */ /* = `#555`, closest to `#54595d` on background-color `#fff`. */ /* == Positioning == */ /* Z-Index */ /* == Box Model properties == */ /* `--*size` variables are used for `*width` & `*height` properties. */ /* Values used for `min-*` are defined in `px`, see T130691. */ /* Max Widths */ /* = `460px` at `16px` base, see T95367 */ /* Border */ /* User system messages (errors, warnings, successes, notices) */ /* Border Colors */ /* Border Colors primary buttons */ /* See T168029 */ /* Border Colors user system messages */ /* Border Styles */ /* Border Widths */ /* Border Radius */ /* Paddings */ /* Must be < `8` as it cuts off scripts like Burmese. Directly connected to `line-height` further down. */ /* Box Shadows */ /* Base widget `box-shadow` set to `transparent` for transition purpose. */ /* Outlines */ /* Enable Windows high contrast mode on certain widgets, that have default outlines overridden. */ /* == Typography incl. print properties == */ /* See https://design.wikimedia.org/style-guide/visual-style_typography.html */ /* Font Families */ /* To be deprecated, see T247166. */ /* Provide better operating system-specific readability, see T175877. */ /* `system-ui` is currently not an option due to OS/language combination issues, see T175877#4776576. */ /* Provide better operating system-specific monospace stack, see T209915. */ /* See T176636. */ /* Font Weights */ /* See https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight#Common_weight_name_mapping */ /* Line Heights */ /* Text Shadows */ /* 'coined' effect */ /* == Other Properties == */ /* Cursors */ /* == Animation & Transition == */ /* Transitions */ /* `ease` is the initial value */ /* `ease-out` is preferably used on human initiated transitions, for example dialogs */ /* Transitions > Durations */ } /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */ /* Document ========================================================================== */ /** * 1. Correct the line height in all browsers. * 2. Prevent adjustments of font size after orientation changes in * IE on Windows Phone and in iOS. */ html { line-height: 1.15; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ } /* Sections ========================================================================== */ /** * Remove the margin in all browsers (opinionated). */ body { margin: 0; } /** * Add the correct display in IE 9-. */ article, aside, footer, header, nav, section { display: block; } /** * Correct the font size and margin on `h1` elements within `section` and * `article` contexts in Chrome, Firefox, and Safari. */ h1 { font-size: 2em; margin: 0.67em 0; } /* Grouping content ========================================================================== */ /** * Add the correct display in IE 9-. * 1. Add the correct display in IE. */ figcaption, figure, main { /* 1 */ display: block; } /** * Add the correct margin in IE 8. */ figure { margin: 1em 40px; } /** * 1. Add the correct box sizing in Firefox. * 2. Show the overflow in Edge and IE. */ hr { -moz-box-sizing: content-box; box-sizing: content-box; /* 1 */ height: 0; /* 1 */ overflow: visible; /* 2 */ } /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ pre { font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } /* Text-level semantics ========================================================================== */ /** * 1. Remove the gray background on active links in IE 10. * 2. Remove gaps in links underline in iOS 8+ and Safari 8+. */ a { background-color: transparent; /* 1 */ -webkit-text-decoration-skip: objects; /* 2 */ } /** * 1. Remove the bottom border in Chrome 57- and Firefox 39-. * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. */ abbr[title] { border-bottom: none; /* 1 */ text-decoration: underline; /* 2 */ -webkit-text-decoration: underline dotted; -moz-text-decoration: underline dotted; text-decoration: underline dotted; /* 2 */ } /** * Prevent the duplicate application of `bolder` by the next rule in Safari 6. */ b, strong { font-weight: inherit; } /** * Add the correct font weight in Chrome, Edge, and Safari. */ b, strong { font-weight: bolder; } /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ code, kbd, samp { font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } /** * Add the correct font style in Android 4.3-. */ dfn { font-style: italic; } /** * Add the correct background and color in IE 9-. */ mark { background-color: #ff0; color: #000; } /** * Add the correct font size in all browsers. */ small { font-size: 80%; } /** * Prevent `sub` and `sup` elements from affecting the line height in * all browsers. */ sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } /* Embedded content ========================================================================== */ /** * Add the correct display in IE 9-. */ audio, video { display: inline-block; } /** * Add the correct display in iOS 4-7. */ audio:not([controls]) { display: none; height: 0; } /** * Remove the border on images inside links in IE 10-. */ img { border-style: none; } /** * Hide the overflow in IE. */ svg:not(:root) { overflow: hidden; } /* Forms ========================================================================== */ /** * 1. Change the font styles in all browsers (opinionated). * 2. Remove the margin in Firefox and Safari. */ button, input, optgroup, select, textarea { font-family: sans-serif; /* 1 */ font-size: 100%; /* 1 */ line-height: 1.15; /* 1 */ margin: 0; /* 2 */ } /** * Show the overflow in IE. * 1. Show the overflow in Edge. */ button, input { /* 1 */ overflow: visible; } /** * Remove the inheritance of text transform in Edge, Firefox, and IE. * 1. Remove the inheritance of text transform in Firefox. */ button, select { /* 1 */ text-transform: none; } /** * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video` * controls in Android 4. * 2. Correct the inability to style clickable types in iOS and Safari. */ button, html [type="button"], /* 1 */ [type="reset"], [type="submit"] { -webkit-appearance: button; /* 2 */ } /** * Remove the inner border and padding in Firefox. */ button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { border-style: none; padding: 0; } /** * Restore the focus styles unset by the previous rule. */ button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring { outline: 1px dotted ButtonText; } /** * Correct the padding in Firefox. */ fieldset { padding: 0.35em 0.75em 0.625em; } /** * 1. Correct the text wrapping in Edge and IE. * 2. Correct the color inheritance from `fieldset` elements in IE. * 3. Remove the padding so developers are not caught out when they zero out * `fieldset` elements in all browsers. */ legend { -moz-box-sizing: border-box; box-sizing: border-box; /* 1 */ color: inherit; /* 2 */ display: table; /* 1 */ max-width: 100%; /* 1 */ padding: 0; /* 3 */ white-space: normal; /* 1 */ } /** * 1. Add the correct display in IE 9-. * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera. */ progress { display: inline-block; /* 1 */ vertical-align: baseline; /* 2 */ } /** * Remove the default vertical scrollbar in IE. */ textarea { overflow: auto; } /** * 1. Add the correct box sizing in IE 10-. * 2. Remove the padding in IE 10-. */ [type="checkbox"], [type="radio"] { -moz-box-sizing: border-box; box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ } /** * Correct the cursor style of increment and decrement buttons in Chrome. */ [type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; } /** * 1. Correct the odd appearance in Chrome and Safari. * 2. Correct the outline style in Safari. */ [type="search"] { -webkit-appearance: textfield; /* 1 */ outline-offset: -2px; /* 2 */ } /** * Remove the inner padding and cancel buttons in Chrome and Safari on macOS. */ [type="search"]::-webkit-search-cancel-button, [type="search"]::-webkit-search-decoration { -webkit-appearance: none; } /** * 1. Correct the inability to style clickable types in iOS and Safari. * 2. Change font properties to `inherit` in Safari. */ ::-webkit-file-upload-button { -webkit-appearance: button; /* 1 */ font: inherit; /* 2 */ } /* Interactive ========================================================================== */ /* * Add the correct display in IE 9-. * 1. Add the correct display in Edge, IE, and Firefox. */ details, /* 1 */ menu { display: block; } /* * Add the correct display in all browsers. */ summary { display: list-item; } /* Scripting ========================================================================== */ /** * Add the correct display in IE 9-. */ canvas { display: inline-block; } /** * Add the correct display in IE. */ template { display: none; } /* Hidden ========================================================================== */ /** * Add the correct display in IE 10-. */ [hidden] { display: none; } /* ::: Local Imports ::: */ @font-face { font-family: 'Charter'; src: url( '../../fonts/Charter_regular.woff2' ) format( 'woff2' ), url( '../../fonts/Charter_regular.woff' ) format( 'woff' ); font-style: normal; font-weight: 400; text-rendering: optimizeLegibility; /* Attention: Android Stock Browser <= 4.3 doesn't show web font with this setting, but it also doesn't support WOFF :) */ } @font-face { font-family: 'Charter'; src: url( '../../fonts/Charter_bold.woff2' ) format( 'woff2' ), url( '../../fonts/Charter_bold.woff' ) format( 'woff' ); font-style: normal; font-weight: 700; text-rendering: optimizeLegibility; } /* @font-face { font-family: 'Charter'; src: url( '../fonts/Charter_italic.woff2' ) format( 'woff2' ), url( '../fonts/Charter_italic.woff' ) format( 'woff' ); font-style: italic; font-weight: 400; text-rendering: optimizeLegibility; } @font-face { font-family: 'Charter'; src: url( '../fonts/Charter_bold-italic.woff2' ) format( 'woff2' ), url( '../fonts/Charter_bold-italic.woff' ) format( 'woff' ); font-style: italic; font-weight: 700; text-rendering: optimizeLegibility; } */ :root { /* HACK; Add Georgia to serif fallback as long as WikimediaUI Base isn't updated. */ /* stylelint-disable-line value-keyword-case */ /* Setting bold to `600` as our stack works better with it, only Lato is on the edge. Helvetica and Arial fallback gracefully to `700`, see T246791. */ } * { -moz-box-sizing: border-box; box-sizing: border-box; } html { font-size: 62.5%; } body { background-color: #eaecf0; /* FIXME: var; */ color: #202122; margin: 0; font-family: -apple-system, 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Lato', 'Helvetica', 'Arial', sans-serif; font-size: 1.6rem; line-height: 1.6; } /* ::: Text Block-Level Elements ::: */ /* ... Headings ... */ h1, h2, h3, h4, h5, h6 { color: #000; margin: 3.2rem 0 0; line-height: 1.25; -webkit-transition: font-size 250ms, font-weight 250ms; -moz-transition: font-size 250ms, font-weight 250ms; transition: font-size 250ms, font-weight 250ms; } h2, h3, h4, h5 { font-weight: 600; } h1, .page__title { font-family: Georgia, serif; /* Fallback */ font-size: 3.2rem; font-weight: 400; } h2 { border-bottom: 3px solid #eaecf0; padding-bottom: 2px; font-size: 2.4rem; } /* Reduce top margin when introductory headlines are following each other. */ h2 + h3 { margin-top: 1.6rem; } h3 { font-size: 2rem; } h4 { font-size: 1.8rem; } h5 { font-size: 1.6rem; } h6 { font-size: 1.6rem; font-weight: normal; } /* ... Other Block-Level Elements ... */ blockquote { margin: 1.6rem 0 0; border-left: 4px solid #eaecf0; padding: 0.8rem 3.2rem; font-family: Georgia, serif; /* Fallback */ font-size: 2rem; font-style: italic; } blockquote cite { display: block; margin-top: 0.8rem; font-family: -apple-system, 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Lato', 'Helvetica', 'Arial', sans-serif; font-size: 1.4rem; font-style: normal; } blockquote cite:before { content: '— '; } code, pre, .mw-code { font-family: 'Menlo', 'Consolas', 'Liberation Mono', 'Courier New', monospace; } hr { background: #eaecf0; display: block; height: 0.8rem; border: 0; margin: 8rem 0; } p { margin: 3.2rem 0 0; } h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p, p + p, ul + p, p:first-child { margin: 0.8rem 0 0; } blockquote + p { margin-top: 1.6rem; } pre, .mw-code { background-color: #f8f9fa; color: #000; border: 1px solid #a2a9b1; padding: 1.2rem 2rem; font-size: 1.4rem; white-space: pre-wrap; } /* ... Lists ... */ ol, ul { margin: 0.8rem 0; padding: 0 0 0 1.8rem; /* Can't remain within our 8px based sizing due to browser defaults */ } .content li { margin-top: 0.4rem; } .content li:first-child { margin-top: 0; } /* ... Images & Figures ... */ figure { margin: 0.8rem 0 0; } img { display: block; max-width: 100%; margin: 1.6rem 0 0; } .page--components figure { margin-left: 6.4rem; padding-top: 0.8rem; } .page--components figure img { margin-top: 0.8rem; } +.is-comparison img { + float: left; + margin-left: 1.2rem; +} +.is-comparison img:first-child { + margin-left: 0; + } /* ::: Inline Elements ::: */ a { color: #36c; text-decoration: none; } a:hover { text-decoration: underline; } a:active { color: #2a4b8d; } b, strong { font-weight: 600; } code { background-color: #f8f9fa; display: inline-block; padding: 0.2rem 0.4rem; font-size: 1.4rem; } small { font-size: 1.3rem; } sub, sup { font-size: 1.1rem; } /* ::: General Classes ::: */ /* ::: Text for Screen Readers only ::: */ .is-aural { display: block; position: absolute; clip: rect( 1px, 1px, 1px, 1px ); width: 1px; height: 1px; margin: -1px; border: 0; padding: 0; overflow: hidden; } .is-aural.is-focusable:active, .is-aural.is-focusable:focus { position: static; clip: auto; width: auto; height: auto; margin: 0; text-decoration: underline; overflow: visible; } .clearfix:before, .clearfix:after, .page:before, .page:after, .content-box:before, .content-box:after, .color-palette:before, .color-palette:after, .figures-do-dont:before, .figures-do-dont:after, +.is-comparison:before, +.is-comparison:after, .content__illustration-style .figure--full:before, .content__illustration-style .figure--full:after { content: ' '; display: table; } .clearfix:after, .page:after, .content-box:after, .color-palette:after, .figures-do-dont:after, +.is-comparison:after, .content__illustration-style .figure--full:after { clear: both; } /* ::: Text-formatting ::: */ /* Support Blink based browsers. */ /* They use `outline` for focus styles, we're only amending the color here, see T245887. */ :focus { outline-color: #36c; } .is-complementary, .is-subtle { color: #72777d; } .is-complementary { font-size: 1.4rem; } ::-webkit-input-placeholder { color: #72777d; opacity: 1; } :-moz-placeholder { color: #72777d; opacity: 1; } ::-moz-placeholder { color: #72777d; opacity: 1; } :-ms-input-placeholder { color: #72777d; opacity: 1; } ::-ms-input-placeholder { color: #72777d; opacity: 1; } ::placeholder, .is-placeholder { color: #72777d; opacity: 1; } .content-box { position: relative; margin-right: auto; margin-left: auto; padding-left: 1.6rem; /* FIXME: var( --grid-padding ); */ padding-right: 1.6rem; } /* ::: Structure ::: */ .header { position: fixed; top: 0; left: 0; right: 0; min-height: 6.4rem; line-height: 6.4rem; } .site__title { color: #202122; margin-top: 0; height: 6.4rem; font-family: -apple-system, 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Lato', 'Helvetica', 'Arial', sans-serif; font-size: 1.6rem; font-weight: 400; letter-spacing: 0.5px; } .site__title a { color: inherit; display: inline-block; padding: 1.2rem 3.2rem 0; -webkit-transition: color 250ms; -moz-transition: color 250ms; transition: color 250ms; } .site__title a:hover { color: #000; /* --color-base-emphasized */ text-decoration: none; } .site__org { display: block; } .site__project { font-weight: 600; } /* ... Navigation button ... */ .btn--nav-main { position: absolute; top: 1.2rem; width: 4.2rem; height: 4.2rem; cursor: pointer; } /* Fake hamburger icon */ .btn--nav-main i { display: block; height: 4.2rem; -webkit-transition: color 250ms, box-shadow 250ms; -moz-transition: color 250ms, box-shadow 250ms, -moz-box-shadow 250ms; transition: color 250ms, box-shadow 250ms; transition: color 250ms, box-shadow 250ms, -moz-box-shadow 250ms; } .btn--nav-main i:before, .btn--nav-main i:after { content: ''; background-color: #54595d; width: 2rem; height: 2px; position: absolute; top: 0.4rem; left: 0; } .btn--nav-main i:after { top: 1.1rem; -moz-box-shadow: 0 0.7rem 0 #54595d; box-shadow: 0 0.7rem 0 #54595d; } .btn--nav-main i:hover:before, .btn--nav-main i:hover:after { background-color: #000; /* --color-base-emphasized */ } .btn--nav-main i:hover:after { -moz-box-shadow: 0 0.7rem 0 #000; box-shadow: 0 0.7rem 0 #000; } .btn--nav-main span { display: block; position: absolute; clip: rect( 1px, 1px, 1px, 1px ); width: 1px; height: 1px; margin: -1px; overflow: hidden; } /* ... GitHub Contribute Link ... */ .lnk--contribute { font-size: 1.4rem; line-height: 1.4rem; /* Derive slightly from template for cross-browser compliance */ } /* ... Content ... */ .page { background-color: #fff; position: relative; margin-top: 6.4rem; padding: 6.4rem 0; -moz-box-shadow: 0 1px 4px 0 rgba( 0, 0, 0, 0.25 ); box-shadow: 0 1px 4px 0 rgba( 0, 0, 0, 0.25 ); overflow-y: hidden; } .content { float: left; } .col { float: left; position: relative; min-height: 1px; } .col--start { padding: 0; } .col--end { padding: 0; } /* ... Main Navigation ... */ .nav--main { background-color: #fff; /* needed for menu appearance on mobile below */ /* margin-top: 6.4rem; */ } .nav--main li:not( .is-on ) ul, .trigger--nav-main { display: none; } .nav--main ol, .nav--main ul { padding: 0; } .nav--main ol:first-child { margin: 0; } .nav--main li { padding: 0; list-style: none none; } .nav--main > ol > li { margin-bottom: 0.4rem; } .nav--main a { color: #202122; display: block; padding: 0.8rem 1.2rem; font-size: 1.6rem; text-decoration: none; -webkit-transition: background-color 250ms, color 250ms, padding 250ms; -moz-transition: background-color 250ms, color 250ms, padding 250ms; transition: background-color 250ms, color 250ms, padding 250ms; } .nav--main a:hover, .nav--main a:focus { background-color: #f8f9fa; color: #000; } .nav--main .is-on > a { background-color: #eaf3ff; color: #36c; /* border-left: 2px solid var( --color-primary ); */ -moz-border-radius: 2px; border-radius: 2px; font-weight: 600; cursor: default; } .nav__sub-items { margin-top: 1.2rem; margin-bottom: 1em; /* FIXME: replace with rem and mt */ } .nav__sub-items > .nav__sub-item { margin-left: 3.6rem; } .nav--main .nav__sub-items ul { margin: 0; } .nav--main .nav__sub-items a { /* stylelint-disable-line no-descending-specificity */ color: #54595d; border-left: 1px solid #eaecf0; -moz-border-radius: 0 2px 2px 0; border-radius: 0 2px 2px 0; padding-left: 1.6rem; font-size: 1.4rem; -webkit-transition: background-color 250ms, color 250ms; -moz-transition: background-color 250ms, color 250ms; transition: background-color 250ms, color 250ms; } .nav--main .nav__sub-item.is-on > a { background-color: #fff; color: #000; border-left-color: #000; font-weight: 600; } .nav--main .nav__sub-item .nav__sub-item a { padding-left: 3.6rem; } /* ::: Content ::: */ .page__parent-title { color: #72777d; margin-top: -2.8rem; } .page__title { margin-top: -0.8rem; } .page__parent-title + .page__title { margin-top: -0.4rem; } .page__tagline { margin-top: 1.2rem; font-size: 2rem; font-style: italic; font-weight: 100; } /* Remove, doesn't provide good styling .page__lead { font-size: 1.8rem; } */ .figures--full { background-color: #f8f9fa; } .figure__caption, .heading__description { color: #72777d; clear: both; display: block; font-size: 1.3rem; } .figure__caption { padding-top: 0.8rem; /* `padding-top` due to usage with floated images in figure above */ font-style: italic; } .figure__caption:empty { display: none; } .heading__description { float: right; margin-top: -1.9rem; } .heading__description + * { clear: both; } /* ... “Do” & “Don't” figures ... */ .figures-do-dont { margin-top: 1.6rem; } .figures-do-dont .figure { background-color: #eaecf0; -moz-border-radius-topleft: 2px; border-top-left-radius: 2px; -moz-border-radius-topright: 2px; border-top-right-radius: 2px; } .figures-do-dont .figure--dont { border-left: 1px solid #fff; } .figures-do-dont .figure__caption { background-color: #fff; display: block; border-top-width: 0.8rem; border-top-style: solid; padding-right: 0.8em; } .figure--do .figure__caption, .do { border-top-color: #00af89; } .figure--dont .figure__caption, .dont { border-top-color: #d33; } .do, .dont { font-style: normal; font-weight: 600; } .do:before, .dont:before { display: inline-block; margin-right: 0.4rem; padding-top: 0.4rem; font-size: 2.1rem; line-height: 1rem; vertical-align: top; } .do { color: #14866d; } .do:before { content: '✓'; } .dont { color: #d33; } .dont:before { content: '×'; } /* ... Color ... */ .color-palette { margin: 2.4rem 0 0; padding: 0; } .color-palette + .color-palette { margin-top: 0; } .color-palette + p { margin-top: 1.6rem; } .color { color: #000; list-style: none none; display: block; float: left; position: relative; width: 61.8%; height: 16rem; margin-bottom: 3.2rem; padding: 1.2rem; border: 1px solid #fff; -moz-border-radius: 2px; border-radius: 2px; font-size: 1.4rem; } .color--dark, .color__wcag-level span { color: #fff; } .color--dark .color__wcag-level span { color: #000; } .color-palette .color:first-child { margin-top: 0.4rem; } .color-palette--overview .color { width: 6.4rem; height: 6.2rem; margin-top: 0.8rem; margin-right: 1.2rem; margin-bottom: 2.4rem; -moz-border-radius: 3.2rem; border-radius: 3.2rem; cursor: default; } .color-palette--overview .color:first-child { margin-top: 0.8rem; } .color-palette--overview .color--emphasized { width: 7.2rem; height: 7rem; margin-top: 0; -moz-border-radius: 7.2rem; border-radius: 7.2rem; padding-top: 2rem; } .color-palette--base .color { margin-right: 1.35rem; } .color-section .color .color-code--hsb { -webkit-transition: opacity 250ms; -moz-transition: opacity 250ms; transition: opacity 250ms; } .color-section .color:hover .color-code--hsb { opacity: 1; } .color__name { display: block; position: absolute; bottom: 1.2rem; left: 1.2rem; font-size: 3.2rem; font-weight: 100; } .color-palette--overview .color__name { position: relative; bottom: auto; left: auto; padding-top: 1.2rem; font-size: 2.4rem; line-height: 1; } .color__type, .color-code.color-code--rgb, .color-palette--overview .color__name, .color-palette--overview .color-code { display: none; } .color-code { background-color: inherit; display: block; padding: 0; font-family: -apple-system, 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Lato', 'Helvetica', 'Arial', sans-serif; } .color-code--hsb { opacity: 0; } @supports ( --css: variables ) { .color-hint { white-space: nowrap; } .color-hint:before { content: ''; background-color: var( --color-hint ); display: inline-block; width: 1.2rem; height: 1.2rem; margin: 0 0.4rem 0.3rem 0.2rem; -moz-border-radius: 50%; border-radius: 50%; vertical-align: text-bottom; cursor: help; } .color-hint--base100:before { border: 1px solid #a2a9b1; } } /* ... Icon ... */ .icon { display: inline-block; width: 2rem; height: 2rem; margin: 0 0.2rem; vertical-align: text-bottom; } .icon--indicator { width: 1.2rem; height: 1.2rem; margin-bottom: 0.2rem; } .icon--intermediate { width: 1.6rem; height: 1.6rem; margin-bottom: 0.2rem; } /* ... Components ... */ /* .page--components h2 { border-bottom: 0; padding-bottom: 0; } */ .components__designing { position: relative; } .components__designing:after { content: ''; background: url( ../../img/components/legend_16-8.svg ) no-repeat; position: absolute; bottom: 0; right: 6.4rem; width: 13.2rem; height: 6.4rem; } +/* +.components__states, +.components__imagery +*/ /* Messages */ .page--components-messages .components__intro { max-width: 700px; margin-left: auto; margin-right: auto; } /* Override general img border radius for correct Message representation */ .page--components-messages img { -moz-border-radius: 0; border-radius: 0; } /* ... Resources ... */ .resources-table { display: table; width: 100%; margin-top: 2.4rem; border-collapse: collapse; } .resources-table__head, .resources-table__body { display: table-row; border-bottom: 1px solid #a2a9b1; } .resources-table__head { background-color: #eaecf0; } .resources-table__head h2 { margin-top: 0; border-bottom: 0; padding-bottom: 0; font-size: 2.1rem; font-weight: 400; } .resources-table__cell { display: table-cell; padding: 1.6rem 1.6rem 1.6rem 0; } .resources-table__head .resources-table__cell:first-child { padding-left: 1.6rem; } .lnk-resource { white-space: nowrap; } /* ::: Footer ::: */ .footer { color: #202122; padding: 2.4rem 0; font-size: 1.3rem; } .footer__list { padding: 0; } .footer__list:first-child { margin: 0; } .footer__list:after { content: ' '; display: block; clear: both; } .footer__list li { list-style: none none; display: block; padding: 0.8rem 0 0; } .footer__list li:first-child { padding-top: 0; } .footer__list + p { margin-top: 1.2rem; } .footer__list--connect a { font-weight: 600; } .lnk--wikimedia-project { display: inline-block; padding: 0.4rem 0; text-transform: uppercase; } /* ::: Page-specific Styles ::: */ /* ... Homepage ... */ .page--home .page__title { border: 0; padding: 0; } /* ... “Design principles – Accessibility” ... */ .page--design-principles-accessibility .nav--main .is-on > a { cursor: pointer; } .page--design-principles-accessibility h3 { padding-right: 15%; } /* ... “Typography” ... */ .page--visual-style-typography .figures-do-dont .figure__contents { padding: 4.2rem 3.6rem; } .figures-do-dont--contrast .figure--dont { color: #a2a9b1; } /* ... Typography Styles ... */ .typography-styles dt { display: inline-block; color: #72777d; min-width: 10rem; margin: 0 0 3.2rem 1.6rem; /* Need to rely on `margin-bottom` here for vertical alignment */ font-size: 1.3rem; font-weight: 600; vertical-align: top; } .typography-styles .typography-styles__blockquote { margin-bottom: 4.8rem; } .typography-styles .typography-styles__code { margin-bottom: 0; } .typography-styles dd { display: inline; } .typography-styles dd > * { display: inline-block; margin-top: 0; /* Remove `margin` from elements like paragraphs and list elements */ } .typography-styles .figure__caption { padding-top: 0; /* Remove `padding` from elements like figure caption */ } .typography-styles dd:after { content: '\A'; white-space: pre; } .typography-styles + hr { margin-top: 4rem; margin-bottom: 4rem; } /* ... “Icons” ... */ .page--visual-style-icons img { /* FIXME: generalize image styles */ background-color: #eaecf0; /* FIXME: var; */ padding: 2.4rem; } /* ::: Dynamic content ::: */ .fonts-loaded cite, .fonts-loaded .site__title, .fonts-loaded .color-code { font-family: -apple-system, 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Lato', 'Helvetica', 'Arial', sans-serif; } /* ::: Text Block-Level Elements ::: */ .fonts-loaded .page__title, .fonts-loaded blockquote, .fonts-loaded .typography-styles h1 { font-family: 'Charter', Georgia, serif; /* stylelint-disable-line font-family-name-quotes */ } /* ::: Media Queries ::: */ /* ... Smartphone only ... */ @media ( max-width: 767px ) { .nav--main { position: absolute; top: -3.2rem; left: -1.6rem; right: -1.6rem; padding-bottom: 1.6rem; -moz-box-shadow: 0 2px 2px 0 rgba( 0, 0, 0, 0.25 ); box-shadow: 0 2px 2px 0 rgba( 0, 0, 0, 0.25 ); /* FIXME: Update wmui-base */ z-index: 1; -webkit-transform: translateY( -200% ); -moz-transform: translateY( -200% ); -ms-transform: translateY( -200% ); transform: translateY( -200% ); -webkit-transition: left 250ms, right 250ms, -webkit-transform 250ms; transition: left 250ms, right 250ms, -webkit-transform 250ms; -moz-transition: left 250ms, right 250ms, transform 250ms, -moz-transform 250ms; transition: left 250ms, right 250ms, transform 250ms; transition: left 250ms, right 250ms, transform 250ms, -webkit-transform 250ms, -moz-transform 250ms; } .trigger--nav-main:checked + .nav--main { -webkit-transform: translateY( 0 ); -moz-transform: translateY( 0 ); -ms-transform: translateY( 0 ); transform: translateY( 0 ); } .page__title { margin-top: -0.4rem; font-size: 2.8rem; } .typography-styles dt { display: block; margin-left: 0; } /* ... Components ... */ .page--components .components__states { margin-left: 0; } /* ... Resources ... */ .resources-table, .resources-table__head, .resources-table__body, .resources-table__cell { display: block; } .resources-table__head { margin-left: -1.6rem; margin-right: -1.6rem; } .resources-table__head .resources-table__cell:empty { display: none; } .resources-table__body { padding-left: 0; } .resources-table__cell { padding-top: 0.8rem; padding-bottom: 0.8rem; } } /* ... Smartphone portrait ... */ @media ( min-width: 240px ) { .content-box, .site__title a, .nav--main a { -webkit-transition-property: background-color, padding; -moz-transition-property: background-color, padding; transition-property: background-color, padding; -webkit-transition-duration: 250ms; -moz-transition-duration: 250ms; transition-duration: 250ms; } .site__title { margin-left: 4.2rem; } .site__title a { padding-left: 0; } .lnk--contribute span { display: none; } .nav--main a { padding-left: 1.6rem; padding-right: 1.6rem; } .col--start, .col--end { width: 100%; } .figure--full, .resources-table__head { margin-left: -1.6rem; margin-right: -1.6rem; } .figure--full .figure__caption { margin-left: 1.6rem; margin-right: 1.6rem; } .figure--this-is-for-everyone img, .figure--trustworthy-yet-joyful img { width: 100%; max-width: 568px; margin-left: auto; margin-right: auto; } .figure--illustrations-header img { width: 100%; } .figure--illustrations-header + .figure--illustrations-header, .figure--illustrations-header + .figure--illustrations-header img { margin-top: 0; } .color { width: 61.8%; } .color-palette--base .color:nth-child( 3n+4 ) { clear: both; } .color-palette--base .color { margin-right: 1.6rem; } .color-palette--overview.color-palette--base .color--emphasized { margin-right: 1.1rem; margin-left: -0.2rem; } .page--components figure { margin-left: 4.2rem; } } /* ... Smartphone+ portrait ... */ @media ( min-width: 414px ) { .content-box { padding-left: 3.2rem; padding-right: 3.2rem; } .nav--main { left: -3.2rem; right: -3.2rem; } .nav--main a { padding-left: 3.2rem; padding-right: 3.2rem; } .figure--full, .resources-table__head { margin-left: -3.2rem; margin-right: -3.2rem; } .figure--full .figure__caption { margin-left: 3.2rem; margin-right: 3.2rem; } .resources-table__head .resources-table__cell:first-child { padding-left: 3.2rem; padding-right: 3.2rem; } .footer__list li { display: list-item; float: left; padding: 0 0.8rem 0 0; } .footer__list li:after { content: '\2022'; /* bullet dot: '•' */ color: #72777d; padding: 0 0 0 0.8rem; font-weight: 100; } .footer__list li:last-child:after { content: ''; padding: 0; } .color { width: 16rem; margin-right: 2.4rem; } } /* ... Smartphone landscape ... */ @media ( min-width: 568px ) { .lnk--contribute { display: block; position: absolute; bottom: 1.5rem; /* Not on 8px base due to `line-height` setting */ right: 3.2rem; text-align: right; } .lnk--contribute span { display: inline; opacity: 0; -webkit-transition: opacity 250ms; -moz-transition: opacity 250ms; transition: opacity 250ms; } .figures-do-dont .figure { max-width: 61.8%; } .figure--this-is-for-everyone img, .figure--trustworthy-yet-joyful img { max-width: none; } .figure--illustrations-header { float: left; width: 44.4%; } .figure--illustrations-header + .figure--illustrations-header { width: 55.55%; margin-top: 0.8rem; } .figure--illustrations-header + .figure--illustrations-header img { margin-top: 1.6rem; } } /* ... Tablet ... */ @media ( min-width: 768px ) { img { -moz-border-radius: 2px; border-radius: 2px; } .content-box { width: 100%; max-width: 960px; } .btn--nav-main { display: none; } .site__title { float: left; margin-left: 0; } .site__title a, .nav--main a { padding-left: 1.6rem; padding-right: 1.6rem; } .lnk--contribute span { display: inline; opacity: 1; } .col--start { width: 20.8rem; z-index: 1; -webkit-transition: width 250ms; -moz-transition: width 250ms; transition: width 250ms; } .col--end { margin-left: -20.8rem; padding-left: 24rem; /* = 22.4 + (2 * 1.6 padding) */ } .nav--main { left: auto; right: auto; } .figure--full, .figure--full .figure__caption { margin-left: 0; margin-right: 0; } .figures-do-dont .figure { float: left; width: 50%; } .color-palette--base .color:nth-child( 3n+4 ) { clear: unset; } /* ... “Illustrations” ... */ .illustrations-case-study img { float: left; width: 33.33%; } .page--components figure { margin-left: 6.4rem; } } /* ... Tablet+ / Netbook ... */ @media ( min-width: 992px ) { .content-box { width: 100%; max-width: 1140px; } .site__title a, .nav--main a { padding-left: 3.2rem; padding-right: 3.2rem; } .col--start { width: 24rem; } .col--end { margin-left: -24rem; padding-left: 27.2rem; /* = 24 + (2 * 1.6 padding) */ } .color-palette--overview:first-child { margin-top: 2.4rem; } .color { margin-right: 2.4rem; } .color-palette--base .color { margin-right: 1.35rem; } .color-palette--overview.color-palette--base .color--emphasized { margin-right: 1.35rem; margin-left: 0; } .color-palette--overview.color-palette--red:before, .color-palette--overview.color-palette--red:after, .color-palette--overview.color-palette--green:before, .color-palette--overview.color-palette--green:after { content: ''; display: none; } .color-palette--overview.color-palette--red:after, .color-palette--overview.color-palette--green:after, .color-section .color:nth-child( 3n+4 ) { clear: both; } /* ... Resources ... */ .resources-table__body .resources-table__cell { -webkit-transition: background-color 250ms; -moz-transition: background-color 250ms; transition: background-color 250ms; } .resources-table__body:hover .resources-table__cell { background-color: #f8f9fa; } .resources-table__head .resources-table__cell:first-child, .resources-table__body .resources-table__cell:first-child { padding-left: 1.6rem; } } @media ( min-width: 1200px ) { .content-box { width: 1140px; } .col--start { width: 25.6rem; } .col--end { margin-left: -25.6rem; padding-left: 28.8rem; /* = 25.6 + (2 * 1.6 padding) */ } } diff --git a/css/build/wmui-style-guide.min.css b/css/build/wmui-style-guide.min.css index d1e6583..ba0f938 100644 --- a/css/build/wmui-style-guide.min.css +++ b/css/build/wmui-style-guide.min.css @@ -1,2 +1,2 @@ -/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:rgba(0,0,0,0);-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;-moz-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{-moz-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{-moz-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}[hidden],template{display:none}@font-face{font-family:Charter;src:url(../../fonts/Charter_regular.woff2) format("woff2"),url(../../fonts/Charter_regular.woff) format("woff");font-style:normal;font-weight:400;text-rendering:optimizeLegibility}@font-face{font-family:Charter;src:url(../../fonts/Charter_bold.woff2) format("woff2"),url(../../fonts/Charter_bold.woff) format("woff");font-style:normal;font-weight:700;text-rendering:optimizeLegibility}*{-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:62.5%}body{background-color:#eaecf0;color:#202122;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Lato,Helvetica,Arial,sans-serif;font-size:1.6rem;line-height:1.6}h1,h2,h3,h4,h5,h6{color:#000;margin:3.2rem 0 0;line-height:1.25;-webkit-transition:font-size .25s,font-weight .25s;-moz-transition:font-size .25s,font-weight .25s;transition:font-size .25s,font-weight .25s}h2,h3,h4,h5{font-weight:600}.page__title,h1{font-family:Georgia,serif;font-size:3.2rem;font-weight:400}h2{border-bottom:3px solid #eaecf0;padding-bottom:2px;font-size:2.4rem}h2+h3{margin-top:1.6rem}h3{font-size:2rem}h4{font-size:1.8rem}h5,h6{font-size:1.6rem}h6{font-weight:400}blockquote{margin:1.6rem 0 0;border-left:4px solid #eaecf0;padding:.8rem 3.2rem;font-family:Georgia,serif;font-size:2rem;font-style:italic}blockquote cite{display:block;margin-top:.8rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Lato,Helvetica,Arial,sans-serif;font-size:1.4rem;font-style:normal}blockquote cite:before{content:"— "}.mw-code,code,pre{font-family:Menlo,Consolas,Liberation Mono,Courier New,monospace}hr{background:#eaecf0;display:block;height:.8rem;border:0;margin:8rem 0}p{margin:3.2rem 0 0}h1+p,h2+p,h3+p,h4+p,h5+p,h6+p,p+p,p:first-child,ul+p{margin:.8rem 0 0}blockquote+p{margin-top:1.6rem}.mw-code,pre{background-color:#f8f9fa;color:#000;border:1px solid #a2a9b1;padding:1.2rem 2rem;font-size:1.4rem;white-space:pre-wrap}ol,ul{margin:.8rem 0;padding:0 0 0 1.8rem}.content li{margin-top:.4rem}.content li:first-child{margin-top:0}figure{margin:.8rem 0 0}img{display:block;max-width:100%;margin:1.6rem 0 0}.page--components figure{margin-left:6.4rem;padding-top:.8rem}.page--components figure img{margin-top:.8rem}a{color:#36c;text-decoration:none}a:hover{text-decoration:underline}a:active{color:#2a4b8d}b,strong{font-weight:600}code{background-color:#f8f9fa;display:inline-block;padding:.2rem .4rem;font-size:1.4rem}small{font-size:1.3rem}sub,sup{font-size:1.1rem}.is-aural{display:block;position:absolute;clip:rect(1px,1px,1px,1px);width:1px;height:1px;margin:-1px;border:0;padding:0;overflow:hidden}.is-aural.is-focusable:active,.is-aural.is-focusable:focus{position:static;clip:auto;width:auto;height:auto;margin:0;text-decoration:underline;overflow:visible}.clearfix:after,.clearfix:before,.color-palette:after,.color-palette:before,.content-box:after,.content-box:before,.content__illustration-style .figure--full:after,.content__illustration-style .figure--full:before,.figures-do-dont:after,.figures-do-dont:before,.page:after,.page:before{content:" ";display:table}.clearfix:after,.color-palette:after,.content-box:after,.content__illustration-style .figure--full:after,.figures-do-dont:after,.page:after{clear:both}:focus{outline-color:#36c}.is-complementary,.is-subtle{color:#72777d}.is-complementary{font-size:1.4rem}::-webkit-input-placeholder{color:#72777d;opacity:1}:-moz-placeholder,::-moz-placeholder{color:#72777d;opacity:1}:-ms-input-placeholder{color:#72777d;opacity:1}::-ms-input-placeholder{color:#72777d;opacity:1}.is-placeholder,::placeholder{color:#72777d;opacity:1}.content-box{position:relative;margin-right:auto;margin-left:auto;padding-left:1.6rem;padding-right:1.6rem}.header{position:fixed;top:0;left:0;right:0;min-height:6.4rem;line-height:6.4rem}.site__title{color:#202122;margin-top:0;height:6.4rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Lato,Helvetica,Arial,sans-serif;font-size:1.6rem;font-weight:400;letter-spacing:.5px}.site__title a{color:inherit;display:inline-block;padding:1.2rem 3.2rem 0;-webkit-transition:color .25s;-moz-transition:color .25s;transition:color .25s}.site__title a:hover{color:#000;text-decoration:none}.site__org{display:block}.site__project{font-weight:600}.btn--nav-main{position:absolute;top:1.2rem;width:4.2rem;height:4.2rem;cursor:pointer}.btn--nav-main i{display:block;height:4.2rem;-webkit-transition:color .25s,box-shadow .25s;-moz-transition:color .25s,box-shadow .25s,-moz-box-shadow .25s;transition:color .25s,box-shadow .25s;transition:color .25s,box-shadow .25s,-moz-box-shadow .25s}.btn--nav-main i:after,.btn--nav-main i:before{content:"";background-color:#54595d;width:2rem;height:2px;position:absolute;top:.4rem;left:0}.btn--nav-main i:after{top:1.1rem;-moz-box-shadow:0 .7rem 0 #54595d;box-shadow:0 .7rem 0 #54595d}.btn--nav-main i:hover:after,.btn--nav-main i:hover:before{background-color:#000}.btn--nav-main i:hover:after{-moz-box-shadow:0 .7rem 0 #000;box-shadow:0 .7rem 0 #000}.btn--nav-main span{display:block;position:absolute;clip:rect(1px,1px,1px,1px);width:1px;height:1px;margin:-1px;overflow:hidden}.lnk--contribute{font-size:1.4rem;line-height:1.4rem}.page{background-color:#fff;position:relative;margin-top:6.4rem;padding:6.4rem 0;-moz-box-shadow:0 1px 4px 0 rgba(0,0,0,.25);box-shadow:0 1px 4px 0 rgba(0,0,0,.25);overflow-y:hidden}.col,.content{float:left}.col{position:relative;min-height:1px}.col--end,.col--start{padding:0}.nav--main{background-color:#fff}.nav--main li:not(.is-on) ul,.trigger--nav-main{display:none}.nav--main ol,.nav--main ul{padding:0}.nav--main ol:first-child{margin:0}.nav--main li{padding:0;list-style:none none}.nav--main>ol>li{margin-bottom:.4rem}.nav--main a{color:#202122;display:block;padding:.8rem 1.2rem;font-size:1.6rem;text-decoration:none;-webkit-transition:background-color .25s,color .25s,padding .25s;-moz-transition:background-color .25s,color .25s,padding .25s;transition:background-color .25s,color .25s,padding .25s}.nav--main a:focus,.nav--main a:hover{background-color:#f8f9fa;color:#000}.nav--main .is-on>a{background-color:#eaf3ff;color:#36c;-moz-border-radius:2px;border-radius:2px;font-weight:600;cursor:default}.nav__sub-items{margin-top:1.2rem;margin-bottom:1em}.nav__sub-items>.nav__sub-item{margin-left:3.6rem}.nav--main .nav__sub-items ul{margin:0}.nav--main .nav__sub-items a{color:#54595d;border-left:1px solid #eaecf0;-moz-border-radius:0 2px 2px 0;border-radius:0 2px 2px 0;padding-left:1.6rem;font-size:1.4rem;-webkit-transition:background-color .25s,color .25s;-moz-transition:background-color .25s,color .25s;transition:background-color .25s,color .25s}.nav--main .nav__sub-item.is-on>a{background-color:#fff;color:#000;border-left-color:#000;font-weight:600}.nav--main .nav__sub-item .nav__sub-item a{padding-left:3.6rem}.page__parent-title{color:#72777d;margin-top:-2.8rem}.page__title{margin-top:-.8rem}.page__parent-title+.page__title{margin-top:-.4rem}.page__tagline{margin-top:1.2rem;font-size:2rem;font-style:italic;font-weight:100}.figures--full{background-color:#f8f9fa}.figure__caption,.heading__description{color:#72777d;clear:both;display:block;font-size:1.3rem}.figure__caption{padding-top:.8rem;font-style:italic}.figure__caption:empty{display:none}.heading__description{float:right;margin-top:-1.9rem}.heading__description+*{clear:both}.figures-do-dont{margin-top:1.6rem}.figures-do-dont .figure{background-color:#eaecf0;-moz-border-radius-topleft:2px;border-top-left-radius:2px;-moz-border-radius-topright:2px;border-top-right-radius:2px}.figures-do-dont .figure--dont{border-left:1px solid #fff}.figures-do-dont .figure__caption{background-color:#fff;display:block;border-top-width:.8rem;border-top-style:solid;padding-right:.8em}.do,.figure--do .figure__caption{border-top-color:#00af89}.dont,.figure--dont .figure__caption{border-top-color:#d33}.do,.dont{font-style:normal;font-weight:600}.do:before,.dont:before{display:inline-block;margin-right:.4rem;padding-top:.4rem;font-size:2.1rem;line-height:1rem;vertical-align:top}.do{color:#14866d}.do:before{content:"✓"}.dont{color:#d33}.dont:before{content:"×"}.color-palette{margin:2.4rem 0 0;padding:0}.color-palette+.color-palette{margin-top:0}.color-palette+p{margin-top:1.6rem}.color{color:#000;list-style:none none;display:block;float:left;position:relative;width:61.8%;height:16rem;margin-bottom:3.2rem;padding:1.2rem;border:1px solid #fff;-moz-border-radius:2px;border-radius:2px;font-size:1.4rem}.color--dark,.color__wcag-level span{color:#fff}.color--dark .color__wcag-level span{color:#000}.color-palette .color:first-child{margin-top:.4rem}.color-palette--overview .color{width:6.4rem;height:6.2rem;margin-top:.8rem;margin-right:1.2rem;margin-bottom:2.4rem;-moz-border-radius:3.2rem;border-radius:3.2rem;cursor:default}.color-palette--overview .color:first-child{margin-top:.8rem}.color-palette--overview .color--emphasized{width:7.2rem;height:7rem;margin-top:0;-moz-border-radius:7.2rem;border-radius:7.2rem;padding-top:2rem}.color-palette--base .color{margin-right:1.35rem}.color-section .color .color-code--hsb{-webkit-transition:opacity .25s;-moz-transition:opacity .25s;transition:opacity .25s}.color-section .color:hover .color-code--hsb{opacity:1}.color__name{display:block;position:absolute;bottom:1.2rem;left:1.2rem;font-size:3.2rem;font-weight:100}.color-palette--overview .color__name{position:relative;bottom:auto;left:auto;padding-top:1.2rem;font-size:2.4rem;line-height:1}.color-code.color-code--rgb,.color-palette--overview .color-code,.color-palette--overview .color__name,.color__type{display:none}.color-code{background-color:inherit;display:block;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Lato,Helvetica,Arial,sans-serif}.color-code--hsb{opacity:0}@supports (--css:variables){.color-hint{white-space:nowrap}.color-hint:before{content:"";background-color:var(--color-hint);display:inline-block;width:1.2rem;height:1.2rem;margin:0 .4rem .3rem .2rem;-moz-border-radius:50%;border-radius:50%;vertical-align:text-bottom;cursor:help}.color-hint--base100:before{border:1px solid #a2a9b1}}.icon{display:inline-block;width:2rem;height:2rem;margin:0 .2rem;vertical-align:text-bottom}.icon--indicator{width:1.2rem;height:1.2rem;margin-bottom:.2rem}.icon--intermediate{width:1.6rem;height:1.6rem;margin-bottom:.2rem}.components__designing{position:relative}.components__designing:after{content:"";background:url(../../img/components/legend_16-8.svg) no-repeat;position:absolute;bottom:0;right:6.4rem;width:13.2rem;height:6.4rem}.page--components-messages .components__intro{max-width:700px;margin-left:auto;margin-right:auto}.page--components-messages img{-moz-border-radius:0;border-radius:0}.resources-table{display:table;width:100%;margin-top:2.4rem;border-collapse:collapse}.resources-table__body,.resources-table__head{display:table-row;border-bottom:1px solid #a2a9b1}.resources-table__head{background-color:#eaecf0}.resources-table__head h2{margin-top:0;border-bottom:0;padding-bottom:0;font-size:2.1rem;font-weight:400}.resources-table__cell{display:table-cell;padding:1.6rem 1.6rem 1.6rem 0}.resources-table__head .resources-table__cell:first-child{padding-left:1.6rem}.lnk-resource{white-space:nowrap}.footer{color:#202122;padding:2.4rem 0;font-size:1.3rem}.footer__list{padding:0}.footer__list:first-child{margin:0}.footer__list:after{content:" ";display:block;clear:both}.footer__list li{list-style:none none;display:block;padding:.8rem 0 0}.footer__list li:first-child{padding-top:0}.footer__list+p{margin-top:1.2rem}.footer__list--connect a{font-weight:600}.lnk--wikimedia-project{display:inline-block;padding:.4rem 0;text-transform:uppercase}.page--home .page__title{border:0;padding:0}.page--design-principles-accessibility .nav--main .is-on>a{cursor:pointer}.page--design-principles-accessibility h3{padding-right:15%}.page--visual-style-typography .figures-do-dont .figure__contents{padding:4.2rem 3.6rem}.figures-do-dont--contrast .figure--dont{color:#a2a9b1}.typography-styles dt{display:inline-block;color:#72777d;min-width:10rem;margin:0 0 3.2rem 1.6rem;font-size:1.3rem;font-weight:600;vertical-align:top}.typography-styles .typography-styles__blockquote{margin-bottom:4.8rem}.typography-styles .typography-styles__code{margin-bottom:0}.typography-styles dd{display:inline}.typography-styles dd>*{display:inline-block;margin-top:0}.typography-styles .figure__caption{padding-top:0}.typography-styles dd:after{content:"\A";white-space:pre}.typography-styles+hr{margin-top:4rem;margin-bottom:4rem}.page--visual-style-icons img{background-color:#eaecf0;padding:2.4rem}.fonts-loaded .color-code,.fonts-loaded .site__title,.fonts-loaded cite{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Lato,Helvetica,Arial,sans-serif}.fonts-loaded .page__title,.fonts-loaded .typography-styles h1,.fonts-loaded blockquote{font-family:Charter,Georgia,serif}@media (max-width:767px){.nav--main{position:absolute;top:-3.2rem;left:-1.6rem;right:-1.6rem;padding-bottom:1.6rem;-moz-box-shadow:0 2px 2px 0 rgba(0,0,0,.25);box-shadow:0 2px 2px 0 rgba(0,0,0,.25);z-index:1;-webkit-transform:translateY(-200%);-moz-transform:translateY(-200%);-ms-transform:translateY(-200%);transform:translateY(-200%);-webkit-transition:left .25s,right .25s,-webkit-transform .25s;transition:left .25s,right .25s,-webkit-transform .25s;-moz-transition:left .25s,right .25s,transform .25s,-moz-transform .25s;transition:left .25s,right .25s,transform .25s;transition:left .25s,right .25s,transform .25s,-webkit-transform .25s,-moz-transform .25s}.trigger--nav-main:checked+.nav--main{-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}.page__title{margin-top:-.4rem;font-size:2.8rem}.typography-styles dt{display:block;margin-left:0}.page--components .components__states{margin-left:0}.resources-table,.resources-table__body,.resources-table__cell,.resources-table__head{display:block}.resources-table__head{margin-left:-1.6rem;margin-right:-1.6rem}.resources-table__head .resources-table__cell:empty{display:none}.resources-table__body{padding-left:0}.resources-table__cell{padding-top:.8rem;padding-bottom:.8rem}}@media (min-width:240px){.content-box,.nav--main a,.site__title a{-webkit-transition-property:background-color,padding;-moz-transition-property:background-color,padding;transition-property:background-color,padding;-webkit-transition-duration:.25s;-moz-transition-duration:.25s;transition-duration:.25s}.site__title{margin-left:4.2rem}.site__title a{padding-left:0}.lnk--contribute span{display:none}.nav--main a{padding-left:1.6rem;padding-right:1.6rem}.col--end,.col--start{width:100%}.figure--full,.resources-table__head{margin-left:-1.6rem;margin-right:-1.6rem}.figure--full .figure__caption{margin-left:1.6rem;margin-right:1.6rem}.figure--this-is-for-everyone img,.figure--trustworthy-yet-joyful img{width:100%;max-width:568px;margin-left:auto;margin-right:auto}.figure--illustrations-header img{width:100%}.figure--illustrations-header+.figure--illustrations-header,.figure--illustrations-header+.figure--illustrations-header img{margin-top:0}.color{width:61.8%}.color-palette--base .color:nth-child(3n+4){clear:both}.color-palette--base .color{margin-right:1.6rem}.color-palette--overview.color-palette--base .color--emphasized{margin-right:1.1rem;margin-left:-.2rem}.page--components figure{margin-left:4.2rem}}@media (min-width:414px){.content-box{padding-left:3.2rem;padding-right:3.2rem}.nav--main{left:-3.2rem;right:-3.2rem}.nav--main a{padding-left:3.2rem;padding-right:3.2rem}.figure--full,.resources-table__head{margin-left:-3.2rem;margin-right:-3.2rem}.figure--full .figure__caption{margin-left:3.2rem;margin-right:3.2rem}.resources-table__head .resources-table__cell:first-child{padding-left:3.2rem;padding-right:3.2rem}.footer__list li{display:list-item;float:left;padding:0 .8rem 0 0}.footer__list li:after{content:"\2022";color:#72777d;padding:0 0 0 .8rem;font-weight:100}.footer__list li:last-child:after{content:"";padding:0}.color{width:16rem;margin-right:2.4rem}}@media (min-width:568px){.lnk--contribute{display:block;position:absolute;bottom:1.5rem;right:3.2rem;text-align:right}.lnk--contribute span{display:inline;opacity:0;-webkit-transition:opacity .25s;-moz-transition:opacity .25s;transition:opacity .25s}.figures-do-dont .figure{max-width:61.8%}.figure--this-is-for-everyone img,.figure--trustworthy-yet-joyful img{max-width:none}.figure--illustrations-header{float:left;width:44.4%}.figure--illustrations-header+.figure--illustrations-header{width:55.55%;margin-top:.8rem}.figure--illustrations-header+.figure--illustrations-header img{margin-top:1.6rem}}@media (min-width:768px){img{-moz-border-radius:2px;border-radius:2px}.content-box{width:100%;max-width:960px}.btn--nav-main{display:none}.site__title{float:left;margin-left:0}.nav--main a,.site__title a{padding-left:1.6rem;padding-right:1.6rem}.lnk--contribute span{display:inline;opacity:1}.col--start{width:20.8rem;z-index:1;-webkit-transition:width .25s;-moz-transition:width .25s;transition:width .25s}.col--end{margin-left:-20.8rem;padding-left:24rem}.nav--main{left:auto;right:auto}.figure--full,.figure--full .figure__caption{margin-left:0;margin-right:0}.figures-do-dont .figure{float:left;width:50%}.color-palette--base .color:nth-child(3n+4){clear:unset}.illustrations-case-study img{float:left;width:33.33%}.page--components figure{margin-left:6.4rem}}@media (min-width:992px){.content-box{width:100%;max-width:1140px}.nav--main a,.site__title a{padding-left:3.2rem;padding-right:3.2rem}.col--start{width:24rem}.col--end{margin-left:-24rem;padding-left:27.2rem}.color-palette--overview:first-child{margin-top:2.4rem}.color{margin-right:2.4rem}.color-palette--base .color{margin-right:1.35rem}.color-palette--overview.color-palette--base .color--emphasized{margin-right:1.35rem;margin-left:0}.color-palette--overview.color-palette--green:after,.color-palette--overview.color-palette--green:before,.color-palette--overview.color-palette--red:after,.color-palette--overview.color-palette--red:before{content:"";display:none}.color-palette--overview.color-palette--green:after,.color-palette--overview.color-palette--red:after,.color-section .color:nth-child(3n+4){clear:both}.resources-table__body .resources-table__cell{-webkit-transition:background-color .25s;-moz-transition:background-color .25s;transition:background-color .25s}.resources-table__body:hover .resources-table__cell{background-color:#f8f9fa}.resources-table__body .resources-table__cell:first-child,.resources-table__head .resources-table__cell:first-child{padding-left:1.6rem}}@media (min-width:1200px){.content-box{width:1140px}.col--start{width:25.6rem}.col--end{margin-left:-25.6rem;padding-left:28.8rem}} +/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:rgba(0,0,0,0);-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;-moz-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{-moz-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{-moz-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}[hidden],template{display:none}@font-face{font-family:Charter;src:url(../../fonts/Charter_regular.woff2) format("woff2"),url(../../fonts/Charter_regular.woff) format("woff");font-style:normal;font-weight:400;text-rendering:optimizeLegibility}@font-face{font-family:Charter;src:url(../../fonts/Charter_bold.woff2) format("woff2"),url(../../fonts/Charter_bold.woff) format("woff");font-style:normal;font-weight:700;text-rendering:optimizeLegibility}*{-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:62.5%}body{background-color:#eaecf0;color:#202122;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Lato,Helvetica,Arial,sans-serif;font-size:1.6rem;line-height:1.6}h1,h2,h3,h4,h5,h6{color:#000;margin:3.2rem 0 0;line-height:1.25;-webkit-transition:font-size .25s,font-weight .25s;-moz-transition:font-size .25s,font-weight .25s;transition:font-size .25s,font-weight .25s}h2,h3,h4,h5{font-weight:600}.page__title,h1{font-family:Georgia,serif;font-size:3.2rem;font-weight:400}h2{border-bottom:3px solid #eaecf0;padding-bottom:2px;font-size:2.4rem}h2+h3{margin-top:1.6rem}h3{font-size:2rem}h4{font-size:1.8rem}h5,h6{font-size:1.6rem}h6{font-weight:400}blockquote{margin:1.6rem 0 0;border-left:4px solid #eaecf0;padding:.8rem 3.2rem;font-family:Georgia,serif;font-size:2rem;font-style:italic}blockquote cite{display:block;margin-top:.8rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Lato,Helvetica,Arial,sans-serif;font-size:1.4rem;font-style:normal}blockquote cite:before{content:"— "}.mw-code,code,pre{font-family:Menlo,Consolas,Liberation Mono,Courier New,monospace}hr{background:#eaecf0;display:block;height:.8rem;border:0;margin:8rem 0}p{margin:3.2rem 0 0}h1+p,h2+p,h3+p,h4+p,h5+p,h6+p,p+p,p:first-child,ul+p{margin:.8rem 0 0}blockquote+p{margin-top:1.6rem}.mw-code,pre{background-color:#f8f9fa;color:#000;border:1px solid #a2a9b1;padding:1.2rem 2rem;font-size:1.4rem;white-space:pre-wrap}ol,ul{margin:.8rem 0;padding:0 0 0 1.8rem}.content li{margin-top:.4rem}.content li:first-child{margin-top:0}figure{margin:.8rem 0 0}img{display:block;max-width:100%;margin:1.6rem 0 0}.page--components figure{margin-left:6.4rem;padding-top:.8rem}.page--components figure img{margin-top:.8rem}.is-comparison img{float:left;margin-left:1.2rem}.is-comparison img:first-child{margin-left:0}a{color:#36c;text-decoration:none}a:hover{text-decoration:underline}a:active{color:#2a4b8d}b,strong{font-weight:600}code{background-color:#f8f9fa;display:inline-block;padding:.2rem .4rem;font-size:1.4rem}small{font-size:1.3rem}sub,sup{font-size:1.1rem}.is-aural{display:block;position:absolute;clip:rect(1px,1px,1px,1px);width:1px;height:1px;margin:-1px;border:0;padding:0;overflow:hidden}.is-aural.is-focusable:active,.is-aural.is-focusable:focus{position:static;clip:auto;width:auto;height:auto;margin:0;text-decoration:underline;overflow:visible}.clearfix:after,.clearfix:before,.color-palette:after,.color-palette:before,.content-box:after,.content-box:before,.content__illustration-style .figure--full:after,.content__illustration-style .figure--full:before,.figures-do-dont:after,.figures-do-dont:before,.is-comparison:after,.is-comparison:before,.page:after,.page:before{content:" ";display:table}.clearfix:after,.color-palette:after,.content-box:after,.content__illustration-style .figure--full:after,.figures-do-dont:after,.is-comparison:after,.page:after{clear:both}:focus{outline-color:#36c}.is-complementary,.is-subtle{color:#72777d}.is-complementary{font-size:1.4rem}::-webkit-input-placeholder{color:#72777d;opacity:1}:-moz-placeholder,::-moz-placeholder{color:#72777d;opacity:1}:-ms-input-placeholder{color:#72777d;opacity:1}::-ms-input-placeholder{color:#72777d;opacity:1}.is-placeholder,::placeholder{color:#72777d;opacity:1}.content-box{position:relative;margin-right:auto;margin-left:auto;padding-left:1.6rem;padding-right:1.6rem}.header{position:fixed;top:0;left:0;right:0;min-height:6.4rem;line-height:6.4rem}.site__title{color:#202122;margin-top:0;height:6.4rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Lato,Helvetica,Arial,sans-serif;font-size:1.6rem;font-weight:400;letter-spacing:.5px}.site__title a{color:inherit;display:inline-block;padding:1.2rem 3.2rem 0;-webkit-transition:color .25s;-moz-transition:color .25s;transition:color .25s}.site__title a:hover{color:#000;text-decoration:none}.site__org{display:block}.site__project{font-weight:600}.btn--nav-main{position:absolute;top:1.2rem;width:4.2rem;height:4.2rem;cursor:pointer}.btn--nav-main i{display:block;height:4.2rem;-webkit-transition:color .25s,box-shadow .25s;-moz-transition:color .25s,box-shadow .25s,-moz-box-shadow .25s;transition:color .25s,box-shadow .25s;transition:color .25s,box-shadow .25s,-moz-box-shadow .25s}.btn--nav-main i:after,.btn--nav-main i:before{content:"";background-color:#54595d;width:2rem;height:2px;position:absolute;top:.4rem;left:0}.btn--nav-main i:after{top:1.1rem;-moz-box-shadow:0 .7rem 0 #54595d;box-shadow:0 .7rem 0 #54595d}.btn--nav-main i:hover:after,.btn--nav-main i:hover:before{background-color:#000}.btn--nav-main i:hover:after{-moz-box-shadow:0 .7rem 0 #000;box-shadow:0 .7rem 0 #000}.btn--nav-main span{display:block;position:absolute;clip:rect(1px,1px,1px,1px);width:1px;height:1px;margin:-1px;overflow:hidden}.lnk--contribute{font-size:1.4rem;line-height:1.4rem}.page{background-color:#fff;position:relative;margin-top:6.4rem;padding:6.4rem 0;-moz-box-shadow:0 1px 4px 0 rgba(0,0,0,.25);box-shadow:0 1px 4px 0 rgba(0,0,0,.25);overflow-y:hidden}.col,.content{float:left}.col{position:relative;min-height:1px}.col--end,.col--start{padding:0}.nav--main{background-color:#fff}.nav--main li:not(.is-on) ul,.trigger--nav-main{display:none}.nav--main ol,.nav--main ul{padding:0}.nav--main ol:first-child{margin:0}.nav--main li{padding:0;list-style:none none}.nav--main>ol>li{margin-bottom:.4rem}.nav--main a{color:#202122;display:block;padding:.8rem 1.2rem;font-size:1.6rem;text-decoration:none;-webkit-transition:background-color .25s,color .25s,padding .25s;-moz-transition:background-color .25s,color .25s,padding .25s;transition:background-color .25s,color .25s,padding .25s}.nav--main a:focus,.nav--main a:hover{background-color:#f8f9fa;color:#000}.nav--main .is-on>a{background-color:#eaf3ff;color:#36c;-moz-border-radius:2px;border-radius:2px;font-weight:600;cursor:default}.nav__sub-items{margin-top:1.2rem;margin-bottom:1em}.nav__sub-items>.nav__sub-item{margin-left:3.6rem}.nav--main .nav__sub-items ul{margin:0}.nav--main .nav__sub-items a{color:#54595d;border-left:1px solid #eaecf0;-moz-border-radius:0 2px 2px 0;border-radius:0 2px 2px 0;padding-left:1.6rem;font-size:1.4rem;-webkit-transition:background-color .25s,color .25s;-moz-transition:background-color .25s,color .25s;transition:background-color .25s,color .25s}.nav--main .nav__sub-item.is-on>a{background-color:#fff;color:#000;border-left-color:#000;font-weight:600}.nav--main .nav__sub-item .nav__sub-item a{padding-left:3.6rem}.page__parent-title{color:#72777d;margin-top:-2.8rem}.page__title{margin-top:-.8rem}.page__parent-title+.page__title{margin-top:-.4rem}.page__tagline{margin-top:1.2rem;font-size:2rem;font-style:italic;font-weight:100}.figures--full{background-color:#f8f9fa}.figure__caption,.heading__description{color:#72777d;clear:both;display:block;font-size:1.3rem}.figure__caption{padding-top:.8rem;font-style:italic}.figure__caption:empty{display:none}.heading__description{float:right;margin-top:-1.9rem}.heading__description+*{clear:both}.figures-do-dont{margin-top:1.6rem}.figures-do-dont .figure{background-color:#eaecf0;-moz-border-radius-topleft:2px;border-top-left-radius:2px;-moz-border-radius-topright:2px;border-top-right-radius:2px}.figures-do-dont .figure--dont{border-left:1px solid #fff}.figures-do-dont .figure__caption{background-color:#fff;display:block;border-top-width:.8rem;border-top-style:solid;padding-right:.8em}.do,.figure--do .figure__caption{border-top-color:#00af89}.dont,.figure--dont .figure__caption{border-top-color:#d33}.do,.dont{font-style:normal;font-weight:600}.do:before,.dont:before{display:inline-block;margin-right:.4rem;padding-top:.4rem;font-size:2.1rem;line-height:1rem;vertical-align:top}.do{color:#14866d}.do:before{content:"✓"}.dont{color:#d33}.dont:before{content:"×"}.color-palette{margin:2.4rem 0 0;padding:0}.color-palette+.color-palette{margin-top:0}.color-palette+p{margin-top:1.6rem}.color{color:#000;list-style:none none;display:block;float:left;position:relative;width:61.8%;height:16rem;margin-bottom:3.2rem;padding:1.2rem;border:1px solid #fff;-moz-border-radius:2px;border-radius:2px;font-size:1.4rem}.color--dark,.color__wcag-level span{color:#fff}.color--dark .color__wcag-level span{color:#000}.color-palette .color:first-child{margin-top:.4rem}.color-palette--overview .color{width:6.4rem;height:6.2rem;margin-top:.8rem;margin-right:1.2rem;margin-bottom:2.4rem;-moz-border-radius:3.2rem;border-radius:3.2rem;cursor:default}.color-palette--overview .color:first-child{margin-top:.8rem}.color-palette--overview .color--emphasized{width:7.2rem;height:7rem;margin-top:0;-moz-border-radius:7.2rem;border-radius:7.2rem;padding-top:2rem}.color-palette--base .color{margin-right:1.35rem}.color-section .color .color-code--hsb{-webkit-transition:opacity .25s;-moz-transition:opacity .25s;transition:opacity .25s}.color-section .color:hover .color-code--hsb{opacity:1}.color__name{display:block;position:absolute;bottom:1.2rem;left:1.2rem;font-size:3.2rem;font-weight:100}.color-palette--overview .color__name{position:relative;bottom:auto;left:auto;padding-top:1.2rem;font-size:2.4rem;line-height:1}.color-code.color-code--rgb,.color-palette--overview .color-code,.color-palette--overview .color__name,.color__type{display:none}.color-code{background-color:inherit;display:block;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Lato,Helvetica,Arial,sans-serif}.color-code--hsb{opacity:0}@supports (--css:variables){.color-hint{white-space:nowrap}.color-hint:before{content:"";background-color:var(--color-hint);display:inline-block;width:1.2rem;height:1.2rem;margin:0 .4rem .3rem .2rem;-moz-border-radius:50%;border-radius:50%;vertical-align:text-bottom;cursor:help}.color-hint--base100:before{border:1px solid #a2a9b1}}.icon{display:inline-block;width:2rem;height:2rem;margin:0 .2rem;vertical-align:text-bottom}.icon--indicator{width:1.2rem;height:1.2rem;margin-bottom:.2rem}.icon--intermediate{width:1.6rem;height:1.6rem;margin-bottom:.2rem}.components__designing{position:relative}.components__designing:after{content:"";background:url(../../img/components/legend_16-8.svg) no-repeat;position:absolute;bottom:0;right:6.4rem;width:13.2rem;height:6.4rem}.page--components-messages .components__intro{max-width:700px;margin-left:auto;margin-right:auto}.page--components-messages img{-moz-border-radius:0;border-radius:0}.resources-table{display:table;width:100%;margin-top:2.4rem;border-collapse:collapse}.resources-table__body,.resources-table__head{display:table-row;border-bottom:1px solid #a2a9b1}.resources-table__head{background-color:#eaecf0}.resources-table__head h2{margin-top:0;border-bottom:0;padding-bottom:0;font-size:2.1rem;font-weight:400}.resources-table__cell{display:table-cell;padding:1.6rem 1.6rem 1.6rem 0}.resources-table__head .resources-table__cell:first-child{padding-left:1.6rem}.lnk-resource{white-space:nowrap}.footer{color:#202122;padding:2.4rem 0;font-size:1.3rem}.footer__list{padding:0}.footer__list:first-child{margin:0}.footer__list:after{content:" ";display:block;clear:both}.footer__list li{list-style:none none;display:block;padding:.8rem 0 0}.footer__list li:first-child{padding-top:0}.footer__list+p{margin-top:1.2rem}.footer__list--connect a{font-weight:600}.lnk--wikimedia-project{display:inline-block;padding:.4rem 0;text-transform:uppercase}.page--home .page__title{border:0;padding:0}.page--design-principles-accessibility .nav--main .is-on>a{cursor:pointer}.page--design-principles-accessibility h3{padding-right:15%}.page--visual-style-typography .figures-do-dont .figure__contents{padding:4.2rem 3.6rem}.figures-do-dont--contrast .figure--dont{color:#a2a9b1}.typography-styles dt{display:inline-block;color:#72777d;min-width:10rem;margin:0 0 3.2rem 1.6rem;font-size:1.3rem;font-weight:600;vertical-align:top}.typography-styles .typography-styles__blockquote{margin-bottom:4.8rem}.typography-styles .typography-styles__code{margin-bottom:0}.typography-styles dd{display:inline}.typography-styles dd>*{display:inline-block;margin-top:0}.typography-styles .figure__caption{padding-top:0}.typography-styles dd:after{content:"\A";white-space:pre}.typography-styles+hr{margin-top:4rem;margin-bottom:4rem}.page--visual-style-icons img{background-color:#eaecf0;padding:2.4rem}.fonts-loaded .color-code,.fonts-loaded .site__title,.fonts-loaded cite{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Lato,Helvetica,Arial,sans-serif}.fonts-loaded .page__title,.fonts-loaded .typography-styles h1,.fonts-loaded blockquote{font-family:Charter,Georgia,serif}@media (max-width:767px){.nav--main{position:absolute;top:-3.2rem;left:-1.6rem;right:-1.6rem;padding-bottom:1.6rem;-moz-box-shadow:0 2px 2px 0 rgba(0,0,0,.25);box-shadow:0 2px 2px 0 rgba(0,0,0,.25);z-index:1;-webkit-transform:translateY(-200%);-moz-transform:translateY(-200%);-ms-transform:translateY(-200%);transform:translateY(-200%);-webkit-transition:left .25s,right .25s,-webkit-transform .25s;transition:left .25s,right .25s,-webkit-transform .25s;-moz-transition:left .25s,right .25s,transform .25s,-moz-transform .25s;transition:left .25s,right .25s,transform .25s;transition:left .25s,right .25s,transform .25s,-webkit-transform .25s,-moz-transform .25s}.trigger--nav-main:checked+.nav--main{-webkit-transform:translateY(0);-moz-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}.page__title{margin-top:-.4rem;font-size:2.8rem}.typography-styles dt{display:block;margin-left:0}.page--components .components__states{margin-left:0}.resources-table,.resources-table__body,.resources-table__cell,.resources-table__head{display:block}.resources-table__head{margin-left:-1.6rem;margin-right:-1.6rem}.resources-table__head .resources-table__cell:empty{display:none}.resources-table__body{padding-left:0}.resources-table__cell{padding-top:.8rem;padding-bottom:.8rem}}@media (min-width:240px){.content-box,.nav--main a,.site__title a{-webkit-transition-property:background-color,padding;-moz-transition-property:background-color,padding;transition-property:background-color,padding;-webkit-transition-duration:.25s;-moz-transition-duration:.25s;transition-duration:.25s}.site__title{margin-left:4.2rem}.site__title a{padding-left:0}.lnk--contribute span{display:none}.nav--main a{padding-left:1.6rem;padding-right:1.6rem}.col--end,.col--start{width:100%}.figure--full,.resources-table__head{margin-left:-1.6rem;margin-right:-1.6rem}.figure--full .figure__caption{margin-left:1.6rem;margin-right:1.6rem}.figure--this-is-for-everyone img,.figure--trustworthy-yet-joyful img{width:100%;max-width:568px;margin-left:auto;margin-right:auto}.figure--illustrations-header img{width:100%}.figure--illustrations-header+.figure--illustrations-header,.figure--illustrations-header+.figure--illustrations-header img{margin-top:0}.color{width:61.8%}.color-palette--base .color:nth-child(3n+4){clear:both}.color-palette--base .color{margin-right:1.6rem}.color-palette--overview.color-palette--base .color--emphasized{margin-right:1.1rem;margin-left:-.2rem}.page--components figure{margin-left:4.2rem}}@media (min-width:414px){.content-box{padding-left:3.2rem;padding-right:3.2rem}.nav--main{left:-3.2rem;right:-3.2rem}.nav--main a{padding-left:3.2rem;padding-right:3.2rem}.figure--full,.resources-table__head{margin-left:-3.2rem;margin-right:-3.2rem}.figure--full .figure__caption{margin-left:3.2rem;margin-right:3.2rem}.resources-table__head .resources-table__cell:first-child{padding-left:3.2rem;padding-right:3.2rem}.footer__list li{display:list-item;float:left;padding:0 .8rem 0 0}.footer__list li:after{content:"\2022";color:#72777d;padding:0 0 0 .8rem;font-weight:100}.footer__list li:last-child:after{content:"";padding:0}.color{width:16rem;margin-right:2.4rem}}@media (min-width:568px){.lnk--contribute{display:block;position:absolute;bottom:1.5rem;right:3.2rem;text-align:right}.lnk--contribute span{display:inline;opacity:0;-webkit-transition:opacity .25s;-moz-transition:opacity .25s;transition:opacity .25s}.figures-do-dont .figure{max-width:61.8%}.figure--this-is-for-everyone img,.figure--trustworthy-yet-joyful img{max-width:none}.figure--illustrations-header{float:left;width:44.4%}.figure--illustrations-header+.figure--illustrations-header{width:55.55%;margin-top:.8rem}.figure--illustrations-header+.figure--illustrations-header img{margin-top:1.6rem}}@media (min-width:768px){img{-moz-border-radius:2px;border-radius:2px}.content-box{width:100%;max-width:960px}.btn--nav-main{display:none}.site__title{float:left;margin-left:0}.nav--main a,.site__title a{padding-left:1.6rem;padding-right:1.6rem}.lnk--contribute span{display:inline;opacity:1}.col--start{width:20.8rem;z-index:1;-webkit-transition:width .25s;-moz-transition:width .25s;transition:width .25s}.col--end{margin-left:-20.8rem;padding-left:24rem}.nav--main{left:auto;right:auto}.figure--full,.figure--full .figure__caption{margin-left:0;margin-right:0}.figures-do-dont .figure{float:left;width:50%}.color-palette--base .color:nth-child(3n+4){clear:unset}.illustrations-case-study img{float:left;width:33.33%}.page--components figure{margin-left:6.4rem}}@media (min-width:992px){.content-box{width:100%;max-width:1140px}.nav--main a,.site__title a{padding-left:3.2rem;padding-right:3.2rem}.col--start{width:24rem}.col--end{margin-left:-24rem;padding-left:27.2rem}.color-palette--overview:first-child{margin-top:2.4rem}.color{margin-right:2.4rem}.color-palette--base .color{margin-right:1.35rem}.color-palette--overview.color-palette--base .color--emphasized{margin-right:1.35rem;margin-left:0}.color-palette--overview.color-palette--green:after,.color-palette--overview.color-palette--green:before,.color-palette--overview.color-palette--red:after,.color-palette--overview.color-palette--red:before{content:"";display:none}.color-palette--overview.color-palette--green:after,.color-palette--overview.color-palette--red:after,.color-section .color:nth-child(3n+4){clear:both}.resources-table__body .resources-table__cell{-webkit-transition:background-color .25s;-moz-transition:background-color .25s;transition:background-color .25s}.resources-table__body:hover .resources-table__cell{background-color:#f8f9fa}.resources-table__body .resources-table__cell:first-child,.resources-table__head .resources-table__cell:first-child{padding-left:1.6rem}}@media (min-width:1200px){.content-box{width:1140px}.col--start{width:25.6rem}.col--end{margin-left:-25.6rem;padding-left:28.8rem}} /*# sourceMappingURL=wmui-style-guide.min.css.map */ \ No newline at end of file diff --git a/css/build/wmui-style-guide.min.css.map b/css/build/wmui-style-guide.min.css.map index 9d07242..0af64ce 100644 --- a/css/build/wmui-style-guide.min.css.map +++ b/css/build/wmui-style-guide.min.css.map @@ -1 +1 @@ -{"version":3,"sources":["../../node_modules/normalize.css/normalize.css","../partials/fonts.css","../wmui-style-guide.dev.css"],"names":[],"mappings":"AAAA,2EAA2E,CAW3E,KACE,gBAAiB,CACjB,yBAA0B,CAC1B,6BACF,CAiBA,wCAME,aACF,CAOA,GACE,aAAc,CACd,cACF,CAUA,uBAGE,aACF,CAMA,OACE,eACF,CAOA,GACE,2BAAuB,CAAvB,sBAAuB,CACvB,QAAS,CACT,gBACF,CAOA,IACE,+BAAiC,CACjC,aACF,CAUA,EACE,8BAA6B,CAC7B,oCACF,CAOA,YACE,kBAAmB,CACnB,yBAA0B,CAC1B,wCAAiC,CAAjC,qCAAiC,CAAjC,gCACF,CAMA,SAEE,mBAAoB,CASpB,kBARF,CAgBA,cAGE,+BAAiC,CACjC,aACF,CAMA,IACE,iBACF,CAMA,KACE,qBAAsB,CACtB,UACF,CAMA,MACE,aACF,CAOA,QAEE,aAAc,CACd,aAAc,CACd,iBAAkB,CAClB,uBACF,CAEA,IACE,aACF,CAEA,IACE,SACF,CASA,YAEE,oBACF,CAMA,sBACE,YAAa,CACb,QACF,CAMA,IACE,iBACF,CAMA,eACE,eACF,CAUA,sCAKE,sBAAuB,CACvB,cAAe,CACf,gBAAiB,CACjB,QACF,CAOA,aAEE,gBACF,CAOA,cAEE,mBACF,CAQA,qDAIE,yBACF,CAMA,wHAIE,iBAAkB,CAClB,SACF,CAMA,4GAIE,6BACF,CAMA,SACE,0BACF,CASA,OACE,0BAAsB,CAAtB,qBAAsB,CACtB,aAAc,CACd,aAAc,CACd,cAAe,CACf,SAAU,CACV,kBACF,CAOA,SACE,oBAAqB,CACrB,uBACF,CAMA,SACE,aACF,CAOA,6BAEE,0BAAsB,CAAtB,qBAAsB,CACtB,SACF,CAMA,kFAEE,WACF,CAOA,cACE,4BAA6B,CAC7B,mBACF,CAMA,qFAEE,uBACF,CAOA,6BACE,yBAA0B,CAC1B,YACF,CAUA,aAEE,aACF,CAMA,QACE,iBACF,CASA,OACE,oBACF,CAiBA,kBACE,YACF,CC9bA,WACC,mBAAsB,CACtB,+GAC4D,CAC5D,iBAAkB,CAClB,eAAgB,CAChB,iCACD,CAEA,WACC,mBAAsB,CACtB,yGACyD,CACzD,iBAAkB,CAClB,eAAgB,CAChB,iCACD,CCSA,EACC,0BAAsB,CAAtB,qBACD,CAEA,KACC,eACD,CAEA,KACC,wBAA4C,CAC5C,aAA0B,CAC1B,QAAS,CACT,4FAA6C,CAC7C,gBAAiB,CACjB,eACD,CAIA,kBAMC,UAAsC,CACtC,iBAAkB,CAClB,gBAAiB,CACjB,kDAAkG,CAAlG,+CAAkG,CAAlG,0CACD,CAEA,YAIC,eACD,CAEA,gBAEC,yBAAiD,CACjD,gBAAiB,CACjB,eACD,CAEA,GACC,+BAAqG,CACrG,kBAAmB,CACnB,gBACD,CAGA,MACC,iBACD,CAEA,GACC,cACD,CAEA,GACC,gBACD,CAMA,MAHC,gBAMD,CAHA,GAEC,eACD,CAGA,WACC,iBAAkB,CAClB,6BAA6C,CAC7C,oBAAsB,CACtB,yBAAiD,CACjD,cAAe,CACf,iBACD,CAEA,gBACC,aAAc,CACd,gBAAkB,CAClB,4FAA6C,CAC7C,gBAAiB,CACjB,iBACD,CAEC,uBACC,YACD,CAED,kBAGC,gEACD,CAEA,GACC,kBAAwC,CACxC,aAAc,CACd,YAAc,CACd,QAAS,CACT,aACD,CAEA,EACC,iBACD,CAEC,qDASC,gBACD,CAEA,aACC,iBACD,CAED,aAEC,wBAAgD,CAChD,UAAsC,CACtC,wBAA4B,CAC5B,mBAAoB,CACpB,gBAAiB,CACjB,oBACD,CAGA,MAEC,cAAgB,CAChB,oBACD,CAEA,YACC,gBACD,CAEC,wBACC,YACD,CAGD,OACC,gBACD,CAEA,IACC,aAAc,CACd,cAAe,CACf,iBACD,CAEA,yBACC,kBAAmB,CACnB,iBACD,CAEA,6BACC,gBACD,CAGA,EACC,UAA6B,CAC7B,oBACD,CAEC,QACC,yBACD,CAEA,SACC,aACD,CAED,SAEC,eACD,CAEA,KACC,wBAAgD,CAChD,oBAAqB,CACrB,mBAAsB,CACtB,gBACD,CAEA,MACC,gBACD,CAEA,QAEC,gBACD,CAIA,UACC,aAAc,CACd,iBAAkB,CAClB,0BAAgC,CAChC,SAAU,CACV,UAAW,CACX,WAAY,CACZ,QAAS,CACT,SAAU,CACV,eACD,CAEC,2DAEC,eAAgB,CAChB,SAAU,CACV,UAAW,CACX,WAAY,CACZ,QAAS,CACT,yBAA0B,CAC1B,gBACD,CAED,8RAYC,WAAY,CACZ,aACD,CAEA,4IAMC,UACD,CAKA,OACC,kBACD,CAEA,6BAEC,aACD,CAEA,kBACC,gBACD,CAEA,4BAEC,aAAiC,CACjC,SACD,CAJA,qCAEC,aAAiC,CACjC,SACD,CAJA,uBAEC,aAAiC,CACjC,SACD,CAJA,wBAEC,aAAiC,CACjC,SACD,CAJA,8BAEC,aAAiC,CACjC,SACD,CAEA,aACC,iBAAkB,CAClB,iBAAkB,CAClB,gBAAiB,CACjB,mBAAoB,CACpB,oBACD,CAIA,QACC,cAAe,CACf,KAAM,CACN,MAAO,CACP,OAAQ,CACR,iBAAkB,CAClB,kBACD,CAEC,aACC,aAAiC,CACjC,YAAa,CACb,aAAc,CACd,4FAA6C,CAC7C,gBAAiB,CACjB,eAAsC,CACtC,mBACD,CAEC,eACC,aAAc,CACd,oBAAqB,CACrB,uBAAwB,CACxB,6BAAiD,CAAjD,0BAAiD,CAAjD,qBACD,CAEA,qBACC,UAAgC,CAChC,oBACD,CAEA,WACC,aACD,CAEA,eACC,eACD,CAGD,eACC,iBAAkB,CAClB,UAAW,CACX,YAAa,CACb,aAAc,CACd,cACD,CAGA,iBACC,aAAc,CACd,aAAc,CACd,6CAA6F,CAA7F,+DAA6F,CAA7F,qCAA6F,CAA7F,0DACD,CAEA,+CAEC,UAAW,CACX,wBAA4C,CAC5C,UAAW,CACX,UAAW,CACX,iBAAkB,CAClB,SAAW,CACX,MACD,CAEA,uBACC,UAAW,CACX,iCAAiD,CAAjD,4BACD,CAEA,2DAEC,qBACD,CAEA,6BACC,8BAAgD,CAAhD,yBACD,CAEA,oBACC,aAAc,CACd,iBAAkB,CAClB,0BAAgC,CAChC,SAAU,CACV,UAAW,CACX,WAAY,CACZ,eACD,CAGA,iBACC,gBAAiB,CACjB,kBACD,CAID,MACC,qBAAgD,CAChD,iBAAkB,CAClB,iBAAkB,CAClB,gBAAiB,CACjB,2CAA6C,CAA7C,sCAA6C,CAC7C,iBACD,CAMA,cAHC,UAOD,CAJA,KAEC,iBAAkB,CAClB,cACD,CAMC,sBACC,SACD,CAGD,WACC,qBAED,CAEA,gDAEC,YACD,CAEA,4BAEC,SACD,CAEA,0BACC,QACD,CAEA,cACC,SAAU,CACV,oBACD,CAEA,iBACC,mBACD,CAEA,aACC,aAA0B,CAC1B,aAAc,CACd,oBAAsB,CACtB,gBAAiB,CACjB,oBAAqB,CACrB,gEAA4I,CAA5I,6DAA4I,CAA5I,wDACD,CAEA,sCAEC,wBAAgD,CAChD,UACD,CAEA,oBACC,wBAAmD,CACnD,UAA6B,CAE7B,sBAA0C,CAA1C,iBAA0C,CAC1C,eAAsC,CACtC,cACD,CAEA,gBACC,iBAAkB,CAClB,iBACD,CAEA,+BACC,kBACD,CAEA,8BACC,QACD,CAEA,6BACC,aAAiC,CACjC,6BAAwE,CACrE,8BAA0E,CAA1E,yBAA0E,CAC7E,mBAAoB,CACpB,gBAAiB,CACjB,mDAAmG,CAAnG,gDAAmG,CAAnG,2CACD,CAEA,kCACC,qBAAgD,CAChD,UAAkC,CAClC,sBAA4C,CAC5C,eACD,CAEA,2CACC,mBACD,CAIA,oBACC,aAAkC,CAClC,kBACD,CAEA,aACC,iBACD,CAEA,iCACC,iBACD,CAEA,eACC,iBAAkB,CAClB,cAAe,CACf,iBAAkB,CAClB,eACD,CAQA,eACC,wBACD,CAEA,uCAEC,aAAkC,CAClC,UAAW,CACX,aAAc,CACd,gBACD,CAEA,iBACC,iBAAmB,CACnB,iBACD,CAEC,uBACC,YACD,CAED,sBACC,WAAY,CACZ,kBACD,CAEC,wBACC,UACD,CAGD,iBACC,iBACD,CAEA,yBACC,wBAA4C,CAC5C,8BAAmD,CAAnD,0BAAmD,CACnD,+BAAoD,CAApD,2BACD,CAEA,+BACC,0BACD,CAEA,kCACC,qBAA+C,CAC/C,aAAc,CACd,sBAAwB,CACxB,sBAAuB,CACvB,kBACD,CAEA,iCAEC,wBACD,CAEA,qCAEC,qBACD,CAEA,UAEC,iBAAkB,CAClB,eACD,CAEC,wBAEC,oBAAqB,CACrB,kBAAoB,CACpB,iBAAmB,CACnB,gBAAiB,CACjB,gBAAiB,CACjB,kBACD,CAED,IACC,aACD,CAEC,WACC,WACD,CAED,MACC,UACD,CAEC,aACC,WACD,CAID,eACC,iBAAkB,CAClB,SACD,CAEA,8BACC,YACD,CAEA,iBACC,iBACD,CAEA,OACC,UAAsC,CACtC,oBAAqB,CACrB,aAAc,CACd,UAAW,CACX,iBAAkB,CAClB,WAAY,CACZ,YAAa,CACb,oBAAqB,CACrB,cAAe,CACf,qBAAgG,CAChG,sBAA0C,CAA1C,iBAA0C,CAC1C,gBACD,CAEC,qCAEC,UACD,CAEA,qCACC,UACD,CAEA,kCACC,gBACD,CAEA,gCACC,YAAa,CACb,aAAc,CACd,gBAAkB,CAClB,mBAAoB,CACpB,oBAAqB,CACrB,yBAAqB,CAArB,oBAAqB,CACrB,cACD,CAEA,4CACC,gBACD,CAEA,4CACC,YAAa,CACb,WAAY,CACZ,YAAa,CACb,yBAAqB,CAArB,oBAAqB,CACrB,gBACD,CAEA,4BACC,oBACD,CAEA,uCACC,+BAAmD,CAAnD,4BAAmD,CAAnD,uBACD,CAEC,6CACC,SACD,CAED,aACC,aAAc,CACd,iBAAkB,CAClB,aAAc,CACd,WAAY,CACZ,gBAAiB,CACjB,eACD,CAEC,sCACC,iBAAkB,CAClB,WAAY,CACZ,SAAU,CACV,kBAAmB,CACnB,gBAAiB,CACjB,aACD,CAEA,oHAIC,YACD,CAED,YACC,wBAAyB,CACzB,aAAc,CACd,SAAU,CACV,4FACD,CAEC,iBACC,SACD,CAEF,4BACC,YACC,kBACD,CAEA,mBACC,UAAW,CACX,kCAAqC,CACrC,oBAAqB,CACrB,YAAa,CACb,aAAc,CACd,0BAA8B,CAC9B,sBAAkB,CAAlB,iBAAkB,CAClB,0BAA2B,CAC3B,WACD,CAEA,4BACC,wBACD,CACD,CAIA,MACC,oBAAqB,CACrB,UAAW,CACX,WAAY,CACZ,cAAgB,CAChB,0BACD,CAEC,iBACC,YAAa,CACb,aAAc,CACd,mBACD,CAEA,oBACC,YAAa,CACb,aAAc,CACd,mBACD,CAUD,uBACC,iBACD,CAEA,6BACC,UAAW,CACX,8DAAiE,CACjE,iBAAkB,CAClB,QAAS,CACT,YAAa,CACb,aAAc,CACd,aACD,CAGA,8CACC,eAAgB,CAChB,gBAAiB,CACjB,iBACD,CAGA,+BACC,oBAAgB,CAAhB,eACD,CAIA,iBACC,aAAc,CACd,UAAW,CACX,iBAAkB,CAClB,wBACD,CAEA,8CAEC,iBAAkB,CAClB,+BACD,CAEA,uBACC,wBACD,CAEC,0BACC,YAAa,CACb,eAAgB,CAChB,gBAAiB,CACjB,gBAAiB,CACjB,eACD,CAED,uBACC,kBAAmB,CACnB,8BACD,CAEC,0DACC,mBACD,CAED,cACC,kBACD,CAGA,QACC,aAA0B,CAC1B,gBAAiB,CACjB,gBACD,CAEA,cACC,SACD,CAEC,0BACC,QACD,CAEA,oBACC,WAAY,CACZ,aAAc,CACd,UACD,CAEA,iBACC,oBAAqB,CACrB,aAAc,CACd,iBACD,CAEA,6BACC,aACD,CAEA,gBACC,iBACD,CAEA,yBACC,eACD,CAED,wBACC,oBAAqB,CACrB,eAAiB,CACjB,wBACD,CAKA,yBACC,QAAS,CACT,SACD,CAGA,2DACC,cACD,CAEA,0CACC,iBACD,CAGA,kEACC,qBACD,CAEA,yCACC,aACD,CAIA,sBACC,oBAAqB,CACrB,aAAkC,CAClC,eAAgB,CAChB,wBAAyB,CACzB,gBAAiB,CACjB,eAAsC,CACtC,kBACD,CAEA,kDACC,oBACD,CAEA,4CACC,eACD,CAEA,sBACC,cACD,CAEA,wBACC,oBAAqB,CACrB,YACD,CAEA,oCACC,aACD,CAEA,4BACK,YAAa,CACb,eACL,CAEA,sBACC,eAAgB,CAChB,kBACD,CAGA,8BACC,wBAA4C,CAC5C,cACD,CAIA,wEAGC,4FACD,CAGA,wFAGC,iCACD,CAKA,yBACC,WACC,iBAAkB,CAClB,WAAY,CACZ,YAAa,CACb,aAAc,CACd,qBAAsB,CACtB,2CAA6C,CAA7C,sCAA6C,CAC7C,SAAU,CACV,mCAA8B,CAA9B,gCAA8B,CAA9B,+BAA8B,CAA9B,2BAA8B,CAC9B,8DAAkI,CAAlI,sDAAkI,CAAlI,uEAAkI,CAAlI,8CAAkI,CAAlI,yFACD,CAEA,sCACC,+BAA0B,CAA1B,4BAA0B,CAA1B,2BAA0B,CAA1B,uBACD,CAEA,aACC,iBAAmB,CACnB,gBACD,CAEA,sBACC,aAAc,CACd,aACD,CAGA,sCACC,aACD,CAGA,sFAIC,aACD,CAEA,uBACC,mBAAoB,CACpB,oBACD,CAEA,oDACC,YACD,CAEA,uBACC,cACD,CAEA,uBACC,iBAAmB,CACnB,oBACD,CACD,CAGA,yBACC,yCAGC,oDAA8C,CAA9C,iDAA8C,CAA9C,4CAA8C,CAC9C,gCAAoD,CAApD,6BAAoD,CAApD,wBACD,CAEA,aACC,kBACD,CAEC,eACC,cACD,CAED,sBACC,YACD,CAEA,aACC,mBAAoB,CACpB,oBACD,CAEA,sBAEC,UACD,CAEA,qCAEC,mBAAoB,CACpB,oBACD,CAEA,+BACC,kBAAmB,CACnB,mBACD,CAEA,sEAEC,UAAW,CACX,eAAgB,CAChB,gBAAiB,CACjB,iBACD,CAEA,kCACC,UACD,CAEA,4HAEC,YACD,CAEA,OACC,WACD,CAEA,4CACC,UACD,CAEA,4BACC,mBACD,CAEA,gEACC,mBAAoB,CACpB,kBACD,CAEA,yBACC,kBACD,CACD,CAGA,yBACC,aACC,mBAAoB,CACpB,oBACD,CAEA,WACC,YAAa,CACb,aACD,CAEC,aACC,mBAAoB,CACpB,oBACD,CAED,qCAEC,mBAAoB,CACpB,oBACD,CAEA,+BACC,kBAAmB,CACnB,mBACD,CAEA,0DACC,mBAAoB,CACpB,oBACD,CAEA,iBACC,iBAAkB,CAClB,UAAW,CACX,mBACD,CAEA,uBACC,eAAgB,CAChB,aAAkC,CAClC,mBAAqB,CACrB,eACD,CAEA,kCACC,UAAW,CACX,SACD,CAEA,OACC,WAAY,CACZ,mBACD,CACD,CAGA,yBACC,iBACC,aAAc,CACd,iBAAkB,CAClB,aAAc,CACd,YAAa,CACb,gBACD,CAEA,sBACC,cAAe,CACf,SAAU,CACV,+BAAmD,CAAnD,4BAAmD,CAAnD,uBACD,CAEA,yBACC,eACD,CAEA,sEAEC,cACD,CAEA,8BACC,UAAW,CACX,WACD,CAEA,4DACC,YAAa,CACb,gBACD,CAEA,gEACC,iBACD,CACD,CAGA,yBACC,IACC,sBAAkB,CAAlB,iBACD,CAEA,aACC,UAAW,CACX,eACD,CAEA,eACC,YACD,CAEA,aACC,UAAW,CACX,aACD,CAEC,4BAEC,mBAAoB,CACpB,oBACD,CAED,sBACC,cAAe,CACf,SACD,CAEA,YACC,aAAc,CACd,SAAU,CACV,6BAAiD,CAAjD,0BAAiD,CAAjD,qBACD,CAEA,UACC,oBAAqB,CACrB,kBACD,CAEA,WACC,SAAU,CACV,UACD,CAEA,6CAEC,aAAc,CACd,cACD,CAEA,yBACC,UAAW,CACX,SACD,CAEA,4CACC,WACD,CAGA,8BACC,UAAW,CACX,YACD,CAEA,yBACC,kBACD,CACD,CAGA,yBACC,aACC,UAAW,CACX,gBACD,CAEA,4BAEC,mBAAoB,CACpB,oBACD,CAEA,YACC,WACD,CAEA,UACC,kBAAmB,CACnB,oBACD,CAEA,qCACC,iBACD,CAEA,OACC,mBACD,CAEC,4BACC,oBACD,CAEA,gEACC,oBAAqB,CACrB,aACD,CAED,8MAIC,UAAW,CACX,YACD,CAEA,4IAGC,UACD,CAGA,8CACC,wCAA4D,CAA5D,qCAA4D,CAA5D,gCACD,CAEC,oDACC,wBACD,CAEA,oHAEC,mBACD,CACF,CAEA,0BACC,aACC,YACD,CAEA,YACC,aACD,CAEA,UACC,oBAAqB,CACrB,oBACD,CACD","file":"wmui-style-guide.min.css","sourcesContent":["/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in\n * IE on Windows Phone and in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -ms-text-size-adjust: 100%; /* 2 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers (opinionated).\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Add the correct display in IE 9-.\n */\n\narticle,\naside,\nfooter,\nheader,\nnav,\nsection {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * Add the correct display in IE 9-.\n * 1. Add the correct display in IE.\n */\n\nfigcaption,\nfigure,\nmain { /* 1 */\n display: block;\n}\n\n/**\n * Add the correct margin in IE 8.\n */\n\nfigure {\n margin: 1em 40px;\n}\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * 1. Remove the gray background on active links in IE 10.\n * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.\n */\n\na {\n background-color: transparent; /* 1 */\n -webkit-text-decoration-skip: objects; /* 2 */\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57- and Firefox 39-.\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Prevent the duplicate application of `bolder` by the next rule in Safari 6.\n */\n\nb,\nstrong {\n font-weight: inherit;\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font style in Android 4.3-.\n */\n\ndfn {\n font-style: italic;\n}\n\n/**\n * Add the correct background and color in IE 9-.\n */\n\nmark {\n background-color: #ff0;\n color: #000;\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Add the correct display in IE 9-.\n */\n\naudio,\nvideo {\n display: inline-block;\n}\n\n/**\n * Add the correct display in iOS 4-7.\n */\n\naudio:not([controls]) {\n display: none;\n height: 0;\n}\n\n/**\n * Remove the border on images inside links in IE 10-.\n */\n\nimg {\n border-style: none;\n}\n\n/**\n * Hide the overflow in IE.\n */\n\nsvg:not(:root) {\n overflow: hidden;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers (opinionated).\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: sans-serif; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput { /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\n * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`\n * controls in Android 4.\n * 2. Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\nhtml [type=\"button\"], /* 1 */\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button; /* 2 */\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * 1. Add the correct display in IE 9-.\n * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n display: inline-block; /* 1 */\n vertical-align: baseline; /* 2 */\n}\n\n/**\n * Remove the default vertical scrollbar in IE.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10-.\n * 2. Remove the padding in IE 10-.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-cancel-button,\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in IE 9-.\n * 1. Add the correct display in Edge, IE, and Firefox.\n */\n\ndetails, /* 1 */\nmenu {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Scripting\n ========================================================================== */\n\n/**\n * Add the correct display in IE 9-.\n */\n\ncanvas {\n display: inline-block;\n}\n\n/**\n * Add the correct display in IE.\n */\n\ntemplate {\n display: none;\n}\n\n/* Hidden\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10-.\n */\n\n[hidden] {\n display: none;\n}\n","@font-face {\n\tfont-family: 'Charter';\n\tsrc: url( '../../fonts/Charter_regular.woff2' ) format( 'woff2' ),\n\t\t url( '../../fonts/Charter_regular.woff' ) format( 'woff' );\n\tfont-style: normal;\n\tfont-weight: 400;\n\ttext-rendering: optimizeLegibility; /* Attention: Android Stock Browser <= 4.3 doesn't show web font with this setting, but it also doesn't support WOFF :) */\n}\n\n@font-face {\n\tfont-family: 'Charter';\n\tsrc: url( '../../fonts/Charter_bold.woff2' ) format( 'woff2' ),\n\t\t url( '../../fonts/Charter_bold.woff' ) format( 'woff' );\n\tfont-style: normal;\n\tfont-weight: 700;\n\ttext-rendering: optimizeLegibility;\n}\n\n/*\n@font-face {\n\tfont-family: 'Charter';\n\tsrc: url( '../fonts/Charter_italic.woff2' ) format( 'woff2' ),\n\t\t url( '../fonts/Charter_italic.woff' ) format( 'woff' );\n\tfont-style: italic;\n\tfont-weight: 400;\n\ttext-rendering: optimizeLegibility;\n}\n@font-face {\n\tfont-family: 'Charter';\n\tsrc: url( '../fonts/Charter_bold-italic.woff2' ) format( 'woff2' ),\n\t\t url( '../fonts/Charter_bold-italic.woff' ) format( 'woff' );\n\tfont-style: italic;\n\tfont-weight: 700;\n\ttext-rendering: optimizeLegibility;\n}\n*/\n","/* ::: Vendor Imports ::: */\n/* Load files from 'node_modules' folders with postCSS-import plugin.\n * Modules specified in package.json file. */\n@import 'wikimedia-ui-base/wikimedia-ui-base.css';\n@import 'normalize.css';\n\n/* ::: Local Imports ::: */\n@import 'partials/fonts.css';\n\n:root {\n\t--background-color-hr: var( --wmui-color-base80 );\n\t--width-site: 960px;\n\t--width-site-desktop-wide: 1140px;\n\t--border-color-heading: var( --wmui-color-base80 );\n\t--border-width-heading: 3px;\n\t--border-start-blockquote: 4px var( --border-style-base ) var( --wmui-color-base80 );\n\t--outline-color-base--focus: var( --color-primary--focus );\n\t/* HACK; Add Georgia to serif fallback as long as WikimediaUI Base isn't updated. */\n\t--font-family-serif--fallback: Georgia, serif; /* stylelint-disable-line value-keyword-case */\n\t/* Setting bold to `600` as our stack works better with it, only Lato is on the edge.\n\t Helvetica and Arial fallback gracefully to `700`, see T246791. */\n\t--font-weight-bold: 600;\n\t--font-weight-ultralight: 100;\n}\n\n* {\n\tbox-sizing: border-box;\n}\n\nhtml {\n\tfont-size: 62.5%;\n}\n\nbody {\n\tbackground-color: var( --wmui-color-base80 ); /* FIXME: var; */\n\tcolor: var( --color-base );\n\tmargin: 0;\n\tfont-family: var( --font-family-system-sans );\n\tfont-size: 1.6rem;\n\tline-height: var( --line-height-base );\n}\n\n/* ::: Text Block-Level Elements ::: */\n/* ... Headings ... */\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n\tcolor: var( --color-base--emphasized );\n\tmargin: 3.2rem 0 0;\n\tline-height: 1.25;\n\ttransition: font-size var( --transition-ease-medium ), font-weight var( --transition-ease-medium );\n}\n\nh2,\nh3,\nh4,\nh5 {\n\tfont-weight: var( --font-weight-bold );\n}\n\nh1,\n.page__title {\n\tfont-family: var( --font-family-serif--fallback ); /* Fallback */\n\tfont-size: 3.2rem;\n\tfont-weight: var( --font-weight-base );\n}\n\nh2 {\n\tborder-bottom: var( --border-width-heading ) var( --border-style-base ) var( --border-color-heading );\n\tpadding-bottom: 2px;\n\tfont-size: 2.4rem;\n}\n\n/* Reduce top margin when introductory headlines are following each other. */\nh2 + h3 {\n\tmargin-top: 1.6rem;\n}\n\nh3 {\n\tfont-size: 2rem;\n}\n\nh4 {\n\tfont-size: 1.8rem;\n}\n\nh5 {\n\tfont-size: 1.6rem;\n}\n\nh6 {\n\tfont-size: 1.6rem;\n\tfont-weight: normal;\n}\n\n/* ... Other Block-Level Elements ... */\nblockquote {\n\tmargin: 1.6rem 0 0;\n\tborder-left: var( --border-start-blockquote );\n\tpadding: 0.8rem 3.2rem;\n\tfont-family: var( --font-family-serif--fallback ); /* Fallback */\n\tfont-size: 2rem;\n\tfont-style: italic;\n}\n\nblockquote cite {\n\tdisplay: block;\n\tmargin-top: 0.8rem;\n\tfont-family: var( --font-family-system-sans );\n\tfont-size: 1.4rem;\n\tfont-style: normal;\n}\n\n\tblockquote cite:before {\n\t\tcontent: '— ';\n\t}\n\ncode,\npre,\n.mw-code {\n\tfont-family: var( --font-family-monospace );\n}\n\nhr {\n\tbackground: var( --background-color-hr );\n\tdisplay: block;\n\theight: 0.8rem;\n\tborder: 0;\n\tmargin: 8rem 0;\n}\n\np {\n\tmargin: 3.2rem 0 0;\n}\n\n\th1 + p,\n\th2 + p,\n\th3 + p,\n\th4 + p,\n\th5 + p,\n\th6 + p,\n\tp + p,\n\tul + p,\n\tp:first-child {\n\t\tmargin: 0.8rem 0 0;\n\t}\n\n\tblockquote + p {\n\t\tmargin-top: 1.6rem;\n\t}\n\npre,\n.mw-code {\n\tbackground-color: var( --background-color-code );\n\tcolor: var( --color-base--emphasized );\n\tborder: var( --border-base );\n\tpadding: 1.2rem 2rem;\n\tfont-size: 1.4rem;\n\twhite-space: pre-wrap;\n}\n\n/* ... Lists ... */\nol,\nul {\n\tmargin: 0.8rem 0;\n\tpadding: 0 0 0 1.8rem; /* Can't remain within our 8px based sizing due to browser defaults */\n}\n\n.content li {\n\tmargin-top: 0.4rem;\n}\n\n\t.content li:first-child {\n\t\tmargin-top: 0;\n\t}\n\n/* ... Images & Figures ... */\nfigure {\n\tmargin: 0.8rem 0 0;\n}\n\nimg {\n\tdisplay: block;\n\tmax-width: 100%;\n\tmargin: 1.6rem 0 0;\n}\n\n.page--components figure {\n\tmargin-left: 6.4rem;\n\tpadding-top: 0.8rem;\n}\n\n.page--components figure img {\n\tmargin-top: 0.8rem;\n}\n\n/* ::: Inline Elements ::: */\na {\n\tcolor: var( --color-primary );\n\ttext-decoration: none;\n}\n\n\ta:hover {\n\t\ttext-decoration: underline;\n\t}\n\n\ta:active {\n\t\tcolor: var( --color-primary--active );\n\t}\n\nb,\nstrong {\n\tfont-weight: var( --font-weight-bold );\n}\n\ncode {\n\tbackground-color: var( --background-color-code );\n\tdisplay: inline-block;\n\tpadding: 0.2rem 0.4rem;\n\tfont-size: 1.4rem;\n}\n\nsmall {\n\tfont-size: 1.3rem;\n}\n\nsub,\nsup {\n\tfont-size: 1.1rem;\n}\n\n/* ::: General Classes ::: */\n/* ::: Text for Screen Readers only ::: */\n.is-aural {\n\tdisplay: block;\n\tposition: absolute;\n\tclip: rect( 1px, 1px, 1px, 1px );\n\twidth: 1px;\n\theight: 1px;\n\tmargin: -1px;\n\tborder: 0;\n\tpadding: 0;\n\toverflow: hidden;\n}\n\n\t.is-aural.is-focusable:active,\n\t.is-aural.is-focusable:focus {\n\t\tposition: static;\n\t\tclip: auto;\n\t\twidth: auto;\n\t\theight: auto;\n\t\tmargin: 0;\n\t\ttext-decoration: underline;\n\t\toverflow: visible;\n\t}\n\n.clearfix:before,\n.clearfix:after,\n.page:before,\n.page:after,\n.content-box:before,\n.content-box:after,\n.color-palette:before,\n.color-palette:after,\n.figures-do-dont:before,\n.figures-do-dont:after,\n.content__illustration-style .figure--full:before,\n.content__illustration-style .figure--full:after {\n\tcontent: ' ';\n\tdisplay: table;\n}\n\n.clearfix:after,\n.page:after,\n.content-box:after,\n.color-palette:after,\n.figures-do-dont:after,\n.content__illustration-style .figure--full:after {\n\tclear: both;\n}\n\n/* ::: Text-formatting ::: */\n/* Support Blink based browsers. */\n/* They use `outline` for focus styles, we're only amending the color here, see T245887. */\n:focus {\n\toutline-color: var( --outline-color-base--focus );\n}\n\n.is-complementary,\n.is-subtle {\n\tcolor: var( --color-base--subtle );\n}\n\n.is-complementary {\n\tfont-size: 1.4rem;\n}\n\n::placeholder,\n.is-placeholder {\n\tcolor: var( --color-placeholder );\n\topacity: 1;\n}\n\n.content-box {\n\tposition: relative;\n\tmargin-right: auto;\n\tmargin-left: auto;\n\tpadding-left: 1.6rem; /* FIXME: var( --grid-padding ); */\n\tpadding-right: 1.6rem;\n}\n\n\n/* ::: Structure ::: */\n.header {\n\tposition: fixed;\n\ttop: 0;\n\tleft: 0;\n\tright: 0;\n\tmin-height: 6.4rem;\n\tline-height: 6.4rem;\n}\n\n\t.site__title {\n\t\tcolor: var( --wmui-color-base10 );\n\t\tmargin-top: 0;\n\t\theight: 6.4rem;\n\t\tfont-family: var( --font-family-system-sans );\n\t\tfont-size: 1.6rem;\n\t\tfont-weight: var( --font-weight-base );\n\t\tletter-spacing: 0.5px;\n\t}\n\n\t\t.site__title a {\n\t\t\tcolor: inherit;\n\t\t\tdisplay: inline-block;\n\t\t\tpadding: 1.2rem 3.2rem 0;\n\t\t\ttransition: color var( --transition-ease-medium );\n\t\t}\n\n\t\t.site__title a:hover {\n\t\t\tcolor: var( --wmui-color-base0 ); /* --color-base-emphasized */\n\t\t\ttext-decoration: none;\n\t\t}\n\n\t\t.site__org {\n\t\t\tdisplay: block;\n\t\t}\n\n\t\t.site__project {\n\t\t\tfont-weight: var( --font-weight-bold );\n\t\t}\n\n\t/* ... Navigation button ... */\n\t.btn--nav-main {\n\t\tposition: absolute;\n\t\ttop: 1.2rem;\n\t\twidth: 4.2rem;\n\t\theight: 4.2rem;\n\t\tcursor: pointer;\n\t}\n\n\t/* Fake hamburger icon */\n\t.btn--nav-main i {\n\t\tdisplay: block;\n\t\theight: 4.2rem;\n\t\ttransition: color var( --transition-ease-medium ), box-shadow var( --transition-ease-medium );\n\t}\n\n\t.btn--nav-main i:before,\n\t.btn--nav-main i:after {\n\t\tcontent: '';\n\t\tbackground-color: var( --wmui-color-base20 );\n\t\twidth: 2rem;\n\t\theight: 2px;\n\t\tposition: absolute;\n\t\ttop: 0.4rem;\n\t\tleft: 0;\n\t}\n\n\t.btn--nav-main i:after {\n\t\ttop: 1.1rem;\n\t\tbox-shadow: 0 0.7rem 0 var( --wmui-color-base20 );\n\t}\n\n\t.btn--nav-main i:hover:before,\n\t.btn--nav-main i:hover:after {\n\t\tbackground-color: var( --wmui-color-base0 ); /* --color-base-emphasized */\n\t}\n\n\t.btn--nav-main i:hover:after {\n\t\tbox-shadow: 0 0.7rem 0 var( --wmui-color-base0 );\n\t}\n\n\t.btn--nav-main span {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\tclip: rect( 1px, 1px, 1px, 1px );\n\t\twidth: 1px;\n\t\theight: 1px;\n\t\tmargin: -1px;\n\t\toverflow: hidden;\n\t}\n\n\t/* ... GitHub Contribute Link ... */\n\t.lnk--contribute {\n\t\tfont-size: 1.4rem;\n\t\tline-height: 1.4rem; /* Derive slightly from template for cross-browser compliance */\n\t}\n\n\n/* ... Content ... */\n.page {\n\tbackground-color: var( --background-color-base );\n\tposition: relative;\n\tmargin-top: 6.4rem;\n\tpadding: 6.4rem 0;\n\tbox-shadow: 0 1px 4px 0 rgba( 0, 0, 0, 0.25 );\n\toverflow-y: hidden;\n}\n\n.content {\n\tfloat: left;\n}\n\n.col {\n\tfloat: left;\n\tposition: relative;\n\tmin-height: 1px;\n}\n\n\t.col--start {\n\t\tpadding: 0;\n\t}\n\n\t.col--end {\n\t\tpadding: 0;\n\t}\n\n/* ... Main Navigation ... */\n.nav--main {\n\tbackground-color: var( --background-color-base ); /* needed for menu appearance on mobile below */\n\t/* margin-top: 6.4rem; */\n}\n\n.nav--main li:not( .is-on ) ul,\n.trigger--nav-main {\n\tdisplay: none;\n}\n\n.nav--main ol,\n.nav--main ul {\n\tpadding: 0;\n}\n\n.nav--main ol:first-child {\n\tmargin: 0;\n}\n\n.nav--main li {\n\tpadding: 0;\n\tlist-style: none none;\n}\n\n.nav--main > ol > li {\n\tmargin-bottom: 0.4rem;\n}\n\n.nav--main a {\n\tcolor: var( --color-base );\n\tdisplay: block;\n\tpadding: 0.8rem 1.2rem;\n\tfont-size: 1.6rem;\n\ttext-decoration: none;\n\ttransition: background-color var( --transition-ease-medium ), color var( --transition-ease-medium ), padding var( --transition-ease-medium );\n}\n\n.nav--main a:hover,\n.nav--main a:focus {\n\tbackground-color: var( --background-color-code );\n\tcolor: var( --color-base--emphasized );\n}\n\n.nav--main .is-on > a {\n\tbackground-color: var( --background-color-primary );\n\tcolor: var( --color-primary );\n\t/* border-left: 2px solid var( --color-primary ); */\n\tborder-radius: var( --border-radius-base );\n\tfont-weight: var( --font-weight-bold );\n\tcursor: default;\n}\n\n.nav__sub-items {\n\tmargin-top: 1.2rem;\n\tmargin-bottom: 1em; /* FIXME: replace with rem and mt */\n}\n\n.nav__sub-items > .nav__sub-item {\n\tmargin-left: 3.6rem;\n}\n\n.nav--main .nav__sub-items ul {\n\tmargin: 0;\n}\n\n.nav--main .nav__sub-items a { /* stylelint-disable-line no-descending-specificity */\n\tcolor: var( --wmui-color-base20 );\n\tborder-left: var( --border-width-base ) solid var( --wmui-color-base80 );\n border-radius: 0 var( --border-radius-base ) var( --border-radius-base ) 0;\n\tpadding-left: 1.6rem;\n\tfont-size: 1.4rem;\n\ttransition: background-color var( --transition-ease-medium ), color var( --transition-ease-medium );\n}\n\n.nav--main .nav__sub-item.is-on > a {\n\tbackground-color: var( --background-color-base );\n\tcolor: var( --color-base--active );\n\tborder-left-color: var( --wmui-color-base0 );\n\tfont-weight: var( --font-weight-bold );\n}\n\n.nav--main .nav__sub-item .nav__sub-item a {\n\tpadding-left: 3.6rem;\n}\n\n\n/* ::: Content ::: */\n.page__parent-title {\n\tcolor: var( --color-base--subtle );\n\tmargin-top: -2.8rem;\n}\n\n.page__title {\n\tmargin-top: -0.8rem;\n}\n\n.page__parent-title + .page__title {\n\tmargin-top: -0.4rem;\n}\n\n.page__tagline {\n\tmargin-top: 1.2rem;\n\tfont-size: 2rem;\n\tfont-style: italic;\n\tfont-weight: 100;\n}\n\n/* Remove, doesn't provide good styling\n.page__lead {\n\tfont-size: 1.8rem;\n}\n*/\n\n.figures--full {\n\tbackground-color: var( --wmui-color-base90 );\n}\n\n.figure__caption,\n.heading__description {\n\tcolor: var( --color-base--subtle );\n\tclear: both;\n\tdisplay: block;\n\tfont-size: 1.3rem;\n}\n\n.figure__caption {\n\tpadding-top: 0.8rem; /* `padding-top` due to usage with floated images in figure above */\n\tfont-style: italic;\n}\n\n\t.figure__caption:empty {\n\t\tdisplay: none;\n\t}\n\n.heading__description {\n\tfloat: right;\n\tmargin-top: -1.9rem;\n}\n\n\t.heading__description + * {\n\t\tclear: both;\n\t}\n\n/* ... “Do” & “Don't” figures ... */\n.figures-do-dont {\n\tmargin-top: 1.6rem;\n}\n\n.figures-do-dont .figure {\n\tbackground-color: var( --wmui-color-base80 );\n\tborder-top-left-radius: var( --border-radius-base );\n\tborder-top-right-radius: var( --border-radius-base );\n}\n\n.figures-do-dont .figure--dont {\n\tborder-left: var( --border-width-base ) solid var( --color-base--inverted );\n}\n\n.figures-do-dont .figure__caption {\n\tbackground-color: var( --color-base--inverted );\n\tdisplay: block;\n\tborder-top-width: 0.8rem;\n\tborder-top-style: solid;\n\tpadding-right: 0.8em;\n}\n\n.figure--do .figure__caption,\n.do {\n\tborder-top-color: var( --color-secondary );\n}\n\n.figure--dont .figure__caption,\n.dont {\n\tborder-top-color: var( --color-destructive );\n}\n\n.do,\n.dont {\n\tfont-style: normal;\n\tfont-weight: var( --font-weight-bold );\n}\n\n\t.do:before,\n\t.dont:before {\n\t\tdisplay: inline-block;\n\t\tmargin-right: 0.4rem;\n\t\tpadding-top: 0.4rem;\n\t\tfont-size: 2.1rem;\n\t\tline-height: 1rem;\n\t\tvertical-align: top;\n\t}\n\n.do {\n\tcolor: var( --color-success );\n}\n\n\t.do:before {\n\t\tcontent: '✓';\n\t}\n\n.dont {\n\tcolor: var( --color-destructive );\n}\n\n\t.dont:before {\n\t\tcontent: '×';\n\t}\n\n\n/* ... Color ... */\n.color-palette {\n\tmargin: 2.4rem 0 0;\n\tpadding: 0;\n}\n\n.color-palette + .color-palette {\n\tmargin-top: 0;\n}\n\n.color-palette + p {\n\tmargin-top: 1.6rem;\n}\n\n.color {\n\tcolor: var( --color-base--emphasized );\n\tlist-style: none none;\n\tdisplay: block;\n\tfloat: left;\n\tposition: relative;\n\twidth: 61.8%;\n\theight: 16rem;\n\tmargin-bottom: 3.2rem;\n\tpadding: 1.2rem;\n\tborder: var( --border-width-base ) var( --border-style-base ) var( --border-color-inset--focus );\n\tborder-radius: var( --border-radius-base );\n\tfont-size: 1.4rem;\n}\n\n\t.color--dark,\n\t.color__wcag-level span {\n\t\tcolor: var( --color-base--inverted );\n\t}\n\n\t.color--dark .color__wcag-level span {\n\t\tcolor: var( --color-base--emphasized );\n\t}\n\n\t.color-palette .color:first-child {\n\t\tmargin-top: 0.4rem;\n\t}\n\n\t.color-palette--overview .color {\n\t\twidth: 6.4rem;\n\t\theight: 6.2rem;\n\t\tmargin-top: 0.8rem;\n\t\tmargin-right: 1.2rem;\n\t\tmargin-bottom: 2.4rem;\n\t\tborder-radius: 3.2rem;\n\t\tcursor: default;\n\t}\n\n\t.color-palette--overview .color:first-child {\n\t\tmargin-top: 0.8rem;\n\t}\n\n\t.color-palette--overview .color--emphasized {\n\t\twidth: 7.2rem;\n\t\theight: 7rem;\n\t\tmargin-top: 0;\n\t\tborder-radius: 7.2rem;\n\t\tpadding-top: 2rem;\n\t}\n\n\t.color-palette--base .color {\n\t\tmargin-right: 1.35rem;\n\t}\n\n\t.color-section .color .color-code--hsb {\n\t\ttransition: opacity var( --transition-ease-medium );\n\t}\n\n\t\t.color-section .color:hover .color-code--hsb {\n\t\t\topacity: 1;\n\t\t}\n\n\t.color__name {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\tbottom: 1.2rem;\n\t\tleft: 1.2rem;\n\t\tfont-size: 3.2rem;\n\t\tfont-weight: var( --font-weight-ultralight );\n\t}\n\n\t\t.color-palette--overview .color__name {\n\t\t\tposition: relative;\n\t\t\tbottom: auto;\n\t\t\tleft: auto;\n\t\t\tpadding-top: 1.2rem;\n\t\t\tfont-size: 2.4rem;\n\t\t\tline-height: 1;\n\t\t}\n\n\t\t.color__type,\n\t\t.color-code.color-code--rgb,\n\t\t.color-palette--overview .color__name,\n\t\t.color-palette--overview .color-code {\n\t\t\tdisplay: none;\n\t\t}\n\n\t.color-code {\n\t\tbackground-color: inherit;\n\t\tdisplay: block;\n\t\tpadding: 0;\n\t\tfont-family: var( --font-family-system-sans );\n\t}\n\n\t\t.color-code--hsb {\n\t\t\topacity: 0;\n\t\t}\n\n@supports ( --css: variables ) {\n\t.color-hint {\n\t\twhite-space: nowrap;\n\t}\n\n\t.color-hint:before {\n\t\tcontent: '';\n\t\tbackground-color: var( --color-hint );\n\t\tdisplay: inline-block;\n\t\twidth: 1.2rem;\n\t\theight: 1.2rem;\n\t\tmargin: 0 0.4rem 0.3rem 0.2rem;\n\t\tborder-radius: 50%;\n\t\tvertical-align: text-bottom;\n\t\tcursor: help;\n\t}\n\n\t.color-hint--base100:before {\n\t\tborder: var( --border-base );\n\t}\n}\n\n\n/* ... Icon ... */\n.icon {\n\tdisplay: inline-block;\n\twidth: 2rem;\n\theight: 2rem;\n\tmargin: 0 0.2rem;\n\tvertical-align: text-bottom;\n}\n\n\t.icon--indicator {\n\t\twidth: 1.2rem;\n\t\theight: 1.2rem;\n\t\tmargin-bottom: 0.2rem;\n\t}\n\n\t.icon--intermediate {\n\t\twidth: 1.6rem;\n\t\theight: 1.6rem;\n\t\tmargin-bottom: 0.2rem;\n\t}\n\n\n/* ... Components ... */\n/*\n.page--components h2 {\n\tborder-bottom: 0;\n\tpadding-bottom: 0;\n}\n*/\n.components__designing {\n\tposition: relative;\n}\n\n.components__designing:after {\n\tcontent: '';\n\tbackground: url( ../../img/components/legend_16-8.svg ) no-repeat;\n\tposition: absolute;\n\tbottom: 0;\n\tright: 6.4rem;\n\twidth: 13.2rem;\n\theight: 6.4rem;\n}\n\n/* Messages */\n.page--components-messages .components__intro {\n\tmax-width: 700px;\n\tmargin-left: auto;\n\tmargin-right: auto;\n}\n\n/* Override general img border radius for correct Message representation */\n.page--components-messages img {\n\tborder-radius: 0;\n}\n\n\n/* ... Resources ... */\n.resources-table {\n\tdisplay: table;\n\twidth: 100%;\n\tmargin-top: 2.4rem;\n\tborder-collapse: collapse;\n}\n\n.resources-table__head,\n.resources-table__body {\n\tdisplay: table-row;\n\tborder-bottom: 1px solid #a2a9b1;\n}\n\n.resources-table__head {\n\tbackground-color: #eaecf0;\n}\n\n\t.resources-table__head h2 {\n\t\tmargin-top: 0;\n\t\tborder-bottom: 0;\n\t\tpadding-bottom: 0;\n\t\tfont-size: 2.1rem;\n\t\tfont-weight: var( --font-weight-base );\n\t}\n\n.resources-table__cell {\n\tdisplay: table-cell;\n\tpadding: 1.6rem 1.6rem 1.6rem 0;\n}\n\n\t.resources-table__head .resources-table__cell:first-child {\n\t\tpadding-left: 1.6rem;\n\t}\n\n.lnk-resource {\n\twhite-space: nowrap;\n}\n\n/* ::: Footer ::: */\n.footer {\n\tcolor: var( --color-base );\n\tpadding: 2.4rem 0;\n\tfont-size: 1.3rem;\n}\n\n.footer__list {\n\tpadding: 0;\n}\n\n\t.footer__list:first-child {\n\t\tmargin: 0;\n\t}\n\n\t.footer__list:after {\n\t\tcontent: ' ';\n\t\tdisplay: block;\n\t\tclear: both;\n\t}\n\n\t.footer__list li {\n\t\tlist-style: none none;\n\t\tdisplay: block;\n\t\tpadding: 0.8rem 0 0;\n\t}\n\n\t.footer__list li:first-child {\n\t\tpadding-top: 0;\n\t}\n\n\t.footer__list + p {\n\t\tmargin-top: 1.2rem;\n\t}\n\n\t.footer__list--connect a {\n\t\tfont-weight: var( --font-weight-bold );\n\t}\n\n.lnk--wikimedia-project {\n\tdisplay: inline-block;\n\tpadding: 0.4rem 0;\n\ttext-transform: uppercase;\n}\n\n\n/* ::: Page-specific Styles ::: */\n/* ... Homepage ... */\n.page--home .page__title {\n\tborder: 0;\n\tpadding: 0;\n}\n\n/* ... “Design principles – Accessibility” ... */\n.page--design-principles-accessibility .nav--main .is-on > a {\n\tcursor: pointer;\n}\n\n.page--design-principles-accessibility h3 {\n\tpadding-right: 15%;\n}\n\n/* ... “Typography” ... */\n.page--visual-style-typography .figures-do-dont .figure__contents {\n\tpadding: 4.2rem 3.6rem;\n}\n\n.figures-do-dont--contrast .figure--dont {\n\tcolor: var( --wmui-color-base50 );\n}\n\n/* ... Typography Styles ... */\n\n.typography-styles dt {\n\tdisplay: inline-block;\n\tcolor: var( --color-base--subtle );\n\tmin-width: 10rem;\n\tmargin: 0 0 3.2rem 1.6rem; /* Need to rely on `margin-bottom` here for vertical alignment */\n\tfont-size: 1.3rem;\n\tfont-weight: var( --font-weight-bold );\n\tvertical-align: top;\n}\n\n.typography-styles .typography-styles__blockquote {\n\tmargin-bottom: 4.8rem;\n}\n\n.typography-styles .typography-styles__code {\n\tmargin-bottom: 0;\n}\n\n.typography-styles dd {\n\tdisplay: inline;\n}\n\n.typography-styles dd > * {\n\tdisplay: inline-block;\n\tmargin-top: 0; /* Remove `margin` from elements like paragraphs and list elements */\n}\n\n.typography-styles .figure__caption {\n\tpadding-top: 0; /* Remove `padding` from elements like figure caption */\n}\n\n.typography-styles dd:after {\n content: '\\A';\n white-space: pre;\n}\n\n.typography-styles + hr {\n\tmargin-top: 4rem;\n\tmargin-bottom: 4rem;\n}\n\n/* ... “Icons” ... */\n.page--visual-style-icons img { /* FIXME: generalize image styles */\n\tbackground-color: var( --wmui-color-base80 ); /* FIXME: var; */\n\tpadding: 2.4rem;\n}\n\n\n/* ::: Dynamic content ::: */\n.fonts-loaded cite,\n.fonts-loaded .site__title,\n.fonts-loaded .color-code {\n\tfont-family: var( --font-family-system-sans );\n}\n\n/* ::: Text Block-Level Elements ::: */\n.fonts-loaded .page__title,\n.fonts-loaded blockquote,\n.fonts-loaded .typography-styles h1 {\n\tfont-family: 'Charter', Georgia, serif; /* stylelint-disable-line font-family-name-quotes */\n}\n\n\n/* ::: Media Queries ::: */\n/* ... Smartphone only ... */\n@media ( max-width: 767px ) {\n\t.nav--main {\n\t\tposition: absolute;\n\t\ttop: -3.2rem;\n\t\tleft: -1.6rem;\n\t\tright: -1.6rem;\n\t\tpadding-bottom: 1.6rem;\n\t\tbox-shadow: 0 2px 2px 0 rgba( 0, 0, 0, 0.25 ); /* FIXME: Update wmui-base */\n\t\tz-index: 1;\n\t\ttransform: translateY( -200% );\n\t\ttransition: left var( --transition-ease-medium ), right var( --transition-ease-medium ), transform var( --transition-ease-medium );\n\t}\n\n\t.trigger--nav-main:checked + .nav--main {\n\t\ttransform: translateY( 0 );\n\t}\n\n\t.page__title {\n\t\tmargin-top: -0.4rem;\n\t\tfont-size: 2.8rem;\n\t}\n\n\t.typography-styles dt {\n\t\tdisplay: block;\n\t\tmargin-left: 0;\n\t}\n\n\t/* ... Components ... */\n\t.page--components .components__states {\n\t\tmargin-left: 0;\n\t}\n\n\t/* ... Resources ... */\n\t.resources-table,\n\t.resources-table__head,\n\t.resources-table__body,\n\t.resources-table__cell {\n\t\tdisplay: block;\n\t}\n\n\t.resources-table__head {\n\t\tmargin-left: -1.6rem;\n\t\tmargin-right: -1.6rem;\n\t}\n\n\t.resources-table__head .resources-table__cell:empty {\n\t\tdisplay: none;\n\t}\n\n\t.resources-table__body {\n\t\tpadding-left: 0;\n\t}\n\n\t.resources-table__cell {\n\t\tpadding-top: 0.8rem;\n\t\tpadding-bottom: 0.8rem;\n\t}\n}\n\n/* ... Smartphone portrait ... */\n@media ( min-width: 240px ) {\n\t.content-box,\n\t.site__title a,\n\t.nav--main a {\n\t\ttransition-property: background-color, padding;\n\t\ttransition-duration: var( --transition-ease-medium );\n\t}\n\n\t.site__title {\n\t\tmargin-left: 4.2rem;\n\t}\n\n\t\t.site__title a {\n\t\t\tpadding-left: 0;\n\t\t}\n\n\t.lnk--contribute span {\n\t\tdisplay: none;\n\t}\n\n\t.nav--main a {\n\t\tpadding-left: 1.6rem;\n\t\tpadding-right: 1.6rem;\n\t}\n\n\t.col--start,\n\t.col--end {\n\t\twidth: 100%;\n\t}\n\n\t.figure--full,\n\t.resources-table__head {\n\t\tmargin-left: -1.6rem;\n\t\tmargin-right: -1.6rem;\n\t}\n\n\t.figure--full .figure__caption {\n\t\tmargin-left: 1.6rem;\n\t\tmargin-right: 1.6rem;\n\t}\n\n\t.figure--this-is-for-everyone img,\n\t.figure--trustworthy-yet-joyful img {\n\t\twidth: 100%;\n\t\tmax-width: 568px;\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t}\n\n\t.figure--illustrations-header img {\n\t\twidth: 100%;\n\t}\n\n\t.figure--illustrations-header + .figure--illustrations-header,\n\t.figure--illustrations-header + .figure--illustrations-header img {\n\t\tmargin-top: 0;\n\t}\n\n\t.color {\n\t\twidth: 61.8%;\n\t}\n\n\t.color-palette--base .color:nth-child( 3n+4 ) {\n\t\tclear: both;\n\t}\n\n\t.color-palette--base .color {\n\t\tmargin-right: 1.6rem;\n\t}\n\n\t.color-palette--overview.color-palette--base .color--emphasized {\n\t\tmargin-right: 1.1rem;\n\t\tmargin-left: -0.2rem;\n\t}\n\n\t.page--components figure {\n\t\tmargin-left: 4.2rem;\n\t}\n}\n\n/* ... Smartphone+ portrait ... */\n@media ( min-width: 414px ) {\n\t.content-box {\n\t\tpadding-left: 3.2rem;\n\t\tpadding-right: 3.2rem;\n\t}\n\n\t.nav--main {\n\t\tleft: -3.2rem;\n\t\tright: -3.2rem;\n\t}\n\n\t\t.nav--main a {\n\t\t\tpadding-left: 3.2rem;\n\t\t\tpadding-right: 3.2rem;\n\t\t}\n\n\t.figure--full,\n\t.resources-table__head {\n\t\tmargin-left: -3.2rem;\n\t\tmargin-right: -3.2rem;\n\t}\n\n\t.figure--full .figure__caption {\n\t\tmargin-left: 3.2rem;\n\t\tmargin-right: 3.2rem;\n\t}\n\n\t.resources-table__head .resources-table__cell:first-child {\n\t\tpadding-left: 3.2rem;\n\t\tpadding-right: 3.2rem;\n\t}\n\n\t.footer__list li {\n\t\tdisplay: list-item;\n\t\tfloat: left;\n\t\tpadding: 0 0.8rem 0 0;\n\t}\n\n\t.footer__list li:after {\n\t\tcontent: '\\2022'; /* bullet dot: '•' */\n\t\tcolor: var( --color-base--subtle );\n\t\tpadding: 0 0 0 0.8rem;\n\t\tfont-weight: 100;\n\t}\n\n\t.footer__list li:last-child:after {\n\t\tcontent: '';\n\t\tpadding: 0;\n\t}\n\n\t.color {\n\t\twidth: 16rem;\n\t\tmargin-right: 2.4rem;\n\t}\n}\n\n/* ... Smartphone landscape ... */\n@media ( min-width: 568px ) {\n\t.lnk--contribute {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\tbottom: 1.5rem; /* Not on 8px base due to `line-height` setting */\n\t\tright: 3.2rem;\n\t\ttext-align: right;\n\t}\n\n\t.lnk--contribute span {\n\t\tdisplay: inline;\n\t\topacity: 0;\n\t\ttransition: opacity var( --transition-ease-medium );\n\t}\n\n\t.figures-do-dont .figure {\n\t\tmax-width: 61.8%;\n\t}\n\n\t.figure--this-is-for-everyone img,\n\t.figure--trustworthy-yet-joyful img {\n\t\tmax-width: none;\n\t}\n\n\t.figure--illustrations-header {\n\t\tfloat: left;\n\t\twidth: 44.4%;\n\t}\n\n\t.figure--illustrations-header + .figure--illustrations-header {\n\t\twidth: 55.55%;\n\t\tmargin-top: 0.8rem;\n\t}\n\n\t.figure--illustrations-header + .figure--illustrations-header img {\n\t\tmargin-top: 1.6rem;\n\t}\n}\n\n/* ... Tablet ... */\n@media ( min-width: 768px ) {\n\timg {\n\t\tborder-radius: 2px;\n\t}\n\n\t.content-box {\n\t\twidth: 100%;\n\t\tmax-width: 960px;\n\t}\n\n\t.btn--nav-main {\n\t\tdisplay: none;\n\t}\n\n\t.site__title {\n\t\tfloat: left;\n\t\tmargin-left: 0;\n\t}\n\n\t\t.site__title a,\n\t\t.nav--main a {\n\t\t\tpadding-left: 1.6rem;\n\t\t\tpadding-right: 1.6rem;\n\t\t}\n\n\t.lnk--contribute span {\n\t\tdisplay: inline;\n\t\topacity: 1;\n\t}\n\n\t.col--start {\n\t\twidth: 20.8rem;\n\t\tz-index: 1;\n\t\ttransition: width var( --transition-ease-medium );\n\t}\n\n\t.col--end {\n\t\tmargin-left: -20.8rem;\n\t\tpadding-left: 24rem; /* = 22.4 + (2 * 1.6 padding) */\n\t}\n\n\t.nav--main {\n\t\tleft: auto;\n\t\tright: auto;\n\t}\n\n\t.figure--full,\n\t.figure--full .figure__caption {\n\t\tmargin-left: 0;\n\t\tmargin-right: 0;\n\t}\n\n\t.figures-do-dont .figure {\n\t\tfloat: left;\n\t\twidth: 50%;\n\t}\n\n\t.color-palette--base .color:nth-child( 3n+4 ) {\n\t\tclear: unset;\n\t}\n\n\t/* ... “Illustrations” ... */\n\t.illustrations-case-study img {\n\t\tfloat: left;\n\t\twidth: 33.33%;\n\t}\n\n\t.page--components figure {\n\t\tmargin-left: 6.4rem;\n\t}\n}\n\n/* ... Tablet+ / Netbook ... */\n@media ( min-width: 992px ) {\n\t.content-box {\n\t\twidth: 100%;\n\t\tmax-width: var( --width-site-desktop-wide );\n\t}\n\n\t.site__title a,\n\t.nav--main a {\n\t\tpadding-left: 3.2rem;\n\t\tpadding-right: 3.2rem;\n\t}\n\n\t.col--start {\n\t\twidth: 24rem;\n\t}\n\n\t.col--end {\n\t\tmargin-left: -24rem;\n\t\tpadding-left: 27.2rem; /* = 24 + (2 * 1.6 padding) */\n\t}\n\n\t.color-palette--overview:first-child {\n\t\tmargin-top: 2.4rem;\n\t}\n\n\t.color {\n\t\tmargin-right: 2.4rem;\n\t}\n\n\t\t.color-palette--base .color {\n\t\t\tmargin-right: 1.35rem;\n\t\t}\n\n\t\t.color-palette--overview.color-palette--base .color--emphasized {\n\t\t\tmargin-right: 1.35rem;\n\t\t\tmargin-left: 0;\n\t\t}\n\n\t.color-palette--overview.color-palette--red:before,\n\t.color-palette--overview.color-palette--red:after,\n\t.color-palette--overview.color-palette--green:before,\n\t.color-palette--overview.color-palette--green:after {\n\t\tcontent: '';\n\t\tdisplay: none;\n\t}\n\n\t.color-palette--overview.color-palette--red:after,\n\t.color-palette--overview.color-palette--green:after,\n\t.color-section .color:nth-child( 3n+4 ) {\n\t\tclear: both;\n\t}\n\n\t/* ... Resources ... */\n\t.resources-table__body .resources-table__cell {\n\t\ttransition: background-color var( --transition-ease-medium );\n\t}\n\n\t\t.resources-table__body:hover .resources-table__cell {\n\t\t\tbackground-color: #f8f9fa;\n\t\t}\n\n\t\t.resources-table__head .resources-table__cell:first-child,\n\t\t.resources-table__body .resources-table__cell:first-child {\n\t\t\tpadding-left: 1.6rem;\n\t\t}\n}\n\n@media ( min-width: 1200px ) {\n\t.content-box {\n\t\twidth: var( --width-site-desktop-wide );\n\t}\n\n\t.col--start {\n\t\twidth: 25.6rem;\n\t}\n\n\t.col--end {\n\t\tmargin-left: -25.6rem;\n\t\tpadding-left: 28.8rem; /* = 25.6 + (2 * 1.6 padding) */\n\t}\n}\n"]} \ No newline at end of file +{"version":3,"sources":["../../node_modules/normalize.css/normalize.css","../partials/fonts.css","../wmui-style-guide.dev.css"],"names":[],"mappings":"AAAA,2EAA2E,CAW3E,KACE,gBAAiB,CACjB,yBAA0B,CAC1B,6BACF,CAiBA,wCAME,aACF,CAOA,GACE,aAAc,CACd,cACF,CAUA,uBAGE,aACF,CAMA,OACE,eACF,CAOA,GACE,2BAAuB,CAAvB,sBAAuB,CACvB,QAAS,CACT,gBACF,CAOA,IACE,+BAAiC,CACjC,aACF,CAUA,EACE,8BAA6B,CAC7B,oCACF,CAOA,YACE,kBAAmB,CACnB,yBAA0B,CAC1B,wCAAiC,CAAjC,qCAAiC,CAAjC,gCACF,CAMA,SAEE,mBAAoB,CASpB,kBARF,CAgBA,cAGE,+BAAiC,CACjC,aACF,CAMA,IACE,iBACF,CAMA,KACE,qBAAsB,CACtB,UACF,CAMA,MACE,aACF,CAOA,QAEE,aAAc,CACd,aAAc,CACd,iBAAkB,CAClB,uBACF,CAEA,IACE,aACF,CAEA,IACE,SACF,CASA,YAEE,oBACF,CAMA,sBACE,YAAa,CACb,QACF,CAMA,IACE,iBACF,CAMA,eACE,eACF,CAUA,sCAKE,sBAAuB,CACvB,cAAe,CACf,gBAAiB,CACjB,QACF,CAOA,aAEE,gBACF,CAOA,cAEE,mBACF,CAQA,qDAIE,yBACF,CAMA,wHAIE,iBAAkB,CAClB,SACF,CAMA,4GAIE,6BACF,CAMA,SACE,0BACF,CASA,OACE,0BAAsB,CAAtB,qBAAsB,CACtB,aAAc,CACd,aAAc,CACd,cAAe,CACf,SAAU,CACV,kBACF,CAOA,SACE,oBAAqB,CACrB,uBACF,CAMA,SACE,aACF,CAOA,6BAEE,0BAAsB,CAAtB,qBAAsB,CACtB,SACF,CAMA,kFAEE,WACF,CAOA,cACE,4BAA6B,CAC7B,mBACF,CAMA,qFAEE,uBACF,CAOA,6BACE,yBAA0B,CAC1B,YACF,CAUA,aAEE,aACF,CAMA,QACE,iBACF,CASA,OACE,oBACF,CAiBA,kBACE,YACF,CC9bA,WACC,mBAAsB,CACtB,+GAC4D,CAC5D,iBAAkB,CAClB,eAAgB,CAChB,iCACD,CAEA,WACC,mBAAsB,CACtB,yGACyD,CACzD,iBAAkB,CAClB,eAAgB,CAChB,iCACD,CCSA,EACC,0BAAsB,CAAtB,qBACD,CAEA,KACC,eACD,CAEA,KACC,wBAA4C,CAC5C,aAA0B,CAC1B,QAAS,CACT,4FAA6C,CAC7C,gBAAiB,CACjB,eACD,CAIA,kBAMC,UAAsC,CACtC,iBAAkB,CAClB,gBAAiB,CACjB,kDAAkG,CAAlG,+CAAkG,CAAlG,0CACD,CAEA,YAIC,eACD,CAEA,gBAEC,yBAAiD,CACjD,gBAAiB,CACjB,eACD,CAEA,GACC,+BAAqG,CACrG,kBAAmB,CACnB,gBACD,CAGA,MACC,iBACD,CAEA,GACC,cACD,CAEA,GACC,gBACD,CAMA,MAHC,gBAMD,CAHA,GAEC,eACD,CAGA,WACC,iBAAkB,CAClB,6BAA6C,CAC7C,oBAAsB,CACtB,yBAAiD,CACjD,cAAe,CACf,iBACD,CAEA,gBACC,aAAc,CACd,gBAAkB,CAClB,4FAA6C,CAC7C,gBAAiB,CACjB,iBACD,CAEC,uBACC,YACD,CAED,kBAGC,gEACD,CAEA,GACC,kBAAwC,CACxC,aAAc,CACd,YAAc,CACd,QAAS,CACT,aACD,CAEA,EACC,iBACD,CAEC,qDASC,gBACD,CAEA,aACC,iBACD,CAED,aAEC,wBAAgD,CAChD,UAAsC,CACtC,wBAA4B,CAC5B,mBAAoB,CACpB,gBAAiB,CACjB,oBACD,CAGA,MAEC,cAAgB,CAChB,oBACD,CAEA,YACC,gBACD,CAEC,wBACC,YACD,CAGD,OACC,gBACD,CAEA,IACC,aAAc,CACd,cAAe,CACf,iBACD,CAEA,yBACC,kBAAmB,CACnB,iBACD,CAEA,6BACC,gBACD,CAEA,mBACC,UAAW,CACX,kBACD,CAEC,+BACC,aACD,CAGD,EACC,UAA6B,CAC7B,oBACD,CAEC,QACC,yBACD,CAEA,SACC,aACD,CAED,SAEC,eACD,CAEA,KACC,wBAAgD,CAChD,oBAAqB,CACrB,mBAAsB,CACtB,gBACD,CAEA,MACC,gBACD,CAEA,QAEC,gBACD,CAIA,UACC,aAAc,CACd,iBAAkB,CAClB,0BAAgC,CAChC,SAAU,CACV,UAAW,CACX,WAAY,CACZ,QAAS,CACT,SAAU,CACV,eACD,CAEC,2DAEC,eAAgB,CAChB,SAAU,CACV,UAAW,CACX,WAAY,CACZ,QAAS,CACT,yBAA0B,CAC1B,gBACD,CAED,yUAcC,WAAY,CACZ,aACD,CAEA,iKAOC,UACD,CAKA,OACC,kBACD,CAEA,6BAEC,aACD,CAEA,kBACC,gBACD,CAEA,4BAEC,aAAiC,CACjC,SACD,CAJA,qCAEC,aAAiC,CACjC,SACD,CAJA,uBAEC,aAAiC,CACjC,SACD,CAJA,wBAEC,aAAiC,CACjC,SACD,CAJA,8BAEC,aAAiC,CACjC,SACD,CAEA,aACC,iBAAkB,CAClB,iBAAkB,CAClB,gBAAiB,CACjB,mBAAoB,CACpB,oBACD,CAIA,QACC,cAAe,CACf,KAAM,CACN,MAAO,CACP,OAAQ,CACR,iBAAkB,CAClB,kBACD,CAEC,aACC,aAAiC,CACjC,YAAa,CACb,aAAc,CACd,4FAA6C,CAC7C,gBAAiB,CACjB,eAAsC,CACtC,mBACD,CAEC,eACC,aAAc,CACd,oBAAqB,CACrB,uBAAwB,CACxB,6BAAiD,CAAjD,0BAAiD,CAAjD,qBACD,CAEA,qBACC,UAAgC,CAChC,oBACD,CAEA,WACC,aACD,CAEA,eACC,eACD,CAGD,eACC,iBAAkB,CAClB,UAAW,CACX,YAAa,CACb,aAAc,CACd,cACD,CAGA,iBACC,aAAc,CACd,aAAc,CACd,6CAA6F,CAA7F,+DAA6F,CAA7F,qCAA6F,CAA7F,0DACD,CAEA,+CAEC,UAAW,CACX,wBAA4C,CAC5C,UAAW,CACX,UAAW,CACX,iBAAkB,CAClB,SAAW,CACX,MACD,CAEA,uBACC,UAAW,CACX,iCAAiD,CAAjD,4BACD,CAEA,2DAEC,qBACD,CAEA,6BACC,8BAAgD,CAAhD,yBACD,CAEA,oBACC,aAAc,CACd,iBAAkB,CAClB,0BAAgC,CAChC,SAAU,CACV,UAAW,CACX,WAAY,CACZ,eACD,CAGA,iBACC,gBAAiB,CACjB,kBACD,CAID,MACC,qBAAgD,CAChD,iBAAkB,CAClB,iBAAkB,CAClB,gBAAiB,CACjB,2CAA6C,CAA7C,sCAA6C,CAC7C,iBACD,CAMA,cAHC,UAOD,CAJA,KAEC,iBAAkB,CAClB,cACD,CAMC,sBACC,SACD,CAGD,WACC,qBAED,CAEA,gDAEC,YACD,CAEA,4BAEC,SACD,CAEA,0BACC,QACD,CAEA,cACC,SAAU,CACV,oBACD,CAEA,iBACC,mBACD,CAEA,aACC,aAA0B,CAC1B,aAAc,CACd,oBAAsB,CACtB,gBAAiB,CACjB,oBAAqB,CACrB,gEAA4I,CAA5I,6DAA4I,CAA5I,wDACD,CAEA,sCAEC,wBAAgD,CAChD,UACD,CAEA,oBACC,wBAAmD,CACnD,UAA6B,CAE7B,sBAA0C,CAA1C,iBAA0C,CAC1C,eAAsC,CACtC,cACD,CAEA,gBACC,iBAAkB,CAClB,iBACD,CAEA,+BACC,kBACD,CAEA,8BACC,QACD,CAEA,6BACC,aAAiC,CACjC,6BAAwE,CACrE,8BAA0E,CAA1E,yBAA0E,CAC7E,mBAAoB,CACpB,gBAAiB,CACjB,mDAAmG,CAAnG,gDAAmG,CAAnG,2CACD,CAEA,kCACC,qBAAgD,CAChD,UAAkC,CAClC,sBAA4C,CAC5C,eACD,CAEA,2CACC,mBACD,CAIA,oBACC,aAAkC,CAClC,kBACD,CAEA,aACC,iBACD,CAEA,iCACC,iBACD,CAEA,eACC,iBAAkB,CAClB,cAAe,CACf,iBAAkB,CAClB,eACD,CAQA,eACC,wBACD,CAEA,uCAEC,aAAkC,CAClC,UAAW,CACX,aAAc,CACd,gBACD,CAEA,iBACC,iBAAmB,CACnB,iBACD,CAEC,uBACC,YACD,CAED,sBACC,WAAY,CACZ,kBACD,CAEC,wBACC,UACD,CAGD,iBACC,iBACD,CAEA,yBACC,wBAA4C,CAC5C,8BAAmD,CAAnD,0BAAmD,CACnD,+BAAoD,CAApD,2BACD,CAEA,+BACC,0BACD,CAEA,kCACC,qBAA+C,CAC/C,aAAc,CACd,sBAAwB,CACxB,sBAAuB,CACvB,kBACD,CAEA,iCAEC,wBACD,CAEA,qCAEC,qBACD,CAEA,UAEC,iBAAkB,CAClB,eACD,CAEC,wBAEC,oBAAqB,CACrB,kBAAoB,CACpB,iBAAmB,CACnB,gBAAiB,CACjB,gBAAiB,CACjB,kBACD,CAED,IACC,aACD,CAEC,WACC,WACD,CAED,MACC,UACD,CAEC,aACC,WACD,CAID,eACC,iBAAkB,CAClB,SACD,CAEA,8BACC,YACD,CAEA,iBACC,iBACD,CAEA,OACC,UAAsC,CACtC,oBAAqB,CACrB,aAAc,CACd,UAAW,CACX,iBAAkB,CAClB,WAAY,CACZ,YAAa,CACb,oBAAqB,CACrB,cAAe,CACf,qBAAgG,CAChG,sBAA0C,CAA1C,iBAA0C,CAC1C,gBACD,CAEC,qCAEC,UACD,CAEA,qCACC,UACD,CAEA,kCACC,gBACD,CAEA,gCACC,YAAa,CACb,aAAc,CACd,gBAAkB,CAClB,mBAAoB,CACpB,oBAAqB,CACrB,yBAAqB,CAArB,oBAAqB,CACrB,cACD,CAEA,4CACC,gBACD,CAEA,4CACC,YAAa,CACb,WAAY,CACZ,YAAa,CACb,yBAAqB,CAArB,oBAAqB,CACrB,gBACD,CAEA,4BACC,oBACD,CAEA,uCACC,+BAAmD,CAAnD,4BAAmD,CAAnD,uBACD,CAEC,6CACC,SACD,CAED,aACC,aAAc,CACd,iBAAkB,CAClB,aAAc,CACd,WAAY,CACZ,gBAAiB,CACjB,eACD,CAEC,sCACC,iBAAkB,CAClB,WAAY,CACZ,SAAU,CACV,kBAAmB,CACnB,gBAAiB,CACjB,aACD,CAEA,oHAIC,YACD,CAED,YACC,wBAAyB,CACzB,aAAc,CACd,SAAU,CACV,4FACD,CAEC,iBACC,SACD,CAEF,4BACC,YACC,kBACD,CAEA,mBACC,UAAW,CACX,kCAAqC,CACrC,oBAAqB,CACrB,YAAa,CACb,aAAc,CACd,0BAA8B,CAC9B,sBAAkB,CAAlB,iBAAkB,CAClB,0BAA2B,CAC3B,WACD,CAEA,4BACC,wBACD,CACD,CAIA,MACC,oBAAqB,CACrB,UAAW,CACX,WAAY,CACZ,cAAgB,CAChB,0BACD,CAEC,iBACC,YAAa,CACb,aAAc,CACd,mBACD,CAEA,oBACC,YAAa,CACb,aAAc,CACd,mBACD,CAUD,uBACC,iBACD,CAEA,6BACC,UAAW,CACX,8DAAiE,CACjE,iBAAkB,CAClB,QAAS,CACT,YAAa,CACb,aAAc,CACd,aACD,CAQA,8CACC,eAAgB,CAChB,gBAAiB,CACjB,iBACD,CAGA,+BACC,oBAAgB,CAAhB,eACD,CAIA,iBACC,aAAc,CACd,UAAW,CACX,iBAAkB,CAClB,wBACD,CAEA,8CAEC,iBAAkB,CAClB,+BACD,CAEA,uBACC,wBACD,CAEC,0BACC,YAAa,CACb,eAAgB,CAChB,gBAAiB,CACjB,gBAAiB,CACjB,eACD,CAED,uBACC,kBAAmB,CACnB,8BACD,CAEC,0DACC,mBACD,CAED,cACC,kBACD,CAGA,QACC,aAA0B,CAC1B,gBAAiB,CACjB,gBACD,CAEA,cACC,SACD,CAEC,0BACC,QACD,CAEA,oBACC,WAAY,CACZ,aAAc,CACd,UACD,CAEA,iBACC,oBAAqB,CACrB,aAAc,CACd,iBACD,CAEA,6BACC,aACD,CAEA,gBACC,iBACD,CAEA,yBACC,eACD,CAED,wBACC,oBAAqB,CACrB,eAAiB,CACjB,wBACD,CAKA,yBACC,QAAS,CACT,SACD,CAGA,2DACC,cACD,CAEA,0CACC,iBACD,CAGA,kEACC,qBACD,CAEA,yCACC,aACD,CAIA,sBACC,oBAAqB,CACrB,aAAkC,CAClC,eAAgB,CAChB,wBAAyB,CACzB,gBAAiB,CACjB,eAAsC,CACtC,kBACD,CAEA,kDACC,oBACD,CAEA,4CACC,eACD,CAEA,sBACC,cACD,CAEA,wBACC,oBAAqB,CACrB,YACD,CAEA,oCACC,aACD,CAEA,4BACK,YAAa,CACb,eACL,CAEA,sBACC,eAAgB,CAChB,kBACD,CAGA,8BACC,wBAA4C,CAC5C,cACD,CAIA,wEAGC,4FACD,CAGA,wFAGC,iCACD,CAKA,yBACC,WACC,iBAAkB,CAClB,WAAY,CACZ,YAAa,CACb,aAAc,CACd,qBAAsB,CACtB,2CAA6C,CAA7C,sCAA6C,CAC7C,SAAU,CACV,mCAA8B,CAA9B,gCAA8B,CAA9B,+BAA8B,CAA9B,2BAA8B,CAC9B,8DAAkI,CAAlI,sDAAkI,CAAlI,uEAAkI,CAAlI,8CAAkI,CAAlI,yFACD,CAEA,sCACC,+BAA0B,CAA1B,4BAA0B,CAA1B,2BAA0B,CAA1B,uBACD,CAEA,aACC,iBAAmB,CACnB,gBACD,CAEA,sBACC,aAAc,CACd,aACD,CAGA,sCACC,aACD,CAGA,sFAIC,aACD,CAEA,uBACC,mBAAoB,CACpB,oBACD,CAEA,oDACC,YACD,CAEA,uBACC,cACD,CAEA,uBACC,iBAAmB,CACnB,oBACD,CACD,CAGA,yBACC,yCAGC,oDAA8C,CAA9C,iDAA8C,CAA9C,4CAA8C,CAC9C,gCAAoD,CAApD,6BAAoD,CAApD,wBACD,CAEA,aACC,kBACD,CAEC,eACC,cACD,CAED,sBACC,YACD,CAEA,aACC,mBAAoB,CACpB,oBACD,CAEA,sBAEC,UACD,CAEA,qCAEC,mBAAoB,CACpB,oBACD,CAEA,+BACC,kBAAmB,CACnB,mBACD,CAEA,sEAEC,UAAW,CACX,eAAgB,CAChB,gBAAiB,CACjB,iBACD,CAEA,kCACC,UACD,CAEA,4HAEC,YACD,CAEA,OACC,WACD,CAEA,4CACC,UACD,CAEA,4BACC,mBACD,CAEA,gEACC,mBAAoB,CACpB,kBACD,CAEA,yBACC,kBACD,CACD,CAGA,yBACC,aACC,mBAAoB,CACpB,oBACD,CAEA,WACC,YAAa,CACb,aACD,CAEC,aACC,mBAAoB,CACpB,oBACD,CAED,qCAEC,mBAAoB,CACpB,oBACD,CAEA,+BACC,kBAAmB,CACnB,mBACD,CAEA,0DACC,mBAAoB,CACpB,oBACD,CAEA,iBACC,iBAAkB,CAClB,UAAW,CACX,mBACD,CAEA,uBACC,eAAgB,CAChB,aAAkC,CAClC,mBAAqB,CACrB,eACD,CAEA,kCACC,UAAW,CACX,SACD,CAEA,OACC,WAAY,CACZ,mBACD,CACD,CAGA,yBACC,iBACC,aAAc,CACd,iBAAkB,CAClB,aAAc,CACd,YAAa,CACb,gBACD,CAEA,sBACC,cAAe,CACf,SAAU,CACV,+BAAmD,CAAnD,4BAAmD,CAAnD,uBACD,CAEA,yBACC,eACD,CAEA,sEAEC,cACD,CAEA,8BACC,UAAW,CACX,WACD,CAEA,4DACC,YAAa,CACb,gBACD,CAEA,gEACC,iBACD,CACD,CAGA,yBACC,IACC,sBAAkB,CAAlB,iBACD,CAEA,aACC,UAAW,CACX,eACD,CAEA,eACC,YACD,CAEA,aACC,UAAW,CACX,aACD,CAEC,4BAEC,mBAAoB,CACpB,oBACD,CAED,sBACC,cAAe,CACf,SACD,CAEA,YACC,aAAc,CACd,SAAU,CACV,6BAAiD,CAAjD,0BAAiD,CAAjD,qBACD,CAEA,UACC,oBAAqB,CACrB,kBACD,CAEA,WACC,SAAU,CACV,UACD,CAEA,6CAEC,aAAc,CACd,cACD,CAEA,yBACC,UAAW,CACX,SACD,CAEA,4CACC,WACD,CAGA,8BACC,UAAW,CACX,YACD,CAEA,yBACC,kBACD,CACD,CAGA,yBACC,aACC,UAAW,CACX,gBACD,CAEA,4BAEC,mBAAoB,CACpB,oBACD,CAEA,YACC,WACD,CAEA,UACC,kBAAmB,CACnB,oBACD,CAEA,qCACC,iBACD,CAEA,OACC,mBACD,CAEC,4BACC,oBACD,CAEA,gEACC,oBAAqB,CACrB,aACD,CAED,8MAIC,UAAW,CACX,YACD,CAEA,4IAGC,UACD,CAGA,8CACC,wCAA4D,CAA5D,qCAA4D,CAA5D,gCACD,CAEC,oDACC,wBACD,CAEA,oHAEC,mBACD,CACF,CAEA,0BACC,aACC,YACD,CAEA,YACC,aACD,CAEA,UACC,oBAAqB,CACrB,oBACD,CACD","file":"wmui-style-guide.min.css","sourcesContent":["/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in\n * IE on Windows Phone and in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -ms-text-size-adjust: 100%; /* 2 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers (opinionated).\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Add the correct display in IE 9-.\n */\n\narticle,\naside,\nfooter,\nheader,\nnav,\nsection {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * Add the correct display in IE 9-.\n * 1. Add the correct display in IE.\n */\n\nfigcaption,\nfigure,\nmain { /* 1 */\n display: block;\n}\n\n/**\n * Add the correct margin in IE 8.\n */\n\nfigure {\n margin: 1em 40px;\n}\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * 1. Remove the gray background on active links in IE 10.\n * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.\n */\n\na {\n background-color: transparent; /* 1 */\n -webkit-text-decoration-skip: objects; /* 2 */\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57- and Firefox 39-.\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Prevent the duplicate application of `bolder` by the next rule in Safari 6.\n */\n\nb,\nstrong {\n font-weight: inherit;\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font style in Android 4.3-.\n */\n\ndfn {\n font-style: italic;\n}\n\n/**\n * Add the correct background and color in IE 9-.\n */\n\nmark {\n background-color: #ff0;\n color: #000;\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Add the correct display in IE 9-.\n */\n\naudio,\nvideo {\n display: inline-block;\n}\n\n/**\n * Add the correct display in iOS 4-7.\n */\n\naudio:not([controls]) {\n display: none;\n height: 0;\n}\n\n/**\n * Remove the border on images inside links in IE 10-.\n */\n\nimg {\n border-style: none;\n}\n\n/**\n * Hide the overflow in IE.\n */\n\nsvg:not(:root) {\n overflow: hidden;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers (opinionated).\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: sans-serif; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput { /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\n * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`\n * controls in Android 4.\n * 2. Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\nhtml [type=\"button\"], /* 1 */\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button; /* 2 */\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * 1. Add the correct display in IE 9-.\n * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n display: inline-block; /* 1 */\n vertical-align: baseline; /* 2 */\n}\n\n/**\n * Remove the default vertical scrollbar in IE.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10-.\n * 2. Remove the padding in IE 10-.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-cancel-button,\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in IE 9-.\n * 1. Add the correct display in Edge, IE, and Firefox.\n */\n\ndetails, /* 1 */\nmenu {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Scripting\n ========================================================================== */\n\n/**\n * Add the correct display in IE 9-.\n */\n\ncanvas {\n display: inline-block;\n}\n\n/**\n * Add the correct display in IE.\n */\n\ntemplate {\n display: none;\n}\n\n/* Hidden\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10-.\n */\n\n[hidden] {\n display: none;\n}\n","@font-face {\n\tfont-family: 'Charter';\n\tsrc: url( '../../fonts/Charter_regular.woff2' ) format( 'woff2' ),\n\t\t url( '../../fonts/Charter_regular.woff' ) format( 'woff' );\n\tfont-style: normal;\n\tfont-weight: 400;\n\ttext-rendering: optimizeLegibility; /* Attention: Android Stock Browser <= 4.3 doesn't show web font with this setting, but it also doesn't support WOFF :) */\n}\n\n@font-face {\n\tfont-family: 'Charter';\n\tsrc: url( '../../fonts/Charter_bold.woff2' ) format( 'woff2' ),\n\t\t url( '../../fonts/Charter_bold.woff' ) format( 'woff' );\n\tfont-style: normal;\n\tfont-weight: 700;\n\ttext-rendering: optimizeLegibility;\n}\n\n/*\n@font-face {\n\tfont-family: 'Charter';\n\tsrc: url( '../fonts/Charter_italic.woff2' ) format( 'woff2' ),\n\t\t url( '../fonts/Charter_italic.woff' ) format( 'woff' );\n\tfont-style: italic;\n\tfont-weight: 400;\n\ttext-rendering: optimizeLegibility;\n}\n@font-face {\n\tfont-family: 'Charter';\n\tsrc: url( '../fonts/Charter_bold-italic.woff2' ) format( 'woff2' ),\n\t\t url( '../fonts/Charter_bold-italic.woff' ) format( 'woff' );\n\tfont-style: italic;\n\tfont-weight: 700;\n\ttext-rendering: optimizeLegibility;\n}\n*/\n","/* ::: Vendor Imports ::: */\n/* Load files from 'node_modules' folders with postCSS-import plugin.\n * Modules specified in package.json file. */\n@import 'wikimedia-ui-base/wikimedia-ui-base.css';\n@import 'normalize.css';\n\n/* ::: Local Imports ::: */\n@import 'partials/fonts.css';\n\n:root {\n\t--background-color-hr: var( --wmui-color-base80 );\n\t--width-site: 960px;\n\t--width-site-desktop-wide: 1140px;\n\t--border-color-heading: var( --wmui-color-base80 );\n\t--border-width-heading: 3px;\n\t--border-start-blockquote: 4px var( --border-style-base ) var( --wmui-color-base80 );\n\t--outline-color-base--focus: var( --color-primary--focus );\n\t/* HACK; Add Georgia to serif fallback as long as WikimediaUI Base isn't updated. */\n\t--font-family-serif--fallback: Georgia, serif; /* stylelint-disable-line value-keyword-case */\n\t/* Setting bold to `600` as our stack works better with it, only Lato is on the edge.\n\t Helvetica and Arial fallback gracefully to `700`, see T246791. */\n\t--font-weight-bold: 600;\n\t--font-weight-ultralight: 100;\n}\n\n* {\n\tbox-sizing: border-box;\n}\n\nhtml {\n\tfont-size: 62.5%;\n}\n\nbody {\n\tbackground-color: var( --wmui-color-base80 ); /* FIXME: var; */\n\tcolor: var( --color-base );\n\tmargin: 0;\n\tfont-family: var( --font-family-system-sans );\n\tfont-size: 1.6rem;\n\tline-height: var( --line-height-base );\n}\n\n/* ::: Text Block-Level Elements ::: */\n/* ... Headings ... */\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n\tcolor: var( --color-base--emphasized );\n\tmargin: 3.2rem 0 0;\n\tline-height: 1.25;\n\ttransition: font-size var( --transition-ease-medium ), font-weight var( --transition-ease-medium );\n}\n\nh2,\nh3,\nh4,\nh5 {\n\tfont-weight: var( --font-weight-bold );\n}\n\nh1,\n.page__title {\n\tfont-family: var( --font-family-serif--fallback ); /* Fallback */\n\tfont-size: 3.2rem;\n\tfont-weight: var( --font-weight-base );\n}\n\nh2 {\n\tborder-bottom: var( --border-width-heading ) var( --border-style-base ) var( --border-color-heading );\n\tpadding-bottom: 2px;\n\tfont-size: 2.4rem;\n}\n\n/* Reduce top margin when introductory headlines are following each other. */\nh2 + h3 {\n\tmargin-top: 1.6rem;\n}\n\nh3 {\n\tfont-size: 2rem;\n}\n\nh4 {\n\tfont-size: 1.8rem;\n}\n\nh5 {\n\tfont-size: 1.6rem;\n}\n\nh6 {\n\tfont-size: 1.6rem;\n\tfont-weight: normal;\n}\n\n/* ... Other Block-Level Elements ... */\nblockquote {\n\tmargin: 1.6rem 0 0;\n\tborder-left: var( --border-start-blockquote );\n\tpadding: 0.8rem 3.2rem;\n\tfont-family: var( --font-family-serif--fallback ); /* Fallback */\n\tfont-size: 2rem;\n\tfont-style: italic;\n}\n\nblockquote cite {\n\tdisplay: block;\n\tmargin-top: 0.8rem;\n\tfont-family: var( --font-family-system-sans );\n\tfont-size: 1.4rem;\n\tfont-style: normal;\n}\n\n\tblockquote cite:before {\n\t\tcontent: '— ';\n\t}\n\ncode,\npre,\n.mw-code {\n\tfont-family: var( --font-family-monospace );\n}\n\nhr {\n\tbackground: var( --background-color-hr );\n\tdisplay: block;\n\theight: 0.8rem;\n\tborder: 0;\n\tmargin: 8rem 0;\n}\n\np {\n\tmargin: 3.2rem 0 0;\n}\n\n\th1 + p,\n\th2 + p,\n\th3 + p,\n\th4 + p,\n\th5 + p,\n\th6 + p,\n\tp + p,\n\tul + p,\n\tp:first-child {\n\t\tmargin: 0.8rem 0 0;\n\t}\n\n\tblockquote + p {\n\t\tmargin-top: 1.6rem;\n\t}\n\npre,\n.mw-code {\n\tbackground-color: var( --background-color-code );\n\tcolor: var( --color-base--emphasized );\n\tborder: var( --border-base );\n\tpadding: 1.2rem 2rem;\n\tfont-size: 1.4rem;\n\twhite-space: pre-wrap;\n}\n\n/* ... Lists ... */\nol,\nul {\n\tmargin: 0.8rem 0;\n\tpadding: 0 0 0 1.8rem; /* Can't remain within our 8px based sizing due to browser defaults */\n}\n\n.content li {\n\tmargin-top: 0.4rem;\n}\n\n\t.content li:first-child {\n\t\tmargin-top: 0;\n\t}\n\n/* ... Images & Figures ... */\nfigure {\n\tmargin: 0.8rem 0 0;\n}\n\nimg {\n\tdisplay: block;\n\tmax-width: 100%;\n\tmargin: 1.6rem 0 0;\n}\n\n.page--components figure {\n\tmargin-left: 6.4rem;\n\tpadding-top: 0.8rem;\n}\n\n.page--components figure img {\n\tmargin-top: 0.8rem;\n}\n\n.is-comparison img {\n\tfloat: left;\n\tmargin-left: 1.2rem;\n}\n\n\t.is-comparison img:first-child {\n\t\tmargin-left: 0;\n\t}\n\n/* ::: Inline Elements ::: */\na {\n\tcolor: var( --color-primary );\n\ttext-decoration: none;\n}\n\n\ta:hover {\n\t\ttext-decoration: underline;\n\t}\n\n\ta:active {\n\t\tcolor: var( --color-primary--active );\n\t}\n\nb,\nstrong {\n\tfont-weight: var( --font-weight-bold );\n}\n\ncode {\n\tbackground-color: var( --background-color-code );\n\tdisplay: inline-block;\n\tpadding: 0.2rem 0.4rem;\n\tfont-size: 1.4rem;\n}\n\nsmall {\n\tfont-size: 1.3rem;\n}\n\nsub,\nsup {\n\tfont-size: 1.1rem;\n}\n\n/* ::: General Classes ::: */\n/* ::: Text for Screen Readers only ::: */\n.is-aural {\n\tdisplay: block;\n\tposition: absolute;\n\tclip: rect( 1px, 1px, 1px, 1px );\n\twidth: 1px;\n\theight: 1px;\n\tmargin: -1px;\n\tborder: 0;\n\tpadding: 0;\n\toverflow: hidden;\n}\n\n\t.is-aural.is-focusable:active,\n\t.is-aural.is-focusable:focus {\n\t\tposition: static;\n\t\tclip: auto;\n\t\twidth: auto;\n\t\theight: auto;\n\t\tmargin: 0;\n\t\ttext-decoration: underline;\n\t\toverflow: visible;\n\t}\n\n.clearfix:before,\n.clearfix:after,\n.page:before,\n.page:after,\n.content-box:before,\n.content-box:after,\n.color-palette:before,\n.color-palette:after,\n.figures-do-dont:before,\n.figures-do-dont:after,\n.is-comparison:before,\n.is-comparison:after,\n.content__illustration-style .figure--full:before,\n.content__illustration-style .figure--full:after {\n\tcontent: ' ';\n\tdisplay: table;\n}\n\n.clearfix:after,\n.page:after,\n.content-box:after,\n.color-palette:after,\n.figures-do-dont:after,\n.is-comparison:after,\n.content__illustration-style .figure--full:after {\n\tclear: both;\n}\n\n/* ::: Text-formatting ::: */\n/* Support Blink based browsers. */\n/* They use `outline` for focus styles, we're only amending the color here, see T245887. */\n:focus {\n\toutline-color: var( --outline-color-base--focus );\n}\n\n.is-complementary,\n.is-subtle {\n\tcolor: var( --color-base--subtle );\n}\n\n.is-complementary {\n\tfont-size: 1.4rem;\n}\n\n::placeholder,\n.is-placeholder {\n\tcolor: var( --color-placeholder );\n\topacity: 1;\n}\n\n.content-box {\n\tposition: relative;\n\tmargin-right: auto;\n\tmargin-left: auto;\n\tpadding-left: 1.6rem; /* FIXME: var( --grid-padding ); */\n\tpadding-right: 1.6rem;\n}\n\n\n/* ::: Structure ::: */\n.header {\n\tposition: fixed;\n\ttop: 0;\n\tleft: 0;\n\tright: 0;\n\tmin-height: 6.4rem;\n\tline-height: 6.4rem;\n}\n\n\t.site__title {\n\t\tcolor: var( --wmui-color-base10 );\n\t\tmargin-top: 0;\n\t\theight: 6.4rem;\n\t\tfont-family: var( --font-family-system-sans );\n\t\tfont-size: 1.6rem;\n\t\tfont-weight: var( --font-weight-base );\n\t\tletter-spacing: 0.5px;\n\t}\n\n\t\t.site__title a {\n\t\t\tcolor: inherit;\n\t\t\tdisplay: inline-block;\n\t\t\tpadding: 1.2rem 3.2rem 0;\n\t\t\ttransition: color var( --transition-ease-medium );\n\t\t}\n\n\t\t.site__title a:hover {\n\t\t\tcolor: var( --wmui-color-base0 ); /* --color-base-emphasized */\n\t\t\ttext-decoration: none;\n\t\t}\n\n\t\t.site__org {\n\t\t\tdisplay: block;\n\t\t}\n\n\t\t.site__project {\n\t\t\tfont-weight: var( --font-weight-bold );\n\t\t}\n\n\t/* ... Navigation button ... */\n\t.btn--nav-main {\n\t\tposition: absolute;\n\t\ttop: 1.2rem;\n\t\twidth: 4.2rem;\n\t\theight: 4.2rem;\n\t\tcursor: pointer;\n\t}\n\n\t/* Fake hamburger icon */\n\t.btn--nav-main i {\n\t\tdisplay: block;\n\t\theight: 4.2rem;\n\t\ttransition: color var( --transition-ease-medium ), box-shadow var( --transition-ease-medium );\n\t}\n\n\t.btn--nav-main i:before,\n\t.btn--nav-main i:after {\n\t\tcontent: '';\n\t\tbackground-color: var( --wmui-color-base20 );\n\t\twidth: 2rem;\n\t\theight: 2px;\n\t\tposition: absolute;\n\t\ttop: 0.4rem;\n\t\tleft: 0;\n\t}\n\n\t.btn--nav-main i:after {\n\t\ttop: 1.1rem;\n\t\tbox-shadow: 0 0.7rem 0 var( --wmui-color-base20 );\n\t}\n\n\t.btn--nav-main i:hover:before,\n\t.btn--nav-main i:hover:after {\n\t\tbackground-color: var( --wmui-color-base0 ); /* --color-base-emphasized */\n\t}\n\n\t.btn--nav-main i:hover:after {\n\t\tbox-shadow: 0 0.7rem 0 var( --wmui-color-base0 );\n\t}\n\n\t.btn--nav-main span {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\tclip: rect( 1px, 1px, 1px, 1px );\n\t\twidth: 1px;\n\t\theight: 1px;\n\t\tmargin: -1px;\n\t\toverflow: hidden;\n\t}\n\n\t/* ... GitHub Contribute Link ... */\n\t.lnk--contribute {\n\t\tfont-size: 1.4rem;\n\t\tline-height: 1.4rem; /* Derive slightly from template for cross-browser compliance */\n\t}\n\n\n/* ... Content ... */\n.page {\n\tbackground-color: var( --background-color-base );\n\tposition: relative;\n\tmargin-top: 6.4rem;\n\tpadding: 6.4rem 0;\n\tbox-shadow: 0 1px 4px 0 rgba( 0, 0, 0, 0.25 );\n\toverflow-y: hidden;\n}\n\n.content {\n\tfloat: left;\n}\n\n.col {\n\tfloat: left;\n\tposition: relative;\n\tmin-height: 1px;\n}\n\n\t.col--start {\n\t\tpadding: 0;\n\t}\n\n\t.col--end {\n\t\tpadding: 0;\n\t}\n\n/* ... Main Navigation ... */\n.nav--main {\n\tbackground-color: var( --background-color-base ); /* needed for menu appearance on mobile below */\n\t/* margin-top: 6.4rem; */\n}\n\n.nav--main li:not( .is-on ) ul,\n.trigger--nav-main {\n\tdisplay: none;\n}\n\n.nav--main ol,\n.nav--main ul {\n\tpadding: 0;\n}\n\n.nav--main ol:first-child {\n\tmargin: 0;\n}\n\n.nav--main li {\n\tpadding: 0;\n\tlist-style: none none;\n}\n\n.nav--main > ol > li {\n\tmargin-bottom: 0.4rem;\n}\n\n.nav--main a {\n\tcolor: var( --color-base );\n\tdisplay: block;\n\tpadding: 0.8rem 1.2rem;\n\tfont-size: 1.6rem;\n\ttext-decoration: none;\n\ttransition: background-color var( --transition-ease-medium ), color var( --transition-ease-medium ), padding var( --transition-ease-medium );\n}\n\n.nav--main a:hover,\n.nav--main a:focus {\n\tbackground-color: var( --background-color-code );\n\tcolor: var( --color-base--emphasized );\n}\n\n.nav--main .is-on > a {\n\tbackground-color: var( --background-color-primary );\n\tcolor: var( --color-primary );\n\t/* border-left: 2px solid var( --color-primary ); */\n\tborder-radius: var( --border-radius-base );\n\tfont-weight: var( --font-weight-bold );\n\tcursor: default;\n}\n\n.nav__sub-items {\n\tmargin-top: 1.2rem;\n\tmargin-bottom: 1em; /* FIXME: replace with rem and mt */\n}\n\n.nav__sub-items > .nav__sub-item {\n\tmargin-left: 3.6rem;\n}\n\n.nav--main .nav__sub-items ul {\n\tmargin: 0;\n}\n\n.nav--main .nav__sub-items a { /* stylelint-disable-line no-descending-specificity */\n\tcolor: var( --wmui-color-base20 );\n\tborder-left: var( --border-width-base ) solid var( --wmui-color-base80 );\n border-radius: 0 var( --border-radius-base ) var( --border-radius-base ) 0;\n\tpadding-left: 1.6rem;\n\tfont-size: 1.4rem;\n\ttransition: background-color var( --transition-ease-medium ), color var( --transition-ease-medium );\n}\n\n.nav--main .nav__sub-item.is-on > a {\n\tbackground-color: var( --background-color-base );\n\tcolor: var( --color-base--active );\n\tborder-left-color: var( --wmui-color-base0 );\n\tfont-weight: var( --font-weight-bold );\n}\n\n.nav--main .nav__sub-item .nav__sub-item a {\n\tpadding-left: 3.6rem;\n}\n\n\n/* ::: Content ::: */\n.page__parent-title {\n\tcolor: var( --color-base--subtle );\n\tmargin-top: -2.8rem;\n}\n\n.page__title {\n\tmargin-top: -0.8rem;\n}\n\n.page__parent-title + .page__title {\n\tmargin-top: -0.4rem;\n}\n\n.page__tagline {\n\tmargin-top: 1.2rem;\n\tfont-size: 2rem;\n\tfont-style: italic;\n\tfont-weight: 100;\n}\n\n/* Remove, doesn't provide good styling\n.page__lead {\n\tfont-size: 1.8rem;\n}\n*/\n\n.figures--full {\n\tbackground-color: var( --wmui-color-base90 );\n}\n\n.figure__caption,\n.heading__description {\n\tcolor: var( --color-base--subtle );\n\tclear: both;\n\tdisplay: block;\n\tfont-size: 1.3rem;\n}\n\n.figure__caption {\n\tpadding-top: 0.8rem; /* `padding-top` due to usage with floated images in figure above */\n\tfont-style: italic;\n}\n\n\t.figure__caption:empty {\n\t\tdisplay: none;\n\t}\n\n.heading__description {\n\tfloat: right;\n\tmargin-top: -1.9rem;\n}\n\n\t.heading__description + * {\n\t\tclear: both;\n\t}\n\n/* ... “Do” & “Don't” figures ... */\n.figures-do-dont {\n\tmargin-top: 1.6rem;\n}\n\n.figures-do-dont .figure {\n\tbackground-color: var( --wmui-color-base80 );\n\tborder-top-left-radius: var( --border-radius-base );\n\tborder-top-right-radius: var( --border-radius-base );\n}\n\n.figures-do-dont .figure--dont {\n\tborder-left: var( --border-width-base ) solid var( --color-base--inverted );\n}\n\n.figures-do-dont .figure__caption {\n\tbackground-color: var( --color-base--inverted );\n\tdisplay: block;\n\tborder-top-width: 0.8rem;\n\tborder-top-style: solid;\n\tpadding-right: 0.8em;\n}\n\n.figure--do .figure__caption,\n.do {\n\tborder-top-color: var( --color-secondary );\n}\n\n.figure--dont .figure__caption,\n.dont {\n\tborder-top-color: var( --color-destructive );\n}\n\n.do,\n.dont {\n\tfont-style: normal;\n\tfont-weight: var( --font-weight-bold );\n}\n\n\t.do:before,\n\t.dont:before {\n\t\tdisplay: inline-block;\n\t\tmargin-right: 0.4rem;\n\t\tpadding-top: 0.4rem;\n\t\tfont-size: 2.1rem;\n\t\tline-height: 1rem;\n\t\tvertical-align: top;\n\t}\n\n.do {\n\tcolor: var( --color-success );\n}\n\n\t.do:before {\n\t\tcontent: '✓';\n\t}\n\n.dont {\n\tcolor: var( --color-destructive );\n}\n\n\t.dont:before {\n\t\tcontent: '×';\n\t}\n\n\n/* ... Color ... */\n.color-palette {\n\tmargin: 2.4rem 0 0;\n\tpadding: 0;\n}\n\n.color-palette + .color-palette {\n\tmargin-top: 0;\n}\n\n.color-palette + p {\n\tmargin-top: 1.6rem;\n}\n\n.color {\n\tcolor: var( --color-base--emphasized );\n\tlist-style: none none;\n\tdisplay: block;\n\tfloat: left;\n\tposition: relative;\n\twidth: 61.8%;\n\theight: 16rem;\n\tmargin-bottom: 3.2rem;\n\tpadding: 1.2rem;\n\tborder: var( --border-width-base ) var( --border-style-base ) var( --border-color-inset--focus );\n\tborder-radius: var( --border-radius-base );\n\tfont-size: 1.4rem;\n}\n\n\t.color--dark,\n\t.color__wcag-level span {\n\t\tcolor: var( --color-base--inverted );\n\t}\n\n\t.color--dark .color__wcag-level span {\n\t\tcolor: var( --color-base--emphasized );\n\t}\n\n\t.color-palette .color:first-child {\n\t\tmargin-top: 0.4rem;\n\t}\n\n\t.color-palette--overview .color {\n\t\twidth: 6.4rem;\n\t\theight: 6.2rem;\n\t\tmargin-top: 0.8rem;\n\t\tmargin-right: 1.2rem;\n\t\tmargin-bottom: 2.4rem;\n\t\tborder-radius: 3.2rem;\n\t\tcursor: default;\n\t}\n\n\t.color-palette--overview .color:first-child {\n\t\tmargin-top: 0.8rem;\n\t}\n\n\t.color-palette--overview .color--emphasized {\n\t\twidth: 7.2rem;\n\t\theight: 7rem;\n\t\tmargin-top: 0;\n\t\tborder-radius: 7.2rem;\n\t\tpadding-top: 2rem;\n\t}\n\n\t.color-palette--base .color {\n\t\tmargin-right: 1.35rem;\n\t}\n\n\t.color-section .color .color-code--hsb {\n\t\ttransition: opacity var( --transition-ease-medium );\n\t}\n\n\t\t.color-section .color:hover .color-code--hsb {\n\t\t\topacity: 1;\n\t\t}\n\n\t.color__name {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\tbottom: 1.2rem;\n\t\tleft: 1.2rem;\n\t\tfont-size: 3.2rem;\n\t\tfont-weight: var( --font-weight-ultralight );\n\t}\n\n\t\t.color-palette--overview .color__name {\n\t\t\tposition: relative;\n\t\t\tbottom: auto;\n\t\t\tleft: auto;\n\t\t\tpadding-top: 1.2rem;\n\t\t\tfont-size: 2.4rem;\n\t\t\tline-height: 1;\n\t\t}\n\n\t\t.color__type,\n\t\t.color-code.color-code--rgb,\n\t\t.color-palette--overview .color__name,\n\t\t.color-palette--overview .color-code {\n\t\t\tdisplay: none;\n\t\t}\n\n\t.color-code {\n\t\tbackground-color: inherit;\n\t\tdisplay: block;\n\t\tpadding: 0;\n\t\tfont-family: var( --font-family-system-sans );\n\t}\n\n\t\t.color-code--hsb {\n\t\t\topacity: 0;\n\t\t}\n\n@supports ( --css: variables ) {\n\t.color-hint {\n\t\twhite-space: nowrap;\n\t}\n\n\t.color-hint:before {\n\t\tcontent: '';\n\t\tbackground-color: var( --color-hint );\n\t\tdisplay: inline-block;\n\t\twidth: 1.2rem;\n\t\theight: 1.2rem;\n\t\tmargin: 0 0.4rem 0.3rem 0.2rem;\n\t\tborder-radius: 50%;\n\t\tvertical-align: text-bottom;\n\t\tcursor: help;\n\t}\n\n\t.color-hint--base100:before {\n\t\tborder: var( --border-base );\n\t}\n}\n\n\n/* ... Icon ... */\n.icon {\n\tdisplay: inline-block;\n\twidth: 2rem;\n\theight: 2rem;\n\tmargin: 0 0.2rem;\n\tvertical-align: text-bottom;\n}\n\n\t.icon--indicator {\n\t\twidth: 1.2rem;\n\t\theight: 1.2rem;\n\t\tmargin-bottom: 0.2rem;\n\t}\n\n\t.icon--intermediate {\n\t\twidth: 1.6rem;\n\t\theight: 1.6rem;\n\t\tmargin-bottom: 0.2rem;\n\t}\n\n\n/* ... Components ... */\n/*\n.page--components h2 {\n\tborder-bottom: 0;\n\tpadding-bottom: 0;\n}\n*/\n.components__designing {\n\tposition: relative;\n}\n\n.components__designing:after {\n\tcontent: '';\n\tbackground: url( ../../img/components/legend_16-8.svg ) no-repeat;\n\tposition: absolute;\n\tbottom: 0;\n\tright: 6.4rem;\n\twidth: 13.2rem;\n\theight: 6.4rem;\n}\n\n/*\n.components__states,\n.components__imagery\n*/\n\n/* Messages */\n.page--components-messages .components__intro {\n\tmax-width: 700px;\n\tmargin-left: auto;\n\tmargin-right: auto;\n}\n\n/* Override general img border radius for correct Message representation */\n.page--components-messages img {\n\tborder-radius: 0;\n}\n\n\n/* ... Resources ... */\n.resources-table {\n\tdisplay: table;\n\twidth: 100%;\n\tmargin-top: 2.4rem;\n\tborder-collapse: collapse;\n}\n\n.resources-table__head,\n.resources-table__body {\n\tdisplay: table-row;\n\tborder-bottom: 1px solid #a2a9b1;\n}\n\n.resources-table__head {\n\tbackground-color: #eaecf0;\n}\n\n\t.resources-table__head h2 {\n\t\tmargin-top: 0;\n\t\tborder-bottom: 0;\n\t\tpadding-bottom: 0;\n\t\tfont-size: 2.1rem;\n\t\tfont-weight: var( --font-weight-base );\n\t}\n\n.resources-table__cell {\n\tdisplay: table-cell;\n\tpadding: 1.6rem 1.6rem 1.6rem 0;\n}\n\n\t.resources-table__head .resources-table__cell:first-child {\n\t\tpadding-left: 1.6rem;\n\t}\n\n.lnk-resource {\n\twhite-space: nowrap;\n}\n\n/* ::: Footer ::: */\n.footer {\n\tcolor: var( --color-base );\n\tpadding: 2.4rem 0;\n\tfont-size: 1.3rem;\n}\n\n.footer__list {\n\tpadding: 0;\n}\n\n\t.footer__list:first-child {\n\t\tmargin: 0;\n\t}\n\n\t.footer__list:after {\n\t\tcontent: ' ';\n\t\tdisplay: block;\n\t\tclear: both;\n\t}\n\n\t.footer__list li {\n\t\tlist-style: none none;\n\t\tdisplay: block;\n\t\tpadding: 0.8rem 0 0;\n\t}\n\n\t.footer__list li:first-child {\n\t\tpadding-top: 0;\n\t}\n\n\t.footer__list + p {\n\t\tmargin-top: 1.2rem;\n\t}\n\n\t.footer__list--connect a {\n\t\tfont-weight: var( --font-weight-bold );\n\t}\n\n.lnk--wikimedia-project {\n\tdisplay: inline-block;\n\tpadding: 0.4rem 0;\n\ttext-transform: uppercase;\n}\n\n\n/* ::: Page-specific Styles ::: */\n/* ... Homepage ... */\n.page--home .page__title {\n\tborder: 0;\n\tpadding: 0;\n}\n\n/* ... “Design principles – Accessibility” ... */\n.page--design-principles-accessibility .nav--main .is-on > a {\n\tcursor: pointer;\n}\n\n.page--design-principles-accessibility h3 {\n\tpadding-right: 15%;\n}\n\n/* ... “Typography” ... */\n.page--visual-style-typography .figures-do-dont .figure__contents {\n\tpadding: 4.2rem 3.6rem;\n}\n\n.figures-do-dont--contrast .figure--dont {\n\tcolor: var( --wmui-color-base50 );\n}\n\n/* ... Typography Styles ... */\n\n.typography-styles dt {\n\tdisplay: inline-block;\n\tcolor: var( --color-base--subtle );\n\tmin-width: 10rem;\n\tmargin: 0 0 3.2rem 1.6rem; /* Need to rely on `margin-bottom` here for vertical alignment */\n\tfont-size: 1.3rem;\n\tfont-weight: var( --font-weight-bold );\n\tvertical-align: top;\n}\n\n.typography-styles .typography-styles__blockquote {\n\tmargin-bottom: 4.8rem;\n}\n\n.typography-styles .typography-styles__code {\n\tmargin-bottom: 0;\n}\n\n.typography-styles dd {\n\tdisplay: inline;\n}\n\n.typography-styles dd > * {\n\tdisplay: inline-block;\n\tmargin-top: 0; /* Remove `margin` from elements like paragraphs and list elements */\n}\n\n.typography-styles .figure__caption {\n\tpadding-top: 0; /* Remove `padding` from elements like figure caption */\n}\n\n.typography-styles dd:after {\n content: '\\A';\n white-space: pre;\n}\n\n.typography-styles + hr {\n\tmargin-top: 4rem;\n\tmargin-bottom: 4rem;\n}\n\n/* ... “Icons” ... */\n.page--visual-style-icons img { /* FIXME: generalize image styles */\n\tbackground-color: var( --wmui-color-base80 ); /* FIXME: var; */\n\tpadding: 2.4rem;\n}\n\n\n/* ::: Dynamic content ::: */\n.fonts-loaded cite,\n.fonts-loaded .site__title,\n.fonts-loaded .color-code {\n\tfont-family: var( --font-family-system-sans );\n}\n\n/* ::: Text Block-Level Elements ::: */\n.fonts-loaded .page__title,\n.fonts-loaded blockquote,\n.fonts-loaded .typography-styles h1 {\n\tfont-family: 'Charter', Georgia, serif; /* stylelint-disable-line font-family-name-quotes */\n}\n\n\n/* ::: Media Queries ::: */\n/* ... Smartphone only ... */\n@media ( max-width: 767px ) {\n\t.nav--main {\n\t\tposition: absolute;\n\t\ttop: -3.2rem;\n\t\tleft: -1.6rem;\n\t\tright: -1.6rem;\n\t\tpadding-bottom: 1.6rem;\n\t\tbox-shadow: 0 2px 2px 0 rgba( 0, 0, 0, 0.25 ); /* FIXME: Update wmui-base */\n\t\tz-index: 1;\n\t\ttransform: translateY( -200% );\n\t\ttransition: left var( --transition-ease-medium ), right var( --transition-ease-medium ), transform var( --transition-ease-medium );\n\t}\n\n\t.trigger--nav-main:checked + .nav--main {\n\t\ttransform: translateY( 0 );\n\t}\n\n\t.page__title {\n\t\tmargin-top: -0.4rem;\n\t\tfont-size: 2.8rem;\n\t}\n\n\t.typography-styles dt {\n\t\tdisplay: block;\n\t\tmargin-left: 0;\n\t}\n\n\t/* ... Components ... */\n\t.page--components .components__states {\n\t\tmargin-left: 0;\n\t}\n\n\t/* ... Resources ... */\n\t.resources-table,\n\t.resources-table__head,\n\t.resources-table__body,\n\t.resources-table__cell {\n\t\tdisplay: block;\n\t}\n\n\t.resources-table__head {\n\t\tmargin-left: -1.6rem;\n\t\tmargin-right: -1.6rem;\n\t}\n\n\t.resources-table__head .resources-table__cell:empty {\n\t\tdisplay: none;\n\t}\n\n\t.resources-table__body {\n\t\tpadding-left: 0;\n\t}\n\n\t.resources-table__cell {\n\t\tpadding-top: 0.8rem;\n\t\tpadding-bottom: 0.8rem;\n\t}\n}\n\n/* ... Smartphone portrait ... */\n@media ( min-width: 240px ) {\n\t.content-box,\n\t.site__title a,\n\t.nav--main a {\n\t\ttransition-property: background-color, padding;\n\t\ttransition-duration: var( --transition-ease-medium );\n\t}\n\n\t.site__title {\n\t\tmargin-left: 4.2rem;\n\t}\n\n\t\t.site__title a {\n\t\t\tpadding-left: 0;\n\t\t}\n\n\t.lnk--contribute span {\n\t\tdisplay: none;\n\t}\n\n\t.nav--main a {\n\t\tpadding-left: 1.6rem;\n\t\tpadding-right: 1.6rem;\n\t}\n\n\t.col--start,\n\t.col--end {\n\t\twidth: 100%;\n\t}\n\n\t.figure--full,\n\t.resources-table__head {\n\t\tmargin-left: -1.6rem;\n\t\tmargin-right: -1.6rem;\n\t}\n\n\t.figure--full .figure__caption {\n\t\tmargin-left: 1.6rem;\n\t\tmargin-right: 1.6rem;\n\t}\n\n\t.figure--this-is-for-everyone img,\n\t.figure--trustworthy-yet-joyful img {\n\t\twidth: 100%;\n\t\tmax-width: 568px;\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t}\n\n\t.figure--illustrations-header img {\n\t\twidth: 100%;\n\t}\n\n\t.figure--illustrations-header + .figure--illustrations-header,\n\t.figure--illustrations-header + .figure--illustrations-header img {\n\t\tmargin-top: 0;\n\t}\n\n\t.color {\n\t\twidth: 61.8%;\n\t}\n\n\t.color-palette--base .color:nth-child( 3n+4 ) {\n\t\tclear: both;\n\t}\n\n\t.color-palette--base .color {\n\t\tmargin-right: 1.6rem;\n\t}\n\n\t.color-palette--overview.color-palette--base .color--emphasized {\n\t\tmargin-right: 1.1rem;\n\t\tmargin-left: -0.2rem;\n\t}\n\n\t.page--components figure {\n\t\tmargin-left: 4.2rem;\n\t}\n}\n\n/* ... Smartphone+ portrait ... */\n@media ( min-width: 414px ) {\n\t.content-box {\n\t\tpadding-left: 3.2rem;\n\t\tpadding-right: 3.2rem;\n\t}\n\n\t.nav--main {\n\t\tleft: -3.2rem;\n\t\tright: -3.2rem;\n\t}\n\n\t\t.nav--main a {\n\t\t\tpadding-left: 3.2rem;\n\t\t\tpadding-right: 3.2rem;\n\t\t}\n\n\t.figure--full,\n\t.resources-table__head {\n\t\tmargin-left: -3.2rem;\n\t\tmargin-right: -3.2rem;\n\t}\n\n\t.figure--full .figure__caption {\n\t\tmargin-left: 3.2rem;\n\t\tmargin-right: 3.2rem;\n\t}\n\n\t.resources-table__head .resources-table__cell:first-child {\n\t\tpadding-left: 3.2rem;\n\t\tpadding-right: 3.2rem;\n\t}\n\n\t.footer__list li {\n\t\tdisplay: list-item;\n\t\tfloat: left;\n\t\tpadding: 0 0.8rem 0 0;\n\t}\n\n\t.footer__list li:after {\n\t\tcontent: '\\2022'; /* bullet dot: '•' */\n\t\tcolor: var( --color-base--subtle );\n\t\tpadding: 0 0 0 0.8rem;\n\t\tfont-weight: 100;\n\t}\n\n\t.footer__list li:last-child:after {\n\t\tcontent: '';\n\t\tpadding: 0;\n\t}\n\n\t.color {\n\t\twidth: 16rem;\n\t\tmargin-right: 2.4rem;\n\t}\n}\n\n/* ... Smartphone landscape ... */\n@media ( min-width: 568px ) {\n\t.lnk--contribute {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\tbottom: 1.5rem; /* Not on 8px base due to `line-height` setting */\n\t\tright: 3.2rem;\n\t\ttext-align: right;\n\t}\n\n\t.lnk--contribute span {\n\t\tdisplay: inline;\n\t\topacity: 0;\n\t\ttransition: opacity var( --transition-ease-medium );\n\t}\n\n\t.figures-do-dont .figure {\n\t\tmax-width: 61.8%;\n\t}\n\n\t.figure--this-is-for-everyone img,\n\t.figure--trustworthy-yet-joyful img {\n\t\tmax-width: none;\n\t}\n\n\t.figure--illustrations-header {\n\t\tfloat: left;\n\t\twidth: 44.4%;\n\t}\n\n\t.figure--illustrations-header + .figure--illustrations-header {\n\t\twidth: 55.55%;\n\t\tmargin-top: 0.8rem;\n\t}\n\n\t.figure--illustrations-header + .figure--illustrations-header img {\n\t\tmargin-top: 1.6rem;\n\t}\n}\n\n/* ... Tablet ... */\n@media ( min-width: 768px ) {\n\timg {\n\t\tborder-radius: 2px;\n\t}\n\n\t.content-box {\n\t\twidth: 100%;\n\t\tmax-width: 960px;\n\t}\n\n\t.btn--nav-main {\n\t\tdisplay: none;\n\t}\n\n\t.site__title {\n\t\tfloat: left;\n\t\tmargin-left: 0;\n\t}\n\n\t\t.site__title a,\n\t\t.nav--main a {\n\t\t\tpadding-left: 1.6rem;\n\t\t\tpadding-right: 1.6rem;\n\t\t}\n\n\t.lnk--contribute span {\n\t\tdisplay: inline;\n\t\topacity: 1;\n\t}\n\n\t.col--start {\n\t\twidth: 20.8rem;\n\t\tz-index: 1;\n\t\ttransition: width var( --transition-ease-medium );\n\t}\n\n\t.col--end {\n\t\tmargin-left: -20.8rem;\n\t\tpadding-left: 24rem; /* = 22.4 + (2 * 1.6 padding) */\n\t}\n\n\t.nav--main {\n\t\tleft: auto;\n\t\tright: auto;\n\t}\n\n\t.figure--full,\n\t.figure--full .figure__caption {\n\t\tmargin-left: 0;\n\t\tmargin-right: 0;\n\t}\n\n\t.figures-do-dont .figure {\n\t\tfloat: left;\n\t\twidth: 50%;\n\t}\n\n\t.color-palette--base .color:nth-child( 3n+4 ) {\n\t\tclear: unset;\n\t}\n\n\t/* ... “Illustrations” ... */\n\t.illustrations-case-study img {\n\t\tfloat: left;\n\t\twidth: 33.33%;\n\t}\n\n\t.page--components figure {\n\t\tmargin-left: 6.4rem;\n\t}\n}\n\n/* ... Tablet+ / Netbook ... */\n@media ( min-width: 992px ) {\n\t.content-box {\n\t\twidth: 100%;\n\t\tmax-width: var( --width-site-desktop-wide );\n\t}\n\n\t.site__title a,\n\t.nav--main a {\n\t\tpadding-left: 3.2rem;\n\t\tpadding-right: 3.2rem;\n\t}\n\n\t.col--start {\n\t\twidth: 24rem;\n\t}\n\n\t.col--end {\n\t\tmargin-left: -24rem;\n\t\tpadding-left: 27.2rem; /* = 24 + (2 * 1.6 padding) */\n\t}\n\n\t.color-palette--overview:first-child {\n\t\tmargin-top: 2.4rem;\n\t}\n\n\t.color {\n\t\tmargin-right: 2.4rem;\n\t}\n\n\t\t.color-palette--base .color {\n\t\t\tmargin-right: 1.35rem;\n\t\t}\n\n\t\t.color-palette--overview.color-palette--base .color--emphasized {\n\t\t\tmargin-right: 1.35rem;\n\t\t\tmargin-left: 0;\n\t\t}\n\n\t.color-palette--overview.color-palette--red:before,\n\t.color-palette--overview.color-palette--red:after,\n\t.color-palette--overview.color-palette--green:before,\n\t.color-palette--overview.color-palette--green:after {\n\t\tcontent: '';\n\t\tdisplay: none;\n\t}\n\n\t.color-palette--overview.color-palette--red:after,\n\t.color-palette--overview.color-palette--green:after,\n\t.color-section .color:nth-child( 3n+4 ) {\n\t\tclear: both;\n\t}\n\n\t/* ... Resources ... */\n\t.resources-table__body .resources-table__cell {\n\t\ttransition: background-color var( --transition-ease-medium );\n\t}\n\n\t\t.resources-table__body:hover .resources-table__cell {\n\t\t\tbackground-color: #f8f9fa;\n\t\t}\n\n\t\t.resources-table__head .resources-table__cell:first-child,\n\t\t.resources-table__body .resources-table__cell:first-child {\n\t\t\tpadding-left: 1.6rem;\n\t\t}\n}\n\n@media ( min-width: 1200px ) {\n\t.content-box {\n\t\twidth: var( --width-site-desktop-wide );\n\t}\n\n\t.col--start {\n\t\twidth: 25.6rem;\n\t}\n\n\t.col--end {\n\t\tmargin-left: -25.6rem;\n\t\tpadding-left: 28.8rem; /* = 25.6 + (2 * 1.6 padding) */\n\t}\n}\n"]} \ No newline at end of file diff --git a/css/wmui-style-guide.dev.css b/css/wmui-style-guide.dev.css index f8f952d..700693b 100644 --- a/css/wmui-style-guide.dev.css +++ b/css/wmui-style-guide.dev.css @@ -1,1411 +1,1428 @@ /* ::: Vendor Imports ::: */ /* Load files from 'node_modules' folders with postCSS-import plugin. * Modules specified in package.json file. */ @import 'wikimedia-ui-base/wikimedia-ui-base.css'; @import 'normalize.css'; /* ::: Local Imports ::: */ @import 'partials/fonts.css'; :root { --background-color-hr: var( --wmui-color-base80 ); --width-site: 960px; --width-site-desktop-wide: 1140px; --border-color-heading: var( --wmui-color-base80 ); --border-width-heading: 3px; --border-start-blockquote: 4px var( --border-style-base ) var( --wmui-color-base80 ); --outline-color-base--focus: var( --color-primary--focus ); /* HACK; Add Georgia to serif fallback as long as WikimediaUI Base isn't updated. */ --font-family-serif--fallback: Georgia, serif; /* stylelint-disable-line value-keyword-case */ /* Setting bold to `600` as our stack works better with it, only Lato is on the edge. Helvetica and Arial fallback gracefully to `700`, see T246791. */ --font-weight-bold: 600; --font-weight-ultralight: 100; } * { box-sizing: border-box; } html { font-size: 62.5%; } body { background-color: var( --wmui-color-base80 ); /* FIXME: var; */ color: var( --color-base ); margin: 0; font-family: var( --font-family-system-sans ); font-size: 1.6rem; line-height: var( --line-height-base ); } /* ::: Text Block-Level Elements ::: */ /* ... Headings ... */ h1, h2, h3, h4, h5, h6 { color: var( --color-base--emphasized ); margin: 3.2rem 0 0; line-height: 1.25; transition: font-size var( --transition-ease-medium ), font-weight var( --transition-ease-medium ); } h2, h3, h4, h5 { font-weight: var( --font-weight-bold ); } h1, .page__title { font-family: var( --font-family-serif--fallback ); /* Fallback */ font-size: 3.2rem; font-weight: var( --font-weight-base ); } h2 { border-bottom: var( --border-width-heading ) var( --border-style-base ) var( --border-color-heading ); padding-bottom: 2px; font-size: 2.4rem; } /* Reduce top margin when introductory headlines are following each other. */ h2 + h3 { margin-top: 1.6rem; } h3 { font-size: 2rem; } h4 { font-size: 1.8rem; } h5 { font-size: 1.6rem; } h6 { font-size: 1.6rem; font-weight: normal; } /* ... Other Block-Level Elements ... */ blockquote { margin: 1.6rem 0 0; border-left: var( --border-start-blockquote ); padding: 0.8rem 3.2rem; font-family: var( --font-family-serif--fallback ); /* Fallback */ font-size: 2rem; font-style: italic; } blockquote cite { display: block; margin-top: 0.8rem; font-family: var( --font-family-system-sans ); font-size: 1.4rem; font-style: normal; } blockquote cite:before { content: '— '; } code, pre, .mw-code { font-family: var( --font-family-monospace ); } hr { background: var( --background-color-hr ); display: block; height: 0.8rem; border: 0; margin: 8rem 0; } p { margin: 3.2rem 0 0; } h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p, p + p, ul + p, p:first-child { margin: 0.8rem 0 0; } blockquote + p { margin-top: 1.6rem; } pre, .mw-code { background-color: var( --background-color-code ); color: var( --color-base--emphasized ); border: var( --border-base ); padding: 1.2rem 2rem; font-size: 1.4rem; white-space: pre-wrap; } /* ... Lists ... */ ol, ul { margin: 0.8rem 0; padding: 0 0 0 1.8rem; /* Can't remain within our 8px based sizing due to browser defaults */ } .content li { margin-top: 0.4rem; } .content li:first-child { margin-top: 0; } /* ... Images & Figures ... */ figure { margin: 0.8rem 0 0; } img { display: block; max-width: 100%; margin: 1.6rem 0 0; } .page--components figure { margin-left: 6.4rem; padding-top: 0.8rem; } .page--components figure img { margin-top: 0.8rem; } +.is-comparison img { + float: left; + margin-left: 1.2rem; +} + + .is-comparison img:first-child { + margin-left: 0; + } + /* ::: Inline Elements ::: */ a { color: var( --color-primary ); text-decoration: none; } a:hover { text-decoration: underline; } a:active { color: var( --color-primary--active ); } b, strong { font-weight: var( --font-weight-bold ); } code { background-color: var( --background-color-code ); display: inline-block; padding: 0.2rem 0.4rem; font-size: 1.4rem; } small { font-size: 1.3rem; } sub, sup { font-size: 1.1rem; } /* ::: General Classes ::: */ /* ::: Text for Screen Readers only ::: */ .is-aural { display: block; position: absolute; clip: rect( 1px, 1px, 1px, 1px ); width: 1px; height: 1px; margin: -1px; border: 0; padding: 0; overflow: hidden; } .is-aural.is-focusable:active, .is-aural.is-focusable:focus { position: static; clip: auto; width: auto; height: auto; margin: 0; text-decoration: underline; overflow: visible; } .clearfix:before, .clearfix:after, .page:before, .page:after, .content-box:before, .content-box:after, .color-palette:before, .color-palette:after, .figures-do-dont:before, .figures-do-dont:after, +.is-comparison:before, +.is-comparison:after, .content__illustration-style .figure--full:before, .content__illustration-style .figure--full:after { content: ' '; display: table; } .clearfix:after, .page:after, .content-box:after, .color-palette:after, .figures-do-dont:after, +.is-comparison:after, .content__illustration-style .figure--full:after { clear: both; } /* ::: Text-formatting ::: */ /* Support Blink based browsers. */ /* They use `outline` for focus styles, we're only amending the color here, see T245887. */ :focus { outline-color: var( --outline-color-base--focus ); } .is-complementary, .is-subtle { color: var( --color-base--subtle ); } .is-complementary { font-size: 1.4rem; } ::placeholder, .is-placeholder { color: var( --color-placeholder ); opacity: 1; } .content-box { position: relative; margin-right: auto; margin-left: auto; padding-left: 1.6rem; /* FIXME: var( --grid-padding ); */ padding-right: 1.6rem; } /* ::: Structure ::: */ .header { position: fixed; top: 0; left: 0; right: 0; min-height: 6.4rem; line-height: 6.4rem; } .site__title { color: var( --wmui-color-base10 ); margin-top: 0; height: 6.4rem; font-family: var( --font-family-system-sans ); font-size: 1.6rem; font-weight: var( --font-weight-base ); letter-spacing: 0.5px; } .site__title a { color: inherit; display: inline-block; padding: 1.2rem 3.2rem 0; transition: color var( --transition-ease-medium ); } .site__title a:hover { color: var( --wmui-color-base0 ); /* --color-base-emphasized */ text-decoration: none; } .site__org { display: block; } .site__project { font-weight: var( --font-weight-bold ); } /* ... Navigation button ... */ .btn--nav-main { position: absolute; top: 1.2rem; width: 4.2rem; height: 4.2rem; cursor: pointer; } /* Fake hamburger icon */ .btn--nav-main i { display: block; height: 4.2rem; transition: color var( --transition-ease-medium ), box-shadow var( --transition-ease-medium ); } .btn--nav-main i:before, .btn--nav-main i:after { content: ''; background-color: var( --wmui-color-base20 ); width: 2rem; height: 2px; position: absolute; top: 0.4rem; left: 0; } .btn--nav-main i:after { top: 1.1rem; box-shadow: 0 0.7rem 0 var( --wmui-color-base20 ); } .btn--nav-main i:hover:before, .btn--nav-main i:hover:after { background-color: var( --wmui-color-base0 ); /* --color-base-emphasized */ } .btn--nav-main i:hover:after { box-shadow: 0 0.7rem 0 var( --wmui-color-base0 ); } .btn--nav-main span { display: block; position: absolute; clip: rect( 1px, 1px, 1px, 1px ); width: 1px; height: 1px; margin: -1px; overflow: hidden; } /* ... GitHub Contribute Link ... */ .lnk--contribute { font-size: 1.4rem; line-height: 1.4rem; /* Derive slightly from template for cross-browser compliance */ } /* ... Content ... */ .page { background-color: var( --background-color-base ); position: relative; margin-top: 6.4rem; padding: 6.4rem 0; box-shadow: 0 1px 4px 0 rgba( 0, 0, 0, 0.25 ); overflow-y: hidden; } .content { float: left; } .col { float: left; position: relative; min-height: 1px; } .col--start { padding: 0; } .col--end { padding: 0; } /* ... Main Navigation ... */ .nav--main { background-color: var( --background-color-base ); /* needed for menu appearance on mobile below */ /* margin-top: 6.4rem; */ } .nav--main li:not( .is-on ) ul, .trigger--nav-main { display: none; } .nav--main ol, .nav--main ul { padding: 0; } .nav--main ol:first-child { margin: 0; } .nav--main li { padding: 0; list-style: none none; } .nav--main > ol > li { margin-bottom: 0.4rem; } .nav--main a { color: var( --color-base ); display: block; padding: 0.8rem 1.2rem; font-size: 1.6rem; text-decoration: none; transition: background-color var( --transition-ease-medium ), color var( --transition-ease-medium ), padding var( --transition-ease-medium ); } .nav--main a:hover, .nav--main a:focus { background-color: var( --background-color-code ); color: var( --color-base--emphasized ); } .nav--main .is-on > a { background-color: var( --background-color-primary ); color: var( --color-primary ); /* border-left: 2px solid var( --color-primary ); */ border-radius: var( --border-radius-base ); font-weight: var( --font-weight-bold ); cursor: default; } .nav__sub-items { margin-top: 1.2rem; margin-bottom: 1em; /* FIXME: replace with rem and mt */ } .nav__sub-items > .nav__sub-item { margin-left: 3.6rem; } .nav--main .nav__sub-items ul { margin: 0; } .nav--main .nav__sub-items a { /* stylelint-disable-line no-descending-specificity */ color: var( --wmui-color-base20 ); border-left: var( --border-width-base ) solid var( --wmui-color-base80 ); border-radius: 0 var( --border-radius-base ) var( --border-radius-base ) 0; padding-left: 1.6rem; font-size: 1.4rem; transition: background-color var( --transition-ease-medium ), color var( --transition-ease-medium ); } .nav--main .nav__sub-item.is-on > a { background-color: var( --background-color-base ); color: var( --color-base--active ); border-left-color: var( --wmui-color-base0 ); font-weight: var( --font-weight-bold ); } .nav--main .nav__sub-item .nav__sub-item a { padding-left: 3.6rem; } /* ::: Content ::: */ .page__parent-title { color: var( --color-base--subtle ); margin-top: -2.8rem; } .page__title { margin-top: -0.8rem; } .page__parent-title + .page__title { margin-top: -0.4rem; } .page__tagline { margin-top: 1.2rem; font-size: 2rem; font-style: italic; font-weight: 100; } /* Remove, doesn't provide good styling .page__lead { font-size: 1.8rem; } */ .figures--full { background-color: var( --wmui-color-base90 ); } .figure__caption, .heading__description { color: var( --color-base--subtle ); clear: both; display: block; font-size: 1.3rem; } .figure__caption { padding-top: 0.8rem; /* `padding-top` due to usage with floated images in figure above */ font-style: italic; } .figure__caption:empty { display: none; } .heading__description { float: right; margin-top: -1.9rem; } .heading__description + * { clear: both; } /* ... “Do” & “Don't” figures ... */ .figures-do-dont { margin-top: 1.6rem; } .figures-do-dont .figure { background-color: var( --wmui-color-base80 ); border-top-left-radius: var( --border-radius-base ); border-top-right-radius: var( --border-radius-base ); } .figures-do-dont .figure--dont { border-left: var( --border-width-base ) solid var( --color-base--inverted ); } .figures-do-dont .figure__caption { background-color: var( --color-base--inverted ); display: block; border-top-width: 0.8rem; border-top-style: solid; padding-right: 0.8em; } .figure--do .figure__caption, .do { border-top-color: var( --color-secondary ); } .figure--dont .figure__caption, .dont { border-top-color: var( --color-destructive ); } .do, .dont { font-style: normal; font-weight: var( --font-weight-bold ); } .do:before, .dont:before { display: inline-block; margin-right: 0.4rem; padding-top: 0.4rem; font-size: 2.1rem; line-height: 1rem; vertical-align: top; } .do { color: var( --color-success ); } .do:before { content: '✓'; } .dont { color: var( --color-destructive ); } .dont:before { content: '×'; } /* ... Color ... */ .color-palette { margin: 2.4rem 0 0; padding: 0; } .color-palette + .color-palette { margin-top: 0; } .color-palette + p { margin-top: 1.6rem; } .color { color: var( --color-base--emphasized ); list-style: none none; display: block; float: left; position: relative; width: 61.8%; height: 16rem; margin-bottom: 3.2rem; padding: 1.2rem; border: var( --border-width-base ) var( --border-style-base ) var( --border-color-inset--focus ); border-radius: var( --border-radius-base ); font-size: 1.4rem; } .color--dark, .color__wcag-level span { color: var( --color-base--inverted ); } .color--dark .color__wcag-level span { color: var( --color-base--emphasized ); } .color-palette .color:first-child { margin-top: 0.4rem; } .color-palette--overview .color { width: 6.4rem; height: 6.2rem; margin-top: 0.8rem; margin-right: 1.2rem; margin-bottom: 2.4rem; border-radius: 3.2rem; cursor: default; } .color-palette--overview .color:first-child { margin-top: 0.8rem; } .color-palette--overview .color--emphasized { width: 7.2rem; height: 7rem; margin-top: 0; border-radius: 7.2rem; padding-top: 2rem; } .color-palette--base .color { margin-right: 1.35rem; } .color-section .color .color-code--hsb { transition: opacity var( --transition-ease-medium ); } .color-section .color:hover .color-code--hsb { opacity: 1; } .color__name { display: block; position: absolute; bottom: 1.2rem; left: 1.2rem; font-size: 3.2rem; font-weight: var( --font-weight-ultralight ); } .color-palette--overview .color__name { position: relative; bottom: auto; left: auto; padding-top: 1.2rem; font-size: 2.4rem; line-height: 1; } .color__type, .color-code.color-code--rgb, .color-palette--overview .color__name, .color-palette--overview .color-code { display: none; } .color-code { background-color: inherit; display: block; padding: 0; font-family: var( --font-family-system-sans ); } .color-code--hsb { opacity: 0; } @supports ( --css: variables ) { .color-hint { white-space: nowrap; } .color-hint:before { content: ''; background-color: var( --color-hint ); display: inline-block; width: 1.2rem; height: 1.2rem; margin: 0 0.4rem 0.3rem 0.2rem; border-radius: 50%; vertical-align: text-bottom; cursor: help; } .color-hint--base100:before { border: var( --border-base ); } } /* ... Icon ... */ .icon { display: inline-block; width: 2rem; height: 2rem; margin: 0 0.2rem; vertical-align: text-bottom; } .icon--indicator { width: 1.2rem; height: 1.2rem; margin-bottom: 0.2rem; } .icon--intermediate { width: 1.6rem; height: 1.6rem; margin-bottom: 0.2rem; } /* ... Components ... */ /* .page--components h2 { border-bottom: 0; padding-bottom: 0; } */ .components__designing { position: relative; } .components__designing:after { content: ''; background: url( ../../img/components/legend_16-8.svg ) no-repeat; position: absolute; bottom: 0; right: 6.4rem; width: 13.2rem; height: 6.4rem; } +/* +.components__states, +.components__imagery +*/ + /* Messages */ .page--components-messages .components__intro { max-width: 700px; margin-left: auto; margin-right: auto; } /* Override general img border radius for correct Message representation */ .page--components-messages img { border-radius: 0; } /* ... Resources ... */ .resources-table { display: table; width: 100%; margin-top: 2.4rem; border-collapse: collapse; } .resources-table__head, .resources-table__body { display: table-row; border-bottom: 1px solid #a2a9b1; } .resources-table__head { background-color: #eaecf0; } .resources-table__head h2 { margin-top: 0; border-bottom: 0; padding-bottom: 0; font-size: 2.1rem; font-weight: var( --font-weight-base ); } .resources-table__cell { display: table-cell; padding: 1.6rem 1.6rem 1.6rem 0; } .resources-table__head .resources-table__cell:first-child { padding-left: 1.6rem; } .lnk-resource { white-space: nowrap; } /* ::: Footer ::: */ .footer { color: var( --color-base ); padding: 2.4rem 0; font-size: 1.3rem; } .footer__list { padding: 0; } .footer__list:first-child { margin: 0; } .footer__list:after { content: ' '; display: block; clear: both; } .footer__list li { list-style: none none; display: block; padding: 0.8rem 0 0; } .footer__list li:first-child { padding-top: 0; } .footer__list + p { margin-top: 1.2rem; } .footer__list--connect a { font-weight: var( --font-weight-bold ); } .lnk--wikimedia-project { display: inline-block; padding: 0.4rem 0; text-transform: uppercase; } /* ::: Page-specific Styles ::: */ /* ... Homepage ... */ .page--home .page__title { border: 0; padding: 0; } /* ... “Design principles – Accessibility” ... */ .page--design-principles-accessibility .nav--main .is-on > a { cursor: pointer; } .page--design-principles-accessibility h3 { padding-right: 15%; } /* ... “Typography” ... */ .page--visual-style-typography .figures-do-dont .figure__contents { padding: 4.2rem 3.6rem; } .figures-do-dont--contrast .figure--dont { color: var( --wmui-color-base50 ); } /* ... Typography Styles ... */ .typography-styles dt { display: inline-block; color: var( --color-base--subtle ); min-width: 10rem; margin: 0 0 3.2rem 1.6rem; /* Need to rely on `margin-bottom` here for vertical alignment */ font-size: 1.3rem; font-weight: var( --font-weight-bold ); vertical-align: top; } .typography-styles .typography-styles__blockquote { margin-bottom: 4.8rem; } .typography-styles .typography-styles__code { margin-bottom: 0; } .typography-styles dd { display: inline; } .typography-styles dd > * { display: inline-block; margin-top: 0; /* Remove `margin` from elements like paragraphs and list elements */ } .typography-styles .figure__caption { padding-top: 0; /* Remove `padding` from elements like figure caption */ } .typography-styles dd:after { content: '\A'; white-space: pre; } .typography-styles + hr { margin-top: 4rem; margin-bottom: 4rem; } /* ... “Icons” ... */ .page--visual-style-icons img { /* FIXME: generalize image styles */ background-color: var( --wmui-color-base80 ); /* FIXME: var; */ padding: 2.4rem; } /* ::: Dynamic content ::: */ .fonts-loaded cite, .fonts-loaded .site__title, .fonts-loaded .color-code { font-family: var( --font-family-system-sans ); } /* ::: Text Block-Level Elements ::: */ .fonts-loaded .page__title, .fonts-loaded blockquote, .fonts-loaded .typography-styles h1 { font-family: 'Charter', Georgia, serif; /* stylelint-disable-line font-family-name-quotes */ } /* ::: Media Queries ::: */ /* ... Smartphone only ... */ @media ( max-width: 767px ) { .nav--main { position: absolute; top: -3.2rem; left: -1.6rem; right: -1.6rem; padding-bottom: 1.6rem; box-shadow: 0 2px 2px 0 rgba( 0, 0, 0, 0.25 ); /* FIXME: Update wmui-base */ z-index: 1; transform: translateY( -200% ); transition: left var( --transition-ease-medium ), right var( --transition-ease-medium ), transform var( --transition-ease-medium ); } .trigger--nav-main:checked + .nav--main { transform: translateY( 0 ); } .page__title { margin-top: -0.4rem; font-size: 2.8rem; } .typography-styles dt { display: block; margin-left: 0; } /* ... Components ... */ .page--components .components__states { margin-left: 0; } /* ... Resources ... */ .resources-table, .resources-table__head, .resources-table__body, .resources-table__cell { display: block; } .resources-table__head { margin-left: -1.6rem; margin-right: -1.6rem; } .resources-table__head .resources-table__cell:empty { display: none; } .resources-table__body { padding-left: 0; } .resources-table__cell { padding-top: 0.8rem; padding-bottom: 0.8rem; } } /* ... Smartphone portrait ... */ @media ( min-width: 240px ) { .content-box, .site__title a, .nav--main a { transition-property: background-color, padding; transition-duration: var( --transition-ease-medium ); } .site__title { margin-left: 4.2rem; } .site__title a { padding-left: 0; } .lnk--contribute span { display: none; } .nav--main a { padding-left: 1.6rem; padding-right: 1.6rem; } .col--start, .col--end { width: 100%; } .figure--full, .resources-table__head { margin-left: -1.6rem; margin-right: -1.6rem; } .figure--full .figure__caption { margin-left: 1.6rem; margin-right: 1.6rem; } .figure--this-is-for-everyone img, .figure--trustworthy-yet-joyful img { width: 100%; max-width: 568px; margin-left: auto; margin-right: auto; } .figure--illustrations-header img { width: 100%; } .figure--illustrations-header + .figure--illustrations-header, .figure--illustrations-header + .figure--illustrations-header img { margin-top: 0; } .color { width: 61.8%; } .color-palette--base .color:nth-child( 3n+4 ) { clear: both; } .color-palette--base .color { margin-right: 1.6rem; } .color-palette--overview.color-palette--base .color--emphasized { margin-right: 1.1rem; margin-left: -0.2rem; } .page--components figure { margin-left: 4.2rem; } } /* ... Smartphone+ portrait ... */ @media ( min-width: 414px ) { .content-box { padding-left: 3.2rem; padding-right: 3.2rem; } .nav--main { left: -3.2rem; right: -3.2rem; } .nav--main a { padding-left: 3.2rem; padding-right: 3.2rem; } .figure--full, .resources-table__head { margin-left: -3.2rem; margin-right: -3.2rem; } .figure--full .figure__caption { margin-left: 3.2rem; margin-right: 3.2rem; } .resources-table__head .resources-table__cell:first-child { padding-left: 3.2rem; padding-right: 3.2rem; } .footer__list li { display: list-item; float: left; padding: 0 0.8rem 0 0; } .footer__list li:after { content: '\2022'; /* bullet dot: '•' */ color: var( --color-base--subtle ); padding: 0 0 0 0.8rem; font-weight: 100; } .footer__list li:last-child:after { content: ''; padding: 0; } .color { width: 16rem; margin-right: 2.4rem; } } /* ... Smartphone landscape ... */ @media ( min-width: 568px ) { .lnk--contribute { display: block; position: absolute; bottom: 1.5rem; /* Not on 8px base due to `line-height` setting */ right: 3.2rem; text-align: right; } .lnk--contribute span { display: inline; opacity: 0; transition: opacity var( --transition-ease-medium ); } .figures-do-dont .figure { max-width: 61.8%; } .figure--this-is-for-everyone img, .figure--trustworthy-yet-joyful img { max-width: none; } .figure--illustrations-header { float: left; width: 44.4%; } .figure--illustrations-header + .figure--illustrations-header { width: 55.55%; margin-top: 0.8rem; } .figure--illustrations-header + .figure--illustrations-header img { margin-top: 1.6rem; } } /* ... Tablet ... */ @media ( min-width: 768px ) { img { border-radius: 2px; } .content-box { width: 100%; max-width: 960px; } .btn--nav-main { display: none; } .site__title { float: left; margin-left: 0; } .site__title a, .nav--main a { padding-left: 1.6rem; padding-right: 1.6rem; } .lnk--contribute span { display: inline; opacity: 1; } .col--start { width: 20.8rem; z-index: 1; transition: width var( --transition-ease-medium ); } .col--end { margin-left: -20.8rem; padding-left: 24rem; /* = 22.4 + (2 * 1.6 padding) */ } .nav--main { left: auto; right: auto; } .figure--full, .figure--full .figure__caption { margin-left: 0; margin-right: 0; } .figures-do-dont .figure { float: left; width: 50%; } .color-palette--base .color:nth-child( 3n+4 ) { clear: unset; } /* ... “Illustrations” ... */ .illustrations-case-study img { float: left; width: 33.33%; } .page--components figure { margin-left: 6.4rem; } } /* ... Tablet+ / Netbook ... */ @media ( min-width: 992px ) { .content-box { width: 100%; max-width: var( --width-site-desktop-wide ); } .site__title a, .nav--main a { padding-left: 3.2rem; padding-right: 3.2rem; } .col--start { width: 24rem; } .col--end { margin-left: -24rem; padding-left: 27.2rem; /* = 24 + (2 * 1.6 padding) */ } .color-palette--overview:first-child { margin-top: 2.4rem; } .color { margin-right: 2.4rem; } .color-palette--base .color { margin-right: 1.35rem; } .color-palette--overview.color-palette--base .color--emphasized { margin-right: 1.35rem; margin-left: 0; } .color-palette--overview.color-palette--red:before, .color-palette--overview.color-palette--red:after, .color-palette--overview.color-palette--green:before, .color-palette--overview.color-palette--green:after { content: ''; display: none; } .color-palette--overview.color-palette--red:after, .color-palette--overview.color-palette--green:after, .color-section .color:nth-child( 3n+4 ) { clear: both; } /* ... Resources ... */ .resources-table__body .resources-table__cell { transition: background-color var( --transition-ease-medium ); } .resources-table__body:hover .resources-table__cell { background-color: #f8f9fa; } .resources-table__head .resources-table__cell:first-child, .resources-table__body .resources-table__cell:first-child { padding-left: 1.6rem; } } @media ( min-width: 1200px ) { .content-box { width: var( --width-site-desktop-wide ); } .col--start { width: 25.6rem; } .col--end { margin-left: -25.6rem; padding-left: 28.8rem; /* = 25.6 + (2 * 1.6 padding) */ } } diff --git a/img/components/language_selectors_designing.svg b/img/components/language_selectors_designing.svg new file mode 100644 index 0000000..6d33332 --- /dev/null +++ b/img/components/language_selectors_designing.svg @@ -0,0 +1,237 @@ + + + + language_selectors_designing + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + All languages + + + + + English + + + + + + Esperanto + + + + + + Ελληνικά + + + + + + 한국어 + + + + + + + + Suggested + + + + + Español + + + + + + English + + + + + + 한국어 + + + + + + русский + + + + + + + + + + + Search languages + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 16 sp / 1 em + + + 12 sp / 1.25 em + + + 8 sp / 0.5 em + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 24 sp / 1.5 em + + + 32 scale-independent pixels / 2 em + + + + + + + + + + + + + + + + + + + + + + + 4 sp / 0.25 em + + + + + + + + diff --git a/img/components/language_selectors_designing_additional_actions_01.svg b/img/components/language_selectors_designing_additional_actions_01.svg new file mode 100644 index 0000000..041002d --- /dev/null +++ b/img/components/language_selectors_designing_additional_actions_01.svg @@ -0,0 +1,150 @@ + + + + language_selectors_designing_additional_actions_01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + All languages + + + + + English + + + + + + Esperanto + + + + + + Ελληνικά + + + + + + 한국어 + + + + + + + + Suggested + + + + + Español + + + + + + English + + + + + + 한국어 + + + + + + русский + + + + + + + Missing in Italiano , Māori and more + + + + + + + + + + + + + + + + + + + Search languages + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/components/language_selectors_designing_additional_actions_02.svg b/img/components/language_selectors_designing_additional_actions_02.svg new file mode 100644 index 0000000..1d0bb06 --- /dev/null +++ b/img/components/language_selectors_designing_additional_actions_02.svg @@ -0,0 +1,101 @@ + + + + language_selectors_designing_additional_actions_02 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + More options + + + + + + + + + + + + + + Open language settings + + + + + + + + + + + + + + + + Translate this page + + + + + + + + + + + + + + + + Edit language links + + + + + + + + + + + + + + + + + + + diff --git a/img/components/language_selectors_designing_additional_actions_03.svg b/img/components/language_selectors_designing_additional_actions_03.svg new file mode 100644 index 0000000..e4d3d77 --- /dev/null +++ b/img/components/language_selectors_designing_additional_actions_03.svg @@ -0,0 +1,102 @@ + + + + language_selectors_designing_additional_actions_03 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Māori + + + + + + + + + + + + + + + Italiano + + + + + + + + + + + + + + + + + + + + + + + + + + This page is missing in some languages you may know. You can translate it in minutes! + + + + + Translate this page + + + + + + + + + + + + + + + + + diff --git a/img/components/language_selectors_designing_grouping_language_variants.svg b/img/components/language_selectors_designing_grouping_language_variants.svg new file mode 100644 index 0000000..9aa4b8c --- /dev/null +++ b/img/components/language_selectors_designing_grouping_language_variants.svg @@ -0,0 +1,178 @@ + + + + language_selectors_designing_grouping_language_variants + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + All languages + + + + + English + + + + + + + + + + + + + + + + + Canadian English + + + + + + Esperanto + + + + + + British English + + + + + + Ελληνικά + + + + + + US English + + + + + + 한국어 + + + + + + + + + Suggested + + + + + Español + + + + + + English + + + + + + 한국어 + + + + + + русский + + + + + + + + + + + + Search languages + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/components/language_selectors_designing_grouping_language_variants_collapsed.svg b/img/components/language_selectors_designing_grouping_language_variants_collapsed.svg new file mode 100644 index 0000000..c06a9be --- /dev/null +++ b/img/components/language_selectors_designing_grouping_language_variants_collapsed.svg @@ -0,0 +1,130 @@ + + + + language_selectors_designing_grouping_language_variants_collapsed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + All languages + + + + + English + + + + + + + + + + + + + + + + + + + Esperanto + + + + + + Ελληνικά + + + + + + 한국어 + + + + + + + + Variants for English + + + + + US English + + + + + + Canadian Eng… + + + + + + British English + + + + + + + + + + + Search languages + + + + + + + + + + + + + + + + diff --git a/img/components/language_selectors_intro.svg b/img/components/language_selectors_intro.svg new file mode 100644 index 0000000..1a3c04d --- /dev/null +++ b/img/components/language_selectors_intro.svg @@ -0,0 +1,121 @@ + + + + language_selectors_intro + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + All languages + + + + + English + + + + + + Esperanto + + + + + + Ελληνικά + + + + + + 한국어 + + + + + + + + Suggested + + + + + Español + + + + + + English + + + + + + 한국어 + + + + + + русский + + + + + + + + + + + + Search languages + + + + + + + + + + + + + + + + diff --git a/img/components/language_selectors_states_empty_01.svg b/img/components/language_selectors_states_empty_01.svg new file mode 100644 index 0000000..e82553b --- /dev/null +++ b/img/components/language_selectors_states_empty_01.svg @@ -0,0 +1,126 @@ + + + + language_selectors_states_empty_01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + maori| + + + + + + + + + + + + + + You can translate this page. It’s an easy way to create content in your language. + + + + + + Māori + + + + + + + + + + + + + + + Italiano + + + + + + + + + + + + + + + + + + + + + + + + + + Language not available + + + + + + + diff --git a/img/components/language_selectors_states_empty_02.svg b/img/components/language_selectors_states_empty_02.svg new file mode 100644 index 0000000..a6de7bd --- /dev/null +++ b/img/components/language_selectors_states_empty_02.svg @@ -0,0 +1,77 @@ + + + + language_selectors_states_empty_02 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + maori| + + + + + + + + + + + + + + The language you are looking for is not available. + + + Language not available + + + + + + diff --git a/img/components/language_selectors_states_expanded_layout_01.svg b/img/components/language_selectors_states_expanded_layout_01.svg new file mode 100644 index 0000000..1349309 --- /dev/null +++ b/img/components/language_selectors_states_expanded_layout_01.svg @@ -0,0 +1,378 @@ + + + + language_selectors_states_expanded_layout_01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + All languages + + + + + English + + + + + + Esperanto + + + + + + Ελληνικά + + + + + + 한국어 + + + + + + + + Suggested + + + + + Español + + + + + + English + + + + + + 한국어 + + + + + + русский + + + + + + + + + + + + Search languages + + + + + + + + + + + + + + + + + + + + + + + + + All languages + + + + + Afrikaans + + + + + + Galego + + + + + + Svenska + + + + + + Català + + + + + + Italiano + + + + + + Ελληνικά + + + + + + Deutsch + + + + + + Nederlands + + + + + + Български + + + + + + Español + + + + + + Português + + + + + + Русский + + + + + + Français + + + + + + Suomi + + + + + + Чӑвашла + + + + + + + + नेपाली + + + + + + ગુજરાતી + + + + + + ייִדיש + + + + + + मराठी + + + + + + മലയാളം + + + + + + עברית + + + + + + हिन्दी + + + + + + اردو + + + + + + 中文 + + + + + + বাংলা + + + + + + العربية + + + + + + 日本語 + + + + + + ਪੰਜਾਬੀ + + + + + + فارسی + + + + + + 한국어 + + + + + + + + + + + + Search languages + + + + + + + + + + + + + + + + + diff --git a/img/components/language_selectors_states_expanded_layout_02.svg b/img/components/language_selectors_states_expanded_layout_02.svg new file mode 100644 index 0000000..fb7a57f --- /dev/null +++ b/img/components/language_selectors_states_expanded_layout_02.svg @@ -0,0 +1,211 @@ + + + + language_selectors_states_expanded_layout_02 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + All languages + + + + + English + + + + + + Esperanto + + + + + + Ελληνικά + + + + + + 한국어 + + + + + + नेपाली + + + + + + मराठी + + + + + + हिन्दी + + + + + + বাংলা + + + + + + Afrikaans + + + + + + Català + + + + + + עברית + + + + + + 中文 + + + + + + 日本語 + + + + + + 한국어 + + + + + + + + Suggested + + + + + Español + + + + + + English + + + + + + 한국어 + + + + + + русский + + + + + + + + + + + + Search languages + + + + + + + + + + + + + + + Languages + + + + + + + + + + + + + + + + + + + diff --git a/img/components/language_selectors_states_searching.svg b/img/components/language_selectors_states_searching.svg new file mode 100644 index 0000000..e912876 --- /dev/null +++ b/img/components/language_selectors_states_searching.svg @@ -0,0 +1,86 @@ + + + + language_selectors_states_searching + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Español + + + + + + Esperanto + + + + + + + + + + + + + + + + + + + + esp| + + + añol + + + + + + + + + + + + + + + + diff --git a/img/components/language_selectors_states_selecting.svg b/img/components/language_selectors_states_selecting.svg new file mode 100644 index 0000000..095ca72 --- /dev/null +++ b/img/components/language_selectors_states_selecting.svg @@ -0,0 +1,144 @@ + + + + language_selectors_states_selecting + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + All languages + + + + + English + + + + + + Esperanto + + + + + + Ελληνικά + + + + + + 한국어 + + + + + + + + Suggested + + + + + Español + + + + + + English + + + + + + 한국어 + + + + + + русский + + + + + + + + + + + | Search languages + + + + + + + + + + + + + + + + + + + + + diff --git a/img/components/language_selectors_types_additional_actions.svg b/img/components/language_selectors_types_additional_actions.svg new file mode 100644 index 0000000..3b1f201 --- /dev/null +++ b/img/components/language_selectors_types_additional_actions.svg @@ -0,0 +1,150 @@ + + + + language_selectors_types_additional_actions + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + All languages + + + + + English + + + + + + Esperanto + + + + + + Ελληνικά + + + + + + 한국어 + + + + + + + + Suggested + + + + + Español + + + + + + English + + + + + + 한국어 + + + + + + русский + + + + + + + Missing in Italiano , Māori and more + + + + + + + + + + + + + + + + + + + Search languages + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/components/language_selectors_types_additional_details_01.svg b/img/components/language_selectors_types_additional_details_01.svg new file mode 100644 index 0000000..0cf1a7b --- /dev/null +++ b/img/components/language_selectors_types_additional_details_01.svg @@ -0,0 +1,97 @@ + + + + language_selectors_types_additional_details_01 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + English + + + Moon + + + + + + Esperanto + + + Luno + + + + + + Ελληνικά + + + Σελήνη + + + + + + 한국어 + + + + + + + + + + + + + + Search languages + + + + + + + + + + + + + + + + diff --git a/img/components/language_selectors_types_additional_details_02.svg b/img/components/language_selectors_types_additional_details_02.svg new file mode 100644 index 0000000..fe356e1 --- /dev/null +++ b/img/components/language_selectors_types_additional_details_02.svg @@ -0,0 +1,153 @@ + + + + language_selectors_types_additional_details_02 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + All languages + + + + + English + + + + + + Esperanto + + + + + + + + + + + + + + + + + Ελληνικά + + + + + + 한국어 + + + + + + + + Suggested + + + + + Español + + + + + + English + + + + + + 한국어 + + + + + + русский + + + + + + + + + + + + + + + + + + + + + + + Search languages + + + + + + + + + + + + + + + + + diff --git a/img/components/language_selectors_types_multiple_selection.svg b/img/components/language_selectors_types_multiple_selection.svg new file mode 100644 index 0000000..92662d5 --- /dev/null +++ b/img/components/language_selectors_types_multiple_selection.svg @@ -0,0 +1,155 @@ + + + + language_selectors_types_multiple_selection + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + All languages + + + + + English + + + + + + Esperanto + + + + + + Ελληνικά + + + + + + 한국어 + + + + + + + + Suggested + + + + + Español + + + + + + English + + + + + + 한국어 + + + + + + русский + + + + + + + + + + + + Search languages + + + + + + + + + + + + + + 1 selected + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/WikimediaUI-components_overview.png b/resources/WikimediaUI-components_overview.png index 4b29e1f..c0a7e87 100644 Binary files a/resources/WikimediaUI-components_overview.png and b/resources/WikimediaUI-components_overview.png differ diff --git a/resources/WikimediaUI-components_overview.sketch b/resources/WikimediaUI-components_overview.sketch index 3c34331..c3d27c4 100644 Binary files a/resources/WikimediaUI-components_overview.sketch and b/resources/WikimediaUI-components_overview.sketch differ diff --git a/resources/WikimediaUI-components_overview.svg b/resources/WikimediaUI-components_overview.svg index bd47386..5695a0a 100644 --- a/resources/WikimediaUI-components_overview.svg +++ b/resources/WikimediaUI-components_overview.svg @@ -1,5548 +1,7896 @@ - + WikimediaUI-components_overview - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - + + + + - + + + + + + + + + + - - - - - + + - + - - + + + - + - + - + - + - + + + + + + - - + + - - + - + - - - - - - - - - - - - - + + + - - - - - + + + + - + - + + + + + + + + + + + + + + + - + - + + + + - + - + + + + + + + + + + + + + - - + + + + + + + - - + - + + + + + + - + + + + + + + + - - + + - - + - + - - - - - + + + + + - + - - - - + + + - - - - - - - - - - + - - - - + + + + + - + - - + + - - - - + + - - - - + + + + + - - - - + + + + + + + + - + + + + + + + + - + + + + + + + - + - + + + + + + + + + + + + + + - + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + - + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + - + + + + + + - + + + + + + + + - + + + + + + - + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + - + + + + + + + + - + + + + + + - + + + + + + + - + + + + + + + + - + + + + + + + + - + + + + + + + - + + + + + + + + + + + + + + + + + + + + + - + + + + + + - + + + + + + + - + + + + - + + + + + + + - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - + #6b4ba1 Visited link color #ff4242 #447ff5 Hover color on primary (progressive) buttons Hover color on primary (destructive) buttons #404244 `lighten( #202122, 13% )` #6c7378 `lighten( #54595d, 10% )` Emphasized copy color Active button/widgets text MODIFIER COLORS - - + + + + #ac6600 RGB 172, 102, 0 HSB 36, 100%, 67% AA #fc3 RGB 255, 204, 51 HSB 45, 80%, 100% AAA #fef6e7 RGB 254, 246, 231 HSB 39, 9%, 100% AAA Yellow50 Yellow30 Green50 Green30 #00af89 RGB 0, 175, 137 HSB 167,100%,69% AA #d5fdf4 RGB 213, 253, 244 HSB 167, 16%, 99% AAA Yellow90 Green90 #14866d RGB 20, 134, 109 HSB 167, 85%, 53% AA Secondary link highlight Positive messages Warning messages COLOR PALETTE BASE COLORS - - + + + + - + ACCENT COLORS - - + + + + Primary buttons Links Page accents Focus outlines Active buttons Active links Accent30 Progressive #36c RGB 51, 102, 204 HSB 220, 75%, 80% AA #eaf3ff RGB 234, 243, 255 HSB 214, 8%, 100% AAA Base100 #fee7e6 RGB 255, 231, 230 HSB 2, 10%, 100% AAA Destructive #d33 RGB 221, 51, 51 HSB 360, 77%, 87% AA AA #b32424 RGB 135, 54, 54 HSB 360, 60%, 53% AAA #2a4b8d RGB 42, 75, 141 HSB 220, 70%, 55% AAA Destructive actions – Buttons and Links Alerts Destructive active buttons and links Hovered buttons Active menu items backgrounds Base background Highlight from grey Disabled text input background #fff RGB 255, 255, 255 HSB 0, 0%, 100% AAA Accent90 Accent50 Red90 Red50 Red30 Base90 Base80 Base70 Base50 Base30 Base20 Base10 Base0 Button/3D widget background #f8f9fa RGB 248, 249, 250 HSB 210, 1%, 98% AAA #eaecf0 RGB 234, 236, 240 HSB 220, 3%, 94% AAA #c8ccd1 RGB 200, 204, 209 HSB 213, 4%, 82% AAA #a2a9b1 RGB 162, 169, 177 HSB 212, 8%, 69% AAA #72777d RGB 114, 119, 125 HSB 210, 9%, 49% AA AA #54595d RGB 84, 89, 93 HSB 207, 10%, 36% AAA #202122 RGB 32, 33, 34 HSB 210, 6%, 13% AAA #000 RGB 0, 0, 0 HSB 0, 0%, 0% AAA Disabled button/3D widget background Highlighted border Disabled elements text Placeholder text Active border Copy color Buttons/widgets text Descriptive text on Base90 background Hover color on normal buttons Emphasized secondary text at level AAA need WCAG 2.0 conformance level: (with white/black) SUPPLEMENTARY COLORS - - + + + + BACKGROUND COLORS - - + + + + Layer 1: #f8f9fa Layer 2: #fff Layer 3: #eaecf0 Layer 4: #c8ccd1 - - - - - + + + LANGUAGE SELECTORS + + + + + + + + + + + + + + + + + + + All languages + + + + + English + + + + + + Esperanto + + + + + + Ελληνικά + + + + + + 한국어 + + + + + + + + Suggested + + + + + Español + + + + + + English + + + + + + 한국어 + + + + + + русский + + + + + + + + + + + + Search languages + + + + + + + + + - - Re-enter password - + + + + + + + + + + + + + All languages + + + + + English + + + + + + Esperanto + + + + + + Ελληνικά + + + + + + 한국어 + + + + + + + + Suggested + + + + + Español + + + + + + English + + + + + + 한국어 + + + + + + русский + + + + + + + + + + + Search languages + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 16 sp / 1 em + + + 12 sp / 1.25 em + + + 8 sp / 0.5 em + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 24 sp / 1.5 em + + + 32 scale-independent pixels / 2 em + + + + + + + + + + + + + + + + + + + + + + + 4 sp / 0.25 em + + + + + + + + + + + + + + + + All languages + + + + + English + + + + + + + + + + + + + + + + + + + Esperanto + + + + + + Ελληνικά + + + + + + 한국어 + + + + + + + + Variants for English + + + + + US English + + + + + + Canadian Eng… + + + + + + British English + + + + + + + + + + + Search languages + + + + + + + + + + + + + + + + + + + + + + + + + All languages + + + + + English + + + + + + + + + + + + + + + + + Canadian English + + + + + + Esperanto + + + + + + British English + + + + + + Ελληνικά + + + + + + US English + + + + + + 한국어 + + + + + + + + + Suggested + + + + + Español + + + + + + English + + + + + + 한국어 + + + + + + русский + + + + + + + + + + + + Search languages + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + More options + + + + + + + + + + + + + + Open language settings + + + + + + + + + + + + + + + + Translate this page + + + + + + + + + + + + + + + + Edit language links + + + + + + + + + + + + + + + + + + + + + + + + + + + + + All languages + + + + + English + + + + + + Esperanto + + + + + + Ελληνικά + + + + + + 한국어 + + + + + + + + Suggested + + + + + Español + + + + + + English + + + + + + 한국어 + + + + + + русский + + + + + + + Missing in Italiano , Māori and more + + + + + + + + + + + + + + + + + + + Search languages + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Māori + + + + + + + + + + + + + + + Italiano + + + + + + + + + + + + + + + + + + + + + + + + + + This page is missing in some languages you may know. You can translate it in minutes! + + + + + Translate this page + + + + + + + + + + + + + + + + + + + + + + + + + + All languages + + + + + English + + + + + + Esperanto + + + + + + Ελληνικά + + + + + + 한국어 + + + + + + + + Suggested + + + + + Español + + + + + + English + + + + + + 한국어 + + + + + + русский + + + + + + + + + + + | Search languages + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Español + + + + + + Esperanto + + + + + + + + + + + + + + + + + + + + esp| + + + añol + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + maori| + + + + + + + + + + + + + + The language you are looking for is not available. + + + Language not available + + + + + + + + + + + + + + + + + + + + + + + + + + + + + maori| + + + + + + + + + + + + + + You can translate this page. It’s an easy way to create content in your language. + + + + + + Māori + + + + + + + + + + + + + + + Italiano + + + + + + + + + + + + + + + + + + + + + + + + + + Language not available + + + + + + + + + + + + + + + + + All languages + + + + + English + + + + + + Esperanto + + + + + + + + + + + + + + + + + Ελληνικά + + + + + + 한국어 + + + + + + + + Suggested + + + + + Español + + + + + + English + + + + + + 한국어 + + + + + + русский + + + + + + + + + + + + + + + + + + + + + + + Search languages + + + + + + + + + + + + + + + + + + + + + + + + + + English + + + Moon + + + + + + Esperanto + + + Luno + + + + + + Ελληνικά + + + Σελήνη + + + + + + 한국어 + + + + + + + + + + + + + + Search languages + + + + + + + + + + + + + + + + + + + + + + + + + + + All languages + + + + + English + + + + + + Esperanto + + + + + + Ελληνικά + + + + + + 한국어 + + + + + + + + Suggested + + + + + Español + + + + + + English + + + + + + 한국어 + + + + + + русский + + + + + + + Missing in Italiano , Māori and more + + + + + + + + + + + + + + + + + + + Search languages + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + All languages + + + + + English + + + + + + Esperanto + + + + + + Ελληνικά + + + + + + 한국어 + + + + + + + + Suggested + + + + + Español + + + + + + English + + + + + + 한국어 + + + + + + русский + + + + + + + + + + + + Search languages + + + + + + + + + + + + + + 1 selected + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + All languages + + + + + English + + + + + + Esperanto + + + + + + Ελληνικά + + + + + + 한국어 + + + + + + + + Suggested + + + + + Español + + + + + + English + + + + + + 한국어 + + + + + + русский + + + + + + + + + + + + Search languages + + + + + + + + + + + + + + + + + + + + + + + + + All languages + + + + + Afrikaans + + + + + + Galego + + + + + + Svenska + + + + + + Català + + + + + + Italiano + + + + + + Ελληνικά + + + + + + Deutsch + + + + + + Nederlands + + + + + + Български + + + + + + Español + + + + + + Português + + + + + + Русский + + + + + + Français + + + + + + Suomi + + + + + + Чӑвашла + + + + + + + + नेपाली + + + + + + ગુજરાતી + + + + + + ייִדיש + + + + + + मराठी + + + + + + മലയാളം + + + + + + עברית + + + + + + हिन्दी + + + + + + اردو + + + + + + 中文 + + + + + + বাংলা + + + + + + العربية + + + + + + 日本語 + + + + + + ਪੰਜਾਬੀ + + + + + + فارسی + + + + + + 한국어 + + + + + + + + + + + + Search languages + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + All languages + + + + + English + + + + + + Esperanto + + + + + + Ελληνικά + + + + + + 한국어 + + + + + + नेपाली + + + + + + मराठी + + + + + + हिन्दी + + + + + + বাংলা + + + + + + Afrikaans + + + + + + Català + + + + + + עברית + + + + + + 中文 + + + + + + 日本語 + + + + + + 한국어 + + + + + + + + Suggested + + + + + Español + + + + + + English + + + + + + 한국어 + + + + + + русский + + + + + + + + + + + + Search languages + + + + + + + + + + + + + + + Languages + + + + + + + + + + + + + + + + + + + + + + + Re-enter password + - + Multiline inline message without rich text. Only sentences, which bring clarity on what's happening to the user. Multiline block message with rich text like links to Nas , who • will rule the World and • free all his sons - - - - - + + + + + - - + + + + - + - - + + + + - - + + + + - + - + - - + + + + - - + + + + - - + + + + - + - + 24 scale-independent pixels (1.5 em) 20 sp (1.25 em) 16 sp (1 em) 12 sp (0.75 em) 8 sp (0.5 em) `font-size: 1em` `font-size: 1em` `font-weight: bold` A neutral message which informs about general higher priority notices to the user. Stay neutral! - + A neutral message which informs about general higher priority notices to the user. Stay neutral! A success message which means the user did everything right and should know about it. Yay! - + A success message which means the user did everything right and should know about it. Yay! A warning which is not stopping whatever the user just did, but needs to clear up why things might not work as expected. - + A warning which is not stopping whatever the user just did, but needs to clear up why things might not work as expected. An error which means it's potentially stopping whatever the user just did and will give them a clear message what is wrong. - + - - - - + + Re-enter password - + An error which means it's potentially stopping whatever the user just did and providing them a clear message on what's wrong. There's also an explanatory link . - + Sizes Notice Success Warning Error - + MESSAGES - + - + - + - + Select a file - + - - + + + + - - + + Option 1 - + Re-enter password Password on general purpose - + - - + + Vannevar Bush - - Username - - - + + + Username + + + + - + CheckboxMultiSelect label - + Option with a really long label Radio button with really long label - - + + - + Neutral point - + - + Neutral point - + - + - - + + Call to action The document containing a hyperlink is known as its source document. For example, in an online reference work such as Wikipedia, many words and terms in the text are hyperlinked to definitions of those terms. Hyperlinks are often used to implement reference mechanisms, such as tables of contents, footnotes, bibliographies, indexes, letters, and glossaries. - - + + + + - - + + + + `margin-bottom: 1.25em` between widgets with labels `margin-bottom: 1.5em` between widgets without labels - + - - + + + + - + - - - - - - - - - + + + - - + + + + + + - + EXAMPLE FORM - - + + + + - - + + + + - - + + + + - - + + + + - - + + + + - - + + + + - - + + + + 2 WAYS OF CHOOSING DATE 1. Starting the process from scratch. Choosing YYYY, MM, DD Step 1: Choosing year Step 2: Choosing month Step 3: Choosing day Clicking on year in the field to change year Clicking on month in the field to change month Clicking on day in the field to change day 2. Clicking on YYYY, MM, or DD to alter a specific part of the date. - + S 28 4 11 18 25 M 29 5 12 19 26 T 30 6 13 20 27 W 31 7 14 21 28 T 1 8 15 22 29 F 2 9 16 23 30 S 3 10 17 24 1 - - + + - - - + + + + + - - - - - - - + + + + + + + + + - - - - - - - + + + + + + + + + + + Tue 14 Nov 2013 - + - + January 01 February 02 March 03 April 04 May 05 June 06 January 01 February 02 March 03 April 04 May 05 June 06 July 07 August 08 September 09 October 10 November 11 December 12 July 07 August 08 September 09 October 10 November 11 December 12 YYYY-MM-DD Tue 14 Nov 2013 November 2013 2013 2013 - + S 28 4 11 18 25 M 29 5 12 19 26 T 30 6 13 20 27 W 31 7 14 21 28 T 1 8 15 22 29 F 2 9 16 23 30 S 3 10 17 24 1 - - + + - - - + + + + + - - - - - - - + + + + + + + + + - - - - - - - + + + + + + + + + + + YYYY-MM-DD November 2013 - + - + 1986 1987 1988 1989 1990 1991 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2010 2011 2012 2013 2014 2015 YYYY-MM-DD Tue 14 Nov 2013 - - - - - - - + + + + + + + + + - - - - - - - + + + + + + + + + - - - - - - - + + + + + + + + + + + - - - - - - - + + + + + + + + + + + DATE PICKER Normal Disabled Text field Interaction Calendar Expanded Calendar interaction - - + + + + Tue Nov 5, 2013 Tue Nov 5, 2013 Tue Nov 5, 2013 Tue Nov 5, 2013 Tue Nov 5, 2013 - + 5 5 5 Tue Nov 5, 2013 Tue Nov 5, 2013 • Clicking on back button takes users to the “Year” selection view. • Scrolling up / clicking “up” button reveal the previous month. • Scrolling down / clicking “down” button reveals the following month. • When user starts typing a number, it changes the numbers within highlighted area • Clicking on back button takes users to the “Year” selection view. • Scrolling up / clicking “up” button reveal the previous set of years. • Scrolling down / clicking “down” button reveal the following set of years. • When user starts typing a number, it changes the numbers within highlighted area Once user selects a new month / day / year, the area highlighted will grow in size and back in place as if making one pulse. The highlight with more contrast and flash When we decide to have users start from scratch in selecting a day in a year, start from the “Year” selection view, followed by “Month” and then “Day.” 48 sp (3 em) height “Currently selected” style 5 Current day Hover state style Placeholder icon for navigate to today’s day When menu is expanded, clicking on the month / day / year, takes user to the month / day / year selection view. The month / day / year will be highlighted. User will be able to type an input like a text field or choose from the selection below. CHANGING “MONTH” GOING BACK TO CHANGE “MONTH” AFTER A SELECTION STARTING FROM SCRATCH GOING BACK TO CHANGE “YEAR” CHANGING “DAY” CHANGING “YEAR” - + January 01 February 02 March 03 April 04 May 05 June 06 July 07 August 08 September 09 October 10 November 11 December 12 Tue Nov 5, 2013 - - + + - - - + + + + + 2013 - + 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 Tue Nov 5, 2015 - - - - - - - + + + + + + + + + - - - - - - - + + + + + + + + + + + Select a date Hover Active Focus Hover Active Focus Calendar Expanded User will be able to press to enter previous year, to enter year after User will also be able to type the year manually. to enter previous month if cursor is over “Nov”, to enter day after if cursor is over “5” User will also be able to type the month and day manually. Placeholder icon for calendar - + January 01 February 02 March 03 April 04 May 05 June 06 July 07 August 08 September 09 October 10 November 11 December 12 Tue Nov 14, 2013 - - - - - - - + + + + + + + + + + + 2013 - + S 28 4 11 18 25 M 29 5 12 19 26 T 30 6 13 20 27 W 31 7 14 21 28 T 1 8 15 22 29 F 2 9 16 23 30 S 3 10 17 24 1 - - + + - - - + + + + + - - - - - - - + + + + + + + + + - - - - - - - + + + + + + + + + + + Tue Nov 14, 2013 November 2013 - + S 28 4 11 18 25 M 29 5 12 19 26 T 30 6 13 20 27 W 31 7 14 21 28 T 1 8 15 22 29 F 2 9 16 23 30 S 3 10 17 24 1 - - + + - - - + + + + + - - - - - - - + + + + + + + + + - - - - - - - + + + + + + + + + + + Tue Nov 5, 2013 November 2013 - + S 28 4 11 18 25 M 29 5 12 19 26 T 30 6 13 20 27 W 31 7 14 21 28 T 1 8 15 22 29 F 2 9 16 23 30 S 3 10 17 24 1 - - + + - - - + + + + + - - - - - - - + + + + + + + + + - - - - - - - + + + + + + + + + + + Tue Nov 5, 2013 November 2013 - + 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 Tue Nov 14, 2013 - - - - - - - + + + + + + + + + - - - - - - - + + + + + + + + + + + - + 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 - - - - - - - + + + + + + + + + + + - - + + - - + + Tue Nov 5, 2013 - - - - - + + + - - - - - + + + - - - - - + + + - - - - - + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + Button Primary… - - + + Button - - - - - - + + - - - - - - - - - - - - + + + + Primary… - - - - - + + + - - - - - + + + - + Button - - - - - - - - - - - - - - - - - - - - + + + + + + + + Primary… - + Button - + - - - - - - - - - - - - - - - - - - + + + + + + Primary… - - - - - + + + - - + + Option 1 Option 2 Option 3 - - - - - - - - - - - - - - - - - - + + + + + + - - - - - + + + Option “Currently selected” style Option 1 Normal Legend Hover Active Focus 8 sp (0.5 em) 42 sp height - + - + TOOLBAR - - - Island country of Japan - + + + + Island country of Japan + + - - + + - - + + Japan is an island country in East Asia. Located in the Pacific Ocean, it lies off the eastern coast of the Asian continent and stretches from the Sea of Okhotsk in the north to the East China Sea and the Philippine Sea in the south. The kanji that make up Japan's name mean "sun origin", and it is often called the "Land of the Rising Sun". Japan is a stratovolcanic archipelago consisting of about 6,852 islands. The four largest are Honshu, Hokkaido, Kyushu, and Shikoku, which make up about ninety-seven percent of Japan's land area and often are referred to as home islands. The country is divided into 47 prefectures in eight regions, with Hokkaido being the northernmost prefecture and Okinawa being the southernmost one. The population of 127 million is the world's tenth largest. Japanese make up 98.5% of Japan's total population. About 13.8 million people live in Tokyo, the capital of Japan. The Greater Tokyo Area is the most populous metropolitan area in the world with over 38 million people. - + - - + + - - - + + + + + Find a number of Popup variants and language specific alterations at https://doc.wikimedia.org/Popups/master/js/ui/ - + POPUP Normal Hover Active Focus Expanded Menu Disabled - + - + - - + + - - + + - - + + Placeholder User input - - - - - - - - + + + + Placeholder Placeholder - - - + - - + + Placeholder - - - + + + - - + + + + Label + - - Label - - + - + - + - + - + - - - - - - - - - + + + + + + + - - - - - - - + + + Placeholder - - + + - - - - - + + + Option 1 Option 2 - + COMBOBOX INPUT FIELD - + BUTTON + DROPDOWN Normal Hover Active Expanded Menu Disabled - + - - + + Download original file 601 x 601 px jpg - - - - - + + + Download original file 601 x 601 px jpg - - - - - + + + Download original file 601 x 601 px jpg - - - - - + + + Download original file 601 x 601 px jpg - - + + Download original file 601 x 601 px jpg - - - - - + + + Download original file 601 x 601 px jpg - - - - + + - - + + - + Original file 601 x 601 px jpg Small 601 x 601 px jpg Download original file 601 x 601 px jpg - - + + - - + + Original file 601 x 601 px jpg Download original file 601 x 601 px jpg Small 601 x 601 px jpg - + - - + + - + Original file 601 x 601 px jpg Small 601 x 601 px jpg Download original file 601 x 601 px jpg - - - - - + + + - - - - - + + + Normal Hover Active Expanded Menu Focus Disabled - + - - + + Option 1 Option 2 Option 3 - - + + + + - - + + + + - + - - + + + + - - + + + + - + - - + + + + - - + + + + - + - - - - + + - + - + - + - + - - - + 20 sp x 20 sp icon vertical-align: middle ICON DROPDOWN Normal Hover Active Expanded Menu Focus Disabled - - + + - - + + Neutral Neutral Neutral Neutral - - - - - - + + Neutral - - - + Neutral - - - - - - - - - + + + Neutral Neutral 2 - - + + - - + + - - + + - - + + + + - - + + + + - - + + + + - - + + + + - - + + + + - - + + + + - - + + + + - - + + + + - + - + - + - + - + Neutral - - - + Neutral Neutral 2 - - + + Neutral - - - + Neutral Neutral 2 - + - + LINK DROPDOWN - + - + Item 1 selected - - + + - - - + + + + + - - + + - - + + Item 2 Item 1 - - - - - Select an item - - - - - - - + + + + Select an item + + + + + + + + - - - - - - - - Select an item - - - - - - - + + + + + + + Select an item + + + + + + + + - - - - - + + + - - - - - + + + - + - + Item 1 selected - - + + - - - + + + + + - - + + - - + + Item 2 Item 1 - - - - - Select an item - - - - - - - + + + + Select an item + + + + + + + + - - + + Select an item - - + + - - - + + + + + - - Label - - + + + Label + + + - - + + + + - - + + + + - + - - - - - - - + + + + + + + Normal Hover Active & Focus Expanded Menu & Focus Disabled - + DROPDOWN - - - - - - - - - + + + + + + + + + - - Select a file - + + Select a file + - + - + - + Select a file - + - - - + + + - - + + - - Label - - + + + Label + + + - + - + - + - + - - - - - - - - - + + + + + + + - + - + - + Select a file - + Normal Disabled - + FILE INPUT FIELD - + - - + + - + 100 - - - - - - - - + + + + + + + + - - - - - - - - - + + + + + + + - + - + - - - - - - - - - + + + + + + + - + - + - + 100 - - - + + + - - + + - - - + + + - - + + Normal Disabled - + NUMBER INPUT FIELD - + Disabled textarea - - - - + + - - - - - - - - - + + + + + + + - + - - - - - + + + Normal Disabled - + TEXTAREA Normal Hover Focus & Active Password - + ****** - + Password PASSWORD INPUT FIELD - - + + + + Normal Hover Focus & Active Disabled Search - - - - + + + + - - + + Entering search terms - - - + + + - - + + - + - + Search - - - + + + - - + + - + Search - - - + + + - - - + + + + + - + - + - + SEARCH INPUT FIELD - - + + + + - + Placeholder text - + Placeholder - - - + + + - - + + - - - + + + - - - + + + + + - - Label - + + + Label + + Your input - + Providing input - - - + + + - + - + Your input - - - - - - - - - + + + + + + + - + - + - + - - - - - + + + Normal Hover Active & Focus Disabled - + TEXT INPUT FIELDS - - + + Option with a really long label today Second option Option 1 Option 2 Normal Hover Active Focus Disabled - - + + - + Minimum 16 sp (1 em) margin - - + + - + - + - - + + - + - - + + - - + + - - + + - + - - + + Option 1 - - + + - + - + - - - - - - - - - + + + + + + + Label for binary selection `vertical-align: middle` one-liner text - - + + - + - - + + - + - + - + - + - + - - + + - - - - - + + + - - - - - + + + - - - - - + + + - - - - - + + + - - - - - + + + - - - - - + + + Selected - + TOGGLE SWITCH Option 2 - + Option 1 - + - - Radio group label - - + + + Radio group label + + + - + - + Option with a really long label today Option title - + Neutral point - + - + Neutral point - + - + Neutral point - + Normal Hover Active Focus Disabled Selected - + Neutral point - + - + Neutral point - + Radio label - + touch area features `width: 2em;` `height: 2em;` - - - - - - - - - - + + + + + + + + + + + + - + Neutral point - + Neutral point - + - + Neutral point - - + + - + Neutral point - + - + Neutral point - - + + - + - + Option with a really long label today Option title `vertical-align: middle` - - - - - - - + + + - - - - - + + + - - - - - + + + - - - - - + + + - - - - - + + + - - - - - + + + + + + + - + RADIO BUTTON Indeterminate – some children selected - + - - - + + + - - - + + + + + Unselected - + Selected - + - + - + Neutral point - + INTEDERMINATE - - + + + + Normal Hover Active Focus Disabled Selected Option 2 - + - - - - - - - - - + + + + + Option 1 - + - + - + - + Neutral point - + - + - + Neutral point - + - + - + Neutral point - + - + - + Neutral point - + - + - + Neutral point - + - + - + Neutral point - + - + Neutral point - + - + Neutral point - + - + Neutral point - + Neutral point - + Checkbox label - + - - + + - + - + Option with a really long label today Option title - - + + + + `vertical-align: middle` touch area features `width: 2em;` `height: 2em;` - - - - - + + + - - - - - + + + - - - - - + + + - - - - - + + + - - - - - + + + - - - - - + + + - + - + Option with a really long label today Option 2 - - + + + + - + CHECKBOX Normal Highlighted Highlighted positive - + Neutral point - - + + Neutral point - - + + Neutral point TEXT HIGHLIGHT - - - UNDERLINED LINK - - - - - + + + + NEW LINK + + + + + + + + + + + Neutral point of view + + + + + + Normal + - - + + Neutral point of view - - - - + + + Neutral point of view - - + - + Neutral point of view - - - + + Neutral point of view - - - + + Neutral point of view - Normal Hover Active Focus Visited UNDERLINED LINK - - + + + + - + - + Neutral point of view - - + - + Neutral point of view - - + Neutral point of view - - - - Neutral point of view - - - + + + Neutral point of view + + - + Neutral point of view Normal Hover Active Focus Visited - - - - - + + + - - - - - + + + - - - - - + + + - - - - - + + + - + LINK - + Other Pages More - + Talk More Pages Other Talk More Pages Other More More Pages Pages Other Other Talk Talk Talk More Pages Other Talk - - - - - + + + - - - - - + + + - - - - - + + + Disabled Focus Selected Active Hover Normal - + BUTTON GROUP Normal Hover Active Focus Disabled - - + + + + - - + + + + 20 sp x 20 sp icon `vertical align: middle` 44 sp minimum width touch target, 32 sp height - + - - + + + + - - + + + + - + - + - + ICON - - + + + + Button - + - + ICON + TEXT - - + + + + - + Progressive Destructive Progressive Destructive - + Progressive - + Destructive Progressive Destructive Progressive Destructive Neutral Neutral Neutral Neutral Neutral - - - - - - - - - + + + + + + + - + - + - - - - - + + + - - - - - + + + - - - - - + + + Normal Hover Active Focus Disabled - + BUTTONS QUIET - - - - - + + + + + - - + + Toggle - - + + Toggle - - + + - - - + + + + + Normal Selected TOGGLE BUTTONS - - + + + + ICON + TEXT - - + + + + - - - + Normal Hover Active Focus Disabled Primary Button - - - - - - - - - + + + + + + + - + - + Progressive Destructive Progressive Destructive - + Progressive Destructive - + Progressive - - + + Destructive Progressive Destructive Button Button Normal - + Normal Normal Normal Normal - + - + - - - - - + + + - - - - - + + + - - - - - + + + - + BUTTONS NORMAL + PRIMARY SPECIFICATIONS SPECIFICATIONS LEGEND - + Text Icon Button frame 16 sp / 1 em 12 sp / 1.25 em 8 sp / 0.5 em 4 sp / 0.25 em 24 sp / 1.5 em 32 scale-independent pixels / 2 em All single buttons, icons, text field have a min. of 44 scale- independent pixels (sp) width. All single buttons have a max. of 280 sp width. If >280 sp text wraps to the next line. - + - + - + - - + + + + - + - + - - Checkbox group label - + + + Checkbox group label + + Option 2