1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 21:00:10 +01:00

52 Commits

Author SHA1 Message Date
Waldir Pimenta
250dcb2d2a
Make { and } in the home page headings less conspicuous in the dark mode/consistent with light mode
Tabs to spaces

Suggested in https://github.com/github/choosealicense.com/pull/833#issuecomment-898684123
2021-08-23 11:45:18 -07:00
Mike Linksvayer
7fbc9f2b2d
Merge branch 'gh-pages' into patch-1 2021-08-13 12:16:46 -07:00
Mike Linksvayer
feba36a467
Make css and js load correctly if site rendered in a subdirectory
to make showig changes from {user}.github.io/choosealicense.com
possible, as suggested by @waldyrious in
https://github.com/github/choosealicense.com/pull/833#issuecomment-860777503

Note links within the site will still break in this scenario, would
need relative_url sprinkled in all internal links to avoid. Non-goal
for now.
2021-08-13 12:06:15 -07:00
Pukima
b1e0ee80b4
[Dark Mode] Added !importants and unthemed parts 2021-06-20 15:54:29 +02:00
Pukima
7d69089033
added DarkMode 2021-06-12 17:01:43 +02:00
Mike Linksvayer
ba48c3d877 rm unneeded trailing whitespace from various files 2019-12-25 10:58:01 -08:00
Mike Linksvayer
a378dbc7ff Make rules with -- eg same-license--file appear lighter in appendix table
Not needed elsewhere eg license view because actual rule is spelled out
and no distinction with other licenses with non-attenuated versions of
the rules is useful for eyeballing

Some visual cue other than .5 opacity might be more useful, eg smaller
or not filled in circle, but this is easy first cut given current sprite
setup
2019-12-02 21:32:07 -08:00
Mike Linksvayer
09f172e22e minor suggest-license edits 2018-10-19 08:23:57 +02:00
Felipe Lube de Bragança
a5d8c68fe6 More explanation to the user about the suggest feature 2018-10-18 17:13:48 -03:00
Felipe Lube de Bragança
2d3c449b36 Allow the user log-in, since the URL to suggest a license is restricted 2018-10-15 09:57:14 -03:00
Felipe Lube de Bragança
dc0deb0326 Avoid popup blockers by using redirection 2018-10-15 07:35:27 -03:00
Felipe Lube de Bragança
4f1eab6997 License suggestion by repo URL 2018-10-14 20:21:54 -03:00
Felipe Lube de Bragança
b30306e502 remove not used autocomplete plugin 2018-10-14 19:58:43 -03:00
Felipe Lube de Bragança
2ce08cd1e7 FIX: correctly gets the license id 2018-10-09 18:45:44 +00:00
Felipe Lube de Bragança
8f177d9c77 License page: suggest the license to a repository 2018-10-09 18:27:26 +00:00
Felipe Lube de Bragança
3e59b04824 License suggestion: plugin JavaScript-autoComplete 2018-10-09 18:10:20 +00:00
Mike Linksvayer
64a35c9298 lightbulb/patents->community/existing 2018-06-18 00:04:36 -07:00
Mike Linksvayer
b9bbbe078c rollback permissive, copyleft language; community icon 2018-06-17 23:47:38 -07:00
Mike Linksvayer
827d62cc28 vertical spacing 2016-06-06 10:25:18 -07:00
Mike Linksvayer
f37bad97ec highlight target id to make link#id behavior more apparent
suggested by @LeoFNaN at
https://github.com/github/choosealicense.com/pull/411#issuecomment-223729386
2016-06-04 15:27:47 -07:00
Mike Linksvayer
2e7b84b816 reword: note optional, mention effect; make slightly less prominent 2016-06-02 11:57:32 -07:00
Ben Balter
3c90fe0c46 add tooltips to appendix 2016-05-10 13:43:44 -04:00
Waldir Pimenta
458ef6a7b0 don't use the same color for headings and links
changed to a slightly-blue grey, which IMO fits well with the current style.
2016-04-28 17:51:16 +01:00
git
78aac74fb2 Restructure individual license pages, added styles to improve alignment 2016-04-26 16:43:40 -07:00
Mike Linksvayer
6e6af9b7aa min version of qtip css 2016-04-24 09:25:24 -07:00
Mike Linksvayer
4a27230587 skip sass bundling of qtip and normalize 2016-04-22 15:40:13 -07:00
Mike Linksvayer
57a1b07997 rm symlinks, maybe fix #383 (Windows build)
Not certain this is right thing to do, but
https://jekyllrb.com/docs/assets/ says "Note that the sass_dir
becomes the load path for Sass imports, nothing more" so setting
it to `assets/vendor` and changing imports accordingly ought and
seems to work without disturbing other files under `assets/vendor`,
even though the docs continue "This folder should only contain
imports."
2016-04-22 11:35:31 -07:00
Mike Linksvayer
1aef5cd845 rm no longer needed navpill css, forgotten in #386 2016-04-16 10:16:40 -07:00
Mike Linksvayer
7b7ae82141 family->overview css, forgotten in #386 2016-04-16 10:13:49 -07:00
Mike Linksvayer
5052d34b11 rm support for variant display, forgotten in #386 2016-04-16 10:07:30 -07:00
Mike Linksvayer
32219ad267 tooltip update missed in #361 2016-04-16 09:58:54 -07:00
Mike Linksvayer
baddd740af remove family display elements, add spectrum explanation 2016-04-07 17:49:56 -07:00
Mike Linksvayer
cb41d7154a remove unnecessary css that made sidebar spacing irregular 2016-04-04 11:07:12 -07:00
Mike Linksvayer
810eeb5618 rename/order license properties better reflect how licenses work
and are structured

grant (permissions)
conditioned on (conditions)
with limitations

Permissions coming first combats mistaken but apparently widespread
impression that licenses impose conditions, even such that without
a license, there would be no conditions/work would be in the public
domain.

Requirements->Conditions emphasizes that they are pertinent if one
wants to take advantage of permissions.

Forbiddens->Limitations is more accurate: in most cases licenses
don't give permission to hold licensors liable, in some cases to
use licensors' trademarks or patents, but a licensee does not lose
the permissions granted by the license if the licensee holds licensor
liable, etc. Also emphasizes that there are limitatations on the
license grant, not that the license imposes prohibitions.

The most concise place to see both the rename and reorder is in
_includes/license-overview.html

I did not reorder the appearance of the groups of properties in
license source files (.txt files in _licenses) as those orderings
are not used to render anything on the webiste. Might do so later.
2016-03-01 13:33:15 -08:00
Mike Linksvayer
7e64d9e15b license title not cover copy button when long title, wide screen
ex: http://choosealicense.com/licenses/cc-by-sa-4.0/

do it by setting max-width of heading to 700px, same as license
text display
2016-02-23 17:47:34 -08:00
Ben Balter
4e9d7bca05 Merge pull request #293 from waldyrious/rename-category-family
rename category --> family (fix #288)
2015-11-02 09:19:36 -05:00
Alexis Tyler
bf4f854060 Replaced zeroclipboard with clipboard.js 2015-10-25 15:17:13 +10:30
Ben Balter
4f54fc5c07 add seo include 2015-10-23 17:50:25 -04:00
Waldir Pimenta
6cbb454cb6 Merge branch 'gh-pages' into rename-category-family 2015-09-25 18:13:19 +01:00
Brandon Keepers
1307353be4 Merge pull request #295 from github/avoid-flash-detection
Remove flash detection
2015-09-20 13:14:20 -04:00
Brandon Keepers
b25359847e Merge pull request #294 from github/remove-bg
Remove background
2015-09-20 13:11:54 -04:00
Brandon Keepers
4abf1f6a57 Merge remote-tracking branch 'origin/gh-pages' into mjastrzebowski-gh-pages
* origin/gh-pages: (162 commits)
  hard wrap
  Normalize sorting of license properties
  Add how, removed layout and permalink
  Update ms-rl.txt
  Update ms-pl.txt
  Update ms-rl.txt
  Update ms-pl.txt
  normalize metadata
  add bsd-3-clause-clear to whitelist
  add rules spec
  whitespace
  rename to license_category
  move meta and fields to yaml
  formalize whitelist
  Revert "remove OSI appoval requirement"
  remove OSI appoval requirement
  fix up wtfpl;
  smart license list filtering
  fix ofl title
  rename ofl so tests pass
  ...
2015-09-19 23:15:01 -04:00
Brandon Keepers
8d63ba64f8 Remove flash detection
Accurate flash detection is a little more complicated than this. The
current code causes an error on IE 10.

This removes the attempt to detect if flash is available. Instead, it
attempts to initialize ZeroClipboard and sets up the fallback.
ZeroClipboard will be a no-op if flash is not available, in which case
the fallback will already be configured. If flash is available, it will
put a flash object over the button and the fallback will never get
called.
2015-09-19 22:46:18 -04:00
Brandon Keepers
71af572977 monotone colors 2015-09-18 14:45:55 -04:00
Brandon Keepers
369bf42e8c Remove background image 2015-09-18 14:45:34 -04:00
Waldir Pimenta
a9f9398705 use 'ruletype' in app.coffee for clarity 2015-09-09 00:24:05 +01:00
Waldir Pimenta
ba91c766d6 rename category --> family (fix #288) 2015-09-09 00:04:34 +01:00
Ben Balter
1058d71b2e use sass 2015-03-08 10:32:19 -04:00
Garen Torikian
64ab849aeb Use W3C compliant textContent instead of `innerText 2014-12-18 11:53:45 -08:00
Ben Balter
580082f408 fix tooltips 2014-09-05 11:26:54 -04:00