Files
gollum/lib/gollum/frontend/public/css/template.css
T

157 lines
3.3 KiB
CSS

/*
Gollum v3 Template
*/
#template {
font-size: 13px;
line-height: 23px;
margin-bottom: 40px;
}
/* Primary Body Copy */
#template p {
margin: 16px 0 0;
padding: 0;
}
/* ReST first graf in nested list */
#template * li p.first {
display: inline-block;
}
/* Headings */
#template h1, #template h2, #template h3,
#template h4, #template h5, #template h6 {
margin: 0;
padding: 0;
}
#template h1 {
border-top: 4px solid #ccc;
font-size: 32px;
padding: 10px 0 0;
margin: 12px 0 0;
}
#template h2 {
border-top: 4px solid #ccc;
font-size: 22px;
margin: 26px 0 0;
padding: 14px 0 0;
}
#template h3 {
font-size: 16px;
line-height: 26px;
padding: 18px 0 0;
}
#template h4 {
font-size: 14px;
line-height: 26px;
padding: 18px 0 4px;
font-weight: bold;
text-transform: uppercase;
}
#template h5 {
font-size: 13px;
line-height: 26px;
margin-bottom: -19px;
padding: 14px 0 0;
font-weight: bold;
text-transform: uppercase;
}
#template h6 {
color: #666;
font-size: 14px;
line-height: 26px;
margin-bottom: -19px;
padding: 18px 0 0;
font-weight: normal;
font-variant: italic;
}
#template h1:first-child {
border: 0;
}
#template hr {
background-color: #ccc;
color: #ccc;
border: 2px solid #ccc;
margin: 20px 0;
padding: 0;
}
/* Lists, Blockquotes & Such */
#template ul,
#template ol {
margin: 0;
padding: 20px 0 0;
list-style-position: inside;
}
/* Nested Lists */
#template ul li ul,
#template ol li ol {
padding: 0 0 0 14px;
}
/* Tables */
#template table {
margin: 20px 0 0;
}
/* Code */
#template code {
background-color: #f8f8f8;
border: 1px solid #dedede;
font-size: 13px;
padding: 1px 5px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
#template .highlight pre, #template pre {
background-color: #f8f8f8;
border: 1px solid #ccc;
font-size: 13px;
line-height: 19px;
overflow: auto;
padding: 6px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
#template .highlight { background: #ffffff; };
#template .highlight .c { color: #999988; font-style: italic };
#template .highlight .err { color: #a61717; background-color: #e3d2d2 };
#template .highlight .k { font-weight: bold };
#template .highlight .o { font-weight: bold };
#template .highlight .cm { color: #999988; font-style: italic };
#template .highlight .cp { color: #999999; font-weight: bold };
#template .highlight .c1 { color: #999988; font-style: italic };
#template .highlight .cs { color: #999999; font-weight: bold; font-style: italic };
#template .highlight .gd { color: #000000; background-color: #ffdddd };
#template .highlight .gd .x { color: #000000; background-color: #ffaaaa };
#template .highlight .ge { font-style: italic };
#template .highlight .gr { color: #aa0000 };
#template .highlight .gh { color: #999999 };
#template .highlight .gi { color: #000000; background-color: #ddffdd };
#template .highlight .gi .x { color: #000000; background-color: #aaffaa };
#template .highlight .gc { color: #999; background-color: #EAF2F5 };
#template .highlight .go { color: #888888 };
#template .highlight .gp { color: #555555 };
#template .highlight .gs { font-weight: bold };
#template .highlight .gu { color: #aaaaaa };
#template .highlight .gt { color: #aa0000 };