npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

antibase-css

v0.1.1

Published

anti css(sass) boilerplate set

Readme

antibase-css v0.1.1

This module is web frontend sass library

feature

  • sass modules
  • utility class(margin align text mediaqueries)

setting variable

html type

  • $use_html5 true(default) or false
  • $reset_type "reset"(default) or "normalize"

grid system

  • $content-width: 1000px
  • $desktop-width: $content-width
  • $gutter-width: 20px
  • $sp-width: 640px

margin

  • $tablet-inner-margin: 10px
  • $sp-inner-margin: 10px

font

  • $baseFontSizeNum: 16
  • $baseFontSize: $baseFontSizeNum + px
  • $baseFontFamily: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif

color

  • $bodyBgColor: #fff
  • $baseFontColor: #000
  • $linkColor: $baseFontColor
  • $linkColor-hover: $baseFontColor
  • $baseColor1: #663300
  • $baseColor2: lighten($baseColor1, 10%)
  • $mainColor1: #1983f0
  • $mainColor2: lighten($mainColor1, 10%)
  • $subColor1: #1983f0
  • $subColor2: lighten($subColor1, 10%)

color name

$white : #fff $black : #000

red

$lightRed: #ff6d72 $red: #ff3135 $darkRed: #AB2520

green

$lightGreen: #f0ffcf $green: #8fc31f $darkGreen: #5b8a10

blue

$lightBlue: #eef2f8 $blue: #2253b4 $darkBlue: #4e6c8c

orange

$lightOrange: #ffc400 $orange: #ffc400 $darkOrange: #ff7200

pink

$lightPink: #ffacd1 $pink: #ff4a9b $darkPink: #be5254

purple

$lightPurple: #7347b6 $purple: #7347b6 $darkPurple: #4e6c8c

yellow

$lightYellow: #f4e28e $yellow: #fad704 $darkYellow: #faca6e

gray

$lightGray: #a2a2a2 $gray: #999 $darkGray: #565656

brown

$lightBrown: #59380b $brown: #38210e $darkBrown: #2c1d06

ocher (黄土色)

$lightOcher: #dbb542 $ocher: #dbb542 $darkOcher: #9a8032

and more support browser flag($support-ie6, $support-ie7, $support-ie8, etc...)

utility classes

align

  • u-align--left
  • u-align--center
  • u-align--right
  • u-align--vertical-middle
  • u-align--vertical-base

device

  • u-only--pc
  • u-only--sp
  • u-not--pc
  • u-not--sp
  • u-inner--tablet
    • margin left & right $tablet-inner-margin
  • u-inner--sp
    • margin left & right $sp-inner-margin

margin

  • u-mgt--(0 ~ 100 step 5)
  • u-mgb--(0 ~ 100 step 5)
  • u-mgv--(0 ~ 100 step 5)
  • u-mgl--(0 ~ 100 step 5)
  • u-mgr--(0 ~ 100 step 5)
  • u-mgh--(0 ~ 100 step 5)

text

  • u-txt--strong
  • u-txt--small

install

npm install --save-dev antibase-css

usage

# css/style.sass
@import "../node_modules/antibase-css/sass/antibase"

mixin

device

  • =break($width)
  • =tablet
  • =smartphone

utility

  • =clrfx
  • =absorb

column

  • =row
  • =col($num)
  • =twoCol
  • =twoColFixed
  • =twoColFixedRight
  • =twoColFluid

for IE

  • =innner-block
  • =table-cell($num)

css3

  • =opacity($num)
  • =rem($fontsize, $base: $baseFontSizeNum)
  • =linkListArrow($size: 10px, $right: 10px, $border-size: 2px, $color: #333)

replace images

  • =replaceImg($url, $width, $height, $sp: 0)
  • =replaceImgHover($url, $width, $height, $sp: 0)