element-web/res/css/views/typography/_Heading.scss
Kerry 46b0865e89
Add Heading components (#7362)
* add Heading components

Signed-off-by: Kerry Archibald <kerrya@element.io>

* remove margins

Signed-off-by: Kerry Archibald <kerrya@element.io>

* snapshots

Signed-off-by: Kerry Archibald <kerrya@element.io>

* unset block and inline margins

Signed-off-by: Kerry Archibald <kerrya@element.io>

* copyright

Signed-off-by: Kerry Archibald <kerrya@element.io>

* fix werid quoting on heading test

Signed-off-by: Kerry Archibald <kerrya@element.io>
2021-12-15 11:00:10 +01:00

39 lines
1 KiB
SCSS

/*
Copyright 2021 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
.mx_Heading_h1 {
font-size: $font-32px;
font-weight: $font-semi-bold;
line-height: $font-39px;
margin-inline: unset;
margin-block: unset;
}
.mx_Heading_h2 {
font-size: $font-24px;
font-weight: $font-semi-bold;
line-height: $font-29px;
margin-inline: unset;
margin-block: unset;
}
.mx_Heading_h3 {
font-size: $font-18px;
font-weight: $font-semi-bold;
line-height: $font-22px;
margin-inline: unset;
margin-block: unset;
}