1
0
Fork 0
mirror of https://ark.sudovanilla.org/Korbs/butterflyvu.git synced 2024-12-23 07:43:55 +00:00

Compare commits

..

No commits in common. "060330a8a4835c3f4bbf5eaada5a1af581ad78fe" and "2635eede6cf2c030753cdb03dc8c9c4958f1d5fe" have entirely different histories.

10 changed files with 17 additions and 63 deletions

View file

@ -5,7 +5,7 @@
"SiteProtocol": "http", "SiteProtocol": "http",
"SiteDomain": "localhost:2014", "SiteDomain": "localhost:2014",
"SiteBase": "", "SiteBase": "",
"MetaColor": "#161616", "MetaColor": "",
"WhiteLabel": "true", "WhiteLabel": "true",
"FooterVersion": "true" "FooterVersion": "true"
}, },

View file

@ -3,15 +3,9 @@ services:
image: oci.registry.sudovanilla.org/butterflyvu:latest image: oci.registry.sudovanilla.org/butterflyvu:latest
restart: always restart: always
volumes: volumes:
# Configuration
- ./config.json:/app/config.json - ./config.json:/app/config.json
# Homepage
- ./docs/home.mdx:/app/src/content/home.mdx - ./docs/home.mdx:/app/src/content/home.mdx
# Your Documentations
- ./docs/:/app/src/content/docs/ - ./docs/:/app/src/content/docs/
# Use this add images locally and update your favicon
- ./public/:/app/public/
# Generated, do not touch
- ./dists/:/app/dist/ - ./dists/:/app/dist/
nginx: nginx:

View file

@ -1,7 +1,7 @@
{ {
"name": "butterflyvu", "name": "butterflyvu",
"type": "module", "type": "module",
"version": "0.1.62", "version": "0.1.6",
"license": "GPL-3.0-only", "license": "GPL-3.0-only",
"author": { "author": {
"name": "SudoVanilla" "name": "SudoVanilla"

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 7.2 KiB

View file

@ -1,17 +0,0 @@
---
// Properties
const {
Source,
Alt
} = Astro.props
---
<img
src={Source}
alt={Alt}
onload="this.style.transition = '1s opacity'; this.style.opacity = '1'"
/>
<!-- Once the image is done loading, instead of cutting in, try to fade in instead. -->
<!-- See the `onload` script in the image tag. -->
<style>img {opacity: 0}</style>

View file

@ -1,6 +1,6 @@
--- ---
// Settings // Settings
import { SiteSettings } from '@config' import { SiteSettings, FeelbackConfig } from '@config'
import {version} from '../../../package.json' import {version} from '../../../package.json'
--- ---

View file

@ -1,7 +1,4 @@
--- ---
// Settings
import {SiteSettings} from "@config"
// Properties // Properties
const { Title } = Astro.props; const { Title } = Astro.props;
--- ---
@ -15,7 +12,7 @@ const { Title } = Astro.props;
<!-- Options --> <!-- Options -->
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="theme-color" content={SiteSettings.MetaColor} /> <meta name="theme-color" content="#000000" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no, viewport-fit=cover" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no, viewport-fit=cover" />
<!-- Favicon --> <!-- Favicon -->

View file

@ -1,6 +1,6 @@
--- ---
// Settings // Settings
import { SiteSettings, FeelbackConfig } from '@config' import { FeelbackConfig } from '@config'
// Properties // Properties
const { frontmatter, Title, Feedback, Feelback } = Astro.props const { frontmatter, Title, Feedback, Feelback } = Astro.props
@ -19,7 +19,7 @@ import "@styles/feelback.css"
import "@styles/prism.css" import "@styles/prism.css"
--- ---
<Head Title={frontmatter.Title + ' | ' + SiteSettings.SiteName}/> <Head/>
<Header/> <Header/>
<div class="page"> <div class="page">
<article> <article>

View file

@ -1,7 +1,4 @@
--- ---
// Settings
import { SiteSettings } from '@config'
// Properties // Properties
const { frontmatter } = Astro.props const { frontmatter } = Astro.props
@ -17,7 +14,7 @@ import "@styles/splash.scss";
import "@styles/feelback.css"; import "@styles/feelback.css";
--- ---
<Head Title={frontmatter.Title + ' | ' + SiteSettings.SiteName}/> <Head/>
<Header/> <Header/>
<div class="page"> <div class="page">
<div class="content" data-pagefind-body> <div class="content" data-pagefind-body>

View file

@ -207,7 +207,7 @@ header {
background: transparent; background: transparent;
color: white; color: white;
border-radius: 6px; border-radius: 6px;
padding: 8px 16px; padding: 12px;
border: 1px transparent solid; border: 1px transparent solid;
&:hover { &:hover {
border-color: #323232; border-color: #323232;
@ -245,41 +245,36 @@ header {
} }
.aside { .aside {
border-left: 6px transparent solid;
padding-left: 24px;
padding-top: 12px; padding-top: 12px;
padding-bottom: 12px; padding-bottom: 12px;
&#aside-Note { &#aside-Note {
color: var(--aside-note); color: var(--aside-note);
h2 {background: var(--aside-note);} border-color: var(--aside-note);
svg {stroke: var(--aside-note);} svg {stroke: var(--aside-note);}
} }
&#aside-Warning { &#aside-Warning {
color: var(--aside-warning); color: var(--aside-warning);
h2 {background: var(--aside-warning);} border-color: var(--aside-warning);
svg {stroke: var(--aside-warning);} svg {stroke: var(--aside-warning);}
} }
&#aside-Dangerous { &#aside-Dangerous {
color: var(--aside-dangerous); color: var(--aside-dangerous);
h2 {background: var(--aside-dangerous);} border-color: var(--aside-dangerous);
svg {stroke: var(--aside-dangerous);} svg {stroke: var(--aside-dangerous);}
} }
&#aside-Successful { &#aside-Successful {
color: var(--aside-successful); color: var(--aside-successful);
h2 {background: var(--aside-successful); svg {stroke: rgb(0, 0, 0) !important;}} border-color: var(--aside-successful);
svg {stroke: var(--aside-successful);} svg {stroke: var(--aside-successful);}
} }
h2 { h2 {
display: flex; display: flex;
align-items: center; align-items: center;
gap: 6px; gap: 12px;
width: fit-content; font-size: 24px;
border-radius: 3rem; padding-bottom: 6px;
font-size: 12px;
padding: 4px 12px 4px 8px;
margin-bottom: 6px;
color: black;
svg {
width: 16px;
}
} }
* { * {
margin: 0px; margin: 0px;