1
0
mirror of https://github.com/prometheus/docs.git synced 2026-02-06 09:44:54 +01:00
Files
docs/content/css/docs.css
Julius Volz 80a896cb68 Fix logo and docs menu alignment.
Instead of moving the logo to the right to align it with the docs
side-nav, remove the extraneous left-padding on the side-nav. Then the
logo is aligned with the text on all pages again.
2016-04-16 18:21:18 +02:00

389 lines
5.8 KiB
CSS

body {
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, sans-serif;
}
.navbar {
margin-bottom: 0;
min-height: 60px;
}
.navbar-brand {
margin-top: 4px;
font-family: Lato, sans-serif;
font-size: 26px;
font-weight: 300;
color: #aaa;
}
.navbar-brand img {
height: 30px;
display: inline;
margin-top: -5px;
margin-right: 3px;
}
.navbar-toggle {
margin-top: 22px;
}
.navbar-jumbotron .navbar {
min-height: 83px;
}
.navbar-jumbotron .navbar-brand {
margin-top: 14px;
}
.navbar-jumbotron .main-nav {
margin-top: 17px;
}
.main-nav {
margin-top: 4px;
letter-spacing: 1px;
font-family: 'Lato', sans-serif;
font-size: 16px;
text-transform: uppercase;
}
.jumbotron {
background-color: #e6522c;
background-image: url("/assets/jumbotron-background.png");
text-align: center;
font-family: Lato, sans-serif;
text-shadow: rgba(0, 0, 0, 0.2) 0px 2px 0px;
margin-bottom: 50px;
padding: 40px 0;
}
.jumbotron h1 {
margin-top: 30px;
font-size: 52px;
font-weight: 300;
color: #fff;
}
.jumbotron .subtitle {
font-weight: 300;
font-size: 32px;
color: rgba(255,255,255,0.8);
margin-bottom: 20px;
}
.jumbotron a.btn {
border: none;
background-color: rgba(0,0,0,0.15);
color: #fff;
padding: 20px 25px 20px 25px;
margin: 15px 10px 0 10px;
text-transform: uppercase;
}
.jumbotron a.btn:hover {
background-color: rgba(0,0,0,0.25);
color: #fff;
}
.feature-item {
font-family: 'Lato', sans-serif;
font-weight: 300;
cursor: pointer;
}
.feature-item:hover {
background-color: #fad9d1;
border-radius: 3px;
}
.feature-item a {
text-decoration: none;
color: none;
}
.feature-item h2 {
color: #333;
font-weight: 300;
font-size: 25px;
white-space: nowrap;
}
.feature-item .fa {
margin-right: 5px;
color: #e6522c;
}
.feature-item p {
font-size: 16px;
line-height: 1.8em;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
color: #111;
}
.top-hr {
margin-top: 30px;
}
.quote {
margin: 25px 0 25px 0;
font-family: 'Lato', sans-serif;
font-weight: 300;
text-align: center;
}
.quote-text {
width: 60%;
margin: auto;
font-size: 22px;
font-style: italic;
color: #be3511;
}
.quote-source {
font-size: 16px;
margin-top: 15px;
margin-left: 50px;
}
.open-source {
margin: 25px 0 20px 0;
font-family: 'Lato', sans-serif;
font-weight: 300;
text-align: center;
}
.open-source h1 {
margin-top: 0;
font-weight: 300;
}
.open-source p {
width: 50%;
margin: auto;
font-size: 20px;
}
.open-source .github-stars {
margin-top: 20px;
width: 160px;
height: 30px;
}
.trusted-by {
font-family: 'Lato', sans-serif;
font-size: 20px;
font-weight: 300;
padding-bottom: 10px;
}
.logos {
display: flex;
align-items: center;
justify-content: center;
height: 64px;
}
footer {
font-size: 12px;
color: #333;
}
/* Downloads related styles. */
.download h2 {
margin-top: 2em;
}
.download-selection {
clear: both;
}
.download-selection .btn-group {
padding-right: 1em;
}
.downloads .checksum {
color: #aaa;
font-style: italic;
}
/* Docs-related styles. */
.side-nav-col {
z-index: 100;
}
.side-nav {
margin-top: 20px;
padding: 5px 20px 20px 0;
}
.side-nav .fa {
width: 20px;
color: #555;
}
.side-nav a {
color: #333;
}
.side-nav > li {
width: 100%;
}
.side-nav .nav-header {
display: block;
margin: 20px auto 15px auto;
font-size: 16px;
}
.side-nav .nav-header a, .side-nav .nav-header {
color: #e6522c;
text-transform: uppercase;
text-decoration: none;
}
.side-nav ul.active li.active {
border-left: 3px solid #e6522c;
margin-left: -2px;
font-weight: bold;
}
.side-nav li ul li {
border-left: 1px solid #e9eff2;
}
.doc-content {
font-size: 16px;
}
.doc-content p, .doc-content.ul, .doc-content .alert {
margin: 15px 0 15px 0;
line-height: 1.5;
}
.doc-content > h1 {
color: #e6522c;
font-size: 30px;
text-transform: uppercase;
margin: 40px 0 10px 0;
}
.doc-content > h1 a {
color: #e6522c;
}
.doc-content.blog > h1 {
text-transform: none;
}
.doc-content > h2 {
color: #e6522c;
font-size: 22px;
}
.doc-content > h2 code {
color: #e6522c;
background: none;
}
.doc-content > h3 {
font-size: 20px;
font-weight: bold;
}
.doc-content > h4 {
font-weight: bold;
font-size: 18px;
margin-top: 20px;
}
.doc-content a.header-anchor {
padding-left: 15px;
}
.doc-content a.header-anchor:after {
content: "\F0C1";
font-family: FontAwesome;
font-weight: normal;
font-size: .8em;
}
.doc-content a.header-anchor:link,
.doc-content a.header-anchor:visited {
visibility: hidden;
}
.doc-content h1:hover a.header-anchor:hover,
.doc-content h2:hover a.header-anchor:hover,
.doc-content h3:hover a.header-anchor:hover,
.doc-content h4:hover a.header-anchor:hover,
.doc-content h5:hover a.header-anchor:hover,
.doc-content h6:hover a.header-anchor:hover {
color: #000;
}
.doc-content h1:hover a.header-anchor,
.doc-content h2:hover a.header-anchor,
.doc-content h3:hover a.header-anchor,
.doc-content h4:hover a.header-anchor,
.doc-content h5:hover a.header-anchor,
.doc-content h6:hover a.header-anchor {
color: #999;
visibility: visible;
}
.doc-content img {
width: 90%;
margin-left: auto;
margin-right: auto;
display: block;
}
.toc {
padding: 1em;
background-color: #f5f5f5;
}
.toc-right {
float: right;
width: 40%;
margin: 0 0 0.5em 0.5em;
}
.toc ul {
padding: 0 0 0 1.5em;
margin: 0;
}
.toc a code {
color: #337ab7;
background-color: transparent;
}
pre {
border: 1px solid #ddd;
border-left: 4px solid #e6522c;
border-radius: 0;
font-family: "Courier New", Monaco, Menlo, Consolas, monospace;
background-color: #f5f5f5;
color: #333;
padding: 15px;
}
pre code {
white-space: pre;
}
code {
color: #333;
}
aside {
color: #888;
padding-bottom: 8px;
border-bottom: 1px solid #aaa;
}
article {
margin: 10px 0 60px 0;
}