Catalog npm
Back to packageRELEASE DETAILS

0.1.1

npm

98.css

A design system for building faithful recreations of old UIs

csswindows98
Published22 Apr 2020
Direct dependencies8
Transitive dependenciesNot calculated

README

Current package documentation

98.css

npm gzip size

A design system for building faithful recreations of old UIs.

a screenshot of a window with the title 'My First VB4 Program' and two buttons OK and Cancel, styled like a Windows 98 dialog a magnified view showing pixel-perfect borders on a scrollbar and button element

98.css is a CSS file that takes semantic HTML and makes it look pretty. It does not ship with any JavaScript, so it is compatible with your frontend framework of choice.

Be sure to check out XP.css and 7.css as well.

Installation / Usage

The easiest way to use 98.css is to import it from unpkg.

<!DOCTYPE html>
<html>
<head>
  <title>98.css example</title>
  <meta charset="UTF-8" />
  <link rel="stylesheet" href="https://unpkg.com/98.css" />
</head>

<body>
  <div class="window" style="margin: 32px; width: 250px">
    <div class="title-bar">
      <div class="title-bar-text">
        My First VB4 Program
      </div>
    </div>
    <div class="window-body">
      <p>Hello, world!</p>
    </div>
  </div>
</body>
</html>

Alternatively, you can grab 98.css for the releases page or npm.

npm install 98.css

Here is an example of 98.css being used with React, and an example with vanilla JavaScript.

Refer to the documentation page for specific instructions on this library's components.

Developing

First, run npm install.

style.css is where everything happens.

You can use npm start to start a development environment that will watch for file changes and rebuild 98.css, reloading your browser in the process.

You can run a build manually with npm run build. This will write to the dist/ directory.

Issues, Contributing, etc.

Refer to the GitHub issues page to see bugs in my CSS or report new ones. I'd really like to see your pull requests (especially those new to open-source!) and will happily provide code review. 98.css is a fun, silly project and I'd like to make it a fun place to build your open-source muscle.

Thank you for checking my little project out, I hope it brought you some joy today. Consider starring/following along on GitHub and maybe subscribing to more fun things on my twitter. 👋

Publishing

Building the docs site: npm run deploy:docs

Publishing to npm: npm run release

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 8

Native requirements
8 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
ejs
Environment
{
  "local_name": "ejs",
  "alias": false,
  "peer_metadata": null
}
^3.0.2development
dedent
Environment
{
  "local_name": "dedent",
  "alias": false,
  "peer_metadata": null
}
^0.7.0development
mkdirp
Environment
{
  "local_name": "mkdirp",
  "alias": false,
  "peer_metadata": null
}
^1.0.4development
highlight.js
Environment
{
  "local_name": "highlight.js",
  "alias": false,
  "peer_metadata": null
}
^9.18.1development
postcss-calc
Environment
{
  "local_name": "postcss-calc",
  "alias": false,
  "peer_metadata": null
}
^7.0.2development
postcss-inline
Environment
{
  "local_name": "postcss-inline",
  "alias": false,
  "peer_metadata": null
}
^1.2.0development
postcss-inline-svg
Environment
{
  "local_name": "postcss-inline-svg",
  "alias": false,
  "peer_metadata": null
}
^4.1.0development
postcss-css-variables
Environment
{
  "local_name": "postcss-css-variables",
  "alias": false,
  "peer_metadata": null
}
^0.14.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "d5d59e160d660487971db79b1461818844023e4e",
  "tarball": "https://registry.npmjs.org/98.css/-/98.css-0.1.1.tgz",
  "fileCount": 28,
  "integrity": "sha512-pGZoXUy0GryrBWvtcqZ8kE8Foi1hHMopRqcKpqe8LXT/X3AInM86iBWDImw1CTNg5utduozaE9sYxkrboAzjAw==",
  "signatures": [
    {
      "sig": "MEQCIF1DxpBfAe8fqDYnz4HfF8ZXkm8fVZDwUo8zVcVjnQ9hAiBDe5DUmhaEFf5iQFIZmLwmTXTTEVvYc4Vhy5gxpdjqCw==",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 143669,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJen5SNCRA9TVsSAnZWagAAe9QP/iCOXlEn2t7CBDjnKAS+\noWuOtHn8WGab2wxVTBOcQMKv9fdlBwiTjRV55cBaunuKzFqiApNPjidzKzIf\nfy0/QwV+Fvscvyj48p3TfkJYGb0WFV60cwM26qN+fXma4+GwIn/ZSJ3zBH2a\nP3bYJxy2QUVD4AM2XXoAjvHNlbZpaNFek33dPE9P3zz37OfzZNE4BMp1T9mT\nTyS4W5RsllPxn68E97X/deT1N8v6SqWBPpbMrf3GmlPI/MvtsB5BfCbaO8NP\nVrZO54F8JWURJF1AkN0kKPCiXeDD127fj0+QNBMxJ6noUhQ+C3SSLaRunD9n\nnwn4cO2K6ZILlY9G4qEw5wwraEP4nRzh3Q5e7AD4Oa1+fUHZN9RkEZ27CVph\noVct5trapIfcX23Iejsw2s/MIF0F51K023DzIV6wCZsl60UygNjyPZ6/RHw7\nOJn/XpLluroBWAqHCP5YiPcBKH616FDf9jOvHTmLu9tn1n7c4PQADaVrWI0F\n4B9ujq8l+tB7qVpU7kFeAqWV5wKPhKCQSR2jtYngUcnW9uG7oKeymLB2nCTg\nYDy0nGj/Hvaa4pRrxGbigDB5WYTWrJ0jQGvfIzAcMrFSt83g2X/zYLwi4mw5\n6pMhQbn4Qt00eLJwL20SNVEneR2Jdo1rx6mtaqf2meusfQbpLveOqzfA9XNy\nNJFK\r\n=CWhG\r\n-----END PGP SIGNATURE-----\r\n"
}

Repository

PENDING
jdan/98.css

Shared repository data · GitHub

License detected in repository
Not collected

Repository

PENDING
jdan/windows98.css

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:33 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:661130c43ed0d60fa45acfe62c1b8d4ef3f10484e1a8bbe2a3302ec3d9144d78

Other collected versions

0.1.2128 Apr0.1.2012 Mar0.1.1912 Mar0.1.1822 May0.1.1717 Apr0.1.1618 MayView all collected versions →