mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-24 17:38:52 -05:00
docs: Update page header /section styles
This commit is contained in:
+17
-3
@@ -167,13 +167,17 @@
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
h1 {
|
||||
font-size: 1.6em;
|
||||
font-size: 1.7em;
|
||||
line-height: 1.5em;
|
||||
font-weight: 500;
|
||||
margin: 1.5em 0 0.5em 0;
|
||||
padding: 0;
|
||||
font-family: $font-title;
|
||||
border-top: 2px solid #eee;
|
||||
padding-top: 1.5em;
|
||||
|
||||
&>a {
|
||||
font-weight: 500;
|
||||
@@ -181,10 +185,10 @@
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1em;
|
||||
font-size: 1.3em;
|
||||
line-height: 1.5em;
|
||||
font-weight: 500;
|
||||
margin: 1em 0 1em 0;
|
||||
margin: 2em 0 0.5em 0;
|
||||
font-family: $font-title;
|
||||
|
||||
code {
|
||||
@@ -221,6 +225,16 @@
|
||||
font-family: $font-title;
|
||||
}
|
||||
|
||||
|
||||
&>p>strong {
|
||||
display: inline-block;
|
||||
margin-top: 1.5em;
|
||||
}
|
||||
|
||||
&>h2+p>strong, &>h1+p>strong {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $color-link;
|
||||
text-decoration: none;
|
||||
|
||||
Reference in New Issue
Block a user