Minor changes

This commit is contained in:
schmelczerandras 2020-10-19 19:53:51 +02:00
parent 9062ae04a3
commit 49ea5f3e86
3 changed files with 19 additions and 6 deletions

View file

@ -4,10 +4,14 @@
<meta charset="utf-8" />
<title>SDF-2D demo</title>
<meta property="og:image:width" content="1956" />
<meta property="og:image:height" content="937" />
<meta property="og:url" content="https://sdf2d.schmelczer.dev" />
<meta property="og:image" content="https://sdf2d.schmelczer.dev/og-image.png" />
<meta property="og:image:width" content="1607" />
<meta property="og:image:height" content="880" />
<meta
property="og:image:alt"
content="Merging vibrant red blobs lit from below by two flashlights."
/>
<meta name="theme-color" content="#103783" />
<meta
name="description"
@ -18,10 +22,16 @@
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0,
user-scalable=0"
/>
</head>
<body>
<noscript>Javascript is required for this website.</noscript>
<noscript>
<h1>Javascript is required for this website.</h1>
</noscript>
<a id="info" href="https://github.com/schmelczerandras/sdf-2d" target="_BLANK">
<p>SDF-2D</p>

View file

@ -1,9 +1,12 @@
@mixin card {
backdrop-filter: blur(16px);
background-color: rgba(0, 0, 0, 0.15);
border: 2px solid white;
border-radius: 12px;
backdrop-filter: blur(24px);
@supports not (backdrop-filter: blur(24px)) {
background-color: rgba(0, 0, 0, 0.15);
}
&:focus {
outline: none;
border: 4px solid white;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 426 KiB

After

Width:  |  Height:  |  Size: 615 KiB

Before After
Before After