]> git.proxmox.com Git - pve-eslint.git/blobdiff - eslint/docs/src/assets/scss/foundations.scss
import 8.41.0 source
[pve-eslint.git] / eslint / docs / src / assets / scss / foundations.scss
index 27849b3c14517ea74b2dbd8337c4d0227f39fd38..68e44651f4fbb015f3f3c44687c326c74dcc86d3 100644 (file)
@@ -46,7 +46,6 @@ input:focus {
     box-shadow: 0 0 0 2px var(--link-color);
 }
 
-
 *,
 *::before,
 *::after {
@@ -63,6 +62,7 @@ html {
 }
 
 body {
+    font-size: var(--step-0);
     position: relative;
     margin: 0 auto;
     line-height: 1.5;
@@ -81,7 +81,6 @@ body {
     offset-block-start: -30em;
     offset-inline-start: 0;
     offset-inline-end: auto;
-
     z-index: 999;
     transition: top .1s linear;
 
@@ -123,8 +122,12 @@ hr {
     width: 100%;
     margin: 0 auto;
     padding: var(--space-xl-3xl) calc(1rem + 1vw);
-}
+    max-width: 1700px;
 
+    @media all and (min-width: 1700px) {
+        margin: auto;
+    }
+}
 
 .section-head {
     .section-supporting-text {
@@ -155,7 +158,6 @@ hr {
     font-size: var(--step-1);
 }
 
-
 code,
 pre {
     font-family: var(--mono-font);
@@ -170,11 +172,6 @@ code {
     }
 }
 
-p:empty {
-    display: none;
-    margin: 0;
-}
-
 .c-icon {
     color: var(--icon-color);
     flex: none;
@@ -214,7 +211,6 @@ a {
     }
 }
 
-
 a {
     color: var(--link-color);
     transition: color .1s linear;
@@ -249,7 +245,6 @@ h6 {
     overflow-wrap: break-word;
 }
 
-
 ul,
 ol {
     margin-top: 0;
@@ -259,7 +254,7 @@ ol {
         margin: 0 0 .75em;
     }
 
-    .person__bio  & {
+    .person__bio & {
         padding-left: 1.5rem;
         padding-inline-start: 1.5rem;
     }
@@ -326,7 +321,6 @@ nav {
     }
 }
 
-
 .video {
     width: 90%;
     max-width: 1400px;
@@ -347,12 +341,7 @@ nav {
     }
 }
 
-
 /* typography */
-body {
-    font-size: var(--step-0);
-    line-height: 1.5;
-}
 
 .eyebrow {
     color: var(--link-color);
@@ -374,7 +363,6 @@ h6 {
     font-weight: 500;
     margin-top: 0;
     margin-block-start: 0;
-
 }
 
 h2,
@@ -382,7 +370,6 @@ h3,
 h4,
 h5,
 h6 {
-
     .docs-main &,
     .components-main & {
         margin-top: 3rem;
@@ -397,7 +384,6 @@ h6 {
     }
 }
 
-
 small,
 caption,
 cite,