1
0
mirror of https://github.com/github/choosealicense.com synced 2024-06-29 07:03:02 +02:00
choosealicense.com/css/application.css

418 lines
8.2 KiB
CSS
Raw Normal View History

2012-09-12 21:20:53 +02:00
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);
2012-09-12 21:20:53 +02:00
color: #7e7974;
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 {
2012-09-12 21:20:53 +02:00
-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 {
2012-09-12 21:20:53 +02:00
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;
}
2012-11-29 16:40:26 +01:00
h2 {
color: #443a33;
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
font-size: 18px;
font-weight: 900;
line-height: 1.1;
margin-top: 20px;
margin-bottom: 10px;
}
2012-09-12 21:20:53 +02:00
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 {
2012-09-12 21:20:53 +02:00
margin: 40px auto;
width: 900px;
2012-09-12 21:20:53 +02:00
}
.home {
2012-09-12 21:20:53 +02:00
padding-top: 20px;
text-align: center;
}
.home h1 {
2012-09-12 21:20:53 +02:00
font-size: 63px;
line-height: 1.1;
margin-bottom: 25px;
}
.home h2 {
2012-09-12 21:20:53 +02:00
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;
}
.home h2 span {
2012-09-12 21:20:53 +02:00
color: #e9e6e2;
font-size: 70px;
padding: 0 5px;
position: relative;
top: 10px;
}
.situations {
width: 800px;
margin: 0 auto;
}
.situations li {
2012-09-12 21:20:53 +02:00
width: 240px;
float: left;
margin-left: 27px;
text-align: center;
}
.situations .whatever {
2012-09-12 21:20:53 +02:00
margin-left: 0;
margin-top: 16px;
}
.situations .reciprocity {
2012-09-12 21:20:53 +02:00
margin-top: 3px;
}
.situations h3 {
2012-11-26 18:34:26 +01:00
margin: 0 auto 20px auto;
width: 200px;
}
.situations h3 a {
2012-11-26 18:34:26 +01:00
text-decoration: none;
2012-09-12 21:20:53 +02:00
color: #443a33;
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
font-size: 22px;
font-weight: 900;
line-height: 1.1;
}
2012-11-26 18:34:26 +01:00
.situations .button {
margin-top: 20px;
}
.callout {
background-color: rgba(255, 255, 255, 0.33);
border: solid 1px #e9e6e1;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 3px;
color: #7e7974;
padding: 16px;
}
.see-more {
2012-09-12 21:20:53 +02:00
margin-top: 20px;
}
.license-grid {
2012-09-12 21:20:53 +02:00
font-size: 13px;
line-height: 1.3;
margin-bottom: 40px;
}
.license-grid th {
2012-09-12 21:20:53 +02:00
border-bottom: solid 1px #d9d7d2;
padding: 5px 10px;
}
.license-grid .name {
2012-09-12 21:20:53 +02:00
border-right: solid 1px #d9d7d2;
width: 150px;
}
.license-grid .name a {
2012-09-12 21:20:53 +02:00
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
font-size: 28px;
font-weight: 900;
}
.license-grid .summary {
2012-09-12 21:20:53 +02:00
color: #7e7974;
}
.license-grid td {
2012-09-12 21:20:53 +02:00
border-bottom: solid 1px #e9e6e2;
padding: 4px 10px;
}
.license-grid .label {
2012-09-12 21:20:53 +02:00
border-right: solid 1px #d9d7d2;
font-weight: bold;
}
.license-grid li {
2012-09-12 21:20:53 +02:00
background-position: 0 1px;
background-repeat: no-repeat;
background-size: 12px 12px;
float: left;
display: -moz-inline-stack;
display: inline-block;
vertical-align: middle;
*vertical-align: auto;
zoom: 1;
*display: inline;
margin-right: 15px;
padding-left: 16px;
}
.license-grid li:hover {
2012-12-04 23:12:12 +01:00
color: #443a33;
}
.license-grid .required li {
background-image: url(../images/blue-dot@2x.png);
2012-09-12 21:20:53 +02:00
}
.license-grid .permitted li {
background-image: url(../images/green-dot@2x.png);
2012-09-12 21:20:53 +02:00
}
.license-grid .forbidden li {
background-image: url(../images/red-dot@2x.png);
2012-09-12 21:20:53 +02:00
}
.license-grid tr:nth-child(2n) td {
2012-09-12 21:20:53 +02:00
background-color: rgba(0, 0, 0, 0.02);
}
.license-body {
2012-11-28 19:40:00 +01:00
font-size: 15px;
2012-09-12 21:20:53 +02:00
float: left;
width: 660px;
2012-09-12 21:20:53 +02:00
}
.license-body pre {
font-family: Consolas, Monaco, Courier, monospace;
font-size: 14px;
}
.sidebar {
2012-09-12 21:20:53 +02:00
float: right;
width: 220px;
}
2012-11-28 19:40:00 +01:00
.sidebar a.button {
2012-09-12 21:20:53 +02:00
margin-top: -110px;
width: 100%;
}
.sidebar .how-to-apply {
2012-09-12 21:20:53 +02:00
font-size: 12px;
margin-top: -15px;
}
.sidebar .how-to-apply p {
2012-09-12 21:20:53 +02:00
line-height: 1.5;
}
.sidebar .how-to-apply p:last-child {
2012-09-12 21:20:53 +02:00
margin-bottom: 0;
}
.sidebar .source {
2012-11-27 22:30:58 +01:00
font-size: 12px;
text-align: center;
margin-top: 10px;
}
.sidebar .source a {
2012-11-27 22:30:58 +01:00
padding-left: 20px;
background: transparent url(../images/source@2x.png) 0 1px no-repeat;
2012-11-27 22:30:58 +01:00
background-size: 16px 12px;
}
.sidebar .boilerplate {
font-family: 'courier new', courier;
font-size: 0.7em;
2012-11-27 22:16:07 +01:00
}
.site-footer {
2012-11-27 22:16:07 +01:00
border-top: 1px solid #e9e6e1;
margin-top: 30px;
padding-top: 20px;
color: #7e7974;
font-size: 12px;
text-align: left;
line-height: 1.5;
}
.site-footer a {
2012-11-27 22:16:07 +01:00
color: #443a33;
font-weight: normal;
}
.site-footer p {
2012-11-27 22:16:07 +01:00
float: left;
}
.site-footer nav {
2012-11-27 22:16:07 +01:00
float: right;
}
.site-footer nav a {
2012-11-27 22:16:07 +01:00
display: inline-block;
margin-left: 20px;
}
2012-12-04 23:12:12 +01:00
/* 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;
}
2012-11-27 22:16:07 +01:00
/* For modern browsers */
.cf:before,
.cf:after {
content:"";
display:table;
}
.cf:after {
clear:both;
}
/* For IE 6/7 (trigger hasLayout) */
.cf {
zoom:1;
}