Skip to content
/ ncss Public

Neocities default styling as a classless CSS stylesheet.

Notifications You must be signed in to change notification settings

lime360/ncss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nCSS

Build Install directly with Stylus

Neocities default styling as a classless CSS stylesheet.

Installation

<!-- In an HTML <link> tag -->
<link rel="stylesheet" href="http://ncss.lime360.serv00.net/n.min.css">
<!-- In a stylesheet -->
<style>
@import url("http://ncss.lime360.serv00.net/n.min.css");
</style>

You can also place n.css in your site!

Building

These is a SASS version at n.scss, it's basically the same thing as the original CSS, but with additional variables to customize your stylesheet.

Simply install SASS and run npm run build to generate minified CSS in the dist/ folder.

Hosting the build server

The build server is a single PHP file that requires and external source for the regular CSS (you can use any filehost you want, but I personally prefer hosting it on GitHub or any other Git hosting service) and the minified one in the root directory.

You must also upload either .htaccess for Apache or nginx.conf for nginx to the root, or else the server won't work properly.

About

Neocities default styling as a classless CSS stylesheet.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published