From a9f1de32aedd3e9e48b20ee3848cc55453b66a1f Mon Sep 17 00:00:00 2001 From: Jason Long Date: Tue, 5 Nov 2013 14:22:51 -0500 Subject: [PATCH] pulled family name and description out of table --- css/application.css | 30 +++++++++++++++--------------- licenses.html | 26 +++++++++----------------- 2 files changed, 24 insertions(+), 32 deletions(-) diff --git a/css/application.css b/css/application.css index cbd2d2d..9245c31 100644 --- a/css/application.css +++ b/css/application.css @@ -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; diff --git a/licenses.html b/licenses.html index 3a40999..2246a21 100644 --- a/licenses.html +++ b/licenses.html @@ -4,20 +4,18 @@ permalink: licenses/ class: license-types --- -

Featured

+

Licenses

+ +

Featured Licenses

{% for page in site.pages %} {% if page.layout == "license" %} {% if page.featured %} +

{% if page.family-title %}{{ page.family-title }}{% else %}{{ page.title }}{% endif %}

+ +

{{ page.description }} View full license »

+ - - - - {% assign types = "required|permitted|forbidden" | split: "|" %} {% for type in types %} @@ -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 %} +

{% if page.family-title %}{{ page.family-title }}{% else %}{{ page.title }}{% endif %}

+

{{ page.description }} View full license »

- {% if page.family-title %}{{ page.family-title }}{% else %}{{ page.title }}{% endif %} - - {{ page.description }} View full license » -
- - - - {% assign types = "required|permitted|forbidden" | split: "|" %} {% for type in types %}
- {% if page.family-title %}{{ page.family-title }}{% else %}{{ page.title }}{% endif %} - - {{ page.description }} View full license » -