/ Published in: CSS
This is a start towards a base CSS document. I need to add in a few more things, but this is in the right direction. The .htmlarea class is for sections with generic body content.
Expand |
Embed | Plain Text
/* GLOBALS */ html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code, del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li, fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td { margin:0; padding:0; border:0; outline:0; font-weight:inherit; font-style:inherit; font-size:100%; font-family:inherit; vertical-align:baseline; background:transparent;} :focus {outline:0;} ol, ul {list-style:none;} table {border-collapse:collapse; border-spacing:0;} caption, th, td {text-align:left; font-weight:normal;} blockquote:before, blockquote:after, q:before, q:after {content:"";} blockquote, q {quotes:"" "";} body {background:$1; text-align:$2; line-height:1; color:${3:#000}; font:${4:69%} $0} p {margin-bottom:1em;} a:link, a:visited {} a:hover, a:active {} /* CONTAINERS */ #container {} /* HEADER */ #header {} /* NAV */ #nav {} /* CONTENT */ #content {} h1 {} h2 {} h3 {} /* FOOTER */ #footer {clear:both;} /* HTMLAREA */ .htmlarea {} .htmlarea h1 {} .htmlarea h2 {} .htmlarea h3 {} .htmlarea h4,.htmlarea h5,.htmlarea h6 {} .htmlarea p {} .htmlarea ul, .htmlarea ol {} .htmlarea li {} .htmlarea dl {} .htmlarea dt {} .htmlarea dd {} .htmlarea .left {float:left; margin:0 6px 6px 0;} .htmlarea .right {float:right; margin:0 0 6px 6px;} /* FORMS */ form {float:left; display:inline-block;} form:after {content:"."; display:block; height:0; clear:both; visibility:hidden;} fieldset {padding:10px 14px; border:1px solid #ccc;} legend {font:1.4em/1em "Trebuchet MS",Tahoma,Helvetica,sans-serif; color:#000;} input, textarea, select, label {font:1em/1em Tahoma,Geneva,Kalimati,sans-serif;} form div {display:inline-block; padding-bottom:1em;} form div:after {content:"."; display:block; height:0; clear:both; visibility:hidden;} .textfield label, .textarea label, .file label, .dropdown label {display:block; width:100px; text-align:right; float:left; clear:left; margin-right:5px; padding-top:5px; color:#000; font-weight:bold;} select optgroup {font-style: normal;} .textfield input, .file input {width:200px;} .dropdown select {width:200px;} .file input {width:200px;} .textarea textarea {width:200px; height:6em;} .textfield input, .datefield input, .file input, .dropdown select, .textarea textarea {padding:2px 4px; border:1px solid #ccc; background:#EBEBEB; color:#333; font:1em/1.1em Tahoma,Geneva,Kalimati,sans-serif;} .textfield input:focus, .filefield input:focus, .dropdown select:focus, .textarea textarea:focus {background:#efefef; border-color:#999;} .textfield input:hover, .file input:hover, .dropdown select:hover, .textarea textarea:hover {background:#efefef; border-color:#999;} .checkbox, .radio {padding-left:15px;} .checkbox label, .radio label {padding-left:4px; font-weight:bold;} .multichoice {border:none; padding:1em 0 1.5em;} .multichoice legend {margin-bottom:0.2em; font:1em/1em Tahoma,Geneva,Kalimati,sans-serif; font-weight:bold;} .multichoice div {padding-bottom:0.4em;} .multichoice .checkbox label, .multichoice .radio label {font-weight:normal;} .buttons {background:#ececec; margin:1em 0; padding:8px 10px;} .buttons button {background:#fff; color:#333; font-size:1.1em; text-decoration:none; cursor:pointer; padding:1px 4px; border:1px solid #ccc; font-weight:bold;} .buttons button:hover {color:#FF8F18;} /* VALIDATION CSS */
You need to login to post a comment.
