Commit 39e2bea4 authored by Mariano Montone's avatar Mariano Montone
Browse files

Table of contents styles

Added styles for generated table-of-contents by cl-markdown.
Worked on lisp-companies.md and libraries.md pages.
parent 2ab9de72
......@@ -4,6 +4,8 @@
<!-- Awesome Common Lisp [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) [![Assertible status](https://assertible.com/apis/102e334d-f9a8-4565-9353-7572de775cae/status?api_token=8b55a286830323effb)](https://assertible.com/docs/guide/deployments) -->
{table-of-contents :depth 1 :start 1 :label "Table of contents" }
A curated list of _awesome_ Common Lisp libraries.
For awesome *software*, see [lisp-lang.org's success stories](http://lisp-lang.org/success/) and the [awesome-cl-software](https://github.com/azzamsa/awesome-cl-software) list.
......@@ -20,8 +22,6 @@ is provided in the LICENSE file. This repository is also mirrored on
alternative to Github. Preference is given to [free software][13] and
sellers who aren't evil for physical resources.
{table-of-contents :depth 2 :start 1 :label "Table of contents" }
# Build Systems
* [ASDF](https://common-lisp.net/project/asdf/) - Another System Definition Facility; a build system for Common Lisp. [Expat][14].
......
# Awesome Lisp Company
{table-of-contents :depth 2 :start 2 :label "Table of contents" }
![Lisp logo](https://github.com/azzamsa/lisp-logo/blob/master/logos/lisp-lizard-with-text.svg)
Awesome Lisp Company is the curated lisp for companies that use Lisp Extensively in their stack.
*This list intended only for company with Common Lisp and Scheme usage*
<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc -->
**Table of Contents**
- [Awesome Lisp Company](#awesome-lisp-company)
- [North America](#north-america)
- [United States](#united-states)
- [Canada](#canada)
- [Europe](#europe)
- [Belgium](#belgium)
- [Denmark](#denmark)
- [Finland](#finland)
- [Germany](#germany)
- [Netherlands](#netherlands)
- [Norway](#norway)
- [Poland](#poland)
- [Portugal](#portugal)
- [Spain](#spain)
- [Sweden](#sweden)
- [Switzerland](#switzerland)
- [Asia](#asia)
- [India](#india)
- [Japan](#japan)
- [Australia](#australia)
- [Virtual or Unsure of Location](#virtual-or-unsure-of-location)
- [Other Resources](#other-resources)
- [Note](#note)
- [Contributors](#contributors)
- [Guidelines to contribute](#guidelines-to-contribute)
- [Credit](#credit)
- [License](#license)
<!-- markdown-toc end -->
## North America
### United States
......
......@@ -42,41 +42,74 @@ hr {
color: #080;
}
.tocbox{
.table-of-contents {
display: inline-block;
float: right;
border: 2px solid #ddd;
border-radius: 0.5em;
overflow: hidden;
background-color: white;
padding: 2em;
padding: 1.5em;
margin: 0em 0em 1em 1em;
}
.tocbox h4 {
.table-of-contents h1:first-child {
background-color: #D9230F !important;
border-color: #ba1e0d !important;
color: white;
font-family: 'Varela Round', sans-serif;
font-size: 15pt;
background-color: #ddd;
padding: 0.5em 1em 0.5em 0.5em;
margin-top: 0em;
margin-bottom: 0em;
text-align: center;
}
.table-of-contents h1:not(first-child) {
margin: 0;
padding: 0 0 3px 0;
line-height: 10pt;
}
.table-of-contents h2 {
font-family: 'Varela Round', sans-serif;
font-size: 12pt;
padding: 0.5em 1em 0.5em 0.5em;
margin-top: 0em;
margin-bottom: 0em;
margin-left: 5px;
}
.tocbox ul {
.table-of-contents h1:not(first-child) a {
font-family: 'Varela Round', sans-serif;
font-size: 10pt;
line-height: 10pt;
padding: 0.5em 1em 0.5em 0.5em;
margin-top: 0em;
margin-bottom: 0em;
}
.table-of-contents ul {
padding: 0;
list-style-position: inside;
list-style-type: none;
margin: 0;
}
.tocbox li {
.table-of-contents li {
padding-top: 0.7em;
}
.tocbox li:before {
.table-of-contents h1:before {
font-size: 10pt;
content: "\00BB \0020";
}
.table-of-contents h1:first-child:before {
content: "";
}
.emphasize {
font-weight: bold;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment