Skip to content

Instantly share code, notes, and snippets.

@ksimka
Last active August 29, 2015 14:04
Show Gist options
  • Save ksimka/4f6465c1d55da3163b24 to your computer and use it in GitHub Desktop.
Save ksimka/4f6465c1d55da3163b24 to your computer and use it in GitHub Desktop.
Wamba redmine wiki style
.controller-wiki div.wiki {
font-family: Helvetica, Arial;
font-size: 14px;
line-height: 1.6;
background-color: #fff;
color: #333;
-webkit-font-smoothing: antialiased;
}
.controller-wiki div.wiki p {
margin: 1.2em 0;
}
.controller-wiki div.wiki h1, .controller-wiki div.wiki h2, .controller-wiki div.wiki h3, .controller-wiki div.wiki h4, .controller-wiki div.wiki h5 {
color: #333;
font-family: Helvetica, Arial;
font-size: 14px;
line-height: 1.6;
border: none;
}
.controller-wiki div.wiki a {
color: #4183c4 !important;
text-decoration: none;
}
.controller-wiki div.wiki h1 {
font-size: 28px;
color: #000;
}
.controller-wiki div.wiki h2 {
font-size: 24px;
border-bottom: 1px solid #ddd;
color: #000;
}
.controller-wiki div.wiki h3 {
font-size: 18px;
border-bottom: 1px dotted #eee;
}
.controller-wiki div.wiki h4 {
font-size: 16px;
}
.controller-wiki div.wiki h1, .controller-wiki div.wiki h2, .controller-wiki div.wiki h3, .controller-wiki div.wiki h4 {
margin: 40px 20px 10px 0;
padding: 0;
font-weight: bold;
-webkit-font-smoothing: antialiased;
cursor: text;
position: relative;
}
.controller-wiki div.wiki h1+p, .controller-wiki div.wiki h2+p, .controller-wiki div.wiki h3+p, .controller-wiki div.wiki h4+p {
margin-top: 0;
}
.controller-wiki div.wiki code {
font-size: 12px;
}
.controller-wiki div.wiki code, .controller-wiki div.wiki pre {
font-family: Consolas, "Liberation Mono", Courier, monospace;
border-radius: 3px;
}
.controller-wiki div.wiki p > code,
.controller-wiki div.wiki > code,
.controller-wiki div.wiki li > code
{
white-space: nowrap;
margin: 0 2px;
padding: 0px 5px;
border: 1px solid #eaeaea;
background-color: #f8f8f8;
}
.controller-wiki div.wiki .syntaxhl .line-numbers {
padding: 4px;
}
/*** TOC ***/
.controller-wiki div.wiki ul.toc {
background-color: #f8f8f8;
border: 1px solid #eee;
padding: 4px;
line-height: 1.4em;
margin-bottom: 12px;
margin-right: 12px;
margin-left: 0;
display: table;
}
* html .controller-wiki div.wiki ul.toc {
width: 50%;
} /* IE6 doesn't autosize div */
.controller-wiki div.wiki ul.toc.right {
float: right;
margin-left: 12px;
margin-right: 0;
width: auto;
}
.controller-wiki div.wiki ul.toc.left {
float: left;
margin-right: 12px;
margin-left: 0;
width: auto;
}
.controller-wiki div.wiki ul.toc ul {
margin: 0;
padding: 0;
}
.controller-wiki div.wiki ul.toc li {
font-size: 14px;
list-style-type:none;
margin: 0;
}
.controller-wiki div.wiki ul.toc li li {
font-size: 14px;
margin-left: 1.5em;
}
.controller-wiki div.wiki ul.toc li li li {
font-size: 12px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment