refactored twitter javascript added fuzzy time
This commit is contained in:
parent
d2a23f60e9
commit
69379ab044
8 changed files with 210 additions and 79 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
// Main Section Colors
|
||||
!body_color = #333
|
||||
!light_text = #999
|
||||
!body_bg = #323232
|
||||
|
||||
!header_bg = #323232
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
!base_font_size ||= 14px
|
||||
!base_font_size_small ||= 12px
|
||||
!base_font_size ||= 16px
|
||||
!small ||= floor(!base_font_size * .85)
|
||||
!big ||= floor(!base_font_size * 1.25)
|
||||
!base_font_color ||= #333
|
||||
!h6 = ceil(!base_font_size*1.3)
|
||||
!h5 = ceil(!base_font_size*1.4)
|
||||
|
@ -108,9 +109,9 @@
|
|||
hr
|
||||
margin-bottom= !font_size * 1.625
|
||||
|
||||
small
|
||||
small, .small
|
||||
font-size= floor(!font_size * .85)
|
||||
big
|
||||
big, .big
|
||||
font-size= floor(!font_size * 1.25)
|
||||
|
||||
=ol-style(!font_size = !base_font_size)
|
||||
|
|
|
@ -1,12 +1,18 @@
|
|||
#twitter
|
||||
font-size: 80%
|
||||
+border-radius
|
||||
background: #f3f3f3
|
||||
background: #f8f8f8
|
||||
border: 1px solid #eee
|
||||
padding: 5px 0
|
||||
p
|
||||
margin: 0 15px
|
||||
padding: 12px 0
|
||||
border-bottom: #ddd 1px dotted
|
||||
border-bottom: #ddd 1px dashed
|
||||
line-height: 1.625em
|
||||
&:last-child
|
||||
border-bottom: 0
|
||||
border-bottom: 0
|
||||
.pubdate
|
||||
color= !light_text
|
||||
font-size: 80%
|
||||
display: block
|
||||
padding: 8px 0 0
|
Loading…
Add table
Add a link
Reference in a new issue