summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-10-21 20:31:29 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2014-10-21 20:31:29 +0200
commit9203582d01790aa6b00500f168764efc780d91a1 (patch)
treed7379ded8191f83f5b73e70e1a42bacd8b099da7
parentaf83ac9fdf13c670f4a5a2b7f68753c67ab27f2f (diff)
downloadwebsite-9203582d01790aa6b00500f168764efc780d91a1.tar.xz
style.css: inline google fonts css
-rw-r--r--src/style.css29
1 files changed, 25 insertions, 4 deletions
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');
+}