website - responsive styles for ul/li section

This commit is contained in:
RJ Spiker 2018-06-15 14:36:43 -06:00 committed by Jack Pearkes
parent df7298059a
commit fa8e8964d0
2 changed files with 28 additions and 18 deletions

View File

@ -33,22 +33,4 @@
margin: 0 0 24px;
}
}
li {
list-style-type: none;
margin: 16px 0;
&:before {
background-position: center;
background-repeat: no-repeat;
background-size: 100%;
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="23" height="22" viewBox="0 0 23 22"><path fill="#CA2171" d="M21.293 1.298L11 11.591 8.707 9.298a1 1 0 1 0-1.414 1.414l3 3a.997.997 0 0 0 1.414 0l11-11a1 1 0 1 0-1.414-1.414M22 10.075v.93a10.925 10.925 0 0 1-3.227 7.777A10.926 10.926 0 0 1 11 22h-.007C4.929 21.996-.003 17.058 0 10.993a10.927 10.927 0 0 1 3.226-7.776A10.927 10.927 0 0 1 10.999 0h.008c1.551 0 3.055.32 4.47.952a1 1 0 1 1-.815 1.826A8.926 8.926 0 0 0 11.006 2H11a8.938 8.938 0 0 0-6.36 2.632A8.938 8.938 0 0 0 2 10.994c-.003 4.963 4.032 9.003 8.995 9.006H11c2.401 0 4.66-.935 6.36-2.633A8.936 8.936 0 0 0 20 11.005v-.93a1 1 0 1 1 2 0"/></svg>');
content: "";
display: block;
float: left;
height: 24px;
margin: 4px 0 0 -40px;
width: 24px;
}
}
}

View File

@ -156,4 +156,32 @@
margin-top: 16px;
}
}
li {
font-size: 1.6rem;
list-style-type: none;
margin: 16px;
text-align: left;
@media (min-width: 768px) {
margin: 16px 0;
}
@media (min-width: 992px) {
font-size: 1.8rem;
}
&:before {
background-position: center;
background-repeat: no-repeat;
background-size: 100%;
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="23" height="22" viewBox="0 0 23 22"><path fill="#CA2171" d="M21.293 1.298L11 11.591 8.707 9.298a1 1 0 1 0-1.414 1.414l3 3a.997.997 0 0 0 1.414 0l11-11a1 1 0 1 0-1.414-1.414M22 10.075v.93a10.925 10.925 0 0 1-3.227 7.777A10.926 10.926 0 0 1 11 22h-.007C4.929 21.996-.003 17.058 0 10.993a10.927 10.927 0 0 1 3.226-7.776A10.927 10.927 0 0 1 10.999 0h.008c1.551 0 3.055.32 4.47.952a1 1 0 1 1-.815 1.826A8.926 8.926 0 0 0 11.006 2H11a8.938 8.938 0 0 0-6.36 2.632A8.938 8.938 0 0 0 2 10.994c-.003 4.963 4.032 9.003 8.995 9.006H11c2.401 0 4.66-.935 6.36-2.633A8.936 8.936 0 0 0 20 11.005v-.93a1 1 0 1 1 2 0"/></svg>');
content: "";
display: block;
float: left;
height: 24px;
margin: 4px 0 0 -40px;
width: 24px;
}
}
}