Some FF bug fixes
parent
2754f48d40
commit
4c476a8604
|
@ -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;
|
||||
|
|
|
@ -215,6 +215,8 @@ ABSOLUTE_URL_OVERRIDES = {
|
|||
#)
|
||||
#}
|
||||
|
||||
COMPRESS_CSS = True
|
||||
|
||||
# Extensions
|
||||
if DEBUG:
|
||||
INSTALLED_APPS += ('django_extensions',)
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue