Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Slight changes to the “Not in Index” search result
Red background instead of purple; slightly bigger font; more noticeable link;
parens outside of the link (otherwise it looks weird with underline);
inverted font weight.
  • Loading branch information
AlexDaniel committed Jun 15, 2016
1 parent 3d708d6 commit d03ad1b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions html/css/style.css
Expand Up @@ -147,15 +147,16 @@ td p {
}

#search #not-found-message {
background: #990033;
color: rgba(255, 255, 255, .9);
background: #A00;
color: white;
padding: 2px 15px;
border-radius: 3px;
position: absolute;
bottom: -7ex;
left: 0;
white-space: nowrap;
font-size: 70%;
font-size: 80%;
font-weight: normal;
display: none;
}

Expand All @@ -164,9 +165,9 @@ td p {
}

#not-found-message a {
color: rgba(255, 255, 255, .9);
color: white;
text-decoration: underline;
font-weight: normal;
font-weight: bold;
}

#not-found-message a:hover,
Expand Down
2 changes: 1 addition & 1 deletion template/header.html
Expand Up @@ -9,7 +9,7 @@
accesskey="f" title="Enter Perl 6 document to search for">
</div>
<p id="not-found-message">
Not in Index <a href="" id="try-web-search">(try web search)</a>
Not in Index (<a href="" id="try-web-search">try web search</a>)
</p>
</div>
<div class="menu">
Expand Down

0 comments on commit d03ad1b

Please sign in to comment.