tidy up .cheat-october-list
This commit is contained in:
parent
70946b3910
commit
1acf8673f9
|
@ -166,32 +166,32 @@
|
|||
}
|
||||
}
|
||||
|
||||
/* 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 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.cheat-october-list + ul {
|
||||
+ ul {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.cheat-october-list + ul > li {
|
||||
+ ul > li {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.cheat-october-list + ul > li > p:first-child {
|
||||
+ ul > li > p:first-child {
|
||||
position: relative;
|
||||
margin-top: 0;
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
.cheat-october-list + ul > li > p:not(:first-child) {
|
||||
+ ul > li > p:not(:first-child) {
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
.cheat-october-list + ul > li > p:first-child::before {
|
||||
+ ul > li > p:first-child::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
display: block;
|
||||
|
@ -203,3 +203,4 @@
|
|||
background-repeat: no-repeat;
|
||||
background-image: url(../images/logos/october-icon.png);
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue