Skip to content
Merged
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
16 changes: 8 additions & 8 deletions src/pages/[lang]/code-of-conduct.astro
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const {
<!-- Intro -->
<section class="mb-12">
<div
class="bg-pycon-black/5 dark:bg-white/5 p-8 rounded-2xl border border-pycon-black/10 dark:border-white/10 shadow-sm"
class="bg-white/5 p-8 rounded-2xl border border-white/10 shadow-sm"
>
<p class="text-lg leading-relaxed mb-6">
{intro}
Expand Down Expand Up @@ -98,7 +98,7 @@ const {
{scope.title}
</h2>
<div
class="bg-pycon-black/5 dark:bg-white/5 p-8 rounded-2xl border border-pycon-black/10 dark:border-white/10 shadow-sm"
class="bg-white/5 p-8 rounded-2xl border border-white/10 shadow-sm"
>
<p class="opacity-80 leading-relaxed">
{scope.body}
Expand Down Expand Up @@ -126,7 +126,7 @@ const {
{standards.positiveTitle}
</h3>
<div
class="bg-green-50 dark:bg-green-900/10 p-6 rounded-2xl border border-green-200/50 dark:border-green-500/10"
class="bg-green-900/10 p-6 rounded-2xl border border-green-500/10"
>
<ul class="space-y-4">
{
Expand All @@ -153,7 +153,7 @@ const {
{standards.negativeTitle}
</h3>
<div
class="bg-pycon-red-25/30 dark:bg-red-900/10 p-6 rounded-2xl border border-pycon-red-25 dark:border-red-500/10"
class="bg-red-900/10 p-6 rounded-2xl border border-red-500/10"
>
<ul class="space-y-4">
{
Expand All @@ -175,7 +175,7 @@ const {

<!-- Harassment note -->
<div
class="bg-pycon-yellow-25/50 dark:bg-yellow-900/10 p-6 rounded-2xl border border-pycon-yellow-50 dark:border-yellow-500/10"
class="bg-yellow-900/10 p-6 rounded-2xl border border-yellow-500/10"
>
<p class="opacity-80 leading-relaxed text-sm italic">
<span class="font-semibold not-italic" aria-hidden="true">⚠️</span>
Expand All @@ -197,7 +197,7 @@ const {
{enforcement.title}
</h2>
<div
class="bg-pycon-black/5 dark:bg-white/5 p-8 rounded-2xl border border-pycon-black/10 dark:border-white/10 shadow-sm"
class="bg-white/5 p-8 rounded-2xl border border-white/10 shadow-sm"
>
<p class="opacity-80 leading-relaxed">
{enforcement.body}
Expand All @@ -223,7 +223,7 @@ const {
<div class="space-y-4">
{
reporting.channels.map((channel, index) => (
<div class="flex gap-4 items-start bg-pycon-black/5 dark:bg-white/5 p-5 rounded-xl border border-pycon-black/10 dark:border-white/10 shadow-sm transition-all hover:shadow-md hover:border-pycon-orange/30 dark:hover:border-pycon-orange/20">
<div class="flex gap-4 items-start bg-white/5 p-5 rounded-xl border border-white/10 shadow-sm transition-all hover:shadow-md hover:border-pycon-orange/20">
<span class="inline-flex items-center justify-center w-8 h-8 rounded-full bg-pycon-orange/10 text-pycon-orange text-sm font-bold shrink-0">
{index + 1}
</span>
Expand All @@ -235,7 +235,7 @@ const {
}
</div>
<div
class="mt-6 bg-pycon-yellow-25/50 dark:bg-yellow-900/10 p-5 rounded-xl border border-pycon-yellow-50 dark:border-yellow-500/10"
class="mt-6 bg-yellow-900/10 p-5 rounded-xl border border-yellow-500/10"
>
<p class="opacity-80 leading-relaxed text-sm flex items-start gap-3">
<span class="text-lg shrink-0" aria-hidden="true">🔒</span>
Expand Down
Loading