New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

slightly-better-css

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slightly-better-css

A webpage without any CSS is slightly too ugly, libraries like Bootstrap are way too heavy, and you have too much taste to use the other CSS libraries out there. Slightly Better CSS is a small, simple stylesheet for any project that needs to look just a l

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
0
Created
Source

Slightly Better CSS

A webpage without any CSS is slightly too ugly, libraries like Bootstrap are way too heavy, and you have too much taste to use the other CSS libraries out there. Slightly Better CSS is a small, simple stylesheet for any project that needs to look just a little bit better.

We don't believe in classes or ID's, all our styling is around built-in variables, so you can write simple HTML. At only 7KB, Slightly Better CSS won't weight down your application, and is easily extendable.

📦 Installation

Include the stylesheet in your project directly using the following link:

<link
  rel="stylesheet"
  href="https://printerscanner.github.io/slightly-better-css/slightly-better.css"
/>

Alternatively, use a CDN:

unpkg:

<link
  rel="stylesheet"
  href="https://unpkg.com/browse/slightly-better-css@1.0.1/dist/slightly-better.min.css"
/>

jsDelivr:

<link
  rel="stylesheet"
  href="https://cdn.jsdelivr.net/npm/slightly-better-css@1.0.1/dist/slightly-better.min.css"
/>

Install via npm

You can also install Slightly Better CSS via npm:

npm install slightly-better-css

Then import it into your project:

import "slightly-better-css";

Clone the Repository

Want full control? Clone the repo and make adjustments to the CSS file as needed:

git clone https://github.com/printerscanner/slightly-better-css.git

Download

  • Download slightly-better.css (un-minified)
  • Download slightly-better.min.css (minified)

Customizing

If you like slightly better css but want a custom look, you can copy and paste these variables into your own stylesheet and swap your values.

:root {
  --background-color: #c3c7cf;
  --text-color: #000000;
  --accent-color: #00000f;
  --muted-color: #f6f6f6;
  --font-family: "Neue Montreal", monospace;
  --font-size: larger;
}

Preview

Screenshot

Contributing

If you'd like to contribute to this repository feel free to fork/submit a pull request, and if you have any suggestions feel free to email me at itsprinterscanner@gmail.com.

License

The theme is available as open source under the terms of the MIT License.

Keywords

css

FAQs

Package last updated on 19 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts