toloframework
Version:
Javascript/HTML/CSS compiler for Firefox OS or nodewebkit apps using modules in the nodejs style.
190 lines (164 loc) • 3.23 kB
CSS
body {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
overflow: hidden;
background: #ECE4D8;
}
small {
font-size: 80%;
line-height: 100%;
}
strong {
font-weight: 800;
}
a {
text-decoration-line: underline;
text-decoration-color: #5B7F98;
color: inherit;
}
a:hover {
box-shadow: 0 0 2px 2px #7EB0D2;
background: #7EB0D2;
text-decoration-line: none;
}
code {
}
i, em {
font-variant: italic;
}
img {
max-width: 99vw;
}
/*****************************************/
/* Header. */
body > header {
position: absolute;
left: 0;
top: 0;
right: 0;
width: 100%;
height: 4rem;
text-align: center;
background: #7C334F;
border-bottom: 2px solid #CD596B;
box-shadow: 0 4px #7C334F;
padding: 0;
text-shadow: 1px 1px #000;
}
body > header > h1 {
color: #ECE4D8;
font-variant: small-caps;
font-weight: 800;
font-size: 2rem;
margin: 0;
padding: 0;
line-height: 2rem;
border: none;
}
body > header > h2 {
display: block;
color: #E69B95;
margin: 0;
line-height: 1;
border: none;
font-size: 1rem;
}
body > header > h2 span.first-letter {
color: #ECE4D8;
font-size: 130%
}
/******************************************/
/* Footer. */
body > footer {
position: absolute;
left: 0;
right: 0;
bottom: 0;
width: 100%;
background: #5B7F98;
padding: .5rem;
border-top: 2px solid #7EB0D2;
box-shadow: 0 -4px #5B7F98;
height: 3rem;
}
body > footer > a {
display: block;
text-decoration: none;
text-align: center;
line-height: 1rem;
color: #EED;
font-weight: 800;
text-shadow: 1px 1px #003;
padding: 0 .5rem;
}
body > footer > a > small {
color: #7EB0D2;
}
body > footer > a:visited {
color: #EED;
}
body > footer > a:hover {
background: #456;
}
body > footer > a:nth-child(1) {
float: left;
}
body > footer > a:nth-child(2) {
float: right;
}
body > footer > a:nth-child(3) {
line-height: 2rem;
margin: 0 5rem;
}
/******************************************/
/* Section. */
body > section {
position: absolute;
left: 0;
top: 4rem;
right: 0;
bottom: 3rem;
width: 100%;
padding: 1rem .5rem 2rem .5rem;
overflow-x: hidden;
overflow-y: auto;
line-height: 1.2;
}
body > section > div {
margin: 0;
width: 100%;
}
@media (min-width: 800px) {
body > section > div {
margin: auto;
width: 800px;
}
}
/*****************************************/
/* Heading. */
h1 {
font-size: 1.58em;
color: #7C334F;
margin: 0.95em 0px 0.5em;
border-bottom: 0.1em solid #D3CCC1;
line-height: 1.2;
padding-bottom: 10px;
}
/*****************************************/
/* Items. */
ul {
margin: 0.7em 0px;
padding-left: 1.35em;
}
ol, ul {
list-style: outside none none;
}
ul li {
padding-left: 10px;
background: transparent url("../images/chevron.png") no-repeat scroll left 6px;
}