1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-01-17 05:38:15 +01:00

👍 reboot.cssを導入

This commit is contained in:
BcRikko 2018-11-25 18:11:18 +09:00
parent db0ac66528
commit 434abd0bad
12 changed files with 764 additions and 291 deletions

View File

@ -1,4 +1,362 @@
/*!
* NES.css v0.0.2(alpha)
*/
/*!
* Bootstrap Reboot v4.1.3 (https://getbootstrap.com/)
* Copyright 2011-2018 The Bootstrap Authors
* Copyright 2011-2018 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
*/
@import url("https://fonts.googleapis.com/css?family=Press+Start+2P");
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
font-family: sans-serif;
line-height: 1.15;
-webkit-text-size-adjust: 100%;
-ms-overflow-style: scrollbar;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
@-ms-viewport {
width: device-width;
}
article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
display: block;
}
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, Noto Sans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
color: #212529;
text-align: left;
background-color: #fff;
}
[tabindex="-1"]:focus {
outline: 0 !important;
}
hr {
box-sizing: content-box;
height: 0;
overflow: visible;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 0;
margin-bottom: 0.5rem;
}
p {
margin-top: 0;
margin-bottom: 1rem;
}
abbr[title],
abbr[data-original-title] {
-webkit-text-decoration: underline dotted;
text-decoration: underline;
text-decoration: underline dotted;
cursor: help;
border-bottom: 0;
}
address {
margin-bottom: 1rem;
font-style: normal;
line-height: inherit;
}
ol,
ul,
dl {
margin-top: 0;
margin-bottom: 1rem;
}
ol ol,
ul ul,
ol ul,
ul ol {
margin-bottom: 0;
}
dt {
font-weight: 700;
}
dd {
margin-bottom: 0.5rem;
margin-left: 0;
}
blockquote {
margin: 0 0 1rem;
}
b,
strong {
font-weight: bolder;
}
small {
font-size: 80%;
}
sub,
sup {
position: relative;
font-size: 75%;
line-height: 0;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
a {
color: #007bff;
text-decoration: none;
background-color: transparent;
}
a:hover {
color: #0056b3;
text-decoration: underline;
}
a:not([href]):not([tabindex]) {
color: inherit;
text-decoration: none;
}
a:not([href]):not([tabindex]):hover,
a:not([href]):not([tabindex]):focus {
color: inherit;
text-decoration: none;
}
a:not([href]):not([tabindex]):focus {
outline: 0;
}
pre,
code,
kbd,
samp {
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
font-size: 1em;
}
pre {
margin-top: 0;
margin-bottom: 1rem;
overflow: auto;
-ms-overflow-style: scrollbar;
}
figure {
margin: 0 0 1rem;
}
img {
vertical-align: middle;
border-style: none;
}
svg {
overflow: hidden;
vertical-align: middle;
}
table {
border-collapse: collapse;
}
caption {
padding-top: 0.75rem;
padding-bottom: 0.75rem;
color: #6c757d;
text-align: left;
caption-side: bottom;
}
th {
text-align: inherit;
}
label {
display: inline-block;
margin-bottom: 0.5rem;
}
button {
border-radius: 0;
}
input,
button,
select,
optgroup,
textarea {
margin: 0;
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
button,
input {
overflow: visible;
}
button,
select {
text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
padding: 0;
border-style: none;
}
button:focus {
outline: 1px dotted;
outline: 5px auto -webkit-focus-ring-color;
}
input[type="radio"],
input[type="checkbox"] {
box-sizing: border-box;
padding: 0;
}
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
-webkit-appearance: listbox;
}
textarea {
overflow: auto;
resize: vertical;
}
fieldset {
min-width: 0;
padding: 0;
margin: 0;
border: 0;
}
legend {
display: block;
width: 100%;
max-width: 100%;
padding: 0;
margin-bottom: 0.5rem;
font-size: 1.5rem;
line-height: inherit;
color: inherit;
white-space: normal;
}
progress {
vertical-align: baseline;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
}
[type="search"] {
outline-offset: -2px;
-webkit-appearance: none;
}
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
::-webkit-file-upload-button {
font: inherit;
-webkit-appearance: button;
}
output {
display: inline-block;
}
summary {
display: list-item;
cursor: pointer;
}
template {
display: none;
}
[hidden] {
display: none !important;
}
html,
body,
pre,
code,
kbd,
samp {
font-family: "Press Start 2P";
}
body {
font-size: 16px;
color: #212529;
background-color: #fff;
}
.btn {
color: black;
}
/*# sourceMappingURL=nes.css.map */

File diff suppressed because one or more lines are too long

14
css/nes.min.css vendored
View File

@ -1,5 +1,17 @@
@charset "utf-8";/*!
* NES.css v0.0.2(alpha)
*//*!
* Bootstrap Reboot v4.1.3 (https://getbootstrap.com/)
* Copyright 2011-2018 The Bootstrap Authors
* Copyright 2011-2018 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
*/@import url(https://fonts.googleapis.com/css?family=Press+Start+2P);*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}@-ms-viewport{width:device-width}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline;text-decoration:underline dotted;cursor:help;border-bottom:0}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}body,code,html,kbd,pre,samp{font-family:"Press Start 2P"}body{font-size:16px;color:#212529;background-color:#fff}.btn{color:#000}/*!
* NES.css v0.0.2(alpha)
*/
*//*!
* Bootstrap Reboot v4.1.3 (https://getbootstrap.com/)
* Copyright 2011-2018 The Bootstrap Authors
* Copyright 2011-2018 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
*/*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}@-ms-viewport{width:device-width}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline;text-decoration:underline dotted;cursor:help;border-bottom:0}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}// Override reboot.scss html,body,code,kbd,pre,samp{font-family:$font-family}body{font-size:$font-size;color:$base-color;background-color:$background-color}

View File

@ -46,293 +46,11 @@
</head>
<body>
<header class="header">
<h1 class="title -is-1">NES.css</h1>
<p class="subtitle -is-6">NES-style CSS Framework.</p>
<header>
<h1>NES.css</h1>
<p>NES-style CSS Framework.</p>
</header>
<a
class="github-link"
href="https://github.com/BcRikko/NES.css"
target="_blank"
>
<p class="balloon">Fork<br />me on<br />GitHub</p>
<div class="octocat"></div>
</a>
<main>
<section class="container">
<h2 class="title -is-3">Form</h2>
<section class="container">
<h3 class="title -is-4">Buttons</h3>
<h4 class="title -is-5">sizes</h4>
<a class="button -small">small</a> <a class="button">normal</a>
<a class="button -medium">medium</a>
<a class="button -large">large</a>
<h4 class="title -is-5">colors</h4>
<a class="button -primary">primary</a>
<a class="button -success">success</a>
<a class="button -warning">warning</a>
<a class="button -error">error</a>
</section>
<section class="container">
<h3 class="title -is-4">Radios</h3>
<h4 class="title -is-5">rows</h4>
<div class="radios">
<label
><input
class="radio"
type="radio"
name="radios1"
checked
/>FIGHT</label
>
<label
><input class="radio" type="radio" name="radios1" />SPELL</label
>
<label
><input class="radio" type="radio" name="radios1" />ITEM</label
>
<label
><input class="radio" type="radio" name="radios1" />RUN</label
>
</div>
<h4 class="title -is-5">columns</h4>
<div class="radios -columns">
<label
><input
class="radio"
type="radio"
name="radios2"
checked
/>FIGHT</label
>
<label
><input class="radio" type="radio" name="radios2" />SPELL</label
>
<label
><input class="radio" type="radio" name="radios2" />ITEM</label
>
<label
><input class="radio" type="radio" name="radios2" />RUN</label
>
</div>
</section>
<section class="container">
<h3 class="title -is-4">Checkbox</h3>
<label><input class="checkbox" type="checkbox" checked />agree</label>
</section>
<section class="container">
<h3 class="title -is-4">Input</h3>
<h4 class="title -is-5">field</h4>
<div class="field">
<label class="label">field</label>
<input class="input" type="text" placeholder="hello nes" />
</div>
<h4 class="title -is-5">inline field</h4>
<div class="field -inline">
<label class="label">inline field</label>
<input class="input" type="text" placeholder="hello nes" />
</div>
<div class="field -inline">
<label class="label">success</label>
<input
class="input -success"
type="text"
placeholder="hello nes"
value="good"
/>
</div>
<div class="field -inline">
<label class="label">warning</label>
<input
class="input -warning"
type="text"
placeholder="hello nes"
value="warn..."
/>
</div>
<div class="field -inline">
<label class="label">error</label>
<input
class="input -error"
type="text"
placeholder="hello nes"
value="error..."
/>
</div>
</section>
<section class="container">
<h3 class="title -is-4">Action group</h3>
<h4 class="title -is-5">default</h4>
<div class="group">
<button type="button" class="button -primary">submit</button>
<button type="button" class="button">cancel</button>
</div>
<h4 class="title -is-5">center</h4>
<div class="group -center">
<button type="button" class="button -primary">submit</button>
<button type="button" class="button">cancel</button>
</div>
<h4 class="title -is-5">right</h4>
<div class="group -right">
<button type="button" class="button -primary">submit</button>
<button type="button" class="button">cancel</button>
</div>
</section>
</section>
<section class="container">
<h2 class="title -is-3">Container</h2>
<h3 class="title -is-4">normal</h3>
<section class="container">
<p>Good morning. Thou hast had a good night's sleep I hope.</p>
</section>
<h3 class="title -is-4">dark theme</h3>
<section class="container _dark">
<p>Good morning. Thou hast had a good night's sleep I hope.</p>
</section>
<h3 class="title -is-4">with title</h3>
<section class="container _dark -with-title">
<label class="title">Command</label>
<p>Good morning. Thou hast had a good night's sleep I hope.</p>
</section>
<h3 class="title -is-4">align <code>(-center, -right)</code></h3>
<section class="container _dark -with-title -center">
<label class="title">Command</label>
<p>Good morning. Thou hast had a good night's sleep I hope.</p>
</section>
</section>
<section class="container">
<h2 class="title -is-3">Description</h2>
<h3 class="title -is-4">description list</h3>
<dl class="description">
<dt>Description list</dt>
<dd>Lorem ipsum dolor sit amet</dd>
<dt>Consectetur</dt>
<dd>adipiscing elit</dd>
<dt>sed do eiusmod</dt>
<dd>tempor incididunt ut labore et dolore magna aliqua</dd>
</dl>
<h3 class="title -is-4">with colon</h3>
<dl class="description">
<dt class="-colon">Description list</dt>
<dd>Lorem ipsum dolor sit amet</dd>
<dt class="-colon">Consectetur</dt>
<dd>adipiscing elit</dd>
<dt class="-colon">sed do eiusmod</dt>
<dd>tempor incididunt ut labore et dolore magna aliqua</dd>
</dl>
<h3 class="title -is-4">e.g. Dragon Quest-status</h3>
<section class="container _dark dq-like-grid">
<section class="overview container _dark -with-title -center _dark">
<label class=" title">ENlX</label>
<p>Hero</p>
<dl class="description">
<dt class="-colon">LV</dt>
<dd class="_right">10</dd>
<dt class="-colon">HP</dt>
<dd class="_right">58</dd>
<dt class="-colon">MP</dt>
<dd class="_right">18</dd>
</dl>
</section>
<section class="equipment container _dark">
<dl class="description">
<dt>E</dt>
<dd>SWORD</dd>
<dt>E</dt>
<dd>CLOTHES</dd>
<dt>E</dt>
<dd>POT LID</dd>
<dt>E</dt>
<dd>AMULET</dd>
</dl>
</section>
<section class="status container _dark">
<dl class="description">
<dt class="-colon">STRENGTH</dt>
<dd class="_right">15</dd>
<dt class="-colon">AGILITY</dt>
<dd class="_right">36</dd>
<dt class="-colon">VITALITY</dt>
<dd class="_right">41</dd>
<dt class="-colon">INTELLIGENCE</dt>
<dd class="_right">7</dd>
<dt class="-colon">LUCK</dt>
<dd class="_right">6</dd>
<dt class="-colon">MAX HP</dt>
<dd class="_right">81</dd>
<dt class="-colon">MAX MP</dt>
<dd class="_right">50</dd>
<dt class="-colon">ATTACK POWER</dt>
<dd class="_right">57</dd>
<dt class="-colon">DEFENSE POWER</dt>
<dd class="_right">87</dd>
<dt class="">EXP</dt>
<dd class="_right">1316</dd>
</dl>
</section>
</section>
</section>
<section class="container">
<h2 class="title -is-3">Balloons</h2>
<div class="conversation">
<div class="avatar -left">
<img src="https://avatars0.githubusercontent.com/u/5305599?s=100" />
</div>
<div class="balloon -left"><p>Hello NES.css</p></div>
</div>
<div class="conversation">
<div class="balloon -right">
<p>Good morning. Thou hast had a good night's sleep I hope.</p>
</div>
<div class="avatar -right">
<img src="https://avatars0.githubusercontent.com/u/5305599?s=100" />
</div>
</div>
</section>
<section class="container">
<h2 class="title -is-3">Icons</h2>
<h3 class="title -is-4">sns</h3>
<a href="https://twitter.com/bc_rikko" target="_blank">
<i class="icon -twitter"></i> <i class="icon -medium -twitter"></i>
<i class="icon -large -twitter"></i>
</a>
<i class="icon -facebook"></i> <i class="icon -medium -facebook"></i>
<i class="icon -large -facebook"></i>
<a href="https://github.com/BcRikko" target="_blank">
<i class="icon -github"></i> <i class="icon -medium -github"></i>
<i class="icon -large -github"></i>
</a>
<a href="https://www.youtube.com/user/bcrikko" target="_blank">
<i class="icon -youtube"></i> <i class="icon -medium -youtube"></i>
<i class="icon -large -youtube"></i>
</a>
<h3 class="title -is-4">reaction</h3>
<i class="icon -heart"></i> <i class="icon -medium -heart"></i>
<i class="icon -large -heart"></i> <i class="icon -star"></i>
<i class="icon -medium -star"></i> <i class="icon -large -star"></i>
<i class="icon -like"></i> <i class="icon -medium -like"></i>
<i class="icon -large -like"></i>
</section>
</main>
<button type="button" class="btn">normal</button>
</body>
</html>

View File

@ -1,6 +1,6 @@
{
"name": "nes.css",
"version": "0.0.1",
"name": "NES.css",
"version": "0.0.2",
"description": "NES.css is NES-style CSS Framework.",
"scripts": {
"watch": "npm run build:sass -- --watch",

5
scss/base/_index.scss Normal file
View File

@ -0,0 +1,5 @@
@charset "utf-8";
@import "reboot.scss";
@import "variables.scss";
@import "generic.scss";

16
scss/base/generic.scss Normal file
View File

@ -0,0 +1,16 @@
// Override reboot.scss
html,
body,
pre,
code,
kbd,
samp {
font-family: $font-family;
}
body {
font-size: $font-size;
color: $base-color;
background-color: $background-color;
}

341
scss/base/reboot.scss Normal file
View File

@ -0,0 +1,341 @@
/*!
* Bootstrap Reboot v4.1.3 (https://getbootstrap.com/)
* Copyright 2011-2018 The Bootstrap Authors
* Copyright 2011-2018 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
*/
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
font-family: sans-serif;
line-height: 1.15;
-webkit-text-size-adjust: 100%;
-ms-overflow-style: scrollbar;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
@-ms-viewport {
width: device-width;
}
article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
display: block;
}
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Helvetica Neue", Arial, Noto Sans, sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
color: #212529;
text-align: left;
background-color: #fff;
}
[tabindex="-1"]:focus {
outline: 0 !important;
}
hr {
box-sizing: content-box;
height: 0;
overflow: visible;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 0;
margin-bottom: 0.5rem;
}
p {
margin-top: 0;
margin-bottom: 1rem;
}
abbr[title],
abbr[data-original-title] {
-webkit-text-decoration: underline dotted;
text-decoration: underline;
text-decoration: underline dotted;
cursor: help;
border-bottom: 0;
}
address {
margin-bottom: 1rem;
font-style: normal;
line-height: inherit;
}
ol,
ul,
dl {
margin-top: 0;
margin-bottom: 1rem;
}
ol ol,
ul ul,
ol ul,
ul ol {
margin-bottom: 0;
}
dt {
font-weight: 700;
}
dd {
margin-bottom: 0.5rem;
margin-left: 0;
}
blockquote {
margin: 0 0 1rem;
}
b,
strong {
font-weight: bolder;
}
small {
font-size: 80%;
}
sub,
sup {
position: relative;
font-size: 75%;
line-height: 0;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
a {
color: #007bff;
text-decoration: none;
background-color: transparent;
}
a:hover {
color: #0056b3;
text-decoration: underline;
}
a:not([href]):not([tabindex]) {
color: inherit;
text-decoration: none;
}
a:not([href]):not([tabindex]):hover,
a:not([href]):not([tabindex]):focus {
color: inherit;
text-decoration: none;
}
a:not([href]):not([tabindex]):focus {
outline: 0;
}
pre,
code,
kbd,
samp {
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
"Courier New", monospace;
font-size: 1em;
}
pre {
margin-top: 0;
margin-bottom: 1rem;
overflow: auto;
-ms-overflow-style: scrollbar;
}
figure {
margin: 0 0 1rem;
}
img {
vertical-align: middle;
border-style: none;
}
svg {
overflow: hidden;
vertical-align: middle;
}
table {
border-collapse: collapse;
}
caption {
padding-top: 0.75rem;
padding-bottom: 0.75rem;
color: #6c757d;
text-align: left;
caption-side: bottom;
}
th {
text-align: inherit;
}
label {
display: inline-block;
margin-bottom: 0.5rem;
}
button {
border-radius: 0;
}
input,
button,
select,
optgroup,
textarea {
margin: 0;
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
button,
input {
overflow: visible;
}
button,
select {
text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
padding: 0;
border-style: none;
}
button:focus {
outline: 1px dotted;
outline: 5px auto -webkit-focus-ring-color;
}
input[type="radio"],
input[type="checkbox"] {
box-sizing: border-box;
padding: 0;
}
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
-webkit-appearance: listbox;
}
textarea {
overflow: auto;
resize: vertical;
}
fieldset {
min-width: 0;
padding: 0;
margin: 0;
border: 0;
}
legend {
display: block;
width: 100%;
max-width: 100%;
padding: 0;
margin-bottom: 0.5rem;
font-size: 1.5rem;
line-height: inherit;
color: inherit;
white-space: normal;
}
progress {
vertical-align: baseline;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
}
[type="search"] {
outline-offset: -2px;
-webkit-appearance: none;
}
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
::-webkit-file-upload-button {
font: inherit;
-webkit-appearance: button;
}
output {
display: inline-block;
}
summary {
display: list-item;
cursor: pointer;
}
template {
display: none;
}
[hidden] {
display: none !important;
}

7
scss/base/variables.scss Normal file
View File

@ -0,0 +1,7 @@
// Font
@import url("https://fonts.googleapis.com/css?family=Press+Start+2P");
$font-family: "Press Start 2P" !default;
$font-size: 16px !default;
$base-color: #212529;
$background-color: #fff;

View File

@ -0,0 +1,3 @@
@charset "utf-8";
@import "button.scss";

View File

@ -0,0 +1,4 @@
.btn {
// dummy
color: black;
}

View File

@ -3,3 +3,6 @@
/*!
* NES.css v0.0.2(alpha)
*/
@import "base/_index.scss";
@import "elements/_index.scss";