You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

155 lines
2.8 KiB

10 years ago
html {
background-color: #ac0;
}
html, body {
height: 100%;
}
.container {
margin: 0 auto;
width: 80%;
min-width: 600px;
max-width: 1200px;
}
body, h1, h2 {
margin: 0;
padding: 0;
}
h1, h2 {
color: #fff;
font-family: 'Lato', sans-serif;
font-weight: 300;
text-shadow: 0 1px 1px rgba(0,0,0,.2);
}
h1 {
text-shadow: 0 1px 3px rgba(0,0,0,.2);
font-size: 200px;
text-align: center;
margin-bottom: 50px;
}
h1 u {
cursor: pointer;
border-bottom: 8px dotted #fff;
text-decoration: none;
}
h2 {
font-size: 30px;
margin-bottom: 10px;
}
.row {
margin-bottom: 30px;
}
.row:after {
clear: both;
content: '';
display: block;
}
.col-left {
float: left;
width: 35%;
padding: 0 20px;
box-sizing: content-box;
}
.col-right {
float: left;
width: 55%;
margin-left: 5%;
}
.example {
10 years ago
top: 0;
10 years ago
cursor: pointer;
position: relative;
10 years ago
transition: all 0.3s;
10 years ago
}
10 years ago
.example:after {
10 years ago
top: 50%;
left: 50%;
line-height: 0;
margin: -5px 0 0 -50px;
color: #333;
content: 'â–º';
font-size: 100px;
position: absolute;
display: block;
10 years ago
opacity: 0;
transition: opacity 0.2s;
10 years ago
}
.example:hover {
10 years ago
top: -5px;
box-shadow: 0 2px 8px rgba(0,0,0,.2);
10 years ago
}
10 years ago
.example:hover:after {
opacity: 0.7;
}
10 years ago
pre code {
background-color: #fff;
box-shadow: 0 1px 1px rgba(0,0,0,.3);
}
/* Tomorrow Theme */
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
.tomorrow-comment, pre .comment, pre .title {
color: #8e908c;
}
.tomorrow-red, pre .variable, pre .attribute, pre .tag, pre .regexp, pre .ruby .constant, pre .xml .tag .title, pre .xml .pi, pre .xml .doctype, pre .html .doctype, pre .css .id, pre .css .class, pre .css .pseudo {
color: #c82829;
}
.tomorrow-orange, pre .number, pre .preprocessor, pre .built_in, pre .literal, pre .params, pre .constant {
color: #f5871f;
}
.tomorrow-yellow, pre .class, pre .ruby .class .title, pre .css .rules .attribute {
color: #eab700;
}
.tomorrow-green, pre .string, pre .value, pre .inheritance, pre .header, pre .ruby .symbol, pre .xml .cdata {
color: #718c00;
}
.tomorrow-aqua, pre .css .hexcolor {
color: #3e999f;
}
.tomorrow-blue, pre .function, pre .python .decorator, pre .python .title, pre .ruby .function .title, pre .ruby .title .keyword, pre .perl .sub, pre .javascript .title, pre .coffeescript .title {
color: #4271ae;
}
.tomorrow-purple, pre .keyword, pre .javascript .function {
color: #8959a8;
}
pre {
border: 0;
margin: 0;
padding: 0;
}
pre code {
display: block;
color: #4d4d4c;
font-size: 15px;
font-family: Menlo, Monaco, Consolas, monospace;
line-height: 1.5;
padding: 30px;
}