fixed a bunch of css
This commit is contained in:
@@ -13,31 +13,3 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</a>
|
</a>
|
||||||
{/snippet}
|
{/snippet}
|
||||||
|
|
||||||
<style lang="scss">
|
|
||||||
.StoreButton {
|
|
||||||
display: block;
|
|
||||||
width: 100%;
|
|
||||||
height: 45px;
|
|
||||||
border: 3px outset #1da1f2;
|
|
||||||
background: #1da1f2;
|
|
||||||
padding: 2px;
|
|
||||||
text-align: center;
|
|
||||||
|
|
||||||
img {
|
|
||||||
height: auto;
|
|
||||||
width: 45px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.StoreButton:hover {
|
|
||||||
filter: brightness(110%);
|
|
||||||
}
|
|
||||||
|
|
||||||
.StoreButton:active {
|
|
||||||
border-style: inset;
|
|
||||||
|
|
||||||
img {
|
|
||||||
transform: translate(2px, 2px);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|||||||
+2
-2
@@ -11,10 +11,10 @@
|
|||||||
|
|
||||||
a {
|
a {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
color: #9f8083;
|
color: var(--accent-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
a:hover {
|
||||||
color: #043b2f;
|
color: var(--thirdly);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
.card {
|
.card {
|
||||||
--text-color: white;
|
--text-color: white;
|
||||||
position: relative;
|
position: relative;
|
||||||
background: #4f0515;
|
background: var(--accent-3);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: start;
|
align-items: start;
|
||||||
align-content: stretch;
|
align-content: stretch;
|
||||||
@@ -101,7 +101,7 @@
|
|||||||
.icon_container {
|
.icon_container {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: #555555ff;
|
background: var(--card-muted);
|
||||||
display: grid;
|
display: grid;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
align-content: stretch;
|
align-content: stretch;
|
||||||
@@ -167,7 +167,7 @@
|
|||||||
height: 2.5px;
|
height: 2.5px;
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
background: #000000ff;
|
background: var(--black);
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -182,7 +182,7 @@
|
|||||||
white-space: pre;
|
white-space: pre;
|
||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
text-rendering: geometricPrecision;
|
text-rendering: geometricPrecision;
|
||||||
caret-color: rgba(0, 0, 0, 1);
|
caret-color: var(--black);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
letter-spacing: 0px;
|
letter-spacing: 0px;
|
||||||
font-family: "sourcesanspro";
|
font-family: "sourcesanspro";
|
||||||
@@ -201,7 +201,7 @@
|
|||||||
white-space: pre;
|
white-space: pre;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
text-rendering: geometricPrecision;
|
text-rendering: geometricPrecision;
|
||||||
caret-color: rgba(0, 0, 0, 1);
|
caret-color: var(--black);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
letter-spacing: 0px;
|
letter-spacing: 0px;
|
||||||
font-family: "sourcesanspro";
|
font-family: "sourcesanspro";
|
||||||
|
|||||||
@@ -54,8 +54,8 @@
|
|||||||
display: block;
|
display: block;
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
border: 2px outset #1da1f2;
|
border: 2px outset var(--brand-twitter);
|
||||||
background: #1da1f2;
|
background: var(--brand-twitter);
|
||||||
margin: 2px;
|
margin: 2px;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
<div class="side-card">
|
<div class="side-card">
|
||||||
<div class="social-button-div">
|
<div class="social-button-div">
|
||||||
<a
|
<a
|
||||||
style="border-color: #1DA1F2; background: #1DA1F2"
|
style="border-color: var(--brand-twitter); background: var(--brand-twitter)"
|
||||||
class="social-button"
|
class="social-button"
|
||||||
title="doloro private twitter"
|
title="doloro private twitter"
|
||||||
href="https://x.com/Doloror"
|
href="https://x.com/Doloror"
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
style="border-color: #ff90e8; background: #ff90e8"
|
style="border-color: var(--brand-gumroad); background: var(--brand-gumroad)"
|
||||||
class="social-button"
|
class="social-button"
|
||||||
title="gumroad store"
|
title="gumroad store"
|
||||||
href="https://doloro.gumroad.com/"
|
href="https://doloro.gumroad.com/"
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
style="border-color: #000000; background: #000000"
|
style="border-color: var(--black); background: var(--black)"
|
||||||
class="social-button"
|
class="social-button"
|
||||||
title="steam profile"
|
title="steam profile"
|
||||||
href="https://steamcommunity.com/id/Doloro/"
|
href="https://steamcommunity.com/id/Doloro/"
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a
|
<a
|
||||||
style="border-color: #101010; background: #101010"
|
style="border-color: var(--brand-jinxxy); background: var(--brand-jinxxy)"
|
||||||
class="social-button"
|
class="social-button"
|
||||||
title="jinxxy"
|
title="jinxxy"
|
||||||
href="https://jinxxy.com/doloro"
|
href="https://jinxxy.com/doloro"
|
||||||
|
|||||||
@@ -0,0 +1,26 @@
|
|||||||
|
.StoreButton {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
height: 45px;
|
||||||
|
border: 3px outset var(--brand-twitter);
|
||||||
|
background: var(--brand-twitter);
|
||||||
|
padding: 2px;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
img {
|
||||||
|
height: 41px;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
filter: brightness(110%);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:active {
|
||||||
|
border-style: inset;
|
||||||
|
|
||||||
|
img {
|
||||||
|
transform: translate(2px, 2px);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
import { snackImage, snackImages } from "../func.svelte";
|
import { snackImage, snackImages } from "../func.svelte";
|
||||||
import { storeButton } from "$lib/StoreButtons.svelte";
|
import { storeButton } from "$lib/StoreButtons.svelte";
|
||||||
import type { ProductPageData } from "./+page.server.ts";
|
import type { ProductPageData } from "./+page.server.ts";
|
||||||
|
import "$lib/storeButtons.scss";
|
||||||
|
|
||||||
let { data } = $props();
|
let { data } = $props();
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
max-width: 600px;
|
max-width: 600px;
|
||||||
border-width: 4px;
|
border-width: 4px;
|
||||||
border-style: groove;
|
border-style: groove;
|
||||||
border-color: blue;
|
border-color: var(--accent-2);
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -40,8 +40,8 @@
|
|||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
letter-spacing: 2px;
|
letter-spacing: 2px;
|
||||||
color: #888;
|
color: var(--accent-1);
|
||||||
border-bottom: 2px groove blue;
|
border-bottom: 2px groove var(--accent-2);
|
||||||
padding-bottom: 6px;
|
padding-bottom: 6px;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
height: 300px;
|
height: 300px;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img:not(.StoreButton img) {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 300px;
|
height: 300px;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
import { storeButton } from "$lib/StoreButtons.svelte";
|
import { storeButton } from "$lib/StoreButtons.svelte";
|
||||||
import { ExternalLink } from "@lucide/svelte";
|
import { ExternalLink } from "@lucide/svelte";
|
||||||
import "./snacks.scss";
|
import "./snacks.scss";
|
||||||
|
import "$lib/storeButtons.scss";
|
||||||
export { snackProduct };
|
export { snackProduct };
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -14,6 +14,11 @@
|
|||||||
--card-raised: #183636;
|
--card-raised: #183636;
|
||||||
--card-field: #0a1e1e;
|
--card-field: #0a1e1e;
|
||||||
--card-border: #1f4444;
|
--card-border: #1f4444;
|
||||||
|
--card-muted: #555555;
|
||||||
|
--black: #000000;
|
||||||
|
--brand-twitter: #1da1f2;
|
||||||
|
--brand-gumroad: #ff90e8;
|
||||||
|
--brand-jinxxy: #101010;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
|||||||
Reference in New Issue
Block a user