Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame^] | 1 | @red: #ff0000; |
| 2 | @black: #000000; |
| 3 | @white: #ffffff; |
| 4 | @light-grey: #eeeeee; |
| 5 | @med-grey: #999999; |
| 6 | @dark-grey: #4d4d4d; |
| 7 | @blue: #0e94ec; |
| 8 | @accent: @blue; |
| 9 | |
| 10 | body { |
| 11 | margin: 0; |
| 12 | padding: 0; |
| 13 | background-color: @white; |
| 14 | color: @dark-grey; |
| 15 | font-family: 'PT Sans', sans-serif; |
| 16 | font-size: 16px; |
| 17 | } |
| 18 | |
| 19 | a { |
| 20 | color: @black; |
| 21 | text-decoration: none; |
| 22 | } |
| 23 | |
| 24 | .border-radius (@radius: 5px) { |
| 25 | border-radius: @radius; |
| 26 | -moz-border-radius: @radius; |
| 27 | -webkit-border-radius: @radius; |
| 28 | } |
| 29 | |
| 30 | section#sidebar { |
| 31 | width: 25%; |
| 32 | height: 100%; |
| 33 | position: fixed; |
| 34 | top: 0; |
| 35 | left: 0; |
| 36 | border-right: @light-grey 1px solid; |
| 37 | |
| 38 | figure { |
| 39 | margin: 0; |
| 40 | padding: 60px 40px 0 40px; |
| 41 | } |
| 42 | |
| 43 | div#user_meta { |
| 44 | max-width: 192px; |
| 45 | margin: 0; |
| 46 | padding: 0 40px 60px 40px; |
| 47 | |
| 48 | h1 { |
| 49 | font-size: 30px; |
| 50 | font-family: 'PT Serif', serif; |
| 51 | font-weight: normal; |
| 52 | } |
| 53 | |
| 54 | h2 { |
| 55 | font-size: 12px; |
| 56 | font-family: 'PT Serif', serif; |
| 57 | font-weight: normal; |
| 58 | } |
| 59 | |
| 60 | ul { |
| 61 | margin: 60px 0 60px 0; |
| 62 | padding-left: 0; |
| 63 | list-style-type: none; |
| 64 | |
| 65 | li { |
| 66 | padding: 10px 0 10px 0; |
| 67 | font-family: 'PT Serif', serif; |
| 68 | a { |
| 69 | color: @med-grey; |
| 70 | border: 2px solid @light-grey; |
| 71 | .border-radius(10px); |
| 72 | padding: 5px 15px 5px 15px; |
| 73 | } |
| 74 | } |
| 75 | } |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | section#posts { |
| 80 | width: 75%; |
| 81 | position: absolute; |
| 82 | top: 0; |
| 83 | left: 25%; |
| 84 | overflow-x: hidden; |
| 85 | overflow-y: hidden; |
| 86 | |
| 87 | hr { |
| 88 | color: @light-grey; |
| 89 | background-color: @light-grey; |
| 90 | height: 1px; |
| 91 | border: none; |
| 92 | } |
| 93 | |
| 94 | header { |
| 95 | padding: 40px; |
| 96 | border-bottom: @light-grey 1px solid; |
| 97 | |
| 98 | h3 { |
| 99 | font-size: 12px; |
| 100 | color: @black; |
| 101 | text-transform: uppercase; |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | article { |
| 106 | padding: 40px; |
| 107 | max-width: 768px; |
| 108 | |
| 109 | h1 { |
| 110 | color: @black; |
| 111 | font-size: 24px; |
| 112 | } |
| 113 | |
| 114 | h2 { |
| 115 | color: @black; |
| 116 | font-size: 22px; |
| 117 | } |
| 118 | |
| 119 | h3 { |
| 120 | color: @black; |
| 121 | font-size: 20px; |
| 122 | } |
| 123 | |
| 124 | h4 { |
| 125 | color: @black; |
| 126 | font-size: 18px; |
| 127 | } |
| 128 | |
| 129 | h5 { |
| 130 | color: @black; |
| 131 | font-size: 16px; |
| 132 | } |
| 133 | |
| 134 | h6 { |
| 135 | color: @black; |
| 136 | font-size: 12px; |
| 137 | } |
| 138 | |
| 139 | code { |
| 140 | font-family: 'PT Mono', monospace; |
| 141 | background: @light-grey; |
| 142 | } |
| 143 | |
| 144 | pre { |
| 145 | padding: 0 0 0 15px; |
| 146 | color: @black; |
| 147 | border-left: 5px solid @accent; |
| 148 | font-size: 14px; |
| 149 | font-family: 'PT Mono', monospace; |
| 150 | background: @light-grey; |
| 151 | line-height: 20px; |
| 152 | } |
| 153 | |
| 154 | blockquote { |
| 155 | padding-left: 20px; |
| 156 | color: @med-grey; |
| 157 | } |
| 158 | |
| 159 | h1#title{ |
| 160 | a { |
| 161 | font-size: 28px; |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | div#article_content { |
| 166 | margin: 0; |
| 167 | padding: 0; |
| 168 | line-height: 26px; |
| 169 | } |
| 170 | |
| 171 | div#article_meta { |
| 172 | font-size: 10px; |
| 173 | color: @med-grey; |
| 174 | } |
| 175 | } |
| 176 | |
| 177 | footer { |
| 178 | border-top: @light-grey 1px solid; |
| 179 | padding: 40px; |
| 180 | |
| 181 | a.button_accent { |
| 182 | padding: 10px; |
| 183 | border: 2px solid @accent; |
| 184 | .border-radius(20px); |
| 185 | text-transform: uppercase; |
| 186 | color: @accent; |
| 187 | font-size: 20px; |
| 188 | &:hover { |
| 189 | color: @white; |
| 190 | background-color: @accent; |
| 191 | } |
| 192 | &:active { |
| 193 | color: @white; |
| 194 | background-color: @accent; |
| 195 | } |
| 196 | } |
| 197 | |
| 198 | p.paginator { |
| 199 | padding: 0; |
| 200 | } |
| 201 | } |
| 202 | } |