Skip to content

Instantly share code, notes, and snippets.

@rejuvyesh
Created January 12, 2015 05:23
Show Gist options
  • Save rejuvyesh/e6b5eae9ba491cd27478 to your computer and use it in GitHub Desktop.
Save rejuvyesh/e6b5eae9ba491cd27478 to your computer and use it in GitHub Desktop.
gitit custom css (inspired by bootstrap)
@import url("screen.css"); /* default gitit screen styles */
@import url("hk-pyg.css"); /* for syntax highlighting */
/* My custom Gitit CSS styling, in part based on Twitter Bootstrap */
body {
margin: 0;
font-family: "Noto Sans", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 20px;
background-color: rgb(255,255,255);
font-weight: 300;
color: rgb(51, 51, 51);
}
p, pre, code {
line-height: 1.388;
margin-bottom: 1.5em;
font-weight: 400;
}
ul {
list-style-type: disc;
display: block;
}
ul, ol {
margin-top: 0;
margin-bottom: 15px;
}
code {
font-family: "Fantaque Sans Mono", Monaco, Consolas, "Courier New", monospace;
font-size: 12px;
}
pre {
background: #f4f8fa;
border-left: 3px solid #5bc0de;
margin: 20px 0;
padding: 20px;
}
blockquote {
margin: 0 0 20px;
font-size: 16px;
border-left: 5px solid #eee;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "Noto Sans", sans-serif;
font-weight: 500;
line-height: 39px;
color: rgb(51, 51, 51);
text-rendering: optimizelegibility;
}
h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
font-weight: normal;
line-height: 1;
color: #dfdfdf;
}
.pageTitle {
border: none;
}
h1 {
font-size: 30px;
}
h2 {
font-size: 24px;
}
h3 {
font-size: 20px;
}
h4 {
font-size: 16px;
}
h5 {
font-size: 14px;
}
h6 {
font-size: 12px;
}
h1 small {
font-size: 18.5px;
}
h2 small {
font-size: 14.5px;
}
h3 small {
font-size: 12px;
}
h4 small {
font-size: 12px;
}
table {
margin-left: 2em;
}
.header {
background: #dfdfdf;
color: black;
}
.odd {
background: #f9f9f9;
}
.even {
background: white;
}
th,
td {
padding: 8px;
line-height: 20px;
text-align: left;
vertical-align: top;
border: 1px solid #dddddd;
}
th {
font-weight: bold;
}
tr:hover,
td:hover {
background-color: #e8f8fd
}
a:link,
a:visited {
color: #428bca;
text-decoration: none;
}
a:hover,
a:focus {
color: #2a6496;
text-decoration: underline;
}
.bib {
background: #f4f8fa;
padding: 10px;
}
/* viz */
.axis path,
.axis line {
fill: none;
stroke: #000;
shape-rendering: crispEdges;
}
.x.axis path {
display: none;
}
.line {
fill: none;
stroke: steelblue;
stroke-width: 1.5px;
}
#wikipage img {
padding-top: 20px;
padding-bottom: 20px;
max-width: 100%;
overflow: hidden;
}
.figure {
float: right;
margin-left: 20px;
}
.figure img {
width:350px; /* you can use % */
height: auto;
}
.caption {
font-size: 12px;
font-style: italic;
}
#footnotediv {
opacity:0.9;
background-color:#fff;
border:1px solid #dfdfdf;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment