added sph styling

This commit is contained in:
Marius Pana 2017-01-21 11:43:24 +02:00
parent d5d28e52e7
commit a6260b91ef
1 changed files with 26 additions and 11 deletions

View File

@ -1,16 +1,31 @@
/* Colfax Font */
@font-face {
font-family: 'Colfax Regular';
/*@font-face {
font-family: 'Roboto', sans-serif;
font-style: normal;
font-weight: 400;
src: local('ColfaxRegular'), url(https://www.pagerduty.com/wp-content/themes/startit-child/fonts/ColfaxWebRegular.woff) format('woff2');
src: local('Roboto'), url(https://www.pagerduty.com/wp-content/themes/startit-child/fonts/ColfaxWebRegular.woff) format('woff2');
}
@font-face {
font-family: 'Colfax Light';
font-family: 'Roboto', sans-serif;
font-style: normal;
font-weight: 100;
src: local('ColfaxRegular'), url(https://www.pagerduty.com/wp-content/themes/startit-child/fonts/ColfaxWebLight.woff) format('woff2');
}*/
/* Roboto Font */
@font-face {
font-family: "Roboto Condensed";
font-style: normal;
font-weight: 400;
src: local('Roboto Condensed Regular'), local('RobotoCondensed-Regular'), url("RobotoCondensed-Regular.ttf") format('truetype');
}
@font-face {
font-family: "Roboto Condensed";
font-style: normal;
font-weight: 100;
src: local('Roboto Condensed Regular'), local('RobotoCondensed-Regular'), url("RobotoCondensed-Regular.ttf") format('truetype');
}
/* Defaults */
@ -23,7 +38,7 @@ body {
/* background: pd-green */
.repo a {
background: #25c151;
background: #540510;
}
@media only screen and (max-width: 959px) {
@ -52,7 +67,7 @@ body {
.palette-primary-green .drawer .toc a:focus,
.palette-primary-green .drawer .toc a:hover,
.palette-primary-green .article a:hover {
color: #25c151;
color: #8c0c1d;
}
/* font: pd-navy */
@ -60,12 +75,12 @@ body {
.palette-primary-green .article code,
.palette-primary-green .article h1,
.palette-primary-green .article h2 {
color: #1f293a;
color: #540510;
}
/* Selected nav section */
.palette-primary-green .drawer .anchor a {
border-left: 3px solid #25c151;
border-left: 3px solid #540510;
}
/* Hide the page title, already in the navbar */
@ -139,7 +154,7 @@ ul, ol {
height: 2em;
left: 0px;
top: 0.5em;
border-left: 5px solid #25c151;
border-left: 5px solid #540510;
transform: scaleY(0);
transition: transform 250ms ease-in-out;
}
@ -182,7 +197,7 @@ nav div.mainlogo img {
/* Admonition */
.admonition {
background: #25c151;
background: #990115;
}
.admonition.info {
background: #f5a623;
@ -225,7 +240,7 @@ code {
/* Icons */
.button .icon:hover {
transition: color 250ms ease-in-out;
color: #25c151;
color: #990115;
}
/* Images */