mirror of
https://github.com/github/choosealicense.com
synced 2024-12-21 20:30:10 +01:00
family->overview css, forgotten in #386
This commit is contained in:
parent
5052d34b11
commit
7b7ae82141
@ -86,10 +86,10 @@
|
|||||||
.home h2 span:last-child {
|
.home h2 span:last-child {
|
||||||
right: 35px;
|
right: 35px;
|
||||||
}
|
}
|
||||||
.license-family {
|
.license-overview {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
.license-family-heading {
|
.license-overview-heading {
|
||||||
float: none;
|
float: none;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
{% assign id = "/licenses/" | append: include.license-id %}
|
{% assign id = "/licenses/" | append: include.license-id %}
|
||||||
{% assign licenses = site.licenses | where:"id", id %}
|
{% assign licenses = site.licenses | where:"id", id %}
|
||||||
{% for license in licenses %}
|
{% for license in licenses %}
|
||||||
<div class="license-family clearfix" id="{{ include.license-id | slugify }}">
|
<div class="license-overview clearfix" id="{{ include.license-id | slugify }}">
|
||||||
<div class="license-family-heading">
|
<div class="license-overview-heading">
|
||||||
<h3 class="license-family-name">
|
<h3 class="license-overview-name">
|
||||||
<a href="{{ license.url }}">
|
<a href="{{ license.url }}">
|
||||||
{% if license.nickname %}
|
{% if license.nickname %}
|
||||||
{{ license.nickname }}
|
{{ license.nickname }}
|
||||||
@ -13,7 +13,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<p class="license-family-description">{{ license.description }}</p>
|
<p class="license-overview-description">{{ license.description }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="license-details">
|
<div class="license-details">
|
||||||
|
@ -144,12 +144,12 @@ strong {
|
|||||||
.circular { background-position: 0 -129px; width: 72px; height: 69px; }
|
.circular { background-position: 0 -129px; width: 72px; height: 69px; }
|
||||||
|
|
||||||
|
|
||||||
.license-family {
|
.license-overview {
|
||||||
clear: both;
|
clear: both;
|
||||||
margin-bottom: 50px;
|
margin-bottom: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.license-family-heading {
|
.license-overview-heading {
|
||||||
float: left;
|
float: left;
|
||||||
width: 35%;
|
width: 35%;
|
||||||
}
|
}
|
||||||
@ -163,12 +163,12 @@ strong {
|
|||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.license-family-name {
|
.license-overview-name {
|
||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.license-family-description {
|
.license-overview-description {
|
||||||
color: #555;
|
color: #555;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user