From: Dylan Lloyd Date: Tue, 14 Jun 2011 08:16:11 +0000 (-0400) Subject: Added @font-faces X-Git-Url: https://disinclined.org/git/?a=commitdiff_plain;h=898bd8561cbfe6c97653b307b46aac46d3bfe170;p=dylansserver.git Added @font-faces --- diff --git a/font/inconsolata-webfont.eot b/font/inconsolata-webfont.eot new file mode 100644 index 0000000..8ceef1d Binary files /dev/null and b/font/inconsolata-webfont.eot differ diff --git a/font/inconsolata-webfont.svg b/font/inconsolata-webfont.svg new file mode 100644 index 0000000..a3804a2 --- /dev/null +++ b/font/inconsolata-webfont.svg @@ -0,0 +1,228 @@ + + + + +This is a custom SVG webfont generated by Font Squirrel. +Copyright : Created by Raph Levien using his own tools and FontForge Copyright 2006 Raph Levien Released under the SIL Open Font License httpscriptssilorgOFL + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/font/inconsolata-webfont.ttf b/font/inconsolata-webfont.ttf new file mode 100644 index 0000000..b31ef54 Binary files /dev/null and b/font/inconsolata-webfont.ttf differ diff --git a/font/inconsolata-webfont.woff b/font/inconsolata-webfont.woff new file mode 100644 index 0000000..70e6183 Binary files /dev/null and b/font/inconsolata-webfont.woff differ diff --git a/font/museo_slab_500-webfont.eot b/font/museo_slab_500-webfont.eot new file mode 100644 index 0000000..333b8b3 Binary files /dev/null and b/font/museo_slab_500-webfont.eot differ diff --git a/font/museo_slab_500-webfont.svg b/font/museo_slab_500-webfont.svg new file mode 100644 index 0000000..34cc4fb --- /dev/null +++ b/font/museo_slab_500-webfont.svg @@ -0,0 +1,231 @@ + + + + +This is a custom SVG webfont generated by Font Squirrel. +Copyright : Copyright c 2009 by Jos Buivenga All rights reserved +Designer : Jos Buivenga +Foundry : Jos Buivenga +Foundry URL : httpwwwexljbriscom + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/font/museo_slab_500-webfont.ttf b/font/museo_slab_500-webfont.ttf new file mode 100644 index 0000000..d0d4121 Binary files /dev/null and b/font/museo_slab_500-webfont.ttf differ diff --git a/font/museo_slab_500-webfont.woff b/font/museo_slab_500-webfont.woff new file mode 100644 index 0000000..ccd4195 Binary files /dev/null and b/font/museo_slab_500-webfont.woff differ diff --git a/includes/style.css b/includes/style.css index b0bb7fa..832307e 100644 --- a/includes/style.css +++ b/includes/style.css @@ -1,3 +1,25 @@ +@font-face { + font-family: 'InconsolataMedium'; + src: url('/font/inconsolata-webfont.eot'); + src: url('/font/inconsolata-webfont.eot?#iefix') format('embedded-opentype'), + url('/font/inconsolata-webfont.woff') format('woff'), + url('/font/inconsolata-webfont.ttf') format('truetype'), + url('/font/inconsolata-webfont.svg#InconsolataMedium') format('svg'); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: 'MuseoSlab500'; + src: url('/font/museo_slab_500-webfont.eot'); + src: url('/font/museo_slab_500-webfont.eot?#iefix') format('embedded-opentype'), + url('/font/museo_slab_500-webfont.woff') format('woff'), + url('/font/museo_slab_500-webfont.ttf') format('truetype'), + url('/font/museo_slab_500-webfont.svg#MuseoSlab500') format('svg'); + font-weight: normal; + font-style: normal; +} + * { padding: 0; margin: 0; @@ -6,11 +28,12 @@ h3 { margin-top:15px; font-family:sans-serif; + font-family:'MuseoSlab500'; } h1, h2 { - font-family:sans-serif; font-size:150%; + font-family:'MuseoSlab500'; } a { @@ -58,6 +81,7 @@ li { #exhibit { float:right; margin-left:17px; + font-family:'InconsolataMedium'; } #exhibit h1 { @@ -84,34 +108,6 @@ li { clear:both; } -/* reprap */ -#reprap_entry { - font: 1.5em georgia, times; - text-decoration: none; - display: block; -} - -/* peepshow */ -#peepshow_ { - font-style:italic; -} -#peepshow_title_1 { - font-style:italic; - margin-top:0px; -} - -#peephow_title_2 { - font-size:3em; -} - -#peepshow_entry { - font-size:1.4em; -} - -#peepshow_entry { - font-size:1.4em; -} - /* drawcss */ #drawcss_title { font-size:1.6em; @@ -160,6 +156,7 @@ li { .note { margin-bottom:40px; + font-family:'InconsolataMedium'; } p {