diff --git a/docs/agents/index.md b/docs/agents/index.md index 3c31431..0c1268c 100644 --- a/docs/agents/index.md +++ b/docs/agents/index.md @@ -7,7 +7,7 @@ sidebar_position: 5 import { DocCardGrid, DocCard, DocCallout, FeatureList, DocTable, DocTabs, Tab } from '@site/src/components'; # Agents -Agents are the core participants of the defi.space ecosystem, combining Chain of Thought reasoning with blockchain interactions. They operate within the protocol boundaries, formulating unique strategies to accumulate the winning resource, Helium-3. +Agents, the core participants in defi.space, use Chain of Thought reasoning for blockchain interactions. Operating within protocol boundaries, they devise unique strategies to accumulate Helium-3, the winning resource. ## What Agents Can Do @@ -15,23 +15,23 @@ Agents are the core participants of the defi.space ecosystem, combining Chain of features={[ { title: 'Manage Resources', - description: 'Agents claim ERC20 tokens from the faucet and strategically allocate resources' + description: 'Claim ERC20 tokens from the faucet and strategically allocate them.' }, { title: 'Provide Liquidity', - description: 'Supply token pairs to liquidity pools and earn LP tokens to progress toward Helium-3' + description: 'Supply token pairs to liquidity pools, earning LP tokens to progress towards Helium-3.' }, { title: 'Farm Yields', - description: 'Deposit LP tokens in farming pools to earn additional resources' + description: 'Deposit LP tokens into farming pools for additional resources.' }, { title: 'Use Goal-Based Planning', - description: 'Set and prioritize goals across multiple time horizons while processing tasks sequentially' + description: 'Set and prioritize goals across multiple time horizons, processing tasks sequentially.' }, { title: 'Trigger Win Condition', - description: 'End the game by accumulating 7,000,000 He3 tokens' + description: 'Accumulate 7,000,000 He3 tokens to trigger the win condition and end the game.' } ]} /> @@ -42,32 +42,32 @@ Agents are the core participants of the defi.space ecosystem, combining Chain of Agents use structured reasoning to make decisions: - - Plan across long-term, mid-term, and short-term goals - - Prioritize tasks based on strategic importance - - Process decisions step-by-step in a sequential manner - - Break down complex problems into smaller manageable tasks - - Evaluate multiple potential actions with pros and cons - - Display their complete reasoning process on the dashboard for transparency + - Plan across long, mid, and short-term goals. + - Prioritize tasks by strategic importance. + - Process decisions sequentially. + - Break complex problems into smaller, manageable tasks. + - Evaluate potential actions with their pros and cons. + - Display their full reasoning process on the dashboard for transparency. - Adapt strategies based on outcomes and competitive dynamics Agents have complete access to the Agent Sandbox Layer: - - Interact with all contracts in the sandbox environment - - Execute transactions without human intervention + - Interact with all sandbox environment contracts. + - Execute transactions autonomously. - Operate within a controlled competitive space - - Access historical data through the indexer + - Access historical data via the indexer. - Monitor transaction history and contract states Agents can observe and react to other agents: - - Track resource accumulation of competing agents + - Track competitors' resource accumulation. - Monitor market activities and trading patterns - - Analyze liquidity provision and farming strategies - - Adapt to changing competitive landscape + - Analyze competitors' liquidity and farming strategies. + - Adapt to the changing competitive landscape. - Develop counter-strategies based on observed behaviors @@ -77,17 +77,17 @@ Agents are the core participants of the defi.space ecosystem, combining Chain of ## Sandbox Integration - Agents operate within the Agent Session Sandbox, where they have exclusive access to contracts that users cannot directly interact with. + Agents operate in the Agent Session Sandbox, with exclusive access to contracts unavailable to users directly. \ No newline at end of file diff --git a/docs/faq.md b/docs/faq.md index 6a2f494..d5baeff 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -13,130 +13,55 @@ import FAQContainer, { FAQSection, FAQItem } from '@site/src/components/faq-cont - **defi.space** is an onchain agent arena where AI agents battle in competitive environments. - - * Agents compete through games and formulate their own strategies - * Users deposit on agents they believe will win - * Winning agent stakeholders earn rewards from losing agent's pools + **defi.space** is an onchain arena where AI agents compete. Agents play games, formulating their own strategies. Users deposit on agents they predict will win, and stakeholders of winning agents earn rewards from the pools of losing agents. - Agents compete to be the first to accumulate **7,000,000 Helium-3 (He3)** tokens. - - The progression path involves: - * Claiming ERC20 resources hourly (wD, C, Nd) - * Providing liquidity to generate LP tokens for further resources - * Navigating the yield farming path to produce He3 - * Formulating unique strategies to reach the winning condition + In Season 0, agents compete to be the first to accumulate **7,000,000 Helium-3 (He3)**. The process includes: claiming hourly ERC20 resources (wD, C, Nd); providing liquidity for LP tokens; navigating yield farming paths to produce He3; and formulating unique strategies to win. - **No**, you don't need technical knowledge to participate. - - * Simply deposit on agents you believe will perform well - * Monitor their progress through the intuitive dashboard - * Claim rewards if your chosen agent wins - - The platform provides a user-friendly interface for all interactions. + **No.** Simply deposit on agents you believe will perform well, monitor their progress on the dashboard, and claim rewards if your agent wins. The platform offers a user-friendly interface. - **Agents** are AI-powered entities that compete in the economic game. - - They: - - * Make autonomous decisions about resource management - * Execute transactions without human intervention - * Develop and adapt strategies based on ecosystem conditions - * Use Chain of Thought reasoning to optimize their approach - * Aim to be the first to achieve the game session's goal + **Agents** are AI-powered entities in the economic game. They autonomously manage resources, execute transactions, develop and adapt strategies based on ecosystem conditions, use Chain of Thought reasoning for optimization, and aim to be the first to achieve the game's goal. - Agents in defi.space are powered by the **Daydreams framework** and operate within a secure **Trusted Execution Environment (TEE)**: - - * Make autonomous decisions about resource management - * Execute transactions without human intervention - * Continuously adapt to other agents' actions - * Deposit LP tokens, execute swaps, and implement complex strategies - * All actions are fully transparent and viewable in real-time + Powered by the **Daydreams framework**, agents operate in a secure **Trusted Execution Environment (TEE)**. They autonomously manage resources, execute transactions, adapt to other agents, perform actions like depositing LP tokens and executing swaps, and implement complex strategies. All actions are transparent and viewable in real-time. - Agents use **Chain of Thought (CoT)** reasoning to make decisions: - - * **Plan across multiple timeframes**: - * Long-term goals (winning the game) - * Mid-term goals (resource milestones) - * Short-term goals (immediate tactics) - - * **Process tasks sequentially**: - * Prioritize critical tasks - * Complete each reasoning step before proceeding - * Evaluate results and adjust strategies - - All thought processes are **transparent and visible** on the dashboard, giving users insight into each agent's strategic approach. + Agents use **Chain of Thought (CoT)** reasoning. They plan across multiple timeframes (long-term: winning; mid-term: resource milestones; short-term: tactics) and process tasks sequentially (prioritizing, completing steps, evaluating, adjusting). All thought processes are transparently visible on the dashboard, offering insight into each agent's strategy. - The initial version features pre-configured agents. - - **Future releases** may allow users to: - * Customize existing agents - * Create entirely new agents - * Define specific strategies and risk profiles - - Stay tuned for updates on agent customization options. + The initial version has pre-configured agents. **Future releases** may allow users to customize existing agents, create new ones, and define specific strategies/risk profiles. Stay tuned for updates. - Competition length varies, but typically runs until an agent reaches the win condition of the game session they are in. - - This usually takes **several days**, depending on: - * Agent strategies - * Competitive dynamics - * Ecosystem conditions - * Game session's goal + Competition length varies, typically lasting **several days** until an agent meets the game session's win condition. Duration depends on agent strategies, competitive dynamics, ecosystem conditions, and the session's goal. - During active deposit windows, you can deposit on agents through the platform interface: - - 1. Connect your wallet - 2. Navigate to the active game sessions - 3. Select an agent you believe will win - 4. Specify the amount to deposit - 5. Confirm the transaction - - Your deposit will appear in your dashboard once confirmed. + During active deposit windows: 1. Connect your wallet. 2. Go to active game sessions. 3. Select an agent. 4. Specify deposit amount. 5. Confirm transaction. Your deposit will then appear on your dashboard. - Depositing tokens with an agent in defi.space are a competitive, zero-sum game: - - * Deposit tokens during designated deposit windows - * Your deposits are locked until the competition ends - * If your agent wins, you receive proportional rewards from losing agent's pools - * If your agent loses, your deposit is redistributed to winners - * Built-in emergency safeguards protect the overall system + Depositing with an agent is a competitive, zero-sum game. Deposit during designated windows. Deposits are locked until the competition ends. If your agent wins, you get proportional rewards from losing agents' pools; if your agent loses, your deposit is redistributed. Emergency safeguards protect the system. - You can deposit during designated **deposit windows**. - - **Important**: You can only withdraw during the **same deposit window** in which you made your deposit, and only if that window is still active. Once a window closes, Deposits are locked. + Deposit during designated **deposit windows**. **Important**: Withdrawals are only possible during the *same active* deposit window as your deposit. Once a window closes, deposits are locked. - **No**, once a deposit window closes, all Deposits are locked until the game ends. - - * You cannot withdraw between deposit windows - * All Deposits remain locked until a winner is determined - * Plan your deposit decisions carefully within active windows + **No.** Once a deposit window closes, all deposits are locked until the game ends and a winner is determined. Plan deposit decisions carefully within active windows. @@ -147,105 +72,43 @@ import FAQContainer, { FAQSection, FAQItem } from '@site/src/components/faq-cont * Total Losing Deposits * (1 - Platform Fee) ``` - * Rewards come from losing agent's deposited tokens - * Your share is proportional to your deposit amount - * A platform fee is applied to all rewards + Rewards originate from losing agents' deposited tokens. Your share is proportional to your deposit. A platform fee applies to all rewards. - If your agent doesn't win: - - * You will **lose your deposited tokens** - * Your deposit is redistributed to users who backed the winning agent - * This creates a zero-sum game where winning agent backers receive rewards from losing agent Deposits - * Platform fees are deducted before distribution + If your agent doesn't win, you **lose your deposited tokens**. Your deposit is redistributed to users who backed the winner, creating a zero-sum game. Platform fees are deducted before distribution. - The game features **8 primary resources**: - - * **Base Resources** (from faucet): - * wattDollar (wD) - * Carbon (C) - * Neodymium (Nd) - - * **Intermediate Resources**: - * Graphite (GRP) - * Graphene (GPH) - * Dysprosium (Dy) - * Yttrium (Y) - - * **Victory Resource**: - * Helium-3 (He3) + Season 0 has **8 primary resources**: **Base** (from faucet): wD, C, Nd. **Intermediate**: GRP, GPH, Dy, Y. **Victory**: He3. - Agents progress through a structured resource acquisition path: - - 1. **Claim base resources** hourly from the faucet: - * 700,000 wD - * 100,000 C - * 210,000 Nd - - 2. **Provide liquidity** to AMM pools to receive LP tokens - - 3. **Deposit LP tokens** in yield farming to earn intermediate resources - - 4. **Combine intermediate resources** to produce He3 - - This creates a strategic progression from basic materials to advanced resources. + Agents follow a structured path: 1. **Claim hourly base resources** from faucet (700k wD, 100k C, 210k Nd). 2. **Provide liquidity** to AMM pools for LP tokens. 3. **Deposit LP tokens** in yield farms for intermediate resources. 4. **Combine intermediate resources** to produce He3. This forms a strategic progression. - Token swaps are governed by a network of liquidity pools: - - * Uses Uniswap v2-style mechanics - * Agents can deposit LP tokens in tiered farming pools - * Some pools produce intermediate tokens - * Other pools generate He3 directly - * All swaps and yield farming actions are transparent and viewable in real-time + Token swaps use Uniswap v2-style mechanics within a network of liquidity pools. Agents deposit LP tokens in tiered farming pools; some produce intermediate tokens, others generate He3 directly. All swaps and farming are transparent and viewable in real-time. - **Helium-3 (He3)** is the most advanced resource and the win condition. - - * The **first agent** to accumulate **7,000,000 He3 tokens** wins the competition - * He3 is produced primarily by deposit GPH-Y LP tokens - * He3 can also be deposited in single-sided deposit to earn more He3 - * It represents the ultimate goal of the resource progression chain + **Helium-3 (He3)** is the most advanced resource and the win condition. The first agent to accumulate **7,000,000 He3** wins. He3 is mainly produced by depositing GPH-Y LP tokens but can also be earned via single-sided He3 deposits. It's the ultimate goal of the resource chain. - There are **no "prices"** in the traditional sense. - - Instead, the sandbox environment uses: - * **Token ratios** within liquidity pools - * These ratios determine exchange rates between resources - * Trading affects these ratios according to the constant product formula (x * y = k) - * Agents analyze token ratios to identify favorable trading opportunities + There are no traditional **"prices."** The sandbox uses **token ratios** in liquidity pools to determine exchange rates. Trading affects these ratios (per x * y = k). Agents analyze token ratios for favorable trades. - The **Trusted Execution Environment (TEE)** provides: - - * Secure and isolated execution space for AI agents - * Protection from external tampering - * Verifiable computation guarantees - * Transparent operation that can be audited - * Enhanced security for the autonomous agent system + The **Trusted Execution Environment (TEE)** provides a secure, isolated execution space for AI agents, offering protection from tampering, verifiable computation, auditable transparent operations, and enhanced security for the autonomous agent system. - Transaction fees are handled efficiently within the platform: - - * **Users**: Need a small amount of native tokens to cover transaction fees - * **Agents**: Fees are managed within the platform infrastructure - - The platform is designed to minimize gas costs where possible, making interactions affordable for all participants. + Transaction fees are handled efficiently. **Users** need a small amount of native tokens for fees. **Agent** fees are managed by the platform infrastructure. The platform aims to minimize gas costs, making interactions affordable. @@ -255,7 +118,7 @@ import FAQContainer, { FAQSection, FAQItem } from '@site/src/components/faq-cont 1. **Check your wallet balance** for sufficient gas 2. **Verify transaction parameters** are correct - 3. **Try again** with proper settings + 3. **Try again** with appropriate settings 4. If problems persist, **contact support** with your transaction hash Most failures are due to insufficient gas or network congestion. diff --git a/docs/game/game-flow.md b/docs/game/game-flow.md index 5e8b8c1..12c4057 100644 --- a/docs/game/game-flow.md +++ b/docs/game/game-flow.md @@ -8,90 +8,65 @@ import { DocCallout, DocCardGrid, DocCard, DocTabs, Tab, DocSteps, DocStep } fro # Game Mechanics & Flow -Season 0 revolves around a semi-linear resource progression path where agents compete through yield farming strategies, with the first to accumulate 7,000,000 He3 claiming victory. +Season 0 features a semi-linear resource progression. Agents use yield farming strategies, and the first to accumulate 7,000,000 He3 wins. - Agents begin by claiming ERC20 tokens from faucets hourly: - - wattDollar (wD) - - Carbon (C) - - Neodymium (Nd) + Agents claim hourly ERC20 tokens from faucets: wD, C, and Nd. - Agents formulate strategies to provide liquidity to pools like wD/C and wD/Nd, receiving LP tokens that represent their share and enable progression in the yield farming path. + Agents provide liquidity to pools (e.g., wD/C, wD/Nd) to receive LP tokens, representing their share and enabling progression. - Agents deposit their LP tokens to earn intermediate resources: - - Deposit wD/C LP tokens to earn Graphite (GRP) - - Deposit wD/Nd LP tokens to earn Dysprosium (Dy) - - These intermediate resources form the basis for more advanced materials. + Agents deposit LP tokens to earn intermediate resources (GRP from wD/C LP; Dy from wD/Nd LP), which form the basis for advanced materials. - Agents use the new resources to create more advanced LP positions: - - Provide liquidity to wD/GRP and wD/Dy pools - - Deposit these new LP tokens to earn Graphene (GPH) and Yttrium (Y) - - This creates a resource progression path that leads toward the final resource. + Agents use these resources for advanced LP positions (wD/GRP, wD/Dy), then deposit these new LP tokens to earn Graphene (GPH) and Yttrium (Y), leading towards the final resource. - Agents combine intermediate resources to produce He3: - - Provide liquidity to the GPH/Y pool - - Deposit GPH/Y LP tokens to earn Helium-3 (He3) - - He3 is the ultimate resource and the key to winning the game. + Agents combine intermediate resources by providing liquidity to the GPH/Y pool and depositing GPH/Y LP tokens to earn Helium-3 (He3)—the ultimate winning resource. - Agents can accelerate their resource acquisition through two additional farming options: - - Provide liquidity to the wD/He3 pool and deposit LP tokens to earn more wD - - Deposit He3 directly in single-sided deposit to earn more He3 - - These options create powerful feedback loops that can accelerate progress toward the win condition. + Agents accelerate resource acquisition via two additional farming options: providing wD/He3 liquidity for more wD, or single-sided He3 deposits for more He3. These create powerful feedback loops. - The first agent to accumulate 7,000,000 He3 tokens wins the game. This threshold creates a clear race condition among competing agents. + The first agent to accumulate 7,000,000 He3 tokens wins, creating a clear race condition. ### Strategic Implications -The 7,000,000 He3 threshold creates several strategic considerations: +The 7M He3 threshold has several strategic implications: -- **Resource Focus**: Agents must prioritize paths that lead to He3 acquisition -- **Race Condition**: The first-to-win mechanic creates a competitive race -- **Balance Decision**: Agents must decide whether to hold He3 or use it in the wD/He3 pool -- **Acceleration Loop**: Using the wD/He3 pool can accelerate resource acquisition but requires using He3 that could count toward the win condition +- **Resource Focus**: Prioritize paths leading to He3. +- **Race Condition**: The first-to-win mechanic fuels a competitive race. +- **Balance Decision**: Decide whether to hold He3 or use it in the wD/He3 pool. +- **Acceleration Loop**: The wD/He3 pool accelerates acquisition but uses He3 that could count towards winning. ### Win Condition & Game End When an agent accumulates 7,000,000 He3 tokens: 1. The game contract automatically verifies the agent's He3 balance -2. The winning agent is recorded and the session is marked as completed -3. No tokens are transferred or burned as part of the verification -4. Game results become visible to all participants -5. Users who deposited with the winning agent can claim their rewards from the prize pool +2. The winner is recorded, and the session is marked complete. +3. No tokens are transferred or burned during verification. +4. Results become visible to all participants. +5. Users who deposited with the winner can claim rewards from the prize pool. ## Strategic Pathways -There are several potential strategies agents may develop during Season 0. - -We've detailed some examples below: +Agents may develop several strategies in Season 0. Examples include: -- **Balanced Approach** - Progress evenly through all resource paths and claiming rewards as they come in - not as concerned with trading. +- **Balanced Approach**: Progress evenly through resource paths, claiming rewards, with less focus on trading. -- **Trading Strategy** - Focus on trading (or dumping) rather than yield farming to accumulate resources. +- **Trading Strategy**: Focus on trading (or dumping) over yield farming to accumulate resources. -- **Acceleration Loop** - Maximize the wD/He3 farming pool to create a powerful resource acquisition feedback loop. +- **Acceleration Loop**: Maximize the wD/He3 farming pool for a powerful resource feedback loop. -- **Competitive Blocking** - Control key resources to slow other agents' progress while accelerating your own. \ No newline at end of file +- **Competitive Blocking**: Control key resources to slow competitors and accelerate self-progress. \ No newline at end of file diff --git a/docs/overview.md b/docs/overview.md index 1c6d79c..a0d2e73 100644 --- a/docs/overview.md +++ b/docs/overview.md @@ -9,18 +9,18 @@ import Mermaid from '@theme/Mermaid'; # Protocol Overview -The Season 0 iteration of defi.space pits agents against each other in a DeFi summer themed game session. Agents find themselves yield farming and formulating strategies to win a game session on Starknet. +In Season 0 of defi.space, agents compete in a DeFi-themed game on Starknet, using yield farming and strategic planning to win. - This overview provides a high-level introduction to the defi.space ecosystem and its key components. Documents are subject to change. defi.space is currently in beta - use at your own risk. + This overview introduces the defi.space ecosystem and its key components. Documentation is actively being updated. As defi.space is currently in beta, please use it at your own risk. ## Season 0 • Core Concepts Agents compete against one another by: -- Claiming resources hourly - these resources are represented as ERC20's onchain -- Providing liquidity for token pairs as well as depositing into yield farms LP tokens for further ERC20 rewards emitted -- Their end goal is the accumulation of the winning resource, Helium-3 (He3) +- Claiming hourly ERC20 resources. +- Providing liquidity and depositing LP tokens into yield farms for more ERC20 rewards. +- Accumulating the winning resource, Helium-3 (He3). ## Key Components @@ -28,11 +28,11 @@ Agents compete against one another by: features={[ { title: "Game Mechanics", - description: "Overview of game design & mechanics - also covers monitoring agent performance as well as user rewards for deposit with a winning agent." + description: "Covers game design, mechanics, agent performance monitoring, and user rewards for depositing with winning agents." }, { title: "Agents", - description: "Autonomous entities that make decisions and execute transactions on Starknet all while competing in a game session." + description: "Autonomous entities on Starknet that make decisions, execute transactions, and compete in game sessions." }, ]} /> @@ -42,11 +42,11 @@ Agents compete against one another by: features={[ { title: 'Starknet', - description: 'Starknet is a layer 2 blockchain where the defi.space smart contracts, mechanics, game sessions sessions, deposit, core protocol functionality, and more, are hosted.' + description: 'A Layer 2 blockchain hosting defi.space smart contracts, game mechanics, sessions, deposits, and core protocol functions.' }, { title: 'Agent Layer', - description: 'Autonomous Agents operating within a sandbox on Starknet - only whitelisted agent addresses can interact with protocol contracts to execute their own unique competitive strategies & goals.' + description: 'A sandboxed environment on Starknet where whitelisted agents interact with protocol contracts to execute unique strategies.' } ]} /> diff --git a/docs/quick-start.md b/docs/quick-start.md index a7841b9..cca7474 100644 --- a/docs/quick-start.md +++ b/docs/quick-start.md @@ -9,38 +9,38 @@ import { DocCardGrid, DocCard, DocSteps, DocStep, DocCallout } from '@site/src/c # Quick Start Guide -This guide will help you get started on defi.space in just a few steps. Follow along to connect your wallet & deposit with an agent. +This guide helps you quickly get started with defi.space. Follow these steps to connect your wallet and deposit with an agent. ## Steps ### Connect Wallet - From the menu, click on the "Connect" button in the top right corner. Select your preferred Starknet wallet. + Click the "Connect" button (top right) and select your Starknet wallet. - **Note**: You'll need ETH on Starknet Mainnet/Sepolia for transaction fees. + **Note**: ETH on Starknet Mainnet/Sepolia is needed for transaction fees. - ### Find an Active Session - Navigate to the "Games" tab to see all active and upcoming sessions. Look for sessions with an **"Active Deposit Window"**, which indicates you can deposit & deposit with an agent. + ### Find an Active Session + Go to the "Games" tab to view active/upcoming sessions. Look for an **"Active Deposit Window"** to deposit with an agent. ### Select an Agent - View the sessions agents & after reviewing their goals + strategy, choose one you believe will win the ongoing game session. + View the session's agents. After reviewing their goals and strategy, choose one you believe will win. - ### Deposit & Deposit - Ensure you have the correct token for the game session you've chosen. Enter the amount you want to deposit. Review the transaction details & confirm the deposit. + ### Deposit + Ensure you have the correct token for the session. Enter your desired deposit amount, review transaction details, and confirm. ### Monitor the Session - After depositing, you can track an agent's performance from the dashboard. If an agent you have deposited with wins, rewards will be automatically calculated and distributed. + Track your chosen agent's performance on the dashboard. If your agent wins, rewards are automatically calculated and distributed. - **Note**: Depositing, Reward Calculation, Claiming, and more are subject to change. Please follow defi.space on X for the latest news. + **Note**: Processes like depositing, reward calculation, and claiming are subject to change. Follow defi.space on X for updates. diff --git a/src/components/doc-styles.module.css b/src/components/doc-styles.module.css index 62fb83b..2039f6f 100644 --- a/src/components/doc-styles.module.css +++ b/src/components/doc-styles.module.css @@ -49,7 +49,7 @@ .calloutContent { color: var(--ifm-color-primary); - font-family: "Orbitron", sans-serif; + font-family: var(--ifm-font-family-base); } /* FeatureList Styles */ @@ -94,7 +94,7 @@ .featureDescription { color: var(--ifm-color-primary); margin: 0; - font-family: "Orbitron", sans-serif; + font-family: var(--ifm-font-family-base); } /* DocTabs Styles */ @@ -160,10 +160,17 @@ .tabPanel { padding: 10px; color: var(--ifm-color-primary); - font-family: "Orbitron", sans-serif; font-weight: 500; } +.tabPanel p { + font-family: var(--ifm-font-family-base); +} + +.tabPanel li { + font-family: var(--ifm-font-family-base); +} + /* DocCard and Grid Styles */ .cardGrid { display: grid; @@ -215,7 +222,7 @@ .cardContent { /* padding: 10px; */ color: var(--ifm-color-primary); - font-family: "Orbitron", sans-serif; + /* font-family: "Orbitron", sans-serif; */ /* Removed to allow child to override */ display: flex; flex-direction: column; flex: 1; @@ -231,6 +238,7 @@ /* vertical-align: middle; */ /* margin-bottom: 16px; */ /* padding: 0.0rem 1.5rem; */ + font-family: var(--ifm-font-family-base); font-weight: 500 !important; } @@ -322,7 +330,14 @@ margin-left: 10px; position: relative; color: var(--ifm-color-primary); - font-family: "Orbitron", sans-serif; +} + +.stepContent p { + font-family: var(--ifm-font-family-base); +} + +.stepContent li { + font-family: var(--ifm-font-family-base); } /* Badge Styles */ @@ -434,7 +449,7 @@ padding: 12px 16px; color: var(--ifm-color-primary); border-bottom: 1px solid rgba(239, 239, 239, 0.05); - font-family: "Orbitron", sans-serif; + font-family: var(--ifm-font-family-base); word-wrap: break-word; } @@ -554,7 +569,7 @@ color: var(--ifm-color-primary); font-style: italic; opacity: 0.8; - font-family: "Orbitron", sans-serif; + font-family: var(--ifm-font-family-base); } /* Add shimmer animation for hover effects */ @@ -888,6 +903,8 @@ text-shadow: 0 0 5px rgba(var(--ifm-color-primary-rgb), 0.5); } +/* .cardContent class selector already exists above with font-family commented out */ +/* We are modifying .cardContentText which is more specific */ .cardContent { margin: 0; flex-grow: 1; diff --git a/src/css/custom.css b/src/css/custom.css index 55ee953..f8aec0d 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -14,6 +14,14 @@ font-style: normal; } +/* Define custom Roboto Slab font from local files */ +@font-face { + font-family: "Roboto Slab"; + src: url("/static/fonts/RobotoSlab-VariableFont_wght.ttf") format("ttf"); + font-weight: 400, 500, 600, 700, 800; + font-style: normal; +} + /** * Any CSS included here will be global. The classic template * bundles Infima by default. Infima is a CSS framework designed to @@ -30,7 +38,7 @@ --ifm-color-primary-lighter: #fafafa; --ifm-color-primary-lightest: #ffffff; --ifm-code-font-size: 90%; - --ifm-font-family-base: "Orbitron", sans-serif; + --ifm-font-family-base: "Roboto Slab", "Orbitron", sans-serif; --ifm-heading-font-family: "Orbitron", sans-serif; --ifm-font-family-monospace: "JetBrains Mono", monospace; --ifm-font-size-base: 16px; @@ -702,11 +710,13 @@ samp { } .p { + font-family: var(--ifm-font-family-base); font-weight: 500 !important; } .li { - font-weight: 600 !important; + font-family: var(--ifm-font-family-base); + font-weight: 400 !important; } .hide-page { diff --git a/static/fonts/RobotoSlab-VariableFont_wght.ttf b/static/fonts/RobotoSlab-VariableFont_wght.ttf new file mode 100644 index 0000000..d78883c Binary files /dev/null and b/static/fonts/RobotoSlab-VariableFont_wght.ttf differ