Some FF bug fixes

master
Nick Sergeant 2011-12-26 21:52:17 -05:00
parent 2754f48d40
commit 4c476a8604
3 changed files with 10 additions and 15 deletions

View File

@ -1,16 +1,6 @@
// Fonts
@Helvetica: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif;
@Inconsolata: 'InconsolataMedium', Consolas, Menlo, "Courier New", monospace;
@font-face {
font-family: 'InconsolataMedium';
src: url('/media/fonts/Inconsolata-webfont.eot');
src: url('/media/fonts/Inconsolata-webfont.eot?#iefix') format('embedded-opentype'),
url('/media/fonts/Inconsolata-webfont.woff') format('woff'),
url('/media/fonts/Inconsolata-webfont.ttf') format('truetype'),
url('/media/fonts/Inconsolata-webfont.svg#InconsolataMedium') format('svg');
font-weight: normal;
font-style: normal;
}
@Consolas: Consolas, Menlo, "Courier New", monospace;
// Mixins
.border-radius(@radius: 5px) {
@ -213,12 +203,12 @@ header.sub {
a {
color: #999999;
font: bold 14px @Inconsolata;
font: bold 12px/16px @Consolas;
text-shadow: 0 1px 0 #FFF;
}
&.prompt {
color: #999999;
font: bold 14px @Inconsolata;
font: bold 12px/16px @Consolas;
margin-right: 3px;
text-shadow: 0 1px 0 #FFF;
}
@ -425,7 +415,7 @@ article.snipt {
pre {
background: transparent;
border: none;
font: normal 14px/18px @Inconsolata;
font: normal 12px/16px @Consolas;
font-weight: normal !important;
overflow-x: auto;
margin: 0 15px;
@ -459,6 +449,9 @@ article.snipt {
color: #3BAAF3;
font-weight: bold;
}
&:focus {
outline: none;
}
}
div.raw {
display: none;

View File

@ -215,6 +215,8 @@ ABSOLUTE_URL_OVERRIDES = {
#)
#}
COMPRESS_CSS = True
# Extensions
if DEBUG:
INSTALLED_APPS += ('django_extensions',)

View File

@ -10,7 +10,7 @@
</header>
<section class="code {% if request.GET.style %}{{ request.GET.style }}{% else %}autumn{% endif %}">
{{ snipt.get_stylized|safe }}
{% if snipt.get_line_count > 9 %}
{% if snipt.get_line_count > 8 %}
<a href="#" class="expand">
<span class="expand">Expand</span>
<span class="collapse">Collapse</span>