diff --git a/docs/index.html b/docs/index.html index a919b3b51..8eb4dc88e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -19,6 +19,26 @@ code, kbd { font-size: 1em; } code { transform: scale(1); } /* Deals with the issue described in #243 */ pre { font-size: 1rem; border: 0.0625rem solid var(--secondary-border-color); border-radius: var(--universal-border-radius);} + #snippetList { /* Remove default list styling */ + list-style-type: none; + padding: 0; + margin: 0; + } + + #snippetList li a { + border: 1px solid #ddd; /* Add a border to all links */ + margin-top: -1px; /* Prevent double borders */ + background-color: #f6f6f6; /* Grey background color */ + padding: 12px; /* Add some padding */ + text-decoration: none; /* Remove default text underline */ + font-size: 18px; /* Increase the font-size */ + color: black; /* Add a black text color */ + display: block; /* Make it into a block element to fill the whole list */ + } + + #snippetList li a:hover:not(.header) { + background-color: #eee; /* Add a hover effect to all links, except for headers */ + } @@ -32,6 +52,18 @@ + +