Añade estilos para plugin de tablas de contenido
This commit is contained in:
parent
996c8b3354
commit
ec0ac6e671
1 changed files with 38 additions and 18 deletions
|
@ -37,6 +37,9 @@ body.page-child .content,
|
||||||
body.page-parent .content {
|
body.page-parent .content {
|
||||||
padding-top: 32px;
|
padding-top: 32px;
|
||||||
}
|
}
|
||||||
|
pre {
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Main colors.
|
* Main colors.
|
||||||
|
@ -521,28 +524,45 @@ li.comment {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* EnlighterJS PLUGIN.
|
* LuckyWP Table of Contents PLUGIN.
|
||||||
*/
|
*/
|
||||||
div.EnlighterJSWrapper {
|
div.lwptoc.lwptoc-right {
|
||||||
overflow-x: scroll;
|
margin-top: 0;
|
||||||
}
|
margin-bottom: 8px;
|
||||||
ul.EnlighterJS {
|
|
||||||
padding: 12px 0 !important;
|
|
||||||
background-color: #fff !important;
|
|
||||||
}
|
|
||||||
ul.EnlighterJS li,
|
|
||||||
div.EnlighterJSWrapper pre {
|
|
||||||
white-space: pre;
|
|
||||||
}
|
}
|
||||||
span.EnlighterJS {
|
div.lwptoc_i {
|
||||||
border: 0 !important;
|
max-width: 320px;
|
||||||
background-color: #fffcd3 !important;
|
}
|
||||||
|
div.lwptoc_item > div.lwptoc_itemWrap span.lwptoc_item_label {
|
||||||
|
font-size: 88%;
|
||||||
|
}
|
||||||
|
div.lwptoc_item > div.lwptoc_itemWrap span.lwptoc_item_label:before {
|
||||||
|
content: "·";
|
||||||
|
position: absolute;
|
||||||
|
margin-left: -6px;
|
||||||
|
}
|
||||||
|
@media (max-width: 929px) {
|
||||||
|
div.lwptoc_i {
|
||||||
|
max-width: 260px;
|
||||||
}
|
}
|
||||||
.EnlighterJS span {
|
}
|
||||||
font-size: 18px !important;
|
@media (max-width: 767px) {
|
||||||
|
div.lwptoc.lwptoc-right {
|
||||||
|
margin-left: 16px;
|
||||||
|
}
|
||||||
|
div.lwptoc_i {
|
||||||
|
max-width: 210px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (max-width: 567px) {
|
||||||
|
div.lwptoc.lwptoc-right {
|
||||||
|
margin-left: 0;
|
||||||
|
float: none;
|
||||||
|
}
|
||||||
|
div.lwptoc_i {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 100%;;
|
||||||
}
|
}
|
||||||
.wpcustomEnlighterJS span {
|
|
||||||
font-size: 24px !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue