// Place all the styles related to the articles controller here. // They will automatically be included in application.css. // You can use Sass (SCSS) here: http://sass-lang.com/ div{ margin: 0; padding:0; } div.container{ width:100%; } div.sidebar{ width: 15%; position: relative; display: inline-block; vertical-align: top; padding-right: 5px; text-align: right; } div.sidebar a{ width: 100%; display: inline-block; margin-bottom: 10px; } div.main{ width: 75%; position: relative; display: inline-block; padding-left: 10px; border-left: 1px solid darkgray; } div.field_with_errors{ display: inline; color:red; } div.votes{ display: inline-block; width: 100px; height: 200px; position: relative; } div.vote{ position: relative; width: 50px; height: 50px; background-image: url('/assets/sprite_sheet.png'); background-size: 1000px; } h1{ text-decoration: underline; font-size:40pt;text-align: center;} h2{ margin-top: 0; } em{ font-size: small; font-weight: normal;} a.plain { text-decoration: none; display: inline-block; margin-top: 19px; margin-left: 23px; font-size: 24px; } div.up{ background-position: 966px 352px; } div.down{ background-position: 912px 352px; } table{ border: 1px gray solid; border-collapse: collapse; } th{ border-bottom: 3px gray solid; } td{ border: 1px gray solid; }