aboutsummaryrefslogtreecommitdiff
path: root/stylesheets
diff options
context:
space:
mode:
authorB Mathis <brandon@imathis.com>2009-11-06 15:27:28 -0600
committerB Mathis <brandon@imathis.com>2009-11-06 15:27:28 -0600
commit69379ab044fd4b06f36ebade76ed41b5f4f2a67c (patch)
tree8d0545c6b386c74cf9d3f9355810ae0ece213f1b /stylesheets
parentd2a23f60e98966335ba1939c570a7e020084607d (diff)
downloadmy_new_personal_website-69379ab044fd4b06f36ebade76ed41b5f4f2a67c.tar.xz
my_new_personal_website-69379ab044fd4b06f36ebade76ed41b5f4f2a67c.zip
refactored twitter javascript added fuzzy time
Diffstat (limited to '')
-rw-r--r--stylesheets/_theme.sass1
-rw-r--r--stylesheets/library/_typography.sass9
-rw-r--r--stylesheets/partials/_twitter.sass12
3 files changed, 15 insertions, 7 deletions
diff --git a/stylesheets/_theme.sass b/stylesheets/_theme.sass
index b159019e..016957b7 100644
--- a/stylesheets/_theme.sass
+++ b/stylesheets/_theme.sass
@@ -3,6 +3,7 @@
// Main Section Colors
!body_color = #333
+!light_text = #999
!body_bg = #323232
!header_bg = #323232
diff --git a/stylesheets/library/_typography.sass b/stylesheets/library/_typography.sass
index f5026cfe..34634aca 100644
--- a/stylesheets/library/_typography.sass
+++ b/stylesheets/library/_typography.sass
@@ -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)
diff --git a/stylesheets/partials/_twitter.sass b/stylesheets/partials/_twitter.sass
index 341c7535..85a56aed 100644
--- a/stylesheets/partials/_twitter.sass
+++ b/stylesheets/partials/_twitter.sass
@@ -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 \ No newline at end of file
+ border-bottom: 0
+ .pubdate
+ color= !light_text
+ font-size: 80%
+ display: block
+ padding: 8px 0 0 \ No newline at end of file