12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- body {
- color: #{map-deep-get($config-global, "color", "foreground", "default")};
- background-color: #{map-deep-get($config-global, "color", "background", "default")};
- @include font-family( map-deep-get($config-global, "font", "family", "secondary") );
- font-size: #{map-deep-get($config-global, "font", "size", "root")};
- font-weight: normal;
- line-height: #{map-deep-get($config-global, "font", "line-height", "body")};
- -moz-osx-font-smoothing: grayscale;
- -webkit-font-smoothing: antialiased;
- }
- // Set font size of title block the same as body.
- .editor-post-title__block {
- font-size: #{map-deep-get($config-global, "font", "size", "root")};
- }
- p {
- font-size: (strip-unit(map-deep-get($config-global, "font", "size", "base")) + 0em);
- line-height: #{map-deep-get($config-global, "font", "line-height", "body")};
- }
- // Links styles
- a {
- color: #{map-deep-get($config-global, "color", "primary", "default")};
- &:hover {
- color: #{map-deep-get($config-global, "color", "primary", "hover")};
- }
- .has-primary-background-color &:not(.has-text-color) {
- color: #{map-deep-get($config-global, "color", "background", "default")};
- }
- }
- button,
- a {
- cursor: pointer;
- }
- button,
- input,
- optgroup,
- select,
- textarea {
- font-family: inherit;
- font-size: 100%;
- line-height: 1.15;
- margin: 0;
- }
|