master
Nick Sergeant 2011-12-28 09:31:43 -05:00
parent 4a56a306e9
commit 3415b8f5c8
2 changed files with 12 additions and 20 deletions

View File

@ -402,13 +402,6 @@ table {
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0; border-spacing: 0;
} }
@font-face {
font-family: 'InconsolataMedium';
src: url('https://snipt.s3.amazonaws.com/fonts/Inconsolata-webfont.eot');
src: url('https://snipt.s3.amazonaws.com/fonts/Inconsolata-webfont.eot?#iefix') format('embedded-opentype'), url('https://snipt.s3.amazonaws.com/fonts/Inconsolata-webfont.woff') format('woff'), url('https://snipt.s3.amazonaws.com/fonts/Inconsolata-webfont.ttf') format('truetype'), url('https://snipt.s3.amazonaws.com/fonts/Inconsolata-webfont.svg#InconsolataMedium') format('svg');
font-weight: normal;
font-style: normal;
}
html, body { html, body {
background: #f5f2f3 url('https://snipt.s3.amazonaws.com/images/bg.gif') top left repeat; background: #f5f2f3 url('https://snipt.s3.amazonaws.com/images/bg.gif') top left repeat;
} }
@ -557,12 +550,12 @@ header.sub div.inner ul li {
} }
header.sub div.inner ul li a { header.sub div.inner ul li a {
color: #999999; color: #999999;
font: bold 14px 'InconsolataMedium', Consolas, Menlo, "Courier New", monospace; font: bold 12px Consolas, Menlo, "Courier New", monospace;
text-shadow: 0 1px 0 #FFF; text-shadow: 0 1px 0 #FFF;
} }
header.sub div.inner ul li.prompt { header.sub div.inner ul li.prompt {
color: #999999; color: #999999;
font: bold 14px 'InconsolataMedium', Consolas, Menlo, "Courier New", monospace; font: bold 12px Consolas, Menlo, "Courier New", monospace;
margin-right: 3px; margin-right: 3px;
text-shadow: 0 1px 0 #FFF; text-shadow: 0 1px 0 #FFF;
} }
@ -760,7 +753,7 @@ article.snipt div.container section.code {
article.snipt div.container section.code div.highlight pre { article.snipt div.container section.code div.highlight pre {
background: transparent; background: transparent;
border: none; border: none;
font: normal 14px/18px 'InconsolataMedium', Consolas, Menlo, "Courier New", monospace; font: normal 12px Consolas, Menlo, "Courier New", monospace;
font-weight: normal !important; font-weight: normal !important;
overflow-x: auto; overflow-x: auto;
margin: 0 15px; margin: 0 15px;
@ -795,6 +788,9 @@ article.snipt div.container section.code a.expand:hover {
color: #3BAAF3; color: #3BAAF3;
font-weight: bold; font-weight: bold;
} }
article.snipt div.container section.code a.expand:focus {
outline: none;
}
article.snipt div.container section.code div.raw { article.snipt div.container section.code div.raw {
display: none; display: none;
} }

View File

@ -1,10 +1,3 @@
@font-face {
font-family: 'InconsolataMedium';
src: url('https://snipt.s3.amazonaws.com/fonts/Inconsolata-webfont.eot');
src: url('https://snipt.s3.amazonaws.com/fonts/Inconsolata-webfont.eot?#iefix') format('embedded-opentype'), url('https://snipt.s3.amazonaws.com/fonts/Inconsolata-webfont.woff') format('woff'), url('https://snipt.s3.amazonaws.com/fonts/Inconsolata-webfont.ttf') format('truetype'), url('https://snipt.s3.amazonaws.com/fonts/Inconsolata-webfont.svg#InconsolataMedium') format('svg');
font-weight: normal;
font-style: normal;
}
html, body { html, body {
background: #f5f2f3 url('https://snipt.s3.amazonaws.com/images/bg.gif') top left repeat; background: #f5f2f3 url('https://snipt.s3.amazonaws.com/images/bg.gif') top left repeat;
} }
@ -153,12 +146,12 @@ header.sub div.inner ul li {
} }
header.sub div.inner ul li a { header.sub div.inner ul li a {
color: #999999; color: #999999;
font: bold 14px 'InconsolataMedium', Consolas, Menlo, "Courier New", monospace; font: bold 12px Consolas, Menlo, "Courier New", monospace;
text-shadow: 0 1px 0 #FFF; text-shadow: 0 1px 0 #FFF;
} }
header.sub div.inner ul li.prompt { header.sub div.inner ul li.prompt {
color: #999999; color: #999999;
font: bold 14px 'InconsolataMedium', Consolas, Menlo, "Courier New", monospace; font: bold 12px Consolas, Menlo, "Courier New", monospace;
margin-right: 3px; margin-right: 3px;
text-shadow: 0 1px 0 #FFF; text-shadow: 0 1px 0 #FFF;
} }
@ -356,7 +349,7 @@ article.snipt div.container section.code {
article.snipt div.container section.code div.highlight pre { article.snipt div.container section.code div.highlight pre {
background: transparent; background: transparent;
border: none; border: none;
font: normal 14px/18px 'InconsolataMedium', Consolas, Menlo, "Courier New", monospace; font: normal 12px Consolas, Menlo, "Courier New", monospace;
font-weight: normal !important; font-weight: normal !important;
overflow-x: auto; overflow-x: auto;
margin: 0 15px; margin: 0 15px;
@ -391,6 +384,9 @@ article.snipt div.container section.code a.expand:hover {
color: #3BAAF3; color: #3BAAF3;
font-weight: bold; font-weight: bold;
} }
article.snipt div.container section.code a.expand:focus {
outline: none;
}
article.snipt div.container section.code div.raw { article.snipt div.container section.code div.raw {
display: none; display: none;
} }