0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00

style(console): improve styles in guides

This commit is contained in:
Charles Zhao 2022-07-02 01:36:54 +08:00
parent 03390a5f26
commit d9e83acbae
No known key found for this signature in database
GPG key ID: 4858774754C92DF2
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);