_sass/base.scss in just-the-docs-0.3.3 vs _sass/base.scss in just-the-docs-0.4.0.rc1
- old
+ new
@@ -1,9 +1,7 @@
-//
// Base element style overrides
-//
-// stylelint-disable selector-no-type, selector-max-type
+// stylelint-disable selector-no-type, selector-max-type, selector-max-specificity, selector-max-id
* {
box-sizing: border-box;
}
@@ -12,19 +10,21 @@
background: $link-color;
}
html {
@include fs-4;
+
scroll-behavior: smooth;
}
body {
font-family: $body-font-family;
font-size: inherit;
line-height: $body-line-height;
color: $body-text-color;
background-color: $body-background-color;
+ overflow-wrap: break-word;
}
ol,
ul,
dl,
@@ -43,10 +43,11 @@
h1,
h2,
h3,
h4,
h5,
-h6 {
+h6,
+#toctitle {
margin-top: 0;
margin-bottom: 1em;
font-weight: 500;
line-height: $body-heading-line-height;
color: $body-heading-color;