I need sleep

This commit is contained in:
mathias 2019-07-26 01:41:41 +03:00
parent fd6c7d0573
commit 90a6d3fdc8

View file

@ -126,6 +126,11 @@ p {
margin: 1em 0 1.5em; margin: 1em 0 1.5em;
} }
li {
line-height: 1.625;
text-align: left;
}
#col1, #col1,
#col2 { #col2 {
display: table-cell; display: table-cell;
@ -216,20 +221,21 @@ header h1 {
padding: 0; padding: 0;
} }
.news ~ li:nth-child(even) { .news > li:nth-child(even) {
animation: left-in-delayed .7s; animation: left-in-delayed .7s;
} }
.news ~ li:nth-child(odd) { .news > li:nth-child(odd) {
animation: right-in-delayed .7s; animation: right-in-delayed .7s;
} }
.news ~ li { .news > li {
background: $accentcolor; background: $accentcolor;
border-radius: .375em; border-radius: .375em;
box-shadow: 0 2px 1px rgba(0, 0, 0, .04); box-shadow: 0 2px 1px rgba(0, 0, 0, .04);
color: $lightcolor; color: $lightcolor;
font-size: .938em; font-size: .938em;
line-height: 0;
margin: 0 0 1.125em 0; margin: 0 0 1.125em 0;
padding: .75em 1em; padding: .75em 1em;
position: relative; position: relative;
@ -237,7 +243,7 @@ header h1 {
text-shadow: none; text-shadow: none;
} }
.news ~ li:after { .news > li:after {
content: ''; content: '';
position: absolute; position: absolute;
top: 50%; top: 50%;
@ -245,14 +251,14 @@ header h1 {
margin-top: -.625em; margin-top: -.625em;
} }
.news ~ li:nth-child(even):after { .news > li:nth-child(even):after {
left: 0; left: 0;
border-right-color: $accentcolor; border-right-color: $accentcolor;
border-left: 0; border-left: 0;
margin-left: -.5em; margin-left: -.5em;
} }
.news ~ li:nth-child(odd):after { .news > li:nth-child(odd):after {
right: 0; right: 0;
border-left-color: $accentcolor; border-left-color: $accentcolor;
border-right: 0; border-right: 0;