body { padding:0px; margin: 0px; background-color: white; color: black; font-weight: 300; font-size: 12pt; line-height: 1.3em; } /* input labels */ .label { color: white; padding: 3px; } /* image auto-resizing */ img { width: 100%; height: auto; } /* text styling */ strong { font-weight: 600; } /* the '.' represents the class of an object. in the html file, there will be a
element with a 'class' tag inside the tag So anytime the specific class of 'warm' is called in any tag, these specifications will apply ex: it'll look like:
and then whatever content is within that p tag will share these attributes for ex: if within a
tag, i have some js function that randomly selects an image to display, the class of the p tag will determine where the image is placed and what it looks like */ .warm { color: steelblue; text-align: justify; } .cool { color: #ccccff; } h1 { margin-top: 0px; } /* these are all the same for now, but easy to modify individually */ #container-not-an-ad, #container-error, #container-exp, #container-consent, #container-instructions { background: white; margin: 30px; } #hideAll { position: fixed; left: 0px; right: 0px; top: 0px; bottom: 0px; background-color: white; z-index: 99; /* Higher than anything else in the document */ } /* ad.html - the ad that people view first */ #adlogo { width: 140px; padding: 2px; border: 1px solid #ccc; margin-right: 1em; } /* consent.html - the consent form */ #consent { margin: 0 auto; width: 800px; font-size: 100%; line-height: 1.5; } /* demographics.html - the demographics form */ #demographics { margin: 0 auto; width: 800px; font-size: 100%; line-height: 1.5; text-align: left; } #elsq { margin: 0 auto; width: 900px; font-size: 100%; line-height: 1.8; text-align: left; } input[type="radio"] { margin-right: 6px; margin-left: 10px; } input[type="text"] { margin-left: 8px; height: 26px; } input[type="checkbox"] { margin-right: 8px; margin-left: 8px; } h1, h2, h3, h4, h5, h6 { line-height: 1.5; } .legal { text-align: justify; font-size: 11pt; } #blank{ display: none; } table { width: 100px; float: left; color: black; margin-top: 40px; margin-right: 120px; margin-left: 120px; text-align: center; border-collapse: collapse; } #trial { margin: 0 auto; width: 800px; text-align: center; } #tr1 { border: 3px solid red; height: 40px; } #tr2 { border: 3px solid blue; height: 40px; } .fixedContainer { position: fixed; padding: 2em; left: 50%; top: 50%; transform: translate(-50%, -50%); height: 900px; width: 1440px; } html { animation: none !important; visibility: visible !important; opacity: 1 !important; display: block !important; }