mirror of
https://github.com/github/choosealicense.com
synced 2024-11-10 13:38:53 +01:00
Merge pull request #702 from github/refined-rules-appendix
Make rules with -- eg same-license--file appear lighter in appendix table
This commit is contained in:
commit
3cc80f2602
@ -42,7 +42,12 @@ If you're here to choose a license, **[start from the home page](/)** to see a f
|
||||
{% for r in license[t] %}
|
||||
{% if r contains req %}
|
||||
<td class="license-{{ t }}" style="text-align:center">
|
||||
<span class="{{ r }}">
|
||||
{% if r contains "--" %}
|
||||
{% assign lite = " lite" %}
|
||||
{% else %}
|
||||
{% assign lite = "" %}
|
||||
{% endif %}
|
||||
<span class="{{ r | append: lite }}">
|
||||
<span class="license-sprite {{ r }}"></span>
|
||||
</span>
|
||||
</td>
|
||||
|
@ -254,6 +254,7 @@ strong {
|
||||
.license-limitations span { background-position: -16px 0; width: 12px; height: 12px; }
|
||||
.license-permissions span { background-position: -28px 0; width: 12px; height: 12px; }
|
||||
.license-conditions span { background-position: -40px 0; width: 12px; height: 12px; }
|
||||
.lite span { opacity: 0.5; }
|
||||
|
||||
.license-rules-sidebar li {
|
||||
float: none;
|
||||
|
Loading…
Reference in New Issue
Block a user