2018-10-29 12:12:36 -07:00

131 lines
1.9 KiB
SCSS

/* ------------------------------------------------------------ *\
List Numeric
\* ------------------------------------------------------------ */
.list-numeric {
padding-top: 54px;
padding-left: 18px;
font-size: 14px;
color: $dark-light;
.list-numeric-title {
margin-bottom: 40px;
padding-left: 38px;
font-weight: 500;
text-align: center;
color: $primary-dark;
}
h6 {
margin-bottom: 5px;
font-weight: 500;
color: $primary-dark;
}
p {
margin-bottom: 8px;
}
li + li {
margin-top: 45px;
}
li {
position: relative;
padding-left: 87px;
&:before {
counter-increment: number;
content: counters(number, '.') ' ';
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 67px;
height: 67px;
line-height: 67px;
background: $primary-dark;
border-radius: 50%;
font-size: 35px;
font-weight: 700;
text-align: center;
color: $white;
}
}
a {
font-size: 14px;
text-decoration: underline;
word-break: break-all;
color: $primary;
&:hover {
text-decoration: none;
}
}
@media (max-width: 768px) {
& {
padding: 0;
}
}
@media (max-width: 767px) {
.list-numeric-title {
padding: 0;
}
li + li {
margin-top: 20px;
}
li {
padding-left: 55px;
&:before {
width: 45px;
height: 45px;
line-height: 45px;
font-size: 20px;
}
}
}
}
ul {
counter-reset: number;
list-style-type: none;
.list-disc {
list-style: disc;
li {
color: green;
list-style: disc;
}
}
}
/* ------------------------------------------------------------ *\
List Tags
\* ------------------------------------------------------------ */
.list-tags {
list-style-type: none;
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
align-items: center;
margin-top: 21px;
padding-top: 10px;
border-top: 2px solid #d4d4d4;
margin: 0 -5px -10px;
li {
padding: 0 5px 10px;
}
.tag {
font-size: 12px;
font-weight: 500;
}
}