Browse Source

update: optimize error page, add aero glass effect

master
Dnomd343 4 years ago
parent
commit
49761347a2
  1. 1
      assets/error/css/style.css
  2. 0
      assets/error/icons.woff
  3. 4
      assets/error/js/custom.js
  4. 1
      assets/error/main.js
  5. 1
      assets/error/style.css
  6. 4
      error.html
  7. 15
      index.html

1
assets/error/css/style.css

File diff suppressed because one or more lines are too long

0
assets/error/fonts/icons.woff → assets/error/icons.woff

4
assets/error/js/custom.js

File diff suppressed because one or more lines are too long

1
assets/error/main.js

File diff suppressed because one or more lines are too long

1
assets/error/style.css

File diff suppressed because one or more lines are too long

4
error.html

@ -8,7 +8,7 @@
<title>Dnomd343 - IP</title>
<link href="/assets/error/css/style.css" rel="stylesheet">
<link href="/assets/error/style.css" rel="stylesheet">
<link rel="shortcut icon" type="image/png" href="/assets/img/favicon.png">
<noscript>
@ -54,7 +54,7 @@
Typekit.load();
} catch(e) {}
</script>
<script src="/assets/error/js/custom.js"></script>
<script src="/assets/error/main.js"></script>
</body>
</html>

15
index.html

@ -74,13 +74,26 @@
right: 0;
}
}
#output {
background-color: rgba(255, 255, 255, 0.92);
}
@supports ((-webkit-backdrop-filter: saturate() blur()) or (backdrop-filter: saturate() blur())) {
#output {
background-color: rgba(255, 255, 255, 0.6);
-webkit-backdrop-filter: saturate(150%) blur(10px);
backdrop-filter: saturate(150%) blur(10px);
}
}
</style>
<body>
<div class="hero is-fullheight is-app-grey mapbox-hero">
<div id="main-hero" class="hero-body" style="padding: 0;">
<div class="has-text-centered is-subheader-caption positioncontrol" style="padding-bottom: 0;">
<div class="contact-page-form flex-card" style="background-color: rgba(255, 255, 255, 0.75); backdrop-filter: blur(1.5px);">
<div id="output" class="contact-page-form flex-card">
<h3 id="sub-title">
<a href="https://github.com/dnomd343/echoIP" target="_blank" title="Source code on Github">echoIP</a>
</h3>

Loading…
Cancel
Save