93 lines
1.4 KiB
Plaintext
93 lines
1.4 KiB
Plaintext
.article {
|
|
line-height: 1.7;
|
|
|
|
> * {
|
|
margin-bottom: 1rem;
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
h2, h3 {
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
h1 {
|
|
margin-top: 5rem;
|
|
font-size: 1.75em;
|
|
position: relative;
|
|
margin-bottom: 1em;
|
|
padding-bottom: .25em;
|
|
display: inline-block;
|
|
scroll-margin-top: 7em;
|
|
|
|
&:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
&::before {
|
|
content: "";
|
|
left: 0;
|
|
bottom: 0;
|
|
position: absolute;
|
|
|
|
width: 1.5em;
|
|
height: 4px;
|
|
display: block;
|
|
border-radius: 4px;
|
|
background-color: rgb(244 114 182 / var(--tw-text-opacity));
|
|
}
|
|
}
|
|
|
|
h2 {
|
|
margin-top: 2em;
|
|
scroll-margin-top: 4em;
|
|
|
|
&:first-child {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
a {
|
|
color:rgb(244 114 182 / var(--tw-bg-opacity));
|
|
}
|
|
|
|
img {
|
|
border-radius: .75rem;
|
|
}
|
|
|
|
em {
|
|
font-size: smaller;
|
|
font-style: normal;
|
|
padding: .15rem .5rem;
|
|
border-radius: .75rem;
|
|
}
|
|
|
|
pre {
|
|
tab-size: 4;
|
|
padding: 1em;
|
|
color: #fff;
|
|
overflow: auto;
|
|
border-radius: .75rem;
|
|
background-color: #333;
|
|
}
|
|
|
|
:not(pre) > code {
|
|
font-size: smaller;
|
|
padding: .15rem .5rem;
|
|
border-radius: .75rem;
|
|
background-color: rgb(165 243 252);
|
|
}
|
|
|
|
ul {
|
|
line-height: 2;
|
|
list-style: disc;
|
|
margin-left: 1.25rem;
|
|
|
|
::marker {
|
|
color: rgb(244 114 182 / var(--tw-bg-opacity));
|
|
}
|
|
}
|
|
}
|