diff --git a/css/main.css b/css/main.css index 2164577..78f74a4 100644 --- a/css/main.css +++ b/css/main.css @@ -1,3 +1,9 @@ +@font-face { + font-family: "Perfect-DOS-VGA-437"; + src: url("../fonts/Perfect-DOS-VGA-437.ttf.woff") format("woff"), url("../fonts/Perfect-DOS-VGA-437.ttf.svg#Perfect-DOS-VGA-437") format("svg"), url("../fonts/Perfect-DOS-VGA-437.ttf.eot"), url("../fonts/Perfect-DOS-VGA-437.ttf.eot?#iefix") format("embedded-opentype"); + font-weight: normal; + font-style: normal; +} [x-cloak] { display: none !important; } @@ -85,13 +91,11 @@ article.expanded { z-index: 120 !important; } article pre { - font-family: "Noto Sans Mono", monospace; + font-family: "Perfect-DOS-VGA-437", monospace; background-color: #1b2c28; - background-image: url(../images/scanlines.gif); - background-size: cover; color: #86dbb5; font-size: 1rem; - line-height: 1.1em; + line-height: 1em; } #article1 { diff --git a/fonts/Perfect-DOS-VGA-437.ttf.eot b/fonts/Perfect-DOS-VGA-437.ttf.eot new file mode 100644 index 0000000..9450f4a Binary files /dev/null and b/fonts/Perfect-DOS-VGA-437.ttf.eot differ diff --git a/fonts/Perfect-DOS-VGA-437.ttf.svg b/fonts/Perfect-DOS-VGA-437.ttf.svg new file mode 100644 index 0000000..7705afc --- /dev/null +++ b/fonts/Perfect-DOS-VGA-437.ttf.svg @@ -0,0 +1,560 @@ + + + + +Created by FontForge 20090914 at Fri Feb 24 00:34:51 2012 + By root +http://www.fatorcaos.com.br + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fonts/Perfect-DOS-VGA-437.ttf.woff b/fonts/Perfect-DOS-VGA-437.ttf.woff new file mode 100644 index 0000000..23d485d Binary files /dev/null and b/fonts/Perfect-DOS-VGA-437.ttf.woff differ diff --git a/index.html b/index.html index 5a56072..5979dac 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ - + diff --git a/sass/main.scss b/sass/main.scss index 0599794..a10e3af 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -6,6 +6,16 @@ $footer-chrome: #2f6564; $window-chrome-active: black; $window-text: white; +@font-face { + font-family: 'Perfect-DOS-VGA-437'; + src:url('../fonts/Perfect-DOS-VGA-437.ttf.woff') format('woff'), + url('../fonts/Perfect-DOS-VGA-437.ttf.svg#Perfect-DOS-VGA-437') format('svg'), + url('../fonts/Perfect-DOS-VGA-437.ttf.eot'), + url('../fonts/Perfect-DOS-VGA-437.ttf.eot?#iefix') format('embedded-opentype'); + font-weight: normal; + font-style: normal; +} + @mixin window-chrome { border: 4px solid $window-chrome; border-top-width: 2.6rem; @@ -95,13 +105,13 @@ article { z-index: 120 !important; } pre { - font-family: 'Noto Sans Mono', monospace; + font-family: 'Perfect-DOS-VGA-437', monospace; background-color: #1b2c28; - background-image: url(../images/scanlines.gif); - background-size: cover; + //background-image: url(../images/scanlines.gif); + //background-size: cover; color: #86dbb5; font-size: 1rem; - line-height: 1.1em; + line-height: 1em; } }