mirror of
https://github.com/github/choosealicense.com
synced 2025-01-03 02:21:44 +01:00
pulled family name and description out of table
This commit is contained in:
parent
95d34dc9bd
commit
a9f1de32ae
@ -123,8 +123,9 @@ h1 {
|
||||
|
||||
h2 {
|
||||
color: #443a33;
|
||||
opacity: 0.8;
|
||||
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
|
||||
font-size: 18px;
|
||||
font-size: 24px;
|
||||
font-weight: 900;
|
||||
line-height: 1.1;
|
||||
margin-top: 24px;
|
||||
@ -181,6 +182,7 @@ strong {
|
||||
line-height: 70px;
|
||||
margin-bottom: 45px;
|
||||
vertical-align: middle;
|
||||
opacity: 1;
|
||||
}
|
||||
.home h2 span {
|
||||
color: #e9e6e2;
|
||||
@ -226,7 +228,19 @@ strong {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.license-family-name {
|
||||
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
|
||||
font-size: 28px;
|
||||
font-weight: 900;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.license-family-description {
|
||||
color: #5c5855;
|
||||
}
|
||||
|
||||
.license-rules {
|
||||
border-top: solid 1px #e9e6e2;
|
||||
font-size: 13px;
|
||||
line-height: 1.3;
|
||||
margin-bottom: 40px;
|
||||
@ -240,23 +254,9 @@ strong {
|
||||
.license-rules th.summary {
|
||||
line-height: 1.4;
|
||||
}
|
||||
.license-rules .name {
|
||||
border-right: solid 1px #d9d7d2;
|
||||
padding-left: 0;
|
||||
width: 140px;
|
||||
}
|
||||
.license-rules .name a {
|
||||
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
|
||||
font-size: 28px;
|
||||
font-weight: 900;
|
||||
line-height: 1.1;
|
||||
}
|
||||
.license-rules .name small a {
|
||||
font-size: 16px;
|
||||
}
|
||||
.license-rules .summary {
|
||||
color: #5c5855;
|
||||
}
|
||||
.license-rules td {
|
||||
border-bottom: solid 1px #e9e6e2;
|
||||
padding: 4px 10px;
|
||||
|
@ -4,20 +4,18 @@ permalink: licenses/
|
||||
class: license-types
|
||||
---
|
||||
|
||||
<h1>Featured</h1>
|
||||
<h1>Licenses</h1>
|
||||
|
||||
<h2>Featured Licenses</h2>
|
||||
|
||||
{% for page in site.pages %}
|
||||
{% if page.layout == "license" %}
|
||||
{% if page.featured %}
|
||||
<h3 class="license-family-name"><a href="{{ page.permalink }}">{% if page.family-title %}{{ page.family-title }}{% else %}{{ page.title }}{% endif %}</a></h3>
|
||||
|
||||
<p class="license-family-description">{{ page.description }} <a href="{{ page.permalink }}">View full license »</a></p>
|
||||
|
||||
<table class='license-rules'>
|
||||
<tr>
|
||||
<th class='name'>
|
||||
<a href="{{ page.permalink }}">{% if page.family-title %}{{ page.family-title }}{% else %}{{ page.title }}{% endif %}</a>
|
||||
</th>
|
||||
<th class='summary'>
|
||||
{{ page.description }} <a href="{{ page.permalink }}">View full license »</a>
|
||||
</th>
|
||||
</tr>
|
||||
{% assign types = "required|permitted|forbidden" | split: "|" %}
|
||||
{% for type in types %}
|
||||
<tr>
|
||||
@ -45,15 +43,9 @@ class: license-types
|
||||
{% for page in site.pages %}
|
||||
{% if page.layout == "license" %}
|
||||
{% if page.featured != true and page.hide-from-license-list != true %}
|
||||
<h3 class="license-family-name"><a href="{{ page.permalink }}">{% if page.family-title %}{{ page.family-title }}{% else %}{{ page.title }}{% endif %}</a></h3>
|
||||
<p class="license-family-description">{{ page.description }} <a href="{{ page.permalink }}">View full license »</a></p>
|
||||
<table class='license-rules'>
|
||||
<tr>
|
||||
<th class='name'>
|
||||
<a href="{{ page.permalink }}">{% if page.family-title %}{{ page.family-title }}{% else %}{{ page.title }}{% endif %}</a>
|
||||
</th>
|
||||
<th class='summary'>
|
||||
{{ page.description }} <a href="{{ page.permalink }}">View full license »</a>
|
||||
</th>
|
||||
</tr>
|
||||
{% assign types = "required|permitted|forbidden" | split: "|" %}
|
||||
{% for type in types %}
|
||||
<tr>
|
||||
|
Loading…
x
Reference in New Issue
Block a user