Below is a modern CSS design for Craigslist, intended to be used as a user style (e.g., via the userChrome.css file in Firefox or a browser extension like Stylus). This CSS aims to give Craigslist a clean, modern, and user-friendly look while maintaining its core functionality. It includes updated typography, a fresh color scheme, improved spacing, and a more structured layout.
Notes:
- This CSS is designed to work with Craigslist's current HTML structure (as of 2023). If Craigslist updates its site, some selectors may need adjustment.
- To use this, copy the code into your
userChrome.css file (for Firefox) or use a user style manager like Stylus or Stylish.
- This is a CSS-only solution, so it won't add new functionality—it only restyles the existing site.
/* Modern Craigslist Redesign CSS for userChrome.css or Stylus */
/* Target Craigslist domain specifically */
@-moz-document domain("craigslist.org") {
/* Reset and Base Styles */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
font-size: 16px;
line-height: 1.6;
color: #333;
background-color: #f5f6f5;
padding: 20px;
}
a {
text-decoration: none;
color: #007bff;
transition: color 0.2s ease;
}
a:hover {
color: #0056b3;
text-decoration: underline;
}
/* Header Styling */
header, .header {
background-color: #ffffff;
border-bottom: 1px solid #e0e0e0;
padding: 15px 20px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
position: sticky;
top: 0;
z-index: 1000;
}
header h1, .header h1 {
font-size: 24px;
font-weight: 600;
color: #333;
}
header a, .header a {
font-size: 16px;
margin-right: 15px;
}
/* Main Content Container */
#cal, .content, .main {
max-width: 1200px;
margin: 0 auto;
background-color: #ffffff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
margin-top: 20px;
}
/* Navigation and Links */
.breadcrumbs, .nav, .clfooter {
background-color: #f8f9fa;
padding: 10px 15px;
border-radius: 6px;
margin-bottom: 20px;
}
.breadcrumbs a, .nav a, .clfooter a {
font-size: 14px;
color: #555;
margin-right: 10px;
}
.breadcrumbs a:hover, .nav a:hover, .clfooter a:hover {
color: #007bff;
}
/* Listings Styling */
.result-row, .rows .row {
background-color: #ffffff;
border: 1px solid #e9ecef;
border-radius: 6px;
padding: 15px;
margin-bottom: 10px;
transition: box-shadow 0.2s ease;
}
.result-row:hover, .rows .row:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.result-title, .row a {
font-size: 18px;
font-weight: 500;
color: #007bff;
}
.result-price, .price {
font-size: 16px;
color: #28a745;
font-weight: bold;
}
.result-info, .meta {
font-size: 14px;
color: #666;
}
.result-date, .datetime {
font-size: 12px;
color: #999;
}
/* Search Bar */
.querybox, .searchbox {
background-color: #f8f9fa;
padding: 15px;
border-radius: 6px;
margin-bottom: 20px;
}
.querybox input, .searchbox input {
width: 100%;
max-width: 400px;
padding: 10px;
font-size: 16px;
border: 1px solid #ced4da;
border-radius: 4px;
outline: none;
transition: border-color 0.2s ease;
}
.querybox input:focus, .searchbox input:focus {
border-color: #007bff;
box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}
/* Buttons */
button, .btn, input[type="submit"] {
background-color: #007bff;
color: #ffffff;
border: none;
padding: 10px 20px;
font-size: 14px;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.2s ease;
}
button:hover, .btn:hover, input[type="submit"]:hover {
background-color: #0056b3;
}
/* Filters and Categories */
.leftbar, .cats, .filters {
background-color: #f8f9fa;
padding: 15px;
border-radius: 6px;
margin-bottom: 20px;
}
.leftbar a, .cats a, .filters a {
display: block;
padding: 8px 10px;
font-size: 14px;
color: #555;
border-radius: 4px;
transition: background-color 0.2s ease;
}
.leftbar a:hover, .cats a:hover, .filters a:hover {
background-color: #e9ecef;
color: #007bff;
}
/* Posting Page */
.posting, .post {
background-color: #ffffff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.posting h2, .post h2 {
font-size: 22px;
font-weight: 600;
color: #333;
margin-bottom: 15px;
}
.posting label, .post label {
font-size: 14px;
font-weight: 500;
color: #555;
margin-bottom: 5px;
display: block;
}
.posting input, .posting textarea, .post input, .post textarea {
width: 100%;
padding: 10px;
font-size: 14px;
border: 1px solid #ced4da;
border-radius: 4px;
margin-bottom: 15px;
outline: none;
transition: border-color 0.2s ease;
}
.posting input:focus, .posting textarea:focus, .post input:focus, .post textarea:focus {
border-color: #007bff;
box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}
/* Footer */
footer, .clfooter {
background-color: #ffffff;
border-top: 1px solid #e0e0e0;
padding: 15px 20px;
text-align: center;
font-size: 14px;
color: #666;
margin-top: 20px;
}
footer a, .clfooter a {
color: #007bff;
margin: 0 10px;
}
/* Responsive Design */
@media (max-width: 768px) {
body {
padding: 10px;
}
#cal, .content, .main {
padding: 15px;
}
.result-row, .rows .row {
padding: 10px;
}
.result-title, .row a {
font-size: 16px;
}
.result-price, .price {
font-size: 14px;
}
.querybox input, .searchbox input {
max-width: 100%;
}
}
}
Features of This Design:
- Modern Typography: Uses system fonts (
Segoe UI, Helvetica Neue, etc.) for a clean, professional look.
- Color Scheme: A fresh palette with blues (
#007bff) for links/buttons, greens (#28a745) for prices, and neutral grays for backgrounds and text.
- Improved Layout: Adds spacing, shadows, and rounded corners for a more polished appearance.
- Responsive Design: Includes media queries to ensure usability on smaller screens.
- Interactive Elements: Smooth transitions for hover effects on links, buttons, and listings.
- Consistency: Standardizes buttons, inputs, and navigation elements for a cohesive experience.
How to Apply:
-
Firefox (userChrome.css):
- Locate your Firefox profile folder (e.g.,
~/.mozilla/firefox/[profile_name] on Linux/Mac or %APPDATA%\Mozilla\Firefox\Profiles\[profile_name] on Windows).
- Create or edit the
userChrome.css file in the chrome subdirectory.
- Paste the above CSS into the file.
- Restart Firefox.
-
Browser Extensions (Stylus/Stylish):
- Install the Stylus or Stylish extension in your browser.
- Create a new style and paste the above CSS.
- Set the style to apply to URLs on the domain
craigslist.org.
- Save and enable the style.
Limitations:
- This CSS is based on Craigslist's current HTML structure. If Craigslist changes its markup, some selectors may need to be updated.
- This is a visual redesign only; it does not add new features or modify functionality.
- Some elements (e.g., third-party ads) may not be styled perfectly due to their dynamic nature.
Feel free to tweak the colors, spacing, or other properties to match your preferences!