Skip to content

Commit

Permalink
use higher quality fonts when available
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 17, 2012
1 parent 56009c8 commit e5008d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lib/Mojolicious/templates/exception.development.html.ep
Expand Up @@ -19,6 +19,7 @@
margin: 0;
}
pre {
font: 0.8em 'Menlo', 'Monaco', Courier, monospace;
margin: 0;
white-space: pre-wrap;
}
Expand All @@ -41,17 +42,13 @@
background-color: #1a1a1a;
background: url(<%= url_for '/mojolicious-pinstripe.gif' %>);
color: #eee;
font-family: 'Menlo', 'Monaco', Courier, monospace !important;
text-shadow: #333 0 1px 0;
}
.important { background-color: rgba(47, 48, 50, .75) }
.infobox { color: #333 }
.infobox tr:nth-child(odd) .value { background-color: #ddeeff }
.infobox tr:nth-child(even) .value { background-color: #eef9ff }
.key {
text-align: right;
text-weight: bold;
}
.key { text-align: right }
.striped { border-top: solid #cce4ff 1px }
.tap {
font: 0.5em Verdana, sans-serif;
Expand Down
6 changes: 6 additions & 0 deletions lib/Mojolicious/templates/not_found.development.html.ep
Expand Up @@ -16,14 +16,20 @@
code {
background-color: #eef9ff;
border: solid #cce4ff 1px;
-moz-border-radius: 5px;
border-radius: 5px;
color: #333;
font: 0.8em 'Menlo', 'Monaco', Courier, monospace;
padding: 0.4em;
}
pre {
font: 0.8em 'Menlo', 'Monaco', Courier, monospace;
margin: 0;
white-space: pre-wrap;
}
table {
border-collapse: collapse;
color: #333;
margin-top: 1em;
margin-bottom: 1em;
width: 100%;
Expand Down

0 comments on commit e5008d0

Please sign in to comment.