Skip to content
The Chat Archive
gpt-3.5-turbo-0301· OpenAI WildChat-4.8M (AI2)

Generate a CSS for the old Functioner site. It should have a shade of saturated blue for…

  1. User

    Generate a CSS for the old Functioner site. It should have a shade of saturated blue for the color of the background, the logo header on the top left, the navbar at the left and the main content at the right with a white background and black text. Also, no background for the buttons, but their text will change colors.

  2. Assistant

    /* CSS for old Functioner site */

    /* Whole page background color */ body { background-color: #4d4dff; }

    /* Logo header on top left */ header { position: absolute; top: 0; left: 0; margin: 20px; }

    /* Navbar at the left */ .sidenav { position: absolute; top: 120px; left: 0; width: 120px; background-color: #333; padding: 10px; }

    /* Navbar button style */ .item { background-color: transparent; border: none; padding: 10px; margin: 5px; text-align: center; } .item a { color: #fff; text-decoration: none; font-size: 16px; }

    /* Main content at the right with white background and black text */ main { position: absolute; top: 120px; right: 0; width: calc(100% - 140px); background-color: #fff; color: #000; padding: 20px; }

    /* Button text color on hover */ .item a:hover { color: #4d4dff; }