content/css/_elements.sass
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 |
-----
-----
@import definitions
#content img
margin: 0 5px
padding: 2px
#content
li, dd
margin-left: 30px
line-height: 1.5em
dt
margin-top: 1em
font-weight: bold
dd
font-style: italic
p
line-height: 1.5em
margin: 1em 0
blockquote, .note
color = !gray
font-style: italic
padding: 0 0 0 33px
margin: 0
background: url(../images/theme/quote.png) no-repeat top left
.hidden
display: none
.preload
background-position: -9999px -9999px
#navigation a
display: block
#nav-about
width: 115px
height: 52px
+button_img("about")
&:hover
+button_img("about_h")
.nav-about
+button_img("about_h")
#nav-other
width: 130px
height: 52px
+button_img("other")
&:hover
+button_img("other_h")
.nav-other
+button_img("other_h")
#nav-projects
width: 127px
height: 52px
+button_img("projects")
&:hover
+button_img("projects_h")
.nav-projects
+button_img("projects_h")
#nav-archives
width: 155px
height: 52px
+button_img("archives")
&:hover
+button_img("archives_h")
.nav-archives
+button_img("archives_h")
#services li
margin-left: 0
#services h3
display: block
text-align: center
a
margin: auto
display: block
#s-opinions
width: 192px
height: 52px
+button_img("opinions")
&:hover
+button_img("opinions_h")
.s-opinions
+button_img("opinions_h")
#s-tweets
width: 183px
height: 52px
+button_img("tweets")
&:hover
+button_img("tweets_h")
.s-tweets
+button_img("tweets_h")
#s-bookmarks
width: 197px
height: 52px
+button_img("bookmarks")
&:hover
+button_img("bookmarks_h")
.s-bookmarks
+button_img("bookmarks_h")
.spacer-20
display: block
height: 20px
.spacer-50
display: block
height: 50px
.spacer-100
display: block
height: 100px
.spacer-200
display: block
height: 200px
.feed-item
list-style-type: none
margin: 0.8em 0.3em
.feed-item-text, .feed-item-date
display: block
.feed-item-text
margin-top: 0.3em
margin-left: 1em
font-style: italic
.left-column
float: left
width: 400px
.right-column
float: right
width: 400px
.clearleft
clear: both
.article-item
padding: 0.5em 0
display: block
.article-meta
font-size: 0.8em
.tag
font-weight: bold
.project-data
border-left = 3px "double" !red
padding: 0 1em 1em 1.5em
margin: 0 0 0 1.5em
height: 300px
ul
overflow: hidden
&.article-meta
list-style-type: none
&.article-buttons
text-align: center
list-style-type: none
display: block
margin: auto
border = 1px "solid" !gray
background: #fff
padding: 5px 0
#content .article-buttons li
font-family: "Arial", "Sans-serif"
font-size: 0.8em
font-weight: bold
display: inline
margin-left: 0
vertical-align: top
#content .article-meta li
margin-left: 0
.inner-border img
margin-top: 7px
#legacy-comments, #intensedebate
max-width: 800px
margin: auto
.legacy-comment
padding: 5px 0
.lc-header
display: block
height: 20px
border: 1px solid #232323
background: #121212
padding: 5px
table
+double_border
table
&#timeline, &#taglist
border: none
tr, td, th
padding: 5px
td
border-left = 1px "solid" !red
border-right = 1px "solid" !red
th
border = 1px "solid" !red
#taglist, #timeline
width: 100%
border-bottom: none
margin: 20px 0
#taglist tr, #timeline tr
padding: 2px
width: 100%
#taglist td, #timeline td
padding: 2px
border-left: none
border-right: none
#content input
&[type=submit]
color: #333
border = 2px "solid" !gray
background: #ccc
outline: none
padding: 0.1em 0.3em
vertical-align: middle
&:hover
border: 2px solid #CF282D
background: #eee
color: #121212
&:active
background: #aaa
outline: none
&[type=text]
color: #333
border: 2px solid #333
background: #fff
outline: none
text-align: left
height: 21px
vertical-align: middle
&:hover, &:focus, &:active
border: 2px solid #CF282D
#search_form
clear: both
.gsc-resultsHeader, .gs-visibleUrl, .gsc-trailing-more-results, .gs-watermark
display: none
.gsc-result
padding: 0.5em 0
table.gsc-search-box
height: 25px
margin: auto
margin-top: 20px
.gsc-control, .gsc-resultsRoot
width: 850px
.gsc-search-box
border: none
td
border: none
.gsc-input
width: 400px
.gsc-branding
color: #000
font-style: italic
font-size: 80%
border: none
margin: auto
padding: 0
td.gsc-branding-img
text-align: left
div.gsc-clear-button
background: transparent url('../images/theme/icons/close.png') no-repeat center 50%
width: 10px
height: 10px
&:hover
cursor: pointer
.gsc-cursor-page
display: inline
padding-right: 7px
&:hover
cursor: pointer
.gsc-cursor-current-page
font-weight: bold
|