Created
September 11, 2008 06:54
-
-
Save seaofclouds/10177 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* iBackpack Micro | |
if you use 37signals' http://backpackit.com and an iphone, | |
you might appreciate this stylesheet, which you can append | |
to your backpack pages. to do so, create a new note on | |
your page with the following code: | |
p{text-align:center;margin-top:-1em}. <small><a href="http://gist.github.com/10177" style="color:#ddd">iBackpack Micro</a></small><meta name="viewport" content="width=320, user-scalable=no" /><link media="only screen and (max-device-width: 480px)" href="http://gist.github.com/10177.txt" type="text/css" rel="stylesheet" /> | |
feel free to fork this gist as well, we'd love to see what | |
you do with it. | |
The original iBackpack by Justin Michael was an excellent | |
start for what we've done here. This version of iBackpack | |
is concise, a tighter looking, and without the site-wide | |
cruft that comes with backpack. Use this version if you | |
like, or grab the excellent original, at | |
http://violetpixel.com/ibp/ | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
-webkit-text-size-adjust: none !important; | |
} | |
html body#body div#Header div#Tabs ul#MainTabs li a { | |
font-size: .9em !important; | |
line-height: 1.2em !important; | |
} | |
html body#body { | |
line-height: 2.3em !important; | |
} | |
div#Header div#tab_container { | |
padding-left: 0 !important; | |
line-height: normal !important; | |
margin-bottom:0 !important; | |
} | |
div#Header div#tab_container, div.fix_width { | |
width: 320px !important; | |
} | |
div#header, div#Pages div.search { | |
background-color:#009933; | |
margin-bottom:0 !important; | |
text-align: center !important; | |
} | |
div#Pages div.search { | |
margin-top:-6px !important; | |
} | |
ul#account_links li { | |
display:inline !important; | |
} | |
ul#account_links { | |
text-align: center !important; | |
padding-top:5px; | |
} | |
ul#account_links li a { | |
color: #fff !important; | |
} | |
html body#body div#Header { | |
width: 320px !important; | |
padding: 0 !important; | |
height: 24px !important; | |
} | |
div#open_bar, #tab_container ul#tabs, #Tabs ul#MainTabs, | |
div#Tabs, div#sidebar_links, .button_to_add_new { | |
display: none !important; | |
} | |
#tab_container ul#tabs li a { | |
font-size: 9px !important; | |
} | |
#page_top div.tag_forms div.form p.instruction { | |
width: 290px !important; | |
} | |
div#Wrapper { | |
padding: 0 !important; | |
margin: 0 !important; | |
width: 320px !important; | |
} | |
div#Container { | |
float: none !important; | |
width: 100% !important; | |
margin: 0 !important; | |
word-wrap: break-word !important; | |
background: #fff !important; | |
} | |
div#Sidebar { | |
float: none !important; | |
width: 320px !important; | |
margin: 0 !important; | |
padding: 0 !important; | |
} | |
div#Main { | |
margin-right: 0 !important; | |
} | |
div#page_top { | |
padding: 0 !important; | |
} | |
div#Footer { | |
width: 320px !important; | |
padding: 0 !important; | |
margin: 0 !important; | |
} | |
div#BottomShadow { | |
background-image: none !important; | |
background-color: #eee !important; | |
} | |
div#utility_bar { | |
background-image: none !important; | |
margin: 0 !important; | |
padding: 5px !important; | |
line-height:20px !important; | |
} | |
div#utility_bar p { | |
padding: 0 !important; | |
line-height:20px !important; | |
} | |
div#widget_bar { | |
font-size: 18px !important; | |
line-height: 18px !important; | |
padding: 0 !important | |
} | |
div#widget_bar div.widget_bar span.sharing_link { | |
float:none !important; | |
width:auto !important; | |
text-align:left !important; | |
display:block !important; | |
margin-bottom:5px !important; | |
} | |
div#widget_bar div.widget_bar span.sharing_link a{ | |
font-weight:bold !important; | |
} | |
body.page div#BottomShadow { | |
background: #fff !important; | |
} | |
#widgets div.page_widget { | |
padding: 13px 0 0 !important; | |
} | |
div.page_widget div.widget_parent { | |
margin: 0 0 0 -25px !important; | |
padding:0 0 0 25px !important; | |
} | |
body.page div.form input { | |
width: 230px !important; | |
} | |
body.page div.note_wrapper div.form input.note_title { | |
width: 230px !important; | |
} | |
body.page div.note_wrapper div.form textarea { | |
width: 230px !important; | |
height: 80px !important; | |
} | |
body.page div.form textarea { | |
width: 230px !important; | |
height: 80px !important; | |
} | |
body.page div.form input.button, body.page div.form input.auto, | |
table.form tr.checkbox td input, body.page div.form div.buttons input { | |
width: auto !important; | |
} | |
h2.note_title, div.note_body, .list_title { | |
margin-right: 10px !important; | |
margin-left: 10px !important; | |
} | |
div.widget div.nubbin div.wrapper { | |
background: none !important; | |
font-size: 20px !important; | |
height: auto !important; | |
line-height: normal !important; | |
position: static !important; | |
right: inherit !important; | |
width: auto !important; | |
} | |
div.nubbin { | |
position: static !important; | |
top: auto !important; | |
left: auto !important; | |
height: auto !important; | |
width: auto !important; | |
font-size: 14px !important; | |
} | |
div.nubbin ul { | |
height: auto !important; | |
width: auto !important; | |
} | |
div.nubbin ul li { | |
padding: 8px 10px 6px 0 !important; | |
} | |
div.nubbin ul li span { | |
font-size: 14px !important; | |
line-height: normal !important; | |
} | |
div.nubbin ul li img, .completed_item img { | |
height: 16px !important; | |
width: 16px !important; | |
} | |
div.page div#widgets div.widget div.note div.note_body ul { | |
margin-left: 0 !important; | |
padding-left:25px !important; | |
} | |
div.page div#widgets div.widget div.note div.note_body ul li { | |
margin: 0 !important; | |
padding-left:0 !important; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* because our original ibackpack_lite was too heavy for even us, we lightened it up even more */ | |
div#Sidebar, div#Header, div#widget_bar div.widget_bar span.sharing_link { | |
display: none !important; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment