Merge branch 'master' of github.com:remy/mit-license

This commit is contained in:
Remy Sharp 2013-06-03 17:52:15 +01:00
commit afde1d2cc5
12 changed files with 43 additions and 14 deletions

View file

@ -30,7 +30,7 @@ You can send a full JSON file to the API, not *just* the copyright, so this work
curl -d'{ "copyright": "Remy Sharp", "url": "http://remysharp.com", "email": "me@mysite.com", "format": "txt" }' http://rem.mit-license.org
If there's any problems in the automated creation, send me a pull
request and it'll go live soon after.
request and it'll go live soon after.
Equally if you need to update the user file to include more details that
you didn't initially include (extra fields in the next section) you will
@ -40,7 +40,7 @@ need to send a pull request on that `user.json` file via GitHub.
The `users` directory contains a list of files, each representing a host
on mit-license.org. The minimum requirement for the JSON is that is
contains a `copyright` field - everything else is optional. Remember to ensure
contains a `copyright` field - everything else is optional. Remember to ensure
the `user.json` file is [valid JSON](http://jsonlint.com/).
Available fields:
@ -110,9 +110,9 @@ boolean property:
"email": "me@mysite.com",
"gravatar": true
}
Note that the gravatar requires the email property. You also need to check the
compatibility of the chosen theme. Currently, only the default theme supports
Note that the gravatar requires the email property. You also need to check the
compatibility of the chosen theme. Currently, only the default theme supports
Gravatar.
### License version targeting
@ -127,7 +127,7 @@ extra assurance for you.
Targeting requires the [sha from the license commit](https://github.com/remy/mit-license/commits/master/LICENSE.html). This can be
specified on the URL (in your permalink) or in the JSON file.
For example: http://rem.mit-license.org/a526bf7ad1 (make sure to view-source)
For example: http://rem.mit-license.org/a526bf7ad1 (make sure to view-source)
shows an older version of the LICENSE.html file (compared to the [latest version](http://rem.mit-license.org)
- the older version didn't have the new themes).
@ -196,7 +196,7 @@ The url also supports including a start year:
* [http://rem.mit-license.org/2009/](http://rem.mit-license.org/2009/) will
show a license year range of 2009-2011 (2011 being the current year)
* [http://rem.mit-license.org/2009-2010](http://rem.mit-license.org/2009-2010/)
* [http://rem.mit-license.org/2009-2010](http://rem.mit-license.org/2009-2010/)
allows me to force the year range
* [http://rem.mit-license.org/a526bf7ad1/2009-2010/license.txt](http://rem.mit-license.org/a526bf7ad1/2009-2010/license.txt) a526bf7ad1 version, with year range of 2009-2010 in plain text

View file

@ -8,4 +8,5 @@ a:active, a:hover { color:#5dd912; }
a img { position: absolute; top: 0; right: 0; border: 0; }
:-moz-any-link:focus {background:#bc4a46;}
::selection {background:#bc4a46;}
::-moz-selection {background:#bc4a46;}
::-moz-selection {background:#bc4a46;}
#gravatar { position: relative; float: right; margin-bottom: 1em; margin-left: 1em; border: 1px solid #ddd; }

View file

@ -38,3 +38,4 @@ a:active, a:hover { border-bottom: 1px dotted #F00; }
footer p { position: static; background: none; }
footer { position: static; background-color: #fff; }
}
#gravatar { position: relative; float: left; margin-top: 1em; margin-right: 1em; border: 1px solid #ddd; }

View file

@ -15,4 +15,5 @@ a img { position: absolute; top: 0; right: 0; border: 0; }
::-moz-selection {color:#bc4a46; }
footer { background-color: #FFFFFF; border-bottom: 3px solid #FF3366; margin-top: 10px; padding: 4px 28px; text-align: center; border-top: 1px solid #F5F5F5; }
footer a { padding: 10px; }
footer p { font-size: 16px; margin: 0; padding: 0;}
footer p { font-size: 16px; margin: 0; padding: 0;}
#gravatar { position: relative; float: right; border: 3px solid #CCCCCC; top: -2.3em; z-index: 1; border-radius: 10px; }

View file

@ -15,4 +15,5 @@ a img { position: absolute; top: 0; right: 0; border: 0; }
::-moz-selection {color:#bc4a46; }
footer { background-color: #FFFFFF; border-bottom: 3px solid #FF3366; margin-top: 10px; padding: 4px 28px; text-align: center; }
footer a { padding: 10px; }
footer p { font-size: 16px; margin: 0; padding: 0;}
footer p { font-size: 16px; margin: 0; padding: 0;}
#gravatar { position: relative; float: right; border: 3px solid #CCCCCC; top: -4.3em; z-index: 1; border-radius: 10px; }

View file

@ -17,4 +17,4 @@ a:active { color:#000; }
:-moz-any-link:focus {color:#000; border:0;}
::selection {background:#ccc;}
::-moz-selection {background:#ccc;}
#gravatar{position:relative;float:right; margin-bottom: 1em; margin-left: 1em; border: 1px solid #ddd;}
#gravatar { position: relative; float: right; margin-bottom: 1em; margin-left: 1em; border: 1px solid #ddd; }

View file

@ -71,3 +71,10 @@ footer {
margin-top: 5px;
font-style: italic;
}
#gravatar {
border: 1px solid #ddd;
position: relative;
float: right;
top: -1.7em;
}

View file

@ -10,3 +10,4 @@ h1 { margin:0; font-size: 24px; line-height: 32px;}
a, a:visited { color:#105cb6; padding:4px; text-decoration:none; }
a:active, a:hover { color:#003; }
a img { position: absolute; top: 0; right: 0; border: 0; }
#gravatar { position: relative; float: right; margin-bottom: 1em; margin-left: 1em; border: 1px solid #ddd; }

View file

@ -196,3 +196,11 @@ footer a:hover, footer a:focus, footer a:active {
padding-left: 12pt;
}
}
#gravatar {
position: relative;
float: left;
border: 20px solid #c4c4c4;
margin-left: -12em;
margin-top: -1em;
width: 5em;
}

View file

@ -3,11 +3,12 @@ html,body{background:#663B14;font:13pt "PT Sans",sans-serif;text-align:center}
a:link,a:visited{color:#234234;text-decoration:none}
a:hover,a:active{color:#432321;text-decoration:underline}
article{background:#CC9900;text-align:left;width:85%;margin:80px auto;border-radius:10px;-moz-border-radius:10px;box-shadow:-1px 1px 20px rgba(30,30,30,0.5),2px 1px 15px rgba(80,80,80,0.4),inset 0 0 10px rgba(50,50,50,0.7);-webkit-box-shadow:-1px 1px 20px rgba(30,30,30,0.5),2px 1px 15px rgba(80,80,80,0.4),inset 0 0 10px rgba(50,50,50,0.7)}
article h1{background:#CC6600;text-align:center;font:bold 35pt "PT Sans Caption","PT Sans",sans-serif;margin:0;padding:5px;border-radius:10px;-moz-border-radius:10px;box-shadow:inset 0 0 10px rgba(70,70,70,0.2),inset 1px 0 10px rgba(50,50,50,0.3),inset -1px 0 10px rgba(50,50,50,0.3);-webkit-box-shadow:inset 0 0 10px rgba(70,70,70,0.2),inset 1px 0 10px rgba(50,50,50,0.3),inset -1px 0 10px rgba(50,50,50,0.3)}
article h1{background:#CC6600;text-align:center;font:bold 35pt "PT Sans Caption","PT Sans",sans-serif;margin:0;padding:19px;border-radius:10px;-moz-border-radius:10px;box-shadow:inset 0 0 10px rgba(70,70,70,0.2),inset 1px 0 10px rgba(50,50,50,0.3),inset -1px 0 10px rgba(50,50,50,0.3);-webkit-box-shadow:inset 0 0 10px rgba(70,70,70,0.2),inset 1px 0 10px rgba(50,50,50,0.3),inset -1px 0 10px rgba(50,50,50,0.3)}
article p{margin:0;padding:10px 15px}
footer{position:fixed;bottom:0;left:0;width:100%;border-top:1px solid #7A7A00;background:#333300;user-select:none;-moz-user-select:none;-webkit-user-select:none}
footer p,footer a{display:block;margin:0;text-shadow:0 0 10px #ccc;font-size:11.5pt}
footer a:link,footer a:visited{color:#aaa}
footer a:hover,footer a:active{color:#eee}
::selection{background:#663300;color:white}
::-moz-selection{background:#663300;color:white}
::-moz-selection{background:#663300;color:white}
#gravatar { position: relative; float: right; top: 0.5em; z-index: 1; right: 0.7em; border-radius: 10px; }

View file

@ -64,4 +64,11 @@ a:hover {
a:active {
color: #007399;
}
#gravatar {
position: relative;
float: right;
border: 2px solid gray;
top: -1em;
}

View file

@ -1,5 +1,6 @@
{
"copyright": "Remy Sharp, http://remysharp.com",
"url": "http://remysharp.com",
"theme": "flesch"
"theme": "flesch",
"gravatar": true
}