servo/resources/resource_protocol/newtab.css
lumiscosity bb5cb57099
Remove unused resources (#38245)
As previously discussed in #38229. To recap: `badcert.jpg` was made
unused in 8422dac811 and `tumbeast.png`
and its associated file of `not-found.html` were superseded at some
point by a message in `neterror.html` (if it were still used, it'd
surely be
[embedded](https://github.com/servo/servo/blob/main/components/shared/embedder/resources.rs).)

This PR also removes two unnecessary spaces inside of the new tab's CSS
file, ensuring a consistent 2 space indentation in the file and saving 2
bytes.

Testing: Unnecessary, as this commit only removes unused assets (and
fixes one style nit).

Signed-off-by: maple! <averyrudelphe@gmail.com>
2025-07-24 00:34:15 +00:00

57 lines
884 B
CSS

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
html,
body {
height: 100%;
padding: 0;
margin: 0;
}
body {
background-color: #121619;
font-family: sans-serif;
color: hsl(0, 0%, 96%);
font-weight: 400;
line-height: 1.5;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
img {
width: 25vw;
}
form {
margin: 1em;
}
input {
width: 50vw;
}
a {
color: #1191e8;
cursor: pointer;
text-decoration: none;
}
a:hover {
color: #42bf64;
}
/* This should not be needed but paper over missing default styles */
button {
padding-block: 1px;
padding-inline: 8px;
box-sizing: border-box;
}
form {
display: flex;
justify-items: center;
gap: 0.5em;
}