"red","rgb"=>"#e30613"), Array("name"=>"green","rgb"=>"#3aaa35"), Array("name"=>"blue","rgb"=>"#009fe3") ); /* * .yellow{ color:#ffde00; } * */ $color=$colors[rand(0, 2)]; ?> @charset 'UTF-8'; /*********************************************************************************/ /* Basic */ /*********************************************************************************/ @font-face { font-family: 'OCR'; font-style: normal; font-weight: 300; src: url(/misc/ocr_a_regular.ttf); } *{ margin:0; padding:0; -moz-box-sizing: border-box; box-sizing: border-box; } body, html{ height:100%; } body, input, textarea, select, option { font-family: 'Source Sans Pro', sans-serif; font-weight: 300; color: #222; } strong, b{ font-weight: 400; color: #363636; } h1, h2, h3, h4,h5, h6{ font-family: 'OCR'; font-weight: 400; color: #363636; } h3{ text-transform:uppercase; } a{ color:inherit; } blockquote { border-left: solid 0.5em #ddd; padding: 1em 0 1em 2em; font-style: italic; } em, i { font-style: italic; } hr { border: 0; border-top: solid 1px #ddd; padding: 1.5em 0 0 0; margin: 1.75em 0 0 0; clear:both; } sub { position: relative; top: 0.5em; font-size: 0.8em; } sup { position: relative; top: -0.5em; font-size: 0.8em; } table { width: 100%; } br.clear { clear: both; } p, ul, ol, dl, table, blockquote, form { margin-bottom: 2em; } /*********************************************************************************/ /* Panels */ /*********************************************************************************/ #container{ width: 100%; height:100%; margin:0; background:#F8F8F8; } #marx{ min-width:130px; width:*; background: url("/img/marx_.png") no-repeat right; background-size:cover; } #line{ min-width:130px; width:*; background: url("/img/line_.png") right; background-size:contain; } #main{ background: #FFF; width:700px; height: 100vh; min-width:500px; border-right: 4px solid ; border-left: 4px solid ; position: relative; } #main>div{ padding-top:130px; height: 100vh; overflow-x: hidden; overflow-y: auto; } #main article{ padding-left:100px; padding-right:20px; height:100%; overflow-x: hidden; overflow-y: auto; } .box{ margin:10px; overflow:hidden; } /*********************************************************************************/ /* Nav */ /*********************************************************************************/ #header { position:absolute; top:30px; height:100px; left:-120px; right:-70px; padding-left:50px; text-align:center; } #header h1 { font-size:64px; } #nav { position:absolute; top:142px; left:-120px; width:200px; } #nav ul { list-style-type:none; } #nav li, header { border: 4px solid ; background: white; margin-bottom:12px; padding:4px; } #nav a{ display: inline-block; width:100% } #nav a span { /*text-transform:*/ background:url("/img/texture_.png") no-repeat right bottom; background-size:70%; font-family:'OCR'; display: inline-block; color: #000; font-size:1.3em; width:100%; line-height: 1.5em; padding-right:60px; } #nav .active span { text-decoration:underline; } /*********************************************************************************/ /* Content */ /*********************************************************************************/ /*********************************************************************************/ /* Footer */ /*********************************************************************************/ #footer { font-family:'OCR'; }