mirror of
https://github.com/NigelOToole/pixel-borders.git
synced 2025-08-29 08:40:31 +02:00
Add docs folder for github pages
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,6 +2,7 @@
|
||||
node_modules
|
||||
|
||||
# Compiled output
|
||||
/dist
|
||||
/.tmp
|
||||
/zip
|
||||
|
||||
|
48
docs/index.html
Normal file
48
docs/index.html
Normal file
@@ -0,0 +1,48 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Pixel borders - Creates pixelated borders on html elements</title>
|
||||
|
||||
<link rel="stylesheet" href="styles/site.css">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Cutive+Mono|Lato:300,400">
|
||||
|
||||
<link rel="stylesheet" href="styles/pixel-borders.css">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Press+Start+2P">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="fullwidth fullwidth--lg">
|
||||
<div class="container">
|
||||
|
||||
<h2>Basic examples</h2>
|
||||
<div class="pixel-borders pixel-borders--1">Pixel border 1</div>
|
||||
<div class="pixel-borders pixel-borders--1 pixel-borders--1-inset">Pixel inset 1</div>
|
||||
<br>
|
||||
|
||||
<div class="pixel-borders pixel-borders--2">Pixel border 2</div>
|
||||
<div class="pixel-borders pixel-borders--2-inset">Pixel inset 2</div>
|
||||
<br><br>
|
||||
|
||||
<h2>Colour coded examples</h2>
|
||||
<button class="pixel-borders pixel-box--light">Pixel light</button>
|
||||
<button class="pixel-borders pixel-box--primary">Pixel primary</button>
|
||||
<button class="pixel-borders pixel-box--success">Pixel success</button>
|
||||
<button class="pixel-borders pixel-box--warning">Pixel warning</button>
|
||||
<button class="pixel-borders pixel-box--error">Pixel error</button>
|
||||
<br><br>
|
||||
|
||||
<h2>Customisation examples</h2>
|
||||
<button class="pixel-borders pixel-box--light-custom">Custom inset</button>
|
||||
<button class="pixel-borders pixel-box--primary-custom">No inset</button>
|
||||
<button class="pixel-borders pixel-box--success-custom">Highlight</button>
|
||||
<button class="pixel-borders pixel-box--warning-custom">Inset & Highlight</button>
|
||||
<button class="pixel-borders pixel-box--error-custom">Custom border</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
444
docs/styles/pixel-borders.css
Normal file
444
docs/styles/pixel-borders.css
Normal file
File diff suppressed because one or more lines are too long
535
docs/styles/site.css
Normal file
535
docs/styles/site.css
Normal file
File diff suppressed because one or more lines are too long
@@ -15,7 +15,7 @@ const isDev = !isProd && !isTest;
|
||||
|
||||
const paths = {
|
||||
src: 'src',
|
||||
dest: 'dist',
|
||||
dest: 'docs',
|
||||
tmp: '.tmp',
|
||||
gulp: './tasks/gulp'
|
||||
};
|
||||
|
Reference in New Issue
Block a user