mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
put license text in lighter container for better contrast
This commit is contained in:
parent
1613f337d5
commit
85755edd74
@ -1,7 +1,7 @@
|
|||||||
<div class='sidebar'>
|
<div class='sidebar'>
|
||||||
|
|
||||||
<a href="#" data-clipboard-target="license-text" class="js-clipboard-button button">Copy license text to clipboard</a>
|
<a href="#" data-clipboard-target="license-text" class="js-clipboard-button button">Copy license text to clipboard</a>
|
||||||
<div class='how-to-apply callout'>
|
<div class='how-to-apply'>
|
||||||
<h5>How to apply this license</h5>
|
<h5>How to apply this license</h5>
|
||||||
<p>
|
<p>
|
||||||
{{ page.how }}
|
{{ page.how }}
|
||||||
|
@ -161,7 +161,7 @@ strong {
|
|||||||
|
|
||||||
.container {
|
.container {
|
||||||
margin: 40px auto;
|
margin: 40px auto;
|
||||||
width: 900px;
|
width: 940px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home {
|
.home {
|
||||||
@ -232,7 +232,6 @@ strong {
|
|||||||
-webkit-border-radius: 3px;
|
-webkit-border-radius: 3px;
|
||||||
-moz-border-radius: 3px;
|
-moz-border-radius: 3px;
|
||||||
-ms-border-radius: 3px;
|
-ms-border-radius: 3px;
|
||||||
-o-border-radius: 3px;
|
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
color: #5c5855;
|
color: #5c5855;
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
@ -316,12 +315,19 @@ strong {
|
|||||||
.license-body {
|
.license-body {
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
float: left;
|
float: left;
|
||||||
width: 660px;
|
width: 700px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.license-body pre {
|
.license-body pre {
|
||||||
font-family: Consolas, Monaco, Courier, monospace;
|
font-family: Consolas, Monaco, Courier, monospace;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
background-color: rgba(255, 255, 255, 0.8);
|
||||||
|
border: 1px solid #e9e6e1;
|
||||||
|
-webkit-border-radius: 3px;
|
||||||
|
-moz-border-radius: 3px;
|
||||||
|
-ms-border-radius: 3px;
|
||||||
|
border-radius: 3px;
|
||||||
|
padding: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar {
|
.sidebar {
|
||||||
@ -350,6 +356,7 @@ strong {
|
|||||||
|
|
||||||
.sidebar .source {
|
.sidebar .source {
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
|
margin-bottom: 30px;
|
||||||
}
|
}
|
||||||
.sidebar .source a {
|
.sidebar .source a {
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user