all repos — h3rald @ cc42c5ceb459bce4569251a8741109b870081858

The sources of https://h3rald.com

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
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
@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: 5px

blockquote
  background: url(../images/theme/quote.png) no-repeat top left

.note .note-title
  font-style: normal
  font-weight: bold
  padding-right: 1em

.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: 1px dashed $gray
  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: white
    padding: 5px 0

#toc
  float: right
  width: 250px
  padding: 10px
  margin: 0 0 10px 15px
  +default_border
  ol
    li
      margin-left: 1.5em
      li
        margin-left: 1.5em
        li
          margin-left: 1.5em
          li
            margin-left: 1.5em
            li
              margin-left: 1.5em
  li
    line-height: 1.2em

#toctitle
  font-variant: small-caps
  font-weight: bold

.toc-top-link
  font-size: 13px
  margin-left: 15px

.contents > #toc
  display: none

.contents ol li
  list-style-type: none

div.navigation 
  display: block
  margin: auto
  text-align: center
  margin: 2em 0

div.navigation a
  font-weight: bold
  font-variant: small-caps
  margin-left: 3em
  margin-right: 3em

#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
  margin: 10px auto
  +default_border

tr
  border-bottom: 1px solid $gray

#search_form tr, #timeline tr, #taglist tr
  border-bottom: none

table
  &#timeline, &#taglist
    border: none

tr, td, th
  padding: 5px

td
  border-left: 1px solid $gray
  border-right: 1px solid $gray

th
  background: #cecece
  +default_border

#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: #333333
    border: 2px solid $gray
    background: #cccccc
    outline: none
    padding: 0.1em 0.3em
    vertical-align: middle
    &:hover
      border: 2px solid #cf282d
      background: #eeeeee
      color: #121212
    &:active
      background: #aaaaaa
      outline: none
  &[type=text]
    color: #333333
    border: 2px solid #333333
    background: white
    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: black
  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