-
-
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
Conversation
Needs tweek to stylesheet to match what was there... change footer div { |
@@ -23,10 +23,9 @@ | |||
<h1> | |||
<a href="/"> | |||
<img | |||
id="mocha-logo" |
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.
I wouldn't use an ID for targeting this. Just a logo
class or something.
src="/images/mocha-logo.svg" | ||
alt="Mocha" | ||
width="192" | ||
height="192" |
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.
Keep the dimensions; the HTML is rendered first so it's always better to have the dimensions here.
@@ -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 comment
The 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.
@@ -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" /> |
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.
Description of the Change
Fixes some issues outlined in #3783.
external
attribute to the link to the Creative Commons Licenseshortcut
attribute from the favicon.Alternate Designs
N/A
Why should this be in core?
N/A
Benefits
It improves the website.
Removes meaningless attributes while updating HTML/CSS to more modern standards.
Possible Drawbacks
None to knowledge.
Applicable issues
Partial #3783.
semver-patch