Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add new fixes
* Fix button element discrepencies from browser to browser
* Remove Firefox red frame when input element is invalid
* Fix version number in files
  • Loading branch information
aharvet committed Mar 1, 2021
commit e7f421803d458ba835962343b652d42933995162
11 changes: 10 additions & 1 deletion minireset.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */
/*! minireset.css v0.0.8 | MIT License | github.com/jgthms/minireset.css */
html,
body,
p,
Expand Down Expand Up @@ -40,6 +40,15 @@ ul {
list-style: none;
}

button {
font-size: 13px;
font-family: inherit;
}

input:invalid {
box-shadow: none;
}

button,
input,
select {
Expand Down
2 changes: 1 addition & 1 deletion minireset.css.lit.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { css } from 'lit-element';

var minireset_min = css`/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}ul{list-style:none}button,input,select{margin:0}html{box-sizing:border-box}*,*::before,*::after{box-sizing:inherit}img,video{height:auto;max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}`;
var minireset_min = css`/*! minireset.css v0.0.8 | MIT License | github.com/jgthms/minireset.css */html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}ul{list-style:none}button{font-size:13px;font-family:inherit}input:invalid{box-shadow:none}button,input,select{margin:0}html{box-sizing:border-box}*,*::before,*::after{box-sizing:inherit}img,video{height:auto;max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}`;

export { minireset_min as minireset };
2 changes: 1 addition & 1 deletion minireset.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion minireset.sass
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */
/*! minireset.css v0.0.8 | MIT License | github.com/jgthms/minireset.css */
// Blocks
html,
body,
Expand Down Expand Up @@ -41,6 +41,13 @@ ul
list-style: none

// Form
button
font-size: 13px
font-family: inherit

input:invalid
box-shadow: none

button,
input,
select
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "minireset.css",
"version": "0.0.7",
"version": "0.0.8",
"description": "A tiny modern CSS reset",
"main": "minireset.css",
"scripts": {
Expand Down