aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--css/gruvbox-dark.css26
-rw-r--r--css/hack.css9
-rwxr-xr-xstatic/js/sw.js6
3 files changed, 24 insertions, 17 deletions
diff --git a/css/gruvbox-dark.css b/css/gruvbox-dark.css
index dee993e..c594ca1 100644
--- a/css/gruvbox-dark.css
+++ b/css/gruvbox-dark.css
@@ -1,5 +1,3 @@
-
-
.gruvbox-dark {
background-color: #1d2021;
color: #f9f5d7
@@ -11,7 +9,7 @@
.gruvbox-dark h4,
.gruvbox-dark h5,
.gruvbox-dark h6 {
- color: #98971a
+ color: #CDCD23
}
.gruvbox-dark h1 a,
@@ -160,13 +158,13 @@
}
.gruvbox-dark a:visited {
- color: #a89984;
- border-color: #a89984
+ color: #C1B7A9;
+ border-color: #a89984;
}
.gruvbox-dark a:visited:hover {
color: #fdf4c1;
- background-color: #a89984
+ background-color: #282828;
}
@media (prefers-color-scheme: light) {
@@ -174,6 +172,14 @@
background-color: #f9f5d7;
color: #1d2021;
}
+ .gruvbox-dark h1,
+ .gruvbox-dark h2,
+ .gruvbox-dark h3,
+ .gruvbox-dark h4,
+ .gruvbox-dark h5,
+ .gruvbox-dark h6 {
+ color: #4F4F0D
+ }
.gruvbox-dark h1 a:hover,
.gruvbox-dark h2 a:hover,
.gruvbox-dark h3 a:hover,
@@ -188,6 +194,10 @@
padding: 0;
border: none;
}
+ .gruvbox-dark a {
+ color: #B80050;
+ border-color: #B80050;
+ }
.gruvbox-dark table {
color: #1d2021;
}
@@ -227,8 +237,8 @@
border-color: #282828;
}
.gruvbox-dark a:visited {
- color: #7c6f64;
- border-color: #7c6f64;
+ color: #4D4442;
+ border-color: #4D4442;
}
.gruvbox-dark a:visited:hover {
color: #3c3836;
diff --git a/css/hack.css b/css/hack.css
index eb4281f..4a2ea99 100644
--- a/css/hack.css
+++ b/css/hack.css
@@ -46,13 +46,14 @@ iframe {
}
a {
cursor: pointer;
- color: #ff2e88;
+ color: #FFA8CE;
text-decoration: none;
- border-bottom: 1px solid #ff2e88;
+ border-bottom: 1px solid;
+ border-color: #FFA8CE;
}
a:hover {
- background-color: #ff2e88;
- color: #fff;
+ background-color: #B3004D;
+ color: #fff;
}
.grid {
display: -ms-flexbox;
diff --git a/static/js/sw.js b/static/js/sw.js
index e0d62fb..29ea65c 100755
--- a/static/js/sw.js
+++ b/static/js/sw.js
@@ -5,12 +5,10 @@ self.addEventListener('install', function (event) {
event.waitUntil(preLoad());
});
-const cacheName = "cache-xesite-2.3.0-999";
+const cacheName = "cache-xesite-2.3.0-1000";
var preLoad = function () {
- console.log('[PWA Builder] Install Event processing');
return caches.open(cacheName).then(function (cache) {
- console.log('[PWA Builder] Cached index and offline page during Install');
return cache.addAll(['/blog/', '/blog', '/', '/contact', '/resume', '/talks', '/gallery', '/signalboost']);
});
};
@@ -19,7 +17,6 @@ self.addEventListener('fetch', function (event) {
if (event.request.cache === 'only-if-cached' && event.request.mode !== 'same-origin') {
return;
}
- console.log('[PWA Builder] The service worker is serving the asset.');
event.respondWith(checkResponse(event.request).catch(function () {
return returnFromCache(event.request);
}));
@@ -41,7 +38,6 @@ var checkResponse = function (request) {
var addToCache = function (request) {
return caches.open(cacheName).then(function (cache) {
return fetch(request).then(function (response) {
- console.log('[PWA Builder] add page to offline: ' + response.url);
return cache.put(request, response);
});
});