mirror of
https://codeberg.org/likwid/likwid.git
synced 2026-02-10 05:23:09 +00:00
Refine public pages card styling
This commit is contained in:
parent
27f7c898d9
commit
8b904c1919
5 changed files with 8 additions and 52 deletions
|
|
@ -540,13 +540,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-card-interactive {
|
.ui-card-interactive {
|
||||||
transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
|
transition: transform 140ms ease, border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-card-interactive:hover {
|
.ui-card-interactive:hover {
|
||||||
transform: translateY(-2px);
|
transform: translateY(-2px);
|
||||||
border-color: var(--color-border-hover);
|
border-color: var(--color-border-hover);
|
||||||
background: rgba(255, 255, 255, 0.05);
|
background: rgba(255, 255, 255, 0.05);
|
||||||
|
box-shadow: var(--shadow-md);
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-card-glass {
|
.ui-card-glass {
|
||||||
|
|
|
||||||
|
|
@ -178,15 +178,15 @@ import PublicLayout from '../layouts/PublicLayout.astro';
|
||||||
Explore Likwid's capabilities, understand our vision, or see the system in action.
|
Explore Likwid's capabilities, understand our vision, or see the system in action.
|
||||||
</p>
|
</p>
|
||||||
<div class="cta-grid">
|
<div class="cta-grid">
|
||||||
<a href="/features" class="cta-card ui-card ui-card-pad-lg">
|
<a href="/features" class="cta-card ui-card ui-card-pad-lg ui-card-interactive">
|
||||||
<h4>Features</h4>
|
<h4>Features</h4>
|
||||||
<p>Detailed explanation of voting methods, delegation, and moderation tools.</p>
|
<p>Detailed explanation of voting methods, delegation, and moderation tools.</p>
|
||||||
</a>
|
</a>
|
||||||
<a href="/manifesto" class="cta-card ui-card ui-card-pad-lg">
|
<a href="/manifesto" class="cta-card ui-card ui-card-pad-lg ui-card-interactive">
|
||||||
<h4>Manifesto</h4>
|
<h4>Manifesto</h4>
|
||||||
<p>The technical and political vision behind Likwid's design.</p>
|
<p>The technical and political vision behind Likwid's design.</p>
|
||||||
</a>
|
</a>
|
||||||
<a href="/demo" class="cta-card ui-card ui-card-pad-lg">
|
<a href="/demo" class="cta-card ui-card ui-card-pad-lg ui-card-interactive">
|
||||||
<h4>Demo</h4>
|
<h4>Demo</h4>
|
||||||
<p>Explore a live instance with pre-populated governance history.</p>
|
<p>Explore a live instance with pre-populated governance history.</p>
|
||||||
</a>
|
</a>
|
||||||
|
|
@ -283,10 +283,6 @@ import PublicLayout from '../layouts/PublicLayout.astro';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.is-item, .isnot-item {
|
|
||||||
border-radius: var(--radius-md);
|
|
||||||
}
|
|
||||||
|
|
||||||
.is-item {
|
.is-item {
|
||||||
border-left: 3px solid var(--color-success);
|
border-left: 3px solid var(--color-success);
|
||||||
}
|
}
|
||||||
|
|
@ -313,10 +309,6 @@ import PublicLayout from '../layouts/PublicLayout.astro';
|
||||||
margin-top: 1.5rem;
|
margin-top: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.audience-block {
|
|
||||||
border-radius: var(--radius-md);
|
|
||||||
}
|
|
||||||
|
|
||||||
.audience-block h4 {
|
.audience-block h4 {
|
||||||
font-size: 1.125rem;
|
font-size: 1.125rem;
|
||||||
color: var(--color-primary);
|
color: var(--color-primary);
|
||||||
|
|
@ -363,7 +355,6 @@ import PublicLayout from '../layouts/PublicLayout.astro';
|
||||||
|
|
||||||
/* Tech table */
|
/* Tech table */
|
||||||
.tech-table {
|
.tech-table {
|
||||||
border-radius: var(--radius-md);
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin: 1.5rem 0;
|
margin: 1.5rem 0;
|
||||||
}
|
}
|
||||||
|
|
@ -427,14 +418,12 @@ import PublicLayout from '../layouts/PublicLayout.astro';
|
||||||
|
|
||||||
.cta-card {
|
.cta-card {
|
||||||
display: block;
|
display: block;
|
||||||
border-radius: var(--radius-md);
|
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
transition: all var(--motion-fast) var(--easing-standard);
|
transition: all var(--motion-fast) var(--easing-standard);
|
||||||
}
|
}
|
||||||
|
|
||||||
.cta-card:hover {
|
.cta-card:hover {
|
||||||
border-color: var(--color-primary);
|
border-color: var(--color-primary);
|
||||||
transform: translateY(-2px);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.cta-card h4 {
|
.cta-card h4 {
|
||||||
|
|
|
||||||
|
|
@ -346,14 +346,6 @@ const nextQuery = nextParam ? `&next=${encodeURIComponent(nextParam)}` : '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.community-card {
|
|
||||||
transition: all var(--motion-normal) var(--easing-standard);
|
|
||||||
}
|
|
||||||
|
|
||||||
.community-card:hover {
|
|
||||||
box-shadow: var(--shadow-md);
|
|
||||||
}
|
|
||||||
|
|
||||||
.card-header {
|
.card-header {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
|
||||||
|
|
@ -448,10 +448,6 @@ import PublicLayout from '../layouts/PublicLayout.astro';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.feature-item {
|
|
||||||
border-radius: var(--radius-md);
|
|
||||||
}
|
|
||||||
|
|
||||||
.feature-item h4 {
|
.feature-item h4 {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
|
|
@ -478,7 +474,6 @@ import PublicLayout from '../layouts/PublicLayout.astro';
|
||||||
flex: 1;
|
flex: 1;
|
||||||
max-width: 280px;
|
max-width: 280px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-radius: var(--radius-lg);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.phase-icon {
|
.phase-icon {
|
||||||
|
|
@ -534,7 +529,6 @@ import PublicLayout from '../layouts/PublicLayout.astro';
|
||||||
}
|
}
|
||||||
|
|
||||||
.mod-feature {
|
.mod-feature {
|
||||||
border-radius: var(--radius-md);
|
|
||||||
border-left: 3px solid var(--color-success);
|
border-left: 3px solid var(--color-success);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -564,10 +558,6 @@ import PublicLayout from '../layouts/PublicLayout.astro';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.plugin-category {
|
|
||||||
border-radius: var(--radius-md);
|
|
||||||
}
|
|
||||||
|
|
||||||
.plugin-category h4 {
|
.plugin-category h4 {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ import PublicLayout from '../layouts/PublicLayout.astro';
|
||||||
<div class="section-container">
|
<div class="section-container">
|
||||||
<h2>What is Likwid?</h2>
|
<h2>What is Likwid?</h2>
|
||||||
<div class="what-grid">
|
<div class="what-grid">
|
||||||
<div class="what-card ui-card">
|
<div class="what-card ui-card ui-card-pad-lg ui-card-interactive">
|
||||||
<div class="what-icon">
|
<div class="what-icon">
|
||||||
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||||
<path d="M12 2L2 7l10 5 10-5-10-5z"/>
|
<path d="M12 2L2 7l10 5 10-5-10-5z"/>
|
||||||
|
|
@ -39,7 +39,7 @@ import PublicLayout from '../layouts/PublicLayout.astro';
|
||||||
<h3>Modular Architecture</h3>
|
<h3>Modular Architecture</h3>
|
||||||
<p>Every component is a plugin. Voting methods, delegation systems, integrations, and workflows can be added, removed, or customized per community.</p>
|
<p>Every component is a plugin. Voting methods, delegation systems, integrations, and workflows can be added, removed, or customized per community.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="what-card ui-card">
|
<div class="what-card ui-card ui-card-pad-lg ui-card-interactive">
|
||||||
<div class="what-icon">
|
<div class="what-icon">
|
||||||
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||||
<circle cx="12" cy="12" r="10"/>
|
<circle cx="12" cy="12" r="10"/>
|
||||||
|
|
@ -49,7 +49,7 @@ import PublicLayout from '../layouts/PublicLayout.astro';
|
||||||
<h3>Process-Oriented</h3>
|
<h3>Process-Oriented</h3>
|
||||||
<p>Governance is a process, not a feature. Likwid structures deliberation, voting, and implementation as distinct phases with clear transitions.</p>
|
<p>Governance is a process, not a feature. Likwid structures deliberation, voting, and implementation as distinct phases with clear transitions.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="what-card ui-card">
|
<div class="what-card ui-card ui-card-pad-lg ui-card-interactive">
|
||||||
<div class="what-icon">
|
<div class="what-icon">
|
||||||
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||||
<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/>
|
<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/>
|
||||||
|
|
@ -283,17 +283,6 @@ import PublicLayout from '../layouts/PublicLayout.astro';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.what-card {
|
|
||||||
padding: 1.75rem;
|
|
||||||
transition: all var(--motion-normal) var(--easing-standard);
|
|
||||||
}
|
|
||||||
|
|
||||||
.what-card:hover {
|
|
||||||
border-color: var(--color-border-hover);
|
|
||||||
transform: translateY(-3px);
|
|
||||||
box-shadow: var(--shadow-md);
|
|
||||||
}
|
|
||||||
|
|
||||||
.what-icon {
|
.what-icon {
|
||||||
width: 56px;
|
width: 56px;
|
||||||
height: 56px;
|
height: 56px;
|
||||||
|
|
@ -371,10 +360,6 @@ import PublicLayout from '../layouts/PublicLayout.astro';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.capability {
|
|
||||||
border-radius: var(--radius-md);
|
|
||||||
}
|
|
||||||
|
|
||||||
.capability h4 {
|
.capability h4 {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
|
|
@ -460,7 +445,6 @@ import PublicLayout from '../layouts/PublicLayout.astro';
|
||||||
|
|
||||||
.tech-item {
|
.tech-item {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-radius: var(--radius-md);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.tech-item strong {
|
.tech-item strong {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue