From 58b5619763c7d5bad58983a4da8dc139a65b4169 Mon Sep 17 00:00:00 2001 From: Brian Thomas Smith Date: Thu, 22 Dec 2022 16:03:15 +0100 Subject: [PATCH] Rename main branch --- api/inheritance.md | 4 ++-- css/at-rules.md | 4 ++-- css/properties.md | 14 +++++++------- css/selectors.md | 4 ++-- css/syntaxes.md | 6 +++--- css/types.md | 4 ++-- css/units.md | 4 ++-- 7 files changed, 20 insertions(+), 20 deletions(-) diff --git a/api/inheritance.md b/api/inheritance.md index 69ac8861..bff70fa1 100644 --- a/api/inheritance.md +++ b/api/inheritance.md @@ -1,7 +1,7 @@ # Inheritance -[data](https://github.com/mdn/data/blob/master/api/inheritance.json) | -[schema](https://github.com/mdn/data/blob/master/api/inheritance.schema.json) +[data](https://github.com/mdn/data/blob/main/api/inheritance.json) | +[schema](https://github.com/mdn/data/blob/main/api/inheritance.schema.json) Interfaces of Web APIs can inherit from other interfaces or implement [mixins](https://developer.mozilla.org/en-US/docs/Glossary/Mixin). For each interface, this data informs about the inherited (parent) interface and the implemented mixins. diff --git a/css/at-rules.md b/css/at-rules.md index 4429b4d2..f672b38b 100644 --- a/css/at-rules.md +++ b/css/at-rules.md @@ -1,7 +1,7 @@ # At-rules -[data](https://github.com/mdn/data/blob/master/css/at-rules.json) | -[schema](https://github.com/mdn/data/blob/master/css/at-rules.schema.json) +[data](https://github.com/mdn/data/blob/main/css/at-rules.json) | +[schema](https://github.com/mdn/data/blob/main/css/at-rules.schema.json) An [at-rule](https://developer.mozilla.org/en-US/docs/Web/CSS/At-rule) is a CSS statement beginning with an at sign (@) that instructs CSS how to behave. There are several available identifiers defining what CSS should do in certain situations. diff --git a/css/properties.md b/css/properties.md index 1928d7f7..2fa9c80f 100644 --- a/css/properties.md +++ b/css/properties.md @@ -1,7 +1,7 @@ # Properties -[data](https://github.com/mdn/data/blob/master/css/properties.json) | -[schema](https://github.com/mdn/data/blob/master/css/properties.schema.json) +[data](https://github.com/mdn/data/blob/main/css/properties.json) | +[schema](https://github.com/mdn/data/blob/main/css/properties.schema.json) At its core, CSS consists of [properties](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference#index). @@ -90,7 +90,7 @@ A short-hand property might look like this: ## Properties of a `Property` object There are 11 required properties in this object: -* `syntax` (string): This is the formal syntax of the property and is usually found in the specification. It might contain references to [syntax data](https://github.com/mdn/data/blob/master/css/syntaxes.md). +* `syntax` (string): This is the formal syntax of the property and is usually found in the specification. It might contain references to [syntax data](https://github.com/mdn/data/blob/main/css/syntaxes.md). For more information see also [Value definition syntax](https://developer.mozilla.org/en-US/docs/Web/CSS/Value_definition_syntax) on MDN and the [CSS Values and Units](https://www.w3.org/TR/css3-values/#value-defs) specification. @@ -106,14 +106,14 @@ on MDN and the [CSS Values and Units](https://www.w3.org/TR/css3-values/#value-d * `initial` (string or array of property names): * If it is a string (appropriate for long-hand properties), this is the initial value of the property. * If it is an array (appropriate for short-hand properties), these are the properties the initial value is taken from. -* `appliesto` (enum): To which elements the property can be applied to. See the schema for [a list of enums](https://github.com/mdn/data/blob/master/css/properties.schema.json#L161) +* `appliesto` (enum): To which elements the property can be applied to. See the schema for [a list of enums](https://github.com/mdn/data/blob/main/css/properties.schema.json#L161) * `computed` (enum or array of property names): - * If it is an enum (appropriate for long-hand properties), this is the computed value of the property. See the schema for [a list of enums](https://github.com/mdn/data/blob/master/css/properties.schema.json#L91). + * If it is an enum (appropriate for long-hand properties), this is the computed value of the property. See the schema for [a list of enums](https://github.com/mdn/data/blob/main/css/properties.schema.json#L91). * If it is an array (appropriate for short-hand properties), these are the properties the value is computed from. -* `order` (enum): The [canonical order](https://developer.mozilla.org/en-US/docs/Glossary/Canonical_order) for the property. See the schema for [a list of enums](https://github.com/mdn/data/blob/master/css/properties.schema.json#L261). +* `order` (enum): The [canonical order](https://developer.mozilla.org/en-US/docs/Glossary/Canonical_order) for the property. See the schema for [a list of enums](https://github.com/mdn/data/blob/main/css/properties.schema.json#L261). * `status` (enum): This is either `standard`, `nonstandard`, or `experimental` depending on the standardization status of the feature. There are 3 more properties that are optional: * `mdn_url` (string): a URL linking to the property's page on MDN. This URL must omit the localization part of the URL (such as `en-US/`). * `stacking` (boolean): Whether or not the property creates a stacking context. See [stacking context](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context) for details. -* `alsoAppliesTo` (enum): To which elements the property also applies to. See the schema for [a list of enums](https://github.com/mdn/data/blob/master/css/properties.schema.json#L253). +* `alsoAppliesTo` (enum): To which elements the property also applies to. See the schema for [a list of enums](https://github.com/mdn/data/blob/main/css/properties.schema.json#L253). diff --git a/css/selectors.md b/css/selectors.md index 3d01464f..9c173886 100644 --- a/css/selectors.md +++ b/css/selectors.md @@ -1,7 +1,7 @@ # Selectors -[data](https://github.com/mdn/data/blob/master/css/selectors.json) | -[schema](https://github.com/mdn/data/blob/master/css/selectors.schema.json) +[data](https://github.com/mdn/data/blob/main/css/selectors.json) | +[schema](https://github.com/mdn/data/blob/main/css/selectors.schema.json) [CSS Selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors) define which elements CSS rulesets will be applied to. diff --git a/css/syntaxes.md b/css/syntaxes.md index dc38e7fa..dd7510cf 100644 --- a/css/syntaxes.md +++ b/css/syntaxes.md @@ -1,7 +1,7 @@ # Syntaxes -[data](https://github.com/mdn/data/blob/master/css/syntaxes.json) | -[schema](https://github.com/mdn/data/blob/master/css/syntaxes.schema.json) +[data](https://github.com/mdn/data/blob/main/css/syntaxes.json) | +[schema](https://github.com/mdn/data/blob/main/css/syntaxes.schema.json) [CSS value definition syntax](https://developer.mozilla.org/en-US/docs/Web/CSS/Value_definition_syntax) is used for the formal syntax of CSS properties. The syntaxes.json file defines many of these CSS syntaxes. @@ -25,7 +25,7 @@ Definition of `` in syntaxes.json: ``` CSS syntaxes might be more complex than just keywords separated by a pipe (`|`). For example, the syntax might contain values that are referencing -[CSS types](https://github.com/mdn/data/blob/master/css/types.md): +[CSS types](https://github.com/mdn/data/blob/main/css/types.md): ```json "alpha-value": { diff --git a/css/types.md b/css/types.md index 69bc0a9b..b673abd0 100644 --- a/css/types.md +++ b/css/types.md @@ -1,7 +1,7 @@ # Types -[data](https://github.com/mdn/data/blob/master/css/types.json) | -[schema](https://github.com/mdn/data/blob/master/css/types.schema.json) +[data](https://github.com/mdn/data/blob/main/css/types.json) | +[schema](https://github.com/mdn/data/blob/main/css/types.schema.json) [CSS basic data types](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Types) define the kinds of values (keywords and units) accepted by CSS properties and functions. diff --git a/css/units.md b/css/units.md index 4b1a6f3c..dbe46d9b 100644 --- a/css/units.md +++ b/css/units.md @@ -1,7 +1,7 @@ # Units -[data](https://github.com/mdn/data/blob/master/css/units.json) | -[schema](https://github.com/mdn/data/blob/master/css/units.schema.json) +[data](https://github.com/mdn/data/blob/main/css/units.json) | +[schema](https://github.com/mdn/data/blob/main/css/units.schema.json) Units are CSS units like `em` or `px`. Most of them are defined in the [CSS Values and Units specification](https://drafts.csswg.org/css-values/).