diff --git a/README.md b/README.md index 6505b9f..58ef761 100644 --- a/README.md +++ b/README.md @@ -107,6 +107,7 @@ If you know of a minimal framework that hasn't been included here, please create * [min](https://dohliam.github.io/dropin-minimal-css/?min) by @owenversteeg ([Source](https://github.com/owenversteeg/min) · [MIT](https://github.com/owenversteeg/min#license)) * [mini](https://dohliam.github.io/dropin-minimal-css/?mini) by @Chalarangelo ([Source](https://github.com/Chalarangelo/mini.css) · [MIT](https://github.com/Chalarangelo/mini.css/blob/master/LICENSE)) * [minimal](https://dohliam.github.io/dropin-minimal-css/?minimal) by @billyshall ([Source](https://github.com/billyshall/minimalcss) · [MIT](https://github.com/billyshall/minimalcss/blob/master/license.txt)) +* [minimal-stylesheet](https://dohliam.github.io/dropin-minimal-css/?minimal-stylesheet) by @chr15m ([Source](https://github.com/chr15m/minimal-stylesheet) · [MIT](https://github.com/chr15m/minimal-stylesheet/blob/master/LICENSE)) * [mobi](https://dohliam.github.io/dropin-minimal-css/?mobi) by @xcatliu ([Source](https://github.com/mobi-css/mobi.css) · [MIT](https://github.com/mobi-css/mobi.css/blob/master/LICENSE)) * [motherplate](https://dohliam.github.io/dropin-minimal-css/?motherplate) by @leemunroe ([Source](https://github.com/leemunroe/motherplate) · [MIT](https://github.com/leemunroe/motherplate/blob/master/LICENSE)) * [mu](https://dohliam.github.io/dropin-minimal-css/?mu) by @BafS ([Source](https://github.com/BafS/mu) · [MIT](https://github.com/BafS/mu/blob/gh-pages/LICENSE)) diff --git a/min/minimal-stylesheet.min.css b/min/minimal-stylesheet.min.css new file mode 100644 index 0000000..2d137f5 --- /dev/null +++ b/min/minimal-stylesheet.min.css @@ -0,0 +1 @@ +*{box-sizing:border-box}body{color:#555;margin:0 auto;max-width:50em;font-family:"Helvetica","Arial",sans-serif;line-height:1.5;padding:2em 1em}h1{font-size:2.5em}h2{font-size:2em}h3{font-size:1.5em}h2,h3{margin-top:1.5em}h1,h2,strong{color:#333}code,pre{background:#eee}code{padding:2px 4px;vertical-align:text-bottom}pre{border-left:2px solid #bbb;padding:1em}a{color:#f56a6a}blockquote,q{border-left:solid 4px #bbb;font-style:italic;margin:0 0 2em 0;padding:.5em 0 .5em 2em}blockquote::before,blockquote::after,q::before,q::after{content:'';content:none} \ No newline at end of file diff --git a/scripts/frameworks.yml b/scripts/frameworks.yml index 790ce32..b2dbd83 100644 --- a/scripts/frameworks.yml +++ b/scripts/frameworks.yml @@ -347,6 +347,13 @@ frameworks: license_url: https://github.com/billyshall/minimalcss/blob/master/license.txt repo: https://github.com/billyshall/minimalcss url: https://github.com/billyshall/minimalcss/blob/master/minimal.css + minimal-stylesheet: + author: chr15m + author_name: Chris McCormick + license: MIT + license_url: https://github.com/chr15m/minimal-stylesheet/blob/master/LICENSE + repo: https://github.com/chr15m/minimal-stylesheet + url: https://github.com/chr15m/minimal-stylesheet/blob/master/minimal.css mobi: author: xcatliu author_name: xcatliu diff --git a/src/minimal-stylesheet.css b/src/minimal-stylesheet.css new file mode 100644 index 0000000..656373d --- /dev/null +++ b/src/minimal-stylesheet.css @@ -0,0 +1,66 @@ +/* Hacked together based on: + * https://jgthms.com/web-design-in-4-minutes/ + */ + +* { + box-sizing: border-box; +} + +body { + color: #555; + margin: 0 auto; + max-width: 50em; + font-family: "Helvetica", "Arial", sans-serif; + line-height: 1.5; + padding: 2em 1em; +} + +h1 { + font-size: 2.5em +} + +h2 { + font-size: 2em; +} + +h3 { + font-size: 1.5em +} + +h2, h3 { + margin-top: 1.5em; +} + +h1, h2, strong { + color: #333; +} + +code, pre { + background: #eee; +} + +code { + padding: 2px 4px; + vertical-align: text-bottom; +} + +pre { + border-left: 2px solid #bbb; + padding: 1em; +} + +a { + color: #f56a6a; +} + +blockquote, q { + border-left: solid 4px #bbb; + font-style: italic; + margin: 0 0 2em 0; + padding: 0.5em 0 0.5em 2em; +} + +blockquote::before, blockquote::after, q::before, q::after { + content: ''; + content: none; +} diff --git a/switcher.js b/switcher.js index bece610..85c2eb9 100644 --- a/switcher.js +++ b/switcher.js @@ -1,4 +1,4 @@ -var frameworks = "a11yana,awsm,bahunya,bare,base,bullframe,bulma,caiuss,caramel,cardinal,centurion,chota,cirrus,clmaterial,codify,comet,concise,concrete,cutestrap,flat-ui,fluidity,furtive,generic,github-markdown,gutenberg,hack,hello,hiq,holiday,html-starterkit,hyp,kathamo,koochak,kraken,kube,latex,lemon,lit,lotus,markdown,marx,material,materialize,mercury,milligram,min,mini,minimal,mobi,motherplate,mu,mui,mvp,new,no-class,normalize,oh-my-css,paper,papier,pavilion,picnic,preface,primer,propeller,pure,roble,sakura,sanitize,scooter,semantic-ui,shoelace,siimple,simple,skeleton,skeleton-framework,skeleton-plus,snack,spectre,style,stylize,tachyons,tacit,tent,thao,vanilla,vital,water,wing,writ,yamb,yorha,ads-gazette,ads-medium,ads-notebook,ads-tufte,boot-cerulean,boot-cosmo,boot-cyborg,boot-darkly,boot-flatly,boot-journal,boot-lumen,boot-paper,boot-readable,boot-sandstone,boot-slate,boot-spacelab,boot-superhero,boot-yeti,md-air,md-modest,md-retro,md-splendor,w3c-chocolate,w3c-midnight,w3c-modernist,w3c-oldstyle,w3c-steely,w3c-swiss,w3c-traditional,w3c-ultramarine"; +var frameworks = "a11yana,awsm,bahunya,bare,base,bullframe,bulma,caiuss,caramel,cardinal,centurion,chota,cirrus,clmaterial,codify,comet,concise,concrete,cutestrap,flat-ui,fluidity,furtive,generic,github-markdown,gutenberg,hack,hello,hiq,holiday,html-starterkit,hyp,kathamo,koochak,kraken,kube,latex,lemon,lit,lotus,markdown,marx,material,materialize,mercury,milligram,min,mini,minimal,minimal-stylesheet,mobi,motherplate,mu,mui,mvp,new,no-class,normalize,oh-my-css,paper,papier,pavilion,picnic,preface,primer,propeller,pure,roble,sakura,sanitize,scooter,semantic-ui,shoelace,siimple,simple,skeleton,skeleton-framework,skeleton-plus,snack,spectre,style,stylize,tachyons,tacit,tent,thao,vanilla,vital,water,wing,writ,yamb,yorha,ads-gazette,ads-medium,ads-notebook,ads-tufte,boot-cerulean,boot-cosmo,boot-cyborg,boot-darkly,boot-flatly,boot-journal,boot-lumen,boot-paper,boot-readable,boot-sandstone,boot-slate,boot-spacelab,boot-superhero,boot-yeti,md-air,md-modest,md-retro,md-splendor,w3c-chocolate,w3c-midnight,w3c-modernist,w3c-oldstyle,w3c-steely,w3c-swiss,w3c-traditional,w3c-ultramarine"; add_switcher();