mfbs

CSS microframework
git clone https://git.ce9e.org/mfbs.git

commit
0b90edd66853585323982ae11c0a240c3d6a7af8
parent
f161757710d52ce01c7b717166c94c00432f6230
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2018-01-11 19:57
bump version to 4.0.0

Diffstat

M CHANGES.md 13 +++++++++++++
M bower.json 2 +-
M examples/example.css 62 ++++++++++++++++++++++++++++++++-----------------------------
M package.json 2 +-

4 files changed, 48 insertions, 31 deletions


diff --git a/CHANGES.md b/CHANGES.md

@@ -1,3 +1,16 @@
   -1     1 4.0.0 (2018-01-11)
   -1     2 ------------------
   -1     3 
   -1     4 -   do not inherit box-sizing
   -1     5 -   Allow vertical resizing on multi-selects
   -1     6 -   form: rm border radius
   -1     7 -   form: rm margin from inputs
   -1     8 -   reduce line width
   -1     9 -   do not add margin above first heading
   -1    10 -   Highlight focused inputs in firefox
   -1    11 -   Re-introduce invalid styling for firefox
   -1    12 
   -1    13 
    1    14 3.1.1 (2017-07-12)
    2    15 ------------------
    3    16 

diff --git a/bower.json b/bower.json

@@ -1,6 +1,6 @@
    1     1 {
    2     2   "name": "mfbs",
    3    -1   "version": "3.1.1",
   -1     3   "version": "4.0.0",
    4     4   "authors": [
    5     5     "Tobias Bengfort <tobias.bengfort@gmx.net>"
    6     6   ],

diff --git a/examples/example.css b/examples/example.css

@@ -4,7 +4,9 @@
    4     4 *,
    5     5 *::before,
    6     6 *::after {
    7    -1   box-sizing: inherit;
   -1     7   box-sizing: border-box; }
   -1     8 
   -1     9 img {
    8    10   max-width: 100%; }
    9    11 
   10    12 p, address, blockquote, pre, table, dl, ul, ol, figure, fieldset {
@@ -14,22 +16,23 @@ p, address, blockquote, pre, table, dl, ul, ol, figure, fieldset {
   14    16 html {
   15    17   overflow-y: scroll;
   16    18   background-color: #fff;
   17    -1   box-sizing: border-box;
   18    19   color: #333;
   19    20   font-size: 1.2em;
   20    21   font-family: sans-serif;
   21    -1   line-height: 1.4; }
   -1    22   line-height: 1.5; }
   22    23 
   23    24 h1, h2, h3, h4, h5, h6 {
   24    25   line-height: 1.2;
   25    26   margin-bottom: 0.8rem;
   26    -1   margin-top: 1.5em; }
   -1    27   margin-top: 0; }
   -1    28   * + h1, * + h2, * + h3, * + h4, * + h5, * + h6 {
   -1    29     margin-top: 1.5em; }
   27    30 
   28    31 a {
   29    -1   color: #06f;
   -1    32   color: #26c;
   30    33   text-decoration: underline; }
   31    34   a:hover, a:focus, a:active {
   32    -1     color: #1a4d99; }
   -1    35     color: #2b4d80; }
   33    36 
   34    37 a:not([href]) {
   35    38   color: inherit;
@@ -38,7 +41,7 @@ a:not([href]) {
   38    41     color: inherit; }
   39    42 
   40    43 *::selection {
   41    -1   background: #06f;
   -1    44   background: #26c;
   42    45   color: #fff; }
   43    46 
   44    47 hr {
@@ -82,16 +85,15 @@ table {
   82    85   border-spacing: 0; }
   83    86 
   84    87 tr {
   85    -1   border-top: 1px solid #adadad; }
   86    -1   tr:last-child {
   87    -1     border-bottom: 1px solid #adadad; }
   -1    88   border-bottom: 1px solid #adadad; }
   88    89 
   89    90 td, th {
   90    91   text-align: start;
   91    92   padding: 0.25em;
   92    93   vertical-align: top; }
   93    94 
   94    -1 textarea {
   -1    95 textarea,
   -1    96 select[multiple] {
   95    97   resize: vertical; }
   96    98 
   97    99 fieldset {
@@ -109,7 +111,7 @@ sub, sup {
  109   111 
  110   112 body {
  111   113   margin: 2em auto;
  112    -1   max-width: 36em;
   -1   114   max-width: 37em;
  113   115   padding: 0 0.5em; }
  114   116 
  115   117 html {
@@ -130,9 +132,7 @@ select, .button,
  130   132 button,
  131   133 [type=button],
  132   134 [type=submit] {
  133    -1   margin: 0 0 1em;
  134   135   border: 1px solid #adadad;
  135    -1   border-radius: 0.2em;
  136   136   padding: 0.3em 0.75em;
  137   137   font-family: inherit;
  138   138   font-size: inherit; }
@@ -142,9 +142,13 @@ textarea,
  142   142 select {
  143   143   background: #fff;
  144   144   color: #333; }
  145    -1   input:invalid,
  146    -1   textarea:invalid,
  147    -1   select:invalid {
   -1   145   input:focus,
   -1   146   textarea:focus,
   -1   147   select:focus {
   -1   148     border-color: #2b4d80; }
   -1   149   input:-moz-ui-invalid,
   -1   150   textarea:-moz-ui-invalid,
   -1   151   select:-moz-ui-invalid {
  148   152     border-color: red;
  149   153     color: red; }
  150   154   input:disabled,
@@ -164,8 +168,9 @@ button,
  164   168   cursor: pointer;
  165   169   line-height: 1.8;
  166   170   text-align: center;
  167    -1   border-color: #06f;
  168    -1   background: #06f;
   -1   171   border-radius: 0.3em;
   -1   172   border-color: #26c;
   -1   173   background: #26c;
  169   174   color: #fff; }
  170   175   .button:hover, .button:focus,
  171   176   button:hover,
@@ -174,28 +179,27 @@ button,
  174   179   [type=button]:focus,
  175   180   [type=submit]:hover,
  176   181   [type=submit]:focus {
  177    -1     border-color: #0d5acc;
  178    -1     background: #0d5acc;
   -1   182     border-color: #275aa6;
   -1   183     background: #275aa6;
  179   184     color: #fff; }
  180   185   .button:active,
  181   186   button:active,
  182   187   [type=button]:active,
  183   188   [type=submit]:active {
  184    -1     border-color: #1a4d99;
  185    -1     background: #1a4d99;
   -1   189     border-color: #2b4d80;
   -1   190     background: #2b4d80;
  186   191     color: #fff; }
  187   192   .button:disabled,
  188   193   button:disabled,
  189   194   [type=button]:disabled,
  190   195   [type=submit]:disabled {
  191    -1     border-color: #80b3ff;
  192    -1     background: #80b3ff;
  193    -1     color: #e6f0ff;
   -1   196     border-color: #91b3e6;
   -1   197     background: #91b3e6;
   -1   198     color: #e9f0fa;
  194   199     cursor: not-allowed; }
  195   200 
  196   201 html {
  197    -1   font-weight: 300; }
   -1   202   font-family: serif; }
  198   203 
  199   204 h1, h2, h3, h4, h5, h6 {
  200    -1   font-weight: normal;
  201    -1   font-family: serif; }
   -1   205   font-family: sans-serif; }

diff --git a/package.json b/package.json

@@ -1,6 +1,6 @@
    1     1 {
    2     2   "name": "mfbs",
    3    -1   "version": "3.1.1",
   -1     3   "version": "4.0.0",
    4     4   "description": "mother fucking bootstrap - a minimal CSS framework",
    5     5   "main": "index.js",
    6     6   "dependencies": {},