1
0
Fork 0
blog/src/components/atoms/Changelog.module.scss

70 lines
1.1 KiB
SCSS
Raw Normal View History

2018-11-21 23:39:09 +01:00
@import 'variables';
.changelogTitle {
2019-10-02 13:35:50 +02:00
margin-top: $spacer * 3;
margin-bottom: 0;
2018-11-21 23:39:09 +01:00
}
.changelogContent {
2019-10-02 13:35:50 +02:00
padding-top: $spacer * 2;
padding-left: $spacer / 2;
margin-left: $spacer / 2;
border-left: 1px solid $brand-grey-dimmed;
2018-11-21 23:39:09 +01:00
2019-10-02 13:35:50 +02:00
h2 {
position: relative;
2018-11-21 23:39:09 +01:00
2019-10-02 13:35:50 +02:00
&::before {
content: '';
width: 0.4rem;
height: 0.4rem;
border-radius: 50%;
display: inline-block;
background: $color-headings;
position: absolute;
left: -($spacer / 1.5);
top: $font-size-large / 3;
2018-11-21 23:39:09 +01:00
}
2019-10-02 13:35:50 +02:00
}
2018-11-21 23:39:09 +01:00
2019-10-02 13:35:50 +02:00
h2,
h3 {
font-size: $font-size-large;
background: none;
padding: 0;
margin-left: 0;
margin-top: $spacer / 8;
margin-bottom: $spacer / $line-height;
}
2018-11-21 23:39:09 +01:00
2019-10-02 13:35:50 +02:00
ul {
font-size: $font-size-small;
margin-left: $spacer / 8;
}
2018-11-21 23:39:09 +01:00
}
.changelogSource {
2019-10-02 13:35:50 +02:00
font-size: $font-size-mini;
font-family: $font-family-base;
font-weight: $font-weight-base;
padding-top: $spacer / 2;
padding-bottom: $spacer / 2;
2018-11-21 23:39:09 +01:00
2019-10-02 13:35:50 +02:00
&,
a {
color: $brand-grey-light;
}
2018-11-21 23:39:09 +01:00
2019-10-02 13:35:50 +02:00
a {
margin-left: $spacer / 8;
2018-11-21 23:39:09 +01:00
2019-10-02 13:35:50 +02:00
code {
font-size: ($font-size-mini * 0.9);
}
2018-11-21 23:39:09 +01:00
2019-10-02 13:35:50 +02:00
&:hover {
color: $link-color;
2018-11-21 23:39:09 +01:00
}
2019-10-02 13:35:50 +02:00
}
2018-11-21 23:39:09 +01:00
}