76 lines
1.4 KiB
SCSS
76 lines
1.4 KiB
SCSS
/*
|
|
Copyright 2020 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.
|
|
*/
|
|
|
|
@import 'color-scheme';
|
|
|
|
// CSS reset
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
}
|
|
|
|
// Styling for universal elements
|
|
|
|
html,
|
|
body,
|
|
#root {
|
|
height: 100%;
|
|
width: 100%;
|
|
|
|
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
|
|
font-style: normal;
|
|
|
|
font-size: 14px;
|
|
line-height: 24px;
|
|
|
|
color: $font;
|
|
|
|
overflow: auto;
|
|
}
|
|
|
|
h1 {
|
|
font-weight: bold;
|
|
font-size: 24px;
|
|
line-height: 32px;
|
|
text-align: left;
|
|
color: $foreground;
|
|
}
|
|
|
|
h4 {
|
|
text-align: left;
|
|
width: 100%;
|
|
}
|
|
|
|
a {
|
|
color: $link;
|
|
text-decoration: none;
|
|
}
|
|
|
|
hr {
|
|
border: 1px solid lighten($grey, 50);
|
|
margin: 0 40px;
|
|
}
|
|
|
|
// Suppress focus ring on form controls for mouse users
|
|
[data-whatintent='mouse'] *:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.matrixIdentifier {
|
|
word-break: break-all;
|
|
}
|