1
0
Fork 0
easejs/style.css

290 lines
4.6 KiB
CSS

/**
* ease.js color scheme
*
* Inspired by Tango Icon Theme
*/
html, body {
background-color: #eeeeec;
margin: 0px 0px 1.5em 0px;
padding: 0;
font-family: arial, serif;
font-size: 16px;
}
#header {
position: relative;
background-color: #2e3436;
color: #babdb6;
}
#header-content {
background-image: url('images/logo.png');
background-repeat: no-repeat;
background-position: 0px 50px;
margin: 0px auto;
height: 150px;
width: 800px;
}
#header h1 {
display: none;
margin: 0.25em 0px 0px 0px;
font-size: 4.5em;
color: #619ddb;
}
#header h1 .suffix {
position: relative;
top: 0.15em;
font-size: 0.8em;
color: #ce5c00;
}
#header h2.desc {
display: none;
position: relative;
top: -1.50em;
left: 0.30em;
font-size: 0.6em;
font-weight: normal;
padding: 0px;
margin: 0px;
}
#content {
position: relative;
background-color: white;
background-image: -webkit-gradient(
linear,
left top,
left bottom,
color-stop(0, rgb(255,255,255)),
color-stop(1, rgb(238,238,236))
);
background-image: -moz-linear-gradient(
center top,
rgb(255,255,255) 0%,
rgb(238,238,236) 100%
);
margin: 0px auto;
padding: 0.5em 1em 1em 1em;
width: 800px;
font-size: 0.9em;
}
#menu {
background-color: #3465a4;
border-bottom: 4px solid #204a87;
}
#menu ul {
padding: 0px;
height: 3.5em;
margin: 0px auto;
width: 800px;
}
#menu ul li {
list-style: none;
padding: 0px;
float: left;
line-height: 3em;
}
#menu a, #menu a:link {
display: inline-block;
padding: 0.25em 1em;
color: #041c40;
text-decoration: none;
font-weight: bold;
}
#menu a:hover,
#menu ul li.selected a {
background-color: #204a87;
}
#menu ul li.selected a {
color: #f57900;
}
p.copyright {
position: fixed;
bottom: 0px;
left: 0px;
right: 0px;
margin: 0;
padding: 1em;
color: #2e3436;
font-size: 0.8em;
text-align: center;
}
p.copyright a, p.copyright a:link {
color: #2e3436;
}
@-webkit-keyframes pulse {
0% {
-webkit-box-shadow: 0 0 0px #ffffff;
}
100% {
-webkit-box-shadow: 0 0 5px #ffffff;
}
}
.btn {
display: inline-block;
background-color: #f57900;
color: white;
font-weight: bold;
cursor: pointer;
text-align: center;
padding: 0.25em 0.5em;
border: 1px solid #ce5c00;
border-radius: 0.25em;
-moz-border-radius: 0.25em;
background-image: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0, rgb(245,123,0)),
color-stop(1, rgb(206,93,0))
);
background-image: -moz-linear-gradient(
center bottom,
rgb(245,123,0) 0%,
rgb(206,93,0) 100%
);
}
.btn.green {
border: 1px solid #4e9a06;
background-image: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0, rgb(116,210,22)),
color-stop(1, rgb(139,226,52))
);
background-image: -moz-linear-gradient(
center bottom,
rgb(116,210,22) 0%,
rgb(139,226,52) 100%
);
}
.btn.med {
width: 75px;
font-size: 1.5em;
text-shadow: black 2px 2px 4px;
}
.btn.large {
width: 100px;
font-size: 2em;
text-shadow: black 2px 2px 5px;
}
.glow {
-webkit-box-shadow: 0 0 5px #ffffff;
-moz-box-shadow: 0 0 5px #ffffff;
box-shadow: 0 0 5px #ffffff;
-webkit-transition: -webkit-box-shadow 0.25s linear;
-moz-transition-property: -moz-box-shadow;
-moz-transition-duration: 0.25s;
-webkit-animation-name: pulse;
-webkit-animation-duration: 1s;
-webkit-animation-direction: alternate;
-webkit-animation-timing-function: ease-in-out;
-webkit-animation-iteration-count: 1;
}
.glow:hover {
-webkit-box-shadow: 0 0 10px #ffffff;
-moz-box-shadow: 0 0 10px #ffffff;
box-shadow: 0 0 10px #ffffff;
}
#try {
display: block;
position: relative;
margin: 0px auto;
top: 1.5em;
}
#trybox {
position: relative;
border: 1px solid #eeeeec;
border-radius: 0.5em;
-moz-border-radius: 0.5em;
background-image: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0, rgb(186,189,182)),
color-stop(1, rgb(238,238,236))
);
background-image: -moz-linear-gradient(
center bottom,
rgb(186,189,182) 0%,
rgb(238,238,236) 100%
);
padding: 1em;
}
#trybox h2 {
margin: 0px;
}
#trybox textarea {
width: 100%;
height: 20em;
}
#trybox #trybtns {
text-align: right;
}
#try-console {
width: 99%;
height: 10em;
font-size: 0.8em;
font-family: monospace;
}