Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions html/doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ body {
background: var(--panel);
border-bottom: 6px solid #000;
padding: 1.5rem;
/* The rings the 2007 pages carried. The image has the light panel colour baked
into it, so it is dropped rather than inverted in dark mode. */
background-image: url(images/bg_rings.gif);
/* The rings the 2007 pages carried. Transparent, so it rides on --panel. */
background-image: url(images/bg_rings.svg);
background-repeat: no-repeat;
background-position: top right;
}

@media (prefers-color-scheme: dark) {
/* Rings dropped, not inverted: their lavender is a light-panel tone. */
.wrap { background-image: none; }

/* The wordmark is black on transparent, and all but vanishes on the dark field. */
Expand Down
2 changes: 1 addition & 1 deletion html/httrack.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ a:active { text-decoration: underline; }
border-bottom: 6px solid #000;
padding: 10px; padding-top: 20px;
line-height: 1.65em;
background-image: url(images/bg_rings.gif);
background-image: url(images/bg_rings.svg);
background-repeat: no-repeat;
background-position: top right;
}
Expand Down
Binary file removed html/images/bg_rings.gif
Binary file not shown.
8 changes: 8 additions & 0 deletions html/images/bg_rings.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed html/server/images/bg_rings.gif
Binary file not shown.
8 changes: 8 additions & 0 deletions html/server/images/bg_rings.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion html/server/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ a:active { text-decoration: underline; }
border-bottom: 6px solid #000;
padding: 10px; padding-top: 20px;
line-height: 1.65em;
background-image: url(images/bg_rings.gif);
background-image: url(images/bg_rings.svg);
background-repeat: no-repeat;
background-position: top right;
}
Expand Down
5 changes: 3 additions & 2 deletions tests/142_webhttrack-content-type.test
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ python=$(find_python) || {

# The GUI assets asserted below have to exist, or every check goes vacuous.
for asset in server/ping.js server/style.css images/screenshot_01.jpg \
images/bg_rings.gif img/guide-droid-opt-spider.png \
images/bg_rings.svg images/header_title_4.gif img/guide-droid-opt-spider.png \
server/div/com.httrack.WebHTTrack.metainfo.xml; do
test -f "${distdir}/html/${asset}" || fail "missing GUI asset ${asset}"
done
Expand Down Expand Up @@ -131,7 +131,8 @@ def check_html_headers(path):
check_html_headers("/server/index.html")
check_type("/server/ping.js", "text/javascript")
check_type("/server/style.css", "text/css")
check_type("/images/bg_rings.gif", "image/gif")
check_type("/images/bg_rings.svg", "image/svg+xml")
check_type("/images/header_title_4.gif", "image/gif")
check_type("/img/guide-droid-opt-spider.png", "image/png")
check_type("/images/screenshot_01.jpg", "image/jpeg")
# Dots in the stem: the type comes from the last one, not the first.
Expand Down
Loading