Files
CanvasTextWrapper/css/styles.css
T
2014-10-08 22:48:48 -04:00

146 lines
1.9 KiB
CSS

body {
width: 960px;
margin: auto;
font-family: 'Open Sans', sans-serif;
color: #fff;
line-height: 140%;
}
div, header, footer, article {
box-sizing: border-box;
}
header, footer, article {
width: 930px;
margin: auto;
background-color: #0D9F69;
padding: 20px;
}
header {
font-size: 60px;
font-weight: 700;
}
.description {
width: 800px;
margin-top: 20px;
font-size: 22px;
font-weight: normal;
}
footer {
margin-top: 40px;
}
a {
font-size: 20px;
font-weight: normal;
color: #fff;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
article {
border-top: 1px solid #fff;
}
.white-block {
display: table-cell;
height: 30px;
padding: 20px;
vertical-align: middle;
background-color: #fff;
font-weight: 100;
color: #0D9F69;
line-height: 120%;
}
p {
margin: 10px 0;
line-height: 120%;
}
h2 {
font-size: 30px;
}
h6 {
font-weight: 700;
text-decoration: underline;
display: inline;
}
.syntax {
padding: 10px 10px 0 20px;
}
.syntax > li {
list-style: none;
margin-bottom: 15px;
}
.values li {
text-indent: 20px;
list-style: inside circle;
line-height: 120%;
}
section {
margin-top: 40px;
}
section > div {
display: inline-block;
position: relative;
width: 450px;
margin: 15px;
border: 1px solid #0D9F69;
overflow: hidden;
}
section h2 {
color: #0D9F69;
text-indent: 30px;
margin-bottom: 20px;
}
section > div div {
width: 100%;
height: 200px;
background-color: #0D9F69;
margin-top: 250px;
padding: 20px;
}
canvas, img {
position: absolute;
top: 0;
left: 0;
}
img {
width: 100%;
z-index: -1;
}
span {
margin-left: 20px;
margin-right: 5px;
}
span, .emph {
font-weight: 600;
display: inline;
}
strong {
background: #fff;
color: #0D9F69;
font-weight: bold;
padding: 0 5px;
}