From 9203582d01790aa6b00500f168764efc780d91a1 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 21 Oct 2014 20:31:29 +0200 Subject: style.css: inline google fonts css --- src/style.css | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/style.css b/src/style.css index 59fa759..2db8f6b 100644 --- a/src/style.css +++ b/src/style.css @@ -1,6 +1,3 @@ -@import url(https://fonts.googleapis.com/css?family=PT+Sans:400,700); -@import url(https://fonts.googleapis.com/css?family=PT+Mono); - *, *:before, *:after { box-sizing: border-box; } html { background-color: #eee; @@ -55,7 +52,6 @@ header h1 { border-bottom-style: dotted; border-bottom-color: #bbb; } - .entry { color: #222; } @@ -69,6 +65,12 @@ header h1 { color: #505050; margin-bottom: -0.4rem; } +.entry .botinfo { + font-size: 0.9rem; + text-align: right; + margin-top: -0.75rem; + margin-bottom: 0.5rem; +} .entry > p:first-of-type:first-letter { float: left; color: #903; @@ -148,3 +150,22 @@ footer #emblem img { .small-text { font-size: 10px; } + +@font-face { + font-family: 'PT Sans'; + font-style: normal; + font-weight: 400; + src: local('PT Sans'), local('PTSans-Regular'), url(https://fonts.gstatic.com/s/ptsans/v8/FUDHvzEKSJww3kCxuiAo2A.ttf) format('truetype'); +} +@font-face { + font-family: 'PT Sans'; + font-style: normal; + font-weight: 700; + src: local('PT Sans Bold'), local('PTSans-Bold'), url(https://fonts.gstatic.com/s/ptsans/v8/0XxGQsSc1g4rdRdjJKZrNC3USBnSvpkopQaUR-2r7iU.ttf) format('truetype'); +} +@font-face { + font-family: 'PT Mono'; + font-style: normal; + font-weight: 400; + src: local('PT Mono'), local('PTMono-Regular'), url(https://fonts.gstatic.com/s/ptmono/v4/ePgFvqOCiLHhAQZDY_ploA.ttf) format('truetype'); +} -- cgit v1.2.3-54-g00ecf