Skip to content

Commit fcb8ea3

Browse files
committed
fix for safari
1 parent 28f4d6e commit fcb8ea3

File tree

8 files changed

+134
-144
lines changed

8 files changed

+134
-144
lines changed

.astro/data-store.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[["Map",1,2],"meta::meta",["Map",3,4,5,6],"astro-version","5.16.8","astro-config-digest","{\"root\":{},\"srcDir\":{},\"publicDir\":{},\"outDir\":{},\"cacheDir\":{},\"site\":\"https://linuxjava7.dev\",\"compressHTML\":true,\"base\":\"/\",\"trailingSlash\":\"ignore\",\"output\":\"static\",\"scopedStyleStrategy\":\"attribute\",\"build\":{\"format\":\"directory\",\"client\":{},\"server\":{},\"assets\":\"_astro\",\"serverEntry\":\"entry.mjs\",\"redirects\":true,\"inlineStylesheets\":\"auto\",\"concurrency\":1},\"server\":{\"open\":false,\"host\":false,\"port\":4321,\"streaming\":true,\"allowedHosts\":[]},\"redirects\":{},\"image\":{\"endpoint\":{\"route\":\"/_image\"},\"service\":{\"entrypoint\":\"astro/assets/services/sharp\",\"config\":{}},\"domains\":[],\"remotePatterns\":[],\"responsiveStyles\":false},\"devToolbar\":{\"enabled\":true},\"markdown\":{\"syntaxHighlight\":{\"type\":\"shiki\",\"excludeLangs\":[\"math\"]},\"shikiConfig\":{\"langs\":[],\"langAlias\":{},\"theme\":\"github-dark\",\"themes\":{},\"wrap\":false,\"transformers\":[]},\"remarkPlugins\":[],\"rehypePlugins\":[],\"remarkRehype\":{},\"gfm\":true,\"smartypants\":true},\"security\":{\"checkOrigin\":true,\"allowedDomains\":[]},\"env\":{\"schema\":{},\"validateSecrets\":false},\"experimental\":{\"clientPrerender\":false,\"contentIntellisense\":false,\"headingIdCompat\":false,\"preserveScriptOrder\":false,\"liveContentCollections\":false,\"csp\":false,\"staticImportMetaEnv\":false,\"chromeDevtoolsWorkspace\":false,\"failOnPrerenderConflict\":false,\"svgo\":false},\"legacy\":{\"collections\":false}}"]
1+
[["Map",1,2],"meta::meta",["Map",3,4,5,6],"astro-version","5.16.8","astro-config-digest","{\"root\":{},\"srcDir\":{},\"publicDir\":{},\"outDir\":{},\"cacheDir\":{},\"site\":\"https://linuxjava7.dev\",\"compressHTML\":true,\"base\":\"/\",\"trailingSlash\":\"ignore\",\"output\":\"static\",\"scopedStyleStrategy\":\"attribute\",\"build\":{\"format\":\"directory\",\"client\":{},\"server\":{},\"assets\":\"_astro\",\"serverEntry\":\"entry.mjs\",\"redirects\":true,\"inlineStylesheets\":\"auto\",\"concurrency\":1},\"server\":{\"open\":false,\"host\":true,\"port\":4321,\"streaming\":true,\"allowedHosts\":[]},\"redirects\":{},\"image\":{\"endpoint\":{\"route\":\"/_image\"},\"service\":{\"entrypoint\":\"astro/assets/services/sharp\",\"config\":{}},\"domains\":[],\"remotePatterns\":[],\"responsiveStyles\":false},\"devToolbar\":{\"enabled\":true},\"markdown\":{\"syntaxHighlight\":{\"type\":\"shiki\",\"excludeLangs\":[\"math\"]},\"shikiConfig\":{\"langs\":[],\"langAlias\":{},\"theme\":\"github-dark\",\"themes\":{},\"wrap\":false,\"transformers\":[]},\"remarkPlugins\":[],\"rehypePlugins\":[],\"remarkRehype\":{},\"gfm\":true,\"smartypants\":true},\"security\":{\"checkOrigin\":true,\"allowedDomains\":[]},\"env\":{\"schema\":{},\"validateSecrets\":false},\"experimental\":{\"clientPrerender\":false,\"contentIntellisense\":false,\"headingIdCompat\":false,\"preserveScriptOrder\":false,\"liveContentCollections\":false,\"csp\":false,\"staticImportMetaEnv\":false,\"chromeDevtoolsWorkspace\":false,\"failOnPrerenderConflict\":false,\"svgo\":false},\"legacy\":{\"collections\":false}}"]

.astro/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"_variables": {
33
"lastUpdateCheck": 1767961088257
4+
},
5+
"devToolbar": {
6+
"enabled": false
47
}
58
}

.gitignore

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@ node_modules/
77
# logs
88
npm-debug.log*
99
yarn-debug.log*
10-
yarn-error.log*
11-
pnpm-debug.log*
12-
13-
14-
# environment variables
10+
yarn-error.log*https://linuxjava7.dev/# environment variables
1511
.env
1612
.env.production
1713

src/components/Footer.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
padding-bottom: 1.5rem;
1717
text-align: center;
1818
margin-top: auto;
19-
border-radius: 1.5rem;
19+
border-radius: 1.1rem;
2020
p {
2121
margin-bottom: 0;
2222
margin-top: 0.5rem;
2323
}
2424
@media only screen and (max-width: 750px) {
25-
padding-bottom: 4.2rem;
25+
padding-bottom: 4.4rem;
2626
}
2727
}
2828

src/components/Navigation/Bottombar.astro

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,13 @@ import TabBarSmall from "./TabBarSmall.astro";
88
position: fixed;
99
bottom: 0;
1010
left: 0;
11-
height: 95px;
1211
width: 100%;
1312
box-sizing: border-box;
1413
justify-content: center;
1514
padding: 25px;
1615
padding-top: 16px;
16+
padding-bottom: 20px;
1717
z-index: 1;
18-
19-
background: linear-gradient(
20-
180deg,
21-
rgba(255, 255, 255, 0) 0%,
22-
rgba(255, 255, 255, 0.5) 100%
23-
);
24-
@media (prefers-color-scheme: dark) {
25-
background: linear-gradient(
26-
180deg,
27-
oklch(from var(--accent-color) 0.23 0.0168 h / 0%),
28-
oklch(from var(--accent-color) 0.23 0.0168 h / 75%)
29-
);
30-
}
3118
}
3219
</style>
3320

src/components/Navigation/Headerbar.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ const { pageTitle } = Astro.props;
99
#header-bar {
1010
display: flex;
1111
box-sizing: border-box;
12-
height: 64px;
13-
padding: 10px;
12+
height: 80px;
13+
padding: 18px;
1414
position: sticky;
1515
top: 0;
1616
align-items: stretch;

src/layouts/BaseLayout.astro

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ const { pageTitle } = Astro.props;
1717
<meta name="viewport" content="width=device-width" />
1818
<meta name="generator" content={Astro.generator} />
1919
<title>{pageTitle}</title>
20+
<meta
21+
name="viewport"
22+
content="width=device-width, initial-scale=1.0, viewport-fit=cover"
23+
/>
24+
<meta name="theme-color" content="#000" />
2025

2126
<script
2227
src="https://code.jquery.com/jquery-3.7.1.js"

0 commit comments

Comments
 (0)