webseite-grav/plugins/admin/themes/grav/scss/template/_changelog.scss

118 lines
2.2 KiB
SCSS
Raw Normal View History

2021-04-30 11:23:26 +02:00
// Changelog
body .changelog {
text-align: left;
.remodal-close {
display: none;
}
code {
white-space: pre-wrap;
vertical-align: inherit;
font-size: 0.8rem;
}
h1 {
text-align: center;
font-size: 2rem;
margin: 1rem 0;
letter-spacing: -1px;
}
.remodal {
}
.remodal-confirm {
float: right;
}
.changelog-overflow {
max-height: 500px;
overflow: auto;
margin-bottom: 1em;
border: 1px solid #ddd;
border-radius: 3px;
background: white;
padding: 1em;
}
margin-top: -2rem;
h3, h4 {
text-align: center;
font-weight: bold;
}
h3 {
font-size: 1.3rem;
margin: 1.3rem 0 0 0;
line-height: 1;
}
h3 + h4 {
font-size: 1rem;
margin: 0 0 1rem 0;
color: #666;
}
ol {
list-style: none;
padding: 0;
margin: 0 0 3rem 0;
a[href='#new'] {
& + ul > li {
&:before {
background-color: #207DE5;
content: 'New';
}
}
}
a[href='#improved'] {
& + ul > li {
&:before {
background-color: #FBCA04;
color: #333;
content: 'Improved';
}
}
}
a[href='#bugfix'] {
& + ul > li {
&:before {
background-color: #FC2929;
content: 'Bugfix';
}
}
}
}
ul {
list-style: none;
padding: 0;
li {
margin-bottom: 0.5rem;
padding-left: 6rem;
margin-left: 0;
list-style: none;
&:before {
margin-left: -6rem;
display: inline-block;
border-radius: 2px;
color: #fff;
font-weight: bold;
margin-right: 1rem;
text-align: center;
width: 5rem;
font-size: 0.8rem;
padding: 2px 0;
font-style: normal;
}
}
}
}