mirror of
https://github.com/kremalicious/blog.git
synced 2024-12-22 17:23:50 +01:00
changelog fixes
This commit is contained in:
parent
d011dd5870
commit
f790772553
@ -1,33 +1,49 @@
|
|||||||
@import 'variables';
|
@import 'variables';
|
||||||
|
|
||||||
.changelogTitle {
|
.title {
|
||||||
margin-top: $spacer * 3;
|
margin-top: $spacer * 3;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.changelogContent {
|
.content {
|
||||||
padding-top: $spacer * 2;
|
padding-top: $spacer * 2;
|
||||||
padding-left: $spacer / 2;
|
padding-left: $spacer / 2;
|
||||||
margin-left: $spacer / 2;
|
margin-left: $spacer / 2;
|
||||||
border-left: 1px solid $brand-grey-dimmed;
|
border-left: 1px solid $brand-grey-dimmed;
|
||||||
|
|
||||||
:global(.dark) & {
|
:global(.dark) & {
|
||||||
border-left-color: darken($body-background-color--dark, 5%);
|
border-left-color: rgba($color-headings--dark, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2,
|
||||||
|
h3,
|
||||||
|
h4 {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
margin-bottom: $spacer / 4;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: '';
|
content: '';
|
||||||
width: 0.4rem;
|
width: 0.5rem;
|
||||||
height: 0.4rem;
|
height: 0.5rem;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
background: $color-headings;
|
background: $color-headings;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: -($spacer / 1.5);
|
left: -($spacer / 1.5);
|
||||||
top: $font-size-large / 3;
|
top: $font-size-large / 3;
|
||||||
|
|
||||||
|
:global(.dark) & {
|
||||||
|
background: $color-headings--dark;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
+ blockquote {
|
||||||
|
padding-left: 0;
|
||||||
|
font-size: $font-size-small;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -47,7 +63,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.changelogSource {
|
.source {
|
||||||
font-size: $font-size-mini;
|
font-size: $font-size-mini;
|
||||||
font-family: $font-family-base;
|
font-family: $font-family-base;
|
||||||
font-weight: $font-weight-base;
|
font-weight: $font-weight-base;
|
||||||
|
@ -56,12 +56,12 @@ export default function Changelog({ repo }: { repo: string }) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.changelog}>
|
<div className={styles.changelog}>
|
||||||
<h2 className={styles.changelogTitle} id="changelog">
|
<h2 className={styles.title} id="changelog">
|
||||||
Changelog
|
Changelog
|
||||||
</h2>
|
</h2>
|
||||||
<div className={styles.changelogContent}>
|
<div className={styles.content}>
|
||||||
{changelogHtml}
|
{changelogHtml}
|
||||||
<p className={styles.changelogSource}>
|
<p className={styles.source}>
|
||||||
<em>
|
<em>
|
||||||
sourced from{' '}
|
sourced from{' '}
|
||||||
<a href={filePathUrl}>
|
<a href={filePathUrl}>
|
||||||
|
Loading…
Reference in New Issue
Block a user