UNPKG

771 BSCSSView Raw
1// Copyright 2015 Palantir Technologies, Inc. All rights reserved.
2// Licensed under the Apache License, Version 2.0.
3
4@import "common/variables";
5@import "common/mixins";
6
7// Apply a natural box layout model to all elements, but allow components to change as necessary
8html {
9 box-sizing: border-box;
10}
11
12// adjust box-sizing for every element ever
13*,
14*::before,
15*::after {
16 box-sizing: inherit;
17}
18
19// Style resets on top of Normalize.css
20
21body {
22 @include base-typography();
23 color: $pt-text-color;
24 font-family: $pt-font-family;
25}
26
27p {
28 margin-bottom: $pt-grid-size;
29 margin-top: 0;
30}
31
32small {
33 font-size: $pt-font-size-small;
34}
35
36strong {
37 font-weight: 600;
38}
39
40// consistent cross-browser text selection
41::selection {
42 background: $pt-text-selection-color;
43}