A sidebar page for the wiki

A simple wiki page (markdown file "_Sidebar.md") is used as a sidebar menu for the wiki.

Github specification:
https://help.github.com/articles/creating-a-sidebar/

- the sidebar is rendered below the pages index.
- if you click on page index "counter" you can collapse or expand the
  page list.
This commit is contained in:
Viliam Dias
2015-11-16 14:33:02 -02:00
parent 6ad724d80c
commit 51acf72e0d
3 changed files with 94 additions and 10 deletions

View File

@@ -1175,6 +1175,36 @@ a.absent {
color: #c00;
}
div.wiki-index-header {
background-color: #f5f5f5;
color: #333333;
margin: 0;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border: 1px solid #d8d8d8;
padding: 8px 8px 8px 8px;
}
div.wiki-sidebar {
background-color: white;
border: 1px solid #d8d8d8;
padding: 4px;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
margin-bottom: 20px;
margin-top: 20px;
}
div.wiki-index-content {
background-color: white;
border: 1px solid #d8d8d8;
padding: 0px;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
margin-bottom: 20px;
border-top: none;
}
/****************************************************************************/
/* Commit */
/****************************************************************************/