turn up the fuck out of the contrast

Signed-off-by: Xe <me@christine.website>
This commit is contained in:
Cadey Ratio 2021-12-21 13:19:58 -05:00
parent 0fcaf87b1a
commit 7c3a00ff11
3 changed files with 24 additions and 17 deletions

View File

@ -1,5 +1,3 @@
.gruvbox-dark { .gruvbox-dark {
background-color: #1d2021; background-color: #1d2021;
color: #f9f5d7 color: #f9f5d7
@ -11,7 +9,7 @@
.gruvbox-dark h4, .gruvbox-dark h4,
.gruvbox-dark h5, .gruvbox-dark h5,
.gruvbox-dark h6 { .gruvbox-dark h6 {
color: #98971a color: #CDCD23
} }
.gruvbox-dark h1 a, .gruvbox-dark h1 a,
@ -160,13 +158,13 @@
} }
.gruvbox-dark a:visited { .gruvbox-dark a:visited {
color: #a89984; color: #C1B7A9;
border-color: #a89984 border-color: #a89984;
} }
.gruvbox-dark a:visited:hover { .gruvbox-dark a:visited:hover {
color: #fdf4c1; color: #fdf4c1;
background-color: #a89984 background-color: #282828;
} }
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
@ -174,6 +172,14 @@
background-color: #f9f5d7; background-color: #f9f5d7;
color: #1d2021; 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 h1 a:hover,
.gruvbox-dark h2 a:hover, .gruvbox-dark h2 a:hover,
.gruvbox-dark h3 a:hover, .gruvbox-dark h3 a:hover,
@ -188,6 +194,10 @@
padding: 0; padding: 0;
border: none; border: none;
} }
.gruvbox-dark a {
color: #B80050;
border-color: #B80050;
}
.gruvbox-dark table { .gruvbox-dark table {
color: #1d2021; color: #1d2021;
} }
@ -227,8 +237,8 @@
border-color: #282828; border-color: #282828;
} }
.gruvbox-dark a:visited { .gruvbox-dark a:visited {
color: #7c6f64; color: #4D4442;
border-color: #7c6f64; border-color: #4D4442;
} }
.gruvbox-dark a:visited:hover { .gruvbox-dark a:visited:hover {
color: #3c3836; color: #3c3836;

View File

@ -46,13 +46,14 @@ iframe {
} }
a { a {
cursor: pointer; cursor: pointer;
color: #ff2e88; color: #FFA8CE;
text-decoration: none; text-decoration: none;
border-bottom: 1px solid #ff2e88; border-bottom: 1px solid;
border-color: #FFA8CE;
} }
a:hover { a:hover {
background-color: #ff2e88; background-color: #B3004D;
color: #fff; color: #fff;
} }
.grid { .grid {
display: -ms-flexbox; display: -ms-flexbox;

View File

@ -5,12 +5,10 @@ self.addEventListener('install', function (event) {
event.waitUntil(preLoad()); event.waitUntil(preLoad());
}); });
const cacheName = "cache-xesite-2.3.0-999"; const cacheName = "cache-xesite-2.3.0-1000";
var preLoad = function () { var preLoad = function () {
console.log('[PWA Builder] Install Event processing');
return caches.open(cacheName).then(function (cache) { 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']); 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') { if (event.request.cache === 'only-if-cached' && event.request.mode !== 'same-origin') {
return; return;
} }
console.log('[PWA Builder] The service worker is serving the asset.');
event.respondWith(checkResponse(event.request).catch(function () { event.respondWith(checkResponse(event.request).catch(function () {
return returnFromCache(event.request); return returnFromCache(event.request);
})); }));
@ -41,7 +38,6 @@ var checkResponse = function (request) {
var addToCache = function (request) { var addToCache = function (request) {
return caches.open(cacheName).then(function (cache) { return caches.open(cacheName).then(function (cache) {
return fetch(request).then(function (response) { return fetch(request).then(function (response) {
console.log('[PWA Builder] add page to offline: ' + response.url);
return cache.put(request, response); return cache.put(request, response);
}); });
}); });