dvlsc000 / EmergingTechnologies

0 stars 0 forks source link

DESIGN THE INTERFACE #22

Open dvlsc000 opened 3 weeks ago

dvlsc000 commented 3 weeks ago

style.css

Style the interface with CSS for readability and simplicity.

dvlsc000 commented 3 weeks ago

Global and Body Styling

  1. *Global reset ( )**

    • The universal selector ( * ) sets margin and padding to zero and applies box-sizing.
    • Specifies a modern, sans-serif font stack and ensuring a professional look.
  2. Body Style

    • Centers the chat interface using display: flex, justify-content: center, and align-items: center. Set a light background and applies dark gray text color for comfort reading.
dvlsc000 commented 3 weeks ago

Chat Container

  1. Container Styling

    • Sets a fixed width, with responsive max-width for smaller screens.
    • Gives container white background, padding, and a rounded border radius.
  2. Title (h1)

    • Increases font size and centers text.
    • Uses blue color to match the branding color of buttons and user messages.
dvlsc000 commented 3 weeks ago

Chat Box

  1. Chat Box Container

    • Fixed height with vertical scroll to handle long conversations.
    • Adds padding and a light background color with rounded corners.
  2. Message Styling

    • Each message is styled as a p tag, with padding and rounded corners for chat bubble effect.
    • Sets line height and gives different color for user and eliza's messages.
    • use nth-child(odd) and nth-child(even) to alternate message background colors automatically.
dvlsc000 commented 3 weeks ago

User Input Area

Input Box

dvlsc000 commented 3 weeks ago

Buttons

  1. General Button Styling

    • Applies a blue background, white text, padding and rounded corners.
    • Sets cursor: pointer for interactivity and a smooth transition effect on hover.
    • Hover state: changes background to darker blue.
  2. Reset Button

    • Applies rounded styling for a circular appearance.
dvlsc000 commented 3 weeks ago

Scrollbar Customization

Scrollbar Styling

dvlsc000 commented 2 weeks ago

Explanation of Enchantments

Glassmorphims Design

Gradient Background

Custom Font

Icon Buttons

Animations

Responsive Design

Improved Message Styling