• Stars
    star
    597
  • Rank 72,303 (Top 2 %)
  • Language
    HTML
  • License
    MIT License
  • Created over 5 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🎮 PS1 style CSS Framework, inspired by NES.css

PSone.css

description

Please feel free to submit a pull request, no matter how small. I love getting them.

At the moment there's just a CSS file that you can link to:

<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/98mprice/PSone.css@master/PSone.min.css">

I hope to add some JS eventually to help with progressbars etc.

Reference

Container

From FF7

<div class="container">
  <label class="title">Default</label>
  <p>Kick! Punch! It's all in the mind.</p>
</div>
<div class="container dark">
  <label class="title">dark</label>
  <p>You see, the island is the site of a secret nuclear
   weapons disposal facility.</p>
</div>
<div class="container light">
  <label class="title">light</label>
  <p>Crash, Crash? Are you there Crash? ... Are you there Crash?</p>
</div>

Button

From Tekken 3

<button type="button" class="btn">Normal</button>
<button type="button" class="btn primary">Primary</button>
<button type="button" class="btn success">Success</button>
<button type="button" class="btn warning">Warning</button>
<button type="button" class="btn error">Error</button>

Progress bar

From MGS1

<div class="progress">
  <div class="bar" style="width: 80%"></div>
  <div class="subtitle">Default</div>
</div>
<div class="progress primary">
  <div class="bar" style="width: 100%"></div>
  <div class="subtitle">primary</div>
</div>
<div class="progress success">
  <div class="bar" style="width: 40%"></div>
  <div class="subtitle">success</div>
</div>
<div class="progress warning">
  <div class="bar" style="width: 60%"></div>
  <div class="subtitle">warning</div>
</div>
<div class="progress error">
  <div class="bar" style="width: 20%"></div>
  <div class="subtitle">error</div>
</div>
<div class="progress indeterminate">
  <div class="bar"></div>
  <div class="subtitle">indeterminate</div>
</div>

Radio Button

From the PS1 memory card screen

<label>
  <input type="radio" name="test" value="small" checked>
  <span class="option">Yes
    <span class="click"></span>
  </span>
</label>

Input

From FF7

<div class="field">
  <label>Default</label>
  <input type="text" class="input">
</div>
<div class="field is-inline">
  <label>With placeholder</label>
  <input type="text" class="input" placeholder="Jill Valentine">
</div>

Development

contributions welcome

Fork the project and enter this commands in your terminal

git clone https://github.com/YOUR_GITHUB_USERNAME/PSone.css.git
cd PSone.css
npm install

Storybook

For visual testing, this project contains storybook which you can run by doing the next command

$ npm run storybook

Demo

The demo page is located in index.html. If you want to change something there, you can use the next command

$ npm run dev

More Repositories

1

ace-attorney-reddit-bot

👨🏼‍⚖️ reddit bot that turns comment chains into ace attorney scenes
Python
772
star
2

pyAudioClassification

🎶 dead simple audio classification
Python
130
star
3

sponsorship_remover

🚫 adblock for in-video sponsorships
JavaScript
114
star
4

sneaker-generator

👟 DCGAN that generates shoes
Python
83
star
5

suspicious-github-themer

expect some strange glances if you use this at work
JavaScript
58
star
6

totally_humans

rnn trained on r/totallynotrobots 🤖
Python
24
star
7

emoji-pasta-rnn

rnn trained on r/emojipasta
Python
12
star
8

findanewyoutuber

🕵️‍♀️ personality based search engine to find youtubers
Vue
11
star
9

easy_nano

🥦 send and receive nano with 2 simple functions
Python
11
star
10

death-grips-lyrics-generator

rnn that generates ride lyrics
Python
5
star
11

lstm-word-level-rnn.js

Tensorflow.js implementation of word level LSTM RNN
JavaScript
5
star
12

sponsorship_remover_private

JavaScript
4
star
13

smash-battle-lobby

HTML
4
star
14

sponsorship_remover_temp_model

3
star
15

vue-nano

QR code nano reader component for Vue.js
JavaScript
2
star
16

4d-predict-bug-repo

Python
1
star
17

98mprice.github.io

HTML
1
star
18

tagshi

Non-traditional Search Engine
Vue
1
star
19

fantano-sentiment-analysis

A RNN that does sentiment analysis on a dataset of ~290 reviews from Anthony Fantano, with their respective scores as the target.
Python
1
star
20

pokemon-generator

generates pokemon by slicing existing sprites together
JavaScript
1
star
21

earcut-3d

Go library for 3D earcut triangulation
Go
1
star
22

seinfeld-rnn

word level rnn that generates seinfeld scripts
Python
1
star
23

vue-cascading-signup

Simple, clean fullscreen cascading Vue.js component. Designed for sign up forms.
Vue
1
star