-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes Parts of #3783 #3784
Fixes Parts of #3783 #3784
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
<link rel="stylesheet" href="css/normalize.css" /> | ||
<link rel="stylesheet" href="css/style.css" /> | ||
<link rel="stylesheet" href="css/prism.css" /> | ||
<link rel="shortcut icon" href="favicon.ico" /> | ||
<link rel="icon" href="favicon.ico" /> | ||
|
||
<!--[if lt IE 9]> <script src="js/html5shiv.min.js"></script> <![endif]--> | ||
</head> | ||
|
@@ -23,10 +23,9 @@ | |
<h1> | ||
<a href="/"> | ||
<img | ||
id="mocha-logo" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wouldn't use an ID for targeting this. Just a |
||
src="/images/mocha-logo.svg" | ||
alt="Mocha" | ||
width="192" | ||
height="192" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Keep the dimensions; the HTML is rendered first so it's always better to have the dimensions here. |
||
alt="Mocha logo" | ||
/> | ||
</a> | ||
</h1> | ||
|
@@ -37,15 +36,15 @@ <h1> | |
<main id="content">{{ content }}</main> | ||
|
||
<footer> | ||
<span> | ||
<a href="https://mochajs.org">mochajs.org</a> is licensed under a | ||
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/" | ||
<div> | ||
<a rel="home" href="https://mochajs.org">mochajs.org</a> is licensed under a | ||
<a rel="license external noopener" href="http://creativecommons.org/licenses/by/4.0/" | ||
>Creative Commons Attribution 4.0 International License</a | ||
>. | ||
<p> | ||
<em>Last updated: {{ 'now' | date: '%a %b %d %H:%M:%S %Y' }}</em> | ||
</p></span | ||
> | ||
</p> | ||
</div> | ||
</footer> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,11 @@ header { | |
padding-top: 20px; | ||
} | ||
|
||
#mocha-logo { | ||
width:192px; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is moot if you just keep the dimensions in the HTML, which IMO is better. |
||
height:192px; | ||
} | ||
|
||
#content { | ||
padding-bottom: 60px; | ||
} | ||
|
@@ -195,7 +200,7 @@ footer { | |
border-top: 1px solid #ddd; | ||
} | ||
|
||
footer span { | ||
footer div { | ||
display: block; | ||
margin-right: 30px; | ||
color: #888; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW you can remove the
/>
from the HTML tags here. It's not needed in HTML5+.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forgot to mention,
shortcut icon
is needed for old IE. Which AFAICT since html5shiv is loaded, it is still supported.If not, that's OK, but both should be dropped.