Skip to content

Instantly share code, notes, and snippets.

@Roy-Oto
Created April 24, 2021 09:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Roy-Oto/3a91b71eceb4138af6be1b021d08c93e to your computer and use it in GitHub Desktop.
Save Roy-Oto/3a91b71eceb4138af6be1b021d08c93e to your computer and use it in GitHub Desktop.
CSS to change the design of the Easy Table of Content
#ez-toc-container {
border-width: 2px !important;
border-radius: 0;
box-shadow: 1px 1px 1px 1px rgba(226,226,226,1);
}
#ez-toc-container ul.ez-toc-list a {
display: block;
padding: 6px;
}
.ez-toc-title-container {
display: block;
width: 100%;
}
#ez-toc-container p.ez-toc-title {
display: block;
margin-bottom: 13px;
margin-left: 8px;
margin-top: 10px;
font-weight: bold !important;
}
.ez-toc-title-toggle {
position: absolute;
top: 13px;
right: 15px;
}
#ez-toc-container.counter-decimal ul.ez-toc-list li a::before, .ez-toc-widget-container.counter-decimal ul.ez-toc-list li a::before {
color: #383838;
margin-right: 8px;
margin-left: 10px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment