tidy up .cheat-october-list
This commit is contained in:
parent
70946b3910
commit
1acf8673f9
|
@ -166,40 +166,41 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TODO do this properly using a shortcode */
|
// TODO do this properly using a shortcode to add the class to the list
|
||||||
|
// (see contentposts/leopold.md)
|
||||||
.cheat-october-list {
|
.cheat-october-list {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
|
||||||
|
|
||||||
.cheat-october-list + ul {
|
+ ul {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cheat-october-list + ul > li {
|
+ ul > li {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cheat-october-list + ul > li > p:first-child {
|
+ ul > li > p:first-child {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
padding-left: 40px;
|
padding-left: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cheat-october-list + ul > li > p:not(:first-child) {
|
+ ul > li > p:not(:first-child) {
|
||||||
padding-left: 40px;
|
padding-left: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cheat-october-list + ul > li > p:first-child::before {
|
+ ul > li > p:first-child::before {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: block;
|
display: block;
|
||||||
top: 0.2em;
|
top: 0.2em;
|
||||||
bottom: 0.2em;
|
bottom: 0.2em;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-image: url(../images/logos/october-icon.png);
|
background-image: url(../images/logos/october-icon.png);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue