The Color Scheme Selectotron |
Here is a listing of the current selections for reference:
Here is an HTML5 template to work from: <!DOCTYPE html> <html lang="en"> <head> <title>Your Page Name Goes Here</title> <meta name="description" content="page summary here"> <meta charset="UTF-8" /> <meta http-equiv="X-Clacks-Overhead" content="GNU Terry Pratchett" /> <link rel="author" href="https://plus.google.com/+IanFlockhart"> <!-- add/remove libraries as needed, hashes can be looked up at https://srihash.org/ notes on SRI and failover technique at https://hacks.mozilla.org/2015/09/subresource-integrity-in-firefox-43/?imm_mid=0d9f9d&cmp=em-web-na-na-newsltr_20151007 --> <script /> <link rel="stylesheet" type="text/css" href="my_styles.css" /> </head> <body> <header> <h2>Your Title Goes Here</h2> </header> <section> Your main body/text goes here. </section> </body> </html> And here is the matching style sheet (my_styles.css): body {background: #7EC0EE; /* background color outside boxes */ text-align: center; /* center as many things as possible */ color: #00008B} /* general text color */ h1, h2, h3, form {margin: 0in} /* compatability */ a:link {color: #6600EE} /* text color for unvisitted links */ a:active {color: #0000FF} /* active links */ a:visited {color: #0044DD} /* visitted links */ header, section { background: #CAE1FF; /* background color for boxes */ padding:4px; border: 2px solid #0000CD; margin: 10px 3px; } section { text-align: left; } section.ctr, header { text-align: center; } section.ctr *, header * { margin: auto; } table.box {background: #0000CD; /* border color for boxes */ margin: 0 auto; /* center the table */ width: 100%; border-collapse:separate; border-spacing: 2px; /*cellspacing="2"*/ } td.box, th.box { background: #CAE1FF; /* background color for boxes */ padding:4px; /* was <table cellpadding="4"> */ } td.leftbox, th.leftbox { background: #CAE1FF; /* background color for boxes */ padding:4px; /* was <table cellpadding="4"> */ text-align: left; /* left-align as many things as possible */ } td.centbox, th.centbox { background: #CAE1FF; /* background color for boxes */ padding:4px; /* was <table cellpadding="4"> */ text-align: center; /* center as many things as possible */ } /* not part of the colorscheme, but I keep using it */ div.twocol, section.twocol { -webkit-column-count: 2; -webkit-column-gap: 4px; -moz-column-count: 2; -moz-column-gap: 4px; column-count: 2; column-gap: 4px; } |