1
0
mirror of https://github.com/github/choosealicense.com synced 2024-07-01 08:03:02 +02:00
choosealicense.com/css/application.css
XhmikosR 6087197be5 Include jquery.qtip.min.css in application.css.
This results in -1 http request.
2013-12-09 10:18:07 +02:00

517 lines
9.5 KiB
CSS

---
layout: nil
---
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font: inherit;
font-size: 100%;
vertical-align: baseline;
}
html {
line-height: 1;
}
ol, ul {
list-style: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
caption, th, td {
text-align: left;
font-weight: normal;
vertical-align: middle;
}
q, blockquote {
quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
content: "";
content: none;
}
a img {
border: none;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
display: block;
}
body {
background: #f5f1ec url(../images/bg.jpg);
color: #5c5855;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 1.4;
}
a {
color: #149ad4;
font-weight: bold;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.button {
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 3px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
border-color: #ceccc9 #b6b4b1 #a6a4a2 #b6b4b1;
border-style: solid;
border-width: 1px;
color: #443b34;
-webkit-box-shadow: rgba(0, 0, 0, 0.1) 0 2px 4px, rgba(255, 255, 255, 0.8) 0 1px 0 0 inset;
-moz-box-shadow: rgba(0, 0, 0, 0.1) 0 2px 4px, rgba(255, 255, 255, 0.8) 0 1px 0 0 inset;
box-shadow: rgba(0, 0, 0, 0.1) 0 2px 4px, rgba(255, 255, 255, 0.8) 0 1px 0 0 inset;
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e7e5e0), color-stop(100%, #d5d3cf));
background-image: -webkit-linear-gradient(#e7e5e0, #d5d3cf);
background-image: -moz-linear-gradient(#e7e5e0, #d5d3cf);
background-image: -o-linear-gradient(#e7e5e0, #d5d3cf);
background-image: linear-gradient(#e7e5e0, #d5d3cf);
display: -moz-inline-stack;
display: inline-block;
vertical-align: middle;
*vertical-align: auto;
zoom: 1;
*display: inline;
font-size: 12px;
font-weight: normal;
padding: 5px 10px;
text-align: center;
}
.button:hover {
text-decoration: none;
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e7e5e0), color-stop(100%, #d0ceca));
background-image: -webkit-linear-gradient(#e7e5e0, #d0ceca);
background-image: -moz-linear-gradient(#e7e5e0, #d0ceca);
background-image: -o-linear-gradient(#e7e5e0, #d0ceca);
background-image: linear-gradient(#e7e5e0, #d0ceca);
}
h1 {
color: #443a33;
font-family: Chivo, "Helvetica Neue", Helvetica, Arial, serif;
font-size: 40px;
font-weight: 900;
line-height: 1.1;
margin-bottom: 25px;
}
h2 {
color: #443a33;
opacity: 0.8;
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
font-size: 24px;
/* font-size: 18px; */
font-weight: 900;
line-height: 1.1;
margin-top: 24px;
margin-bottom: 10px;
}
h3 {
color: #443a33;
font-family: Chivo, "Helvetica Neue", Helvetica, Arial, serif;
font-size: 15px;
font-weight: 900;
line-height: 1.1;
margin-top: 20px;
margin-bottom: 10px;
}
h5 {
color: #443a33;
font-family: Chivo, "Helvetica Neue", Helvetica, Arial, serif;
font-size: 14px;
font-weight: 900;
line-height: 1.1;
margin-bottom: 15px;
}
p {
margin-bottom: 1em;
}
strong {
color: #443b34;
font-weight: bold;
}
.container {
margin: 40px auto;
width: 940px;
}
.home {
padding-top: 20px;
text-align: center;
}
.home h1 {
font-size: 63px;
line-height: 1.1;
margin-bottom: 25px;
}
.home h2 {
color: #149ad4;
font-family: Chivo, "Helvetica Neue", Helvetica, Arial, serif;
font-size: 27px;
font-weight: 900;
line-height: 70px;
margin-bottom: 45px;
vertical-align: middle;
opacity: 1;
}
.home h2 span {
color: #e9e6e2;
font-size: 70px;
padding: 0 5px;
position: relative;
top: 10px;
}
.triptych {
width: 900px;
margin: 0 auto 20px;
}
.triptych li {
width: 280px;
float: left;
margin-left: 27px;
text-align: center;
}
.triptych li:first-child {
margin-left: 0;
}
.triptych li > a {
text-decoration: none;
}
.triptych h3 {
color: #443a33;
font-family: Chivo, "Helvetica Neue", Helvetica, Arial, serif;
font-size: 22px;
font-weight: 900;
line-height: 1.1;
margin: 0 auto 20px auto;
width: 220px;
}
.situations .whatever {
margin-top: 16px;
}
.situations .copyleft {
margin-top: 3px;
}
.situations .button {
margin-top: 20px;
}
.license-family {
clear: both;
margin-bottom: 50px;
}
.license-family-heading {
float: left;
width: 35%;
}
.license-details {
float: left;
width: 55%;
padding-left: 20px;
}
.license-variations {
height: 31px;
padding-top: 23px;
margin-left: -10px;
}
.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-bottom: solid 1px #d9d7d2;
font-size: 13px;
line-height: 1.3;
margin-bottom: 12px;
width: 100%;
}
.license-rules th,
.license-rules td {
width: 33%;
}
.license-rules th {
font-size: 15px;
padding: 5px 10px 5px 0;
vertical-align: bottom;
}
.license-rules th.summary {
line-height: 1.4;
}
.license-rules .name {
border-right: solid 1px #d9d7d2;
padding-left: 0;
width: 280px;
}
.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 td {
padding: 4px 0 12px 0;
vertical-align: top;
}
.license-rules .label {
font-weight: bold;
}
.license-rules li {
background-position: 0 1px;
background-repeat: no-repeat;
background-size: 12px 12px;
margin-right: 15px;
margin-bottom: 5px;
padding-left: 16px;
}
.license-rules li:hover {
color: #443a33;
}
.license-required li {
background-image: url(../images/blue-dot@2x.png);
}
.license-permitted li {
background-image: url(../images/green-dot@2x.png);
}
.license-forbidden li {
background-image: url(../images/red-dot@2x.png);
}
.license-rules-sidebar li {
float: none;
display: block;
padding-bottom: 3px;
}
.license-body {
font-size: 15px;
float: left;
width: 700px;
}
.license-body pre {
font-family: Consolas, Monaco, Courier, monospace;
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 {
float: right;
width: 220px;
font-size: 12px;
}
.sidebar a.button {
margin-top: -110px;
width: 100%;
}
.sidebar .how-to-apply {
font-size: 12px;
margin-top: -15px;
}
.sidebar .how-to-apply p {
line-height: 1.5;
}
.sidebar .how-to-apply p:last-child {
margin-bottom: 0;
}
.sidebar .note {
font-style: italic;
}
.sidebar .source {
margin-top: 4px;
margin-bottom: 30px;
}
.sidebar .source a {
padding-left: 20px;
background: transparent url(../images/source@2x.png) 0 1px no-repeat;
background-size: 16px 12px;
}
.sidebar .boilerplate {
font-family: 'courier new', courier;
font-size: 0.7em;
}
.projects-with-license li {
padding-bottom: 3px;
}
.site-footer {
border-top: 1px solid #e9e6e1;
margin-top: 30px;
padding-top: 20px;
color: #5c5855;
font-size: 12px;
text-align: left;
line-height: 1.5;
}
.site-footer a {
color: #443a33;
font-weight: normal;
}
.site-footer p {
float: left;
}
.site-footer nav {
float: right;
}
.site-footer nav a {
display: inline-block;
margin-left: 20px;
}
.bullets {
margin-bottom: 1em;
}
.bullets li {
list-style: disc;
margin-left: 2em;
}
.nav-pills > li {
float: left;
display: block;
margin-right: 10px;
}
.nav-pills > li > a {
padding: 5px 10px;
border-radius: 3px;
}
.nav-pills > li.active > a {
background-color: #149ad4;
color: #f7f4ef;
}
.variation-tab {
display: none;
}
.variation-tab.active {
display: block;
}
.small {
font-size: 90%;
}
{% include css/jquery.qtip.min.css %}
/* Qtip styles */
.qtip-required {
background-color: #d0ebf6 ! important;
border-color: #149ad4 ! important;
color: #0d648a ! important;
font-size: 12px ! important;
line-height: 1.3 ! important;
}
.qtip-required .qtip-titlebar{
background-color: #149ad4 ! important;
color: #fff ! important;
}
.qtip-permitted {
background-color: #d8f4d7 ! important;
border-color: #3dc637 ! important;
color: #298625 ! important;
font-size: 12px ! important;
line-height: 1.3 ! important;
}
.qtip-permitted .qtip-titlebar{
background-color: #3dc637 ! important;
color: #fff ! important;
}
.qtip-forbidden {
background-color: #f4d9d8 ! important;
border-color: #c6403d ! important;
color: #812a28 ! important;
font-size: 12px ! important;
line-height: 1.3 ! important;
}
.qtip-forbidden .qtip-titlebar{
background-color: #c6403d ! important;
color: #fff ! important;
}
/* For modern browsers */
.cf:before,
.cf:after {
content:"";
display:table;
}
.cf:after {
clear:both;
}
/* For IE 6/7 (trigger hasLayout) */
.cf {
zoom:1;
}
#with- { float: right; clear: right;}