mfbs

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

commit
0b6afedf4f67ec56529ebe6da147fc4d29261981
parent
6e16f98fa33cc6c4bb9ab03ae065c5f1fb48ebbe
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2022-11-10 07:05
bump version to 5.2.0

Diffstat

M CHANGES.md 8 ++++++++
M examples/example.css 43 +++++++++----------------------------------
M package.json 2 +-

3 files changed, 18 insertions, 35 deletions


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

@@ -1,3 +1,11 @@
   -1     1 5.2.0 (2022-11-10)
   -1     2 ------------------
   -1     3 
   -1     4 -   rm compatibility code for browsers that do not support `:focus-visible`
   -1     5 -   rm `:visited` styling
   -1     6 -   use `accent-color` to style browser widgets (e.g. checkboxes)
   -1     7 
   -1     8 
    1     9 5.1.0 (2022-05-06)
    2    10 ------------------
    3    11 

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

@@ -25,6 +25,7 @@ html {
   25    25   font-size: 1.2em;
   26    26   font-family: sans-serif;
   27    27   line-height: 1.5;
   -1    28   accent-color: #26c;
   28    29 }
   29    30 
   30    31 h1, h2, h3, h4, h5, h6 {
@@ -40,22 +41,9 @@ h1, h2, h3, h4, h5, h6 {
   40    41   color: #26c;
   41    42   text-decoration: underline;
   42    43 }
   43    -1 :link:hover, :link:focus, :link:active {
   -1    44 :link:hover, :link:focus-visible, :link:active {
   44    45   color: #2b4d80;
   45    46 }
   46    -1 :link:focus:not(:focus-visible) {
   47    -1   color: #26c;
   48    -1 }
   49    -1 
   50    -1 :visited {
   51    -1   color: #26c;
   52    -1 }
   53    -1 :visited:hover, :visited:focus, :visited:active {
   54    -1   color: #2b4d80;
   55    -1 }
   56    -1 :visited:focus:not(:focus-visible) {
   57    -1   color: #26c;
   58    -1 }
   59    47 
   60    48 hr {
   61    49   border: 0;
@@ -179,16 +167,11 @@ select {
  179   167   background: #fff;
  180   168   color: #333;
  181   169 }
  182    -1 input:focus,
  183    -1 textarea:focus,
  184    -1 select:focus {
   -1   170 input:focus-visible,
   -1   171 textarea:focus-visible,
   -1   172 select:focus-visible {
  185   173   border-color: #2b4d80;
  186   174 }
  187    -1 input:focus:not(:focus-visible),
  188    -1 textarea:focus:not(:focus-visible),
  189    -1 select:focus:not(:focus-visible) {
  190    -1   border-color: #8f8f8f;
  191    -1 }
  192   175 input:disabled,
  193   176 textarea:disabled,
  194   177 select:disabled {
@@ -215,25 +198,17 @@ button,
  215   198   background: #26c;
  216   199   color: #fff;
  217   200 }
  218    -1 .button:hover, .button:focus,
   -1   201 .button:hover, .button:focus-visible,
  219   202 button:hover,
  220    -1 button:focus,
   -1   203 button:focus-visible,
  221   204 [type=button]:hover,
  222    -1 [type=button]:focus,
   -1   205 [type=button]:focus-visible,
  223   206 [type=submit]:hover,
  224    -1 [type=submit]:focus {
   -1   207 [type=submit]:focus-visible {
  225   208   border-color: #275aa6;
  226   209   background: #275aa6;
  227   210   color: #fff;
  228   211 }
  229    -1 .button:focus:not(:focus-visible),
  230    -1 button:focus:not(:focus-visible),
  231    -1 [type=button]:focus:not(:focus-visible),
  232    -1 [type=submit]:focus:not(:focus-visible) {
  233    -1   border-color: #26c;
  234    -1   background: #26c;
  235    -1   color: #fff;
  236    -1 }
  237   212 .button:active,
  238   213 button:active,
  239   214 [type=button]:active,

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

@@ -1,6 +1,6 @@
    1     1 {
    2     2   "name": "mfbs",
    3    -1   "version": "5.1.0",
   -1     3   "version": "5.2.0",
    4     4   "description": "mother fucking bootstrap - a minimal CSS framework",
    5     5   "keywords": ["sass"],
    6     6   "repository": {