0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00

Merge pull request #1362 from logto-io/charles-log-3363-improve-styles-in-ac-guide

style(console): improve styles in guides
This commit is contained in:
Charles Zhao 2022-07-02 01:52:48 +08:00 committed by GitHub
commit 60b7e9c6e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 24 additions and 7 deletions

View file

@ -34,6 +34,10 @@
font: var(--font-body-medium);
color: var(--color-text-link);
text-decoration: none;
&:hover {
border-bottom: 1px solid var(--color-text-link);
}
}
h1 {

View file

@ -4,6 +4,7 @@
display: flex;
flex-direction: column;
background-color: var(--color-layer-light);
margin: _.unit(6) 0;
border-radius: 8px;
.summary {
@ -41,7 +42,3 @@
}
}
}
.container + .container {
margin-top: _.unit(6);
}

View file

@ -36,6 +36,10 @@
height: auto;
overflow: unset;
}
> *:first-child {
margin-top: _.unit(6);
}
}
li {
@ -71,17 +75,29 @@
font: var(--font-body-medium);
color: var(--color-text-link);
text-decoration: none;
&:hover {
border-bottom: 1px solid var(--color-text-link);
}
}
h3 {
font: var(--font-title-medium);
color: var(--color-caption);
margin: _.unit(6) 0;
margin: _.unit(6) 0 _.unit(3);
}
p {
font: var(--font-body-medium);
margin: _.unit(6) 0;
margin: _.unit(3) 0;
}
strong {
font: var(--font-label-large);
}
pre {
margin: _.unit(3) 0;
}
code:not(pre > code) {

View file

@ -2,7 +2,7 @@
.container {
width: 100%;
margin-top: _.unit(6);
margin-top: _.unit(3);
ul {
border-bottom: 1px solid var(--color-divider);