|
|
|
/*
|
|
|
|
HTML5 ✰ Boilerplate
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
|
|
|
|
v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark
|
|
|
|
html5doctor.com/html-5-reset-stylesheet/
|
|
|
|
*/
|
|
|
|
|
|
|
|
html, body, div, span, object, iframe,
|
|
|
|
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
|
|
|
abbr, address, cite, code,
|
|
|
|
del, dfn, em, img, ins, kbd, q, samp,
|
|
|
|
small, strong, sub, sup, var,
|
|
|
|
b, i,
|
|
|
|
dl, dt, dd, ol, ul, li,
|
|
|
|
fieldset, form, label, legend,
|
|
|
|
table, caption, tbody, tfoot, thead, tr, th, td,
|
|
|
|
article, aside, canvas, details, figcaption, figure,
|
|
|
|
footer, header, hgroup, menu, nav, section, summary,
|
|
|
|
time, mark, audio, video {
|
|
|
|
margin:0;
|
|
|
|
padding:0;
|
|
|
|
border:0;
|
|
|
|
outline:0;
|
|
|
|
font-size:100%;
|
|
|
|
vertical-align:baseline;
|
|
|
|
background:transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
article, aside, details, figcaption, figure,
|
|
|
|
footer, header, hgroup, menu, nav, section {
|
|
|
|
display:block;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav ul { list-style:none; }
|
|
|
|
|
|
|
|
blockquote, q { quotes:none; }
|
|
|
|
|
|
|
|
blockquote:before, blockquote:after,
|
|
|
|
q:before, q:after { content:''; content:none; }
|
|
|
|
|
|
|
|
a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }
|
|
|
|
|
|
|
|
ins { background-color:#ff9; color:#000; text-decoration:none; }
|
|
|
|
|
|
|
|
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
|
|
|
|
|
|
|
|
del { text-decoration: line-through; }
|
|
|
|
|
|
|
|
abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
|
|
|
|
|
|
|
|
/* tables still need cellspacing="0" in the markup */
|
|
|
|
table { border-collapse:collapse; border-spacing:0; }
|
|
|
|
|
|
|
|
hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
|
|
|
|
|
|
|
|
input, select { vertical-align:middle; }
|
|
|
|
|
|
|
|
/* END RESET CSS */
|
|
|
|
|
|
|
|
|
|
|
|
/* fonts.css from the YUI Library: developer.yahoo.com/yui/
|
|
|
|
refer to developer.yahoo.com/yui/3/cssfonts/ for font sizing percentages
|
|
|
|
|
|
|
|
there are three custom edits:
|
|
|
|
* remove arial, helvetica from explicit font stack
|
|
|
|
* we normalize monospace styles ourselves
|
|
|
|
* table font-size is reset in the HTML5 reset above so there is no need to repeat
|
|
|
|
*/
|
|
|
|
body { font:13px/1.231 sans-serif; *font-size:small; } /* hack retained to preserve specificity */
|
|
|
|
|
|
|
|
select, input, textarea, button { font:99% sans-serif; }
|
|
|
|
|
|
|
|
/* normalize monospace sizing
|
|
|
|
* en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome
|
|
|
|
*/
|
|
|
|
pre, code, kbd, samp { font-family: monospace, sans-serif; }
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* minimal base styles
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
body, select, input, textarea {
|
|
|
|
color: #333;
|
|
|
|
font-family: 'Helvetica Neue', Arial, sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* headers (h1,h2,etc) have no default font-size or margin,
|
|
|
|
you'll want to define those yourself. */
|
|
|
|
h1,h2,h3,h4,h5,h6 { font-weight: bold; }
|
|
|
|
|
|
|
|
/* always force a scrollbar in non-IE: */
|
|
|
|
html { overflow-y: scroll; }
|
|
|
|
|
|
|
|
|
|
|
|
/* accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
|
|
|
|
a:hover, a:active { outline: none; }
|
|
|
|
|
|
|
|
a, a:active, a:visited { color: #607890; }
|
|
|
|
a:hover { color: #036; }
|
|
|
|
|
|
|
|
|
|
|
|
ul, ol { margin-left: 2em; }
|
|
|
|
ol { list-style-type: decimal; }
|
|
|
|
|
|
|
|
/* remove margins for navigation lists */
|
|
|
|
nav ul, nav li { margin: 0; }
|
|
|
|
|
|
|
|
small { font-size: 85%; }
|
|
|
|
strong, th { font-weight: bold; }
|
|
|
|
|
|
|
|
pre {
|
|
|
|
padding: 15px;
|
|
|
|
|
|
|
|
/* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
|
|
|
|
white-space: pre; /* CSS2 */
|
|
|
|
white-space: pre-wrap; /* CSS 2.1 */
|
|
|
|
white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
|
|
|
|
word-wrap: break-word; /* IE */
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea { overflow: auto; } /* www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */
|
|
|
|
|
|
|
|
.ie6 legend, .ie7 legend { margin-left: -7px; } /* thnx ivannikolic! */
|
|
|
|
|
|
|
|
/* align checkboxes, radios, text inputs with their label
|
|
|
|
by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css */
|
|
|
|
input[type="radio"] { vertical-align: text-bottom; }
|
|
|
|
input[type="checkbox"] { vertical-align: bottom; }
|
|
|
|
|
|
|
|
|
|
|
|
/* hand cursor on clickable input elements */
|
|
|
|
label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }
|
|
|
|
|
|
|
|
/* webkit browsers add a 2px margin outside the chrome of form elements */
|
|
|
|
button, input, select, textarea { margin: 0; }
|
|
|
|
|
|
|
|
/* j.mp/webkit-tap-highlight-color */
|
|
|
|
a:link { -webkit-tap-highlight-color: #FF5E99; }
|
|
|
|
|
|
|
|
/* make buttons play nice in IE:
|
|
|
|
www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
|
|
|
|
button { width: auto; overflow: visible; }
|
|
|
|
|
|
|
|
/* bicubic resizing for non-native sized IMG:
|
|
|
|
code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
|
|
|
|
.ie7 img { -ms-interpolation-mode: bicubic; }
|
|
|
|
|
|
|
|
|
|
|
|
/* >> The Magnificent CLEARFIX: Updated to prevent margin-collapsing on child elements << j.mp/bestclearfix */
|
|
|
|
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; visibility: hidden; }
|
|
|
|
.clearfix:after { clear: both; }
|
|
|
|
/* fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
|
|
|
|
.clearfix { zoom: 1; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Primary Styles
|
|
|
|
Author: David DeSandro / Metafizzy
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**** Typography ****/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**** Screen ****/
|
|
|
|
|
|
|
|
@media screen {
|
|
|
|
|
|
|
|
/* required for elements inheriting vertical size */
|
|
|
|
html {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
padding: 20px;
|
|
|
|
font-family: 'Helvetica Neue', Arial, sans-serif;
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 1.5em;
|
|
|
|
background: #1D1D1D;
|
|
|
|
color: #FFF;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: #FB4;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wrap {
|
|
|
|
background: transparent;
|
|
|
|
border: 4px solid #FFF;
|
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.element {
|
|
|
|
width: 110px;
|
|
|
|
height: 110px;
|
|
|
|
margin: 5px;
|
|
|
|
float: left;
|
|
|
|
background: white;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
color: #222;
|
|
|
|
border-top-right-radius: 1.2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.xray .element {
|
|
|
|
border-width: 5px;
|
|
|
|
border-style: solid;
|
|
|
|
width: 100px;
|
|
|
|
height: 100px;
|
|
|
|
background-color: hsla( 0, 0%, 14%, 0.8 ) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.element.alkali { background-color: hsl( 0, 100%, 50%); }
|
|
|
|
.element.alkaline-earth { background-color: hsl( 36, 100%, 50%); }
|
|
|
|
.element.lanthanoid { background-color: hsl( 72, 100%, 50%); }
|
|
|
|
.element.actinoid { background-color: hsl( 108, 100%, 50%); }
|
|
|
|
.element.transition { background-color: hsl( 144, 100%, 50%); }
|
|
|
|
.element.post-transition { background-color: hsl( 180, 100%, 50%); }
|
|
|
|
.element.metalloid { background-color: hsl( 216, 100%, 50%); }
|
|
|
|
.element.other.nonmetal { background-color: hsl( 252, 100%, 50%); }
|
|
|
|
.element.halogen { background-color: hsl( 288, 100%, 50%); }
|
|
|
|
.element.noble-gas { background-color: hsl( 324, 100%, 50%); }
|
|
|
|
|
|
|
|
|
|
|
|
.xray .element.alkali { color: hsl( 0, 100%, 50%); background-color: inherit; }
|
|
|
|
.xray .element.alkaline-earth { color: hsl( 36, 100%, 50%); background-color: inherit; }
|
|
|
|
.xray .element.lanthanoid { color: hsl( 72, 100%, 50%); background-color: inherit; }
|
|
|
|
.xray .element.actinoid { color: hsl( 108, 100%, 50%); background-color: inherit; }
|
|
|
|
.xray .element.transition { color: hsl( 144, 100%, 50%); background-color: inherit; }
|
|
|
|
.xray .element.post-transition { color: hsl( 180, 100%, 50%); background-color: inherit; }
|
|
|
|
.xray .element.metalloid { color: hsl( 216, 100%, 50%); background-color: inherit; }
|
|
|
|
.xray .element.other.nonmetal { color: hsl( 252, 100%, 50%); background-color: inherit; }
|
|
|
|
.xray .element.halogen { color: hsl( 288, 100%, 50%); background-color: inherit; }
|
|
|
|
.xray .element.noble-gas { color: hsl( 324, 100%, 50%); background-color: inherit; }
|
|
|
|
|
|
|
|
|
|
|
|
.element * {
|
|
|
|
position: absolute;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.element .symbol {
|
|
|
|
left: 0.2em;
|
|
|
|
top: 0.4em;
|
|
|
|
font-size: 3.8em;
|
|
|
|
line-height: 1.0em;
|
|
|
|
color: #FFF;
|
|
|
|
}
|
|
|
|
.element.large .symbol {
|
|
|
|
font-size: 4.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.xray .element .symbol {
|
|
|
|
left: 0.1em;
|
|
|
|
top: 0.3em;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
.xray .element.large .symbol {
|
|
|
|
font-size: 4.2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.xray .element.fake {
|
|
|
|
background-color: hsla( 0, 0%, 25%, 0.8 ) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.element.fake .symbol {
|
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.xray .element.fake .symbol {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.element .name {
|
|
|
|
left: 0.5em;
|
|
|
|
bottom: 1.6em;
|
|
|
|
font-size: 1.05em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.element .weight {
|
|
|
|
font-size: 0.9em;
|
|
|
|
left: 0.5em;
|
|
|
|
bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.element .number {
|
|
|
|
font-size: 1.25em;
|
|
|
|
font-weight: bold;
|
|
|
|
color: hsla(0,0%,0%,.5);
|
|
|
|
right: 0.5em;
|
|
|
|
top: 0.5em;
|
|
|
|
}
|
|
|
|
.xray .element .number { color: inherit; }
|
|
|
|
|
|
|
|
.variable-sizes .element.width2 { width: 230px; }
|
|
|
|
.variable-sizes.xray .element.width2 { width: 220px; }
|
|
|
|
|
|
|
|
.variable-sizes .element.height2 { height: 230px; }
|
|
|
|
.variable-sizes.xray .element.height2 { height: 220px; }
|
|
|
|
|
|
|
|
.variable-sizes .element.width2.height2 {
|
|
|
|
font-size: 2.0em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.element.large,
|
|
|
|
.variable-sizes .element.large,
|
|
|
|
.variable-sizes .element.large.width2.height2 {
|
|
|
|
font-size: 3.0em;
|
|
|
|
width: 350px;
|
|
|
|
height: 350px;
|
|
|
|
z-index: 100;
|
|
|
|
}
|
|
|
|
.xray .element.large,
|
|
|
|
.xray .variable-sizes .element.large,
|
|
|
|
.xray .variable-sizes .element.large.width2,
|
|
|
|
.xray .variable-sizes .element.large.height2 {
|
|
|
|
width: 340px;
|
|
|
|
height: 340px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wrap.isotope,
|
|
|
|
.isotope .element {
|
|
|
|
-webkit-transition-duration: 1.0s;
|
|
|
|
-moz-transition-duration: 1.0s;
|
|
|
|
/* -o-transition-duration: 1.0s;*/
|
|
|
|
transition-duration: 1.0s;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.wrap.isotope.no-transition,
|
|
|
|
.isotope.no-transition .element {
|
|
|
|
-webkit-transition-duration: 0s;
|
|
|
|
-moz-transition-duration: 0s;
|
|
|
|
/* -o-transition-duration: 0s;*/
|
|
|
|
transition-duration: 0s;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.wrap.isotope {
|
|
|
|
-webkit-transition-property: height, width;
|
|
|
|
-moz-transition-property: height, width;
|
|
|
|
/* -o-transition-property: height, width;*/
|
|
|
|
transition-property: height, width;
|
|
|
|
}
|
|
|
|
|
|
|
|
.isotope .element {
|
|
|
|
-webkit-transition-property: -webkit-transform, opacity;
|
|
|
|
-moz-transition-property: -moz-transform, opacity;
|
|
|
|
/* -o-transition-property: -o-transform, opacity;*/
|
|
|
|
transition-property: transform, opacity;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#filters li li,
|
|
|
|
.options li {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.isotope-hidden {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**** Horizontal ****/
|
|
|
|
|
|
|
|
/*.horizontal #options {
|
|
|
|
width: 300px;
|
|
|
|
position: absolute;
|
|
|
|
left: 20px;
|
|
|
|
top: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.horizontal .wrap {
|
|
|
|
height: 80%;
|
|
|
|
position: relative;
|
|
|
|
margin-left: 340px;
|
|
|
|
top: 20px;
|
|
|
|
}*/
|
|
|
|
|
|
|
|
.horizontal .wrap {
|
|
|
|
height: 80%;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* print styles
|
|
|
|
*/
|
|
|
|
@media print {
|
|
|
|
* { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
|
|
|
|
-ms-filter: none !important; } /* black prints faster: sanbeiji.com/archives/953 */
|
|
|
|
a, a:visited { color: #444 !important; text-decoration: underline; }
|
|
|
|
a[href]:after { content: " (" attr(href) ")"; }
|
|
|
|
abbr[title]:after { content: " (" attr(title) ")"; }
|
|
|
|
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } /* don't show links for images, or javascript/internal links */
|
|
|
|
pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
|
|
|
|
thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
|
|
|
|
tr, img { page-break-inside: avoid; }
|
|
|
|
@page { margin: 0.5cm; }
|
|
|
|
p, h2, h3 { orphans: 3; widows: 3; }
|
|
|
|
h2, h3{ page-break-after: avoid; }
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|