Navigation Menu

Skip to content

Commit

Permalink
Add Minimal stylesheet, closes #11
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLastZombie committed May 23, 2020
1 parent 1d0fbba commit ff111ed
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -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))
Expand Down
1 change: 1 addition & 0 deletions min/minimal-stylesheet.min.css

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

7 changes: 7 additions & 0 deletions scripts/frameworks.yml
Expand Up @@ -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
Expand Down
66 changes: 66 additions & 0 deletions 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;
}
2 changes: 1 addition & 1 deletion 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();

Expand Down

0 comments on commit ff111ed

Please sign in to comment.