Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/background-image/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const BackgroundImage: FC<BackgroundProps> = ({
<>
{/* For transparent navbar, overrides css only in homepage, and unmounted in other pages */}
<style>
{'body:not(.notTopArrived) .rp-nav {background: transparent !important; border-bottom: none !important;}' +
{'body:not(.notTopArrived) .rp-nav {background: transparent !important; border-bottom: 1px solid transparent !important;}' +
'.rp-nav {background: color-mix(in srgb,var(--rp-c-bg) 60%,transparent);backdrop-filter: blur(25px);-webkit-backdrop-filter: blur(25px);}'}
</style>
<img
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,8 @@ export function MeteorsBackground({
width: '100%',
height: '65vh',
zIndex: -1,
filter: 'blur(.5px)',
opacity: 0.8,
}}
/>
);
Expand Down
6 changes: 1 addition & 5 deletions src/blog-background/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,5 @@
inset: 0;
background: var(--rs-blog-list-frame-bg);
background-size: 1200px;
opacity: 0.45;
}

:global(.dark) .blogFrame {
opacity: 0.35;
opacity: 0.15;
}
2 changes: 1 addition & 1 deletion src/blog-background/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { MeteorsBackground } from '../blog-list/MeteorsBackground';
import { MeteorsBackground } from './MeteorsBackground';
import styles from './index.module.scss';

export type BlogBackgroundProps = {
Expand Down
8 changes: 4 additions & 4 deletions src/blog-list/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
--rs-blog-list-desc-color: var(--rp-c-text-2);
--rs-blog-list-card-bg:
radial-gradient(94.38% 84.84% at 0% 2.15%, #ffffff29 0%, #fff0 100%),
#ffffff80;
--rs-blog-list-card-border: 1px solid #11111314;
#ffffff9c;
--rs-blog-list-card-border: 1px solid #0e0e0f16;
}

html.dark {
--rs-blog-list-title-color: var(--rp-c-text-0);
--rs-blog-list-desc-color: var(--rp-c-text-2);
--rs-blog-list-card-bg: #ffffff08;
--rs-blog-list-card-border: 1px solid #ffffff0f;
--rs-blog-list-card-bg: #ffffff0d;
--rs-blog-list-card-border: 1px solid #ffffff12;
}
}

Expand Down
Loading