Group milestone content CSS rules together

This commit is contained in:
Javi Martín
2019-01-10 10:39:52 +01:00
committed by decabeza
parent 39c8d431f8
commit 46296b702e

View File

@@ -3,21 +3,7 @@
position: relative;
}
.tab-milestones ul .milestone-content {
padding: $line-height / 6 $line-height / 2;
position: relative;
h3 {
margin-bottom: 0;
}
.milestone-date {
color: $text-medium;
font-size: $small-font-size;
}
}
.tab-milestones .timeline ul li {
.tab-milestones .timeline li {
margin: 0 auto;
position: relative;
width: 0;
@@ -46,6 +32,8 @@
}
.milestone-content {
padding: $line-height / 6 $line-height / 2;
position: relative;
@include breakpoint(medium) {
width: rem-calc(300);
@@ -54,6 +42,15 @@
@include breakpoint(large) {
width: rem-calc(450);
}
h3 {
margin-bottom: 0;
}
.milestone-date {
color: $text-medium;
font-size: $small-font-size;
}
}
&:nth-child(odd) {