Changed images to webp.

- Reduces memory use and improves load time.
This commit is contained in:
Gitea 2020-07-03 16:49:41 -04:00
parent 87e9c1d36a
commit 1d1f6b4959
5 changed files with 9 additions and 39 deletions

View File

@ -7,7 +7,7 @@ body {
.overlay {
display: flex;
background-image: url("/quartznet/assets/images/bluenebula2.png");
background-image: url("/quartznet/assets/images/bluenebula.webp");
background-size: cover;
background-position: center;
min-height: 200px;
@ -48,13 +48,13 @@ nav li {
/* Change color on hover */
nav li a {
margin-right: 50px;
margin-left: 20px;
margin-right: 20px;
text-decoration: none;
}
main {
margin-top: 30px;
min-height: 600px;
}
/* Content types */

View File

@ -1,31 +1,16 @@
/*Default theme*/
/* Default theme */
:root {
--background-color: #fdfdfd;
--headings-color: #111111;
--font-color: #333333;
--site-name-color: #ffffff;;
--site-description-color: #ffffff;
--nav-link-color: #57cc8a;
--nav-link-hover-color: #ffffff;
--link-color: #8bb8df;
--link-color-hover: 8bb8df;
--background-color: #222222;
--headings-color: #ffffff;
--font-color: #ffffff;
}
/* Dark theme */
html[data-theme='dark'] {
--background-color: #232629;
--background-color: #222222;
--headings-color: #ffffff;
--font-color: #ffffff;
--site-name-color: #ffffff;;
--site-description-color: #ffffff;
--nav-link-color: #57cc8a;
--nav-link-hover-color: #ffffff;
--link-color: #8bb8df;
--link-color-hover: 8bb8df;
--border-color: #3d3d3d;
}
body {
@ -41,17 +26,10 @@ hr {
background-color: #eeeeee;
}
header {
/* background-color: #4e5b69; */
.overlay {
border-bottom: 2px solid #eeeeee;
}
nav {
/* background-color: rgba(0, 0, 0, 10); */
/* background-color: #232629; */
/* background-color: #23262980; */
}
li a:hover {
border-bottom: 3px solid white;
text-decoration: none;
@ -64,11 +42,3 @@ a {
a:hover {
color: white;
}
main p {
/* color: #C8C8C8; */
}
footer {
}

BIN
assets/images/bluenebula.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 MiB