Fixed rhpz.org

This commit is contained in:
2026-07-02 10:41:31 +02:00
parent 04b9db3359
commit 96d2623b67
13 changed files with 47 additions and 7 deletions

View File

@@ -1,5 +1,6 @@
@import './base/variables.css';
@import './base/reset.css';
@import 'theme-overrides.css';
@import './layout/menu.css';
@import './layout/content.css';

View File

@@ -0,0 +1,12 @@
.light-mode {
--fix-white: #fff;
.news-meta {
color: var(--fix-white) !important;
}
.news-header .news-actions .btn {
color: var(--fix-white) !important;
}
.entry-badge {
color: var(--fix-white) !important;
}
}

View File

@@ -1,11 +1,13 @@
<div class="entry-card">
<div class="entry-cover-wrapper">
<span class="entry-badge">{{ $entry->getRealPlatform()?->name ?? 'Unknown' }}</span>
@if( $entry->main_image )
<img src="{{ Storage::url($entry->main_image) }}">
@else
<i data-lucide="image" size="40" color="var(--border)"></i>
@endif
<a href="{{ route('entries.show', [ 'section' => $entry->type, 'entry' => $entry ] ) }}">
<span class="entry-badge">{{ $entry->getRealPlatform()?->name ?? 'Unknown' }}</span>
@if( $entry->main_image )
<img src="{{ Storage::url($entry->main_image) }}">
@else
<i data-lucide="image" size="40" color="var(--border)"></i>
@endif
</a>
</div>
<div class="entry-card-info">
<a href="{{ route('entries.show', [ 'section' => $entry->type, 'entry' => $entry ] ) }}" class="entry-card-title">{{ $entry->title ?? $entry->complete_title }}</a>