seaofclouds (owner)

Revisions

gist: 10177 Download_button fork
public
Public Clone URL: git://gist.github.com/10177.git
Embed All Files: show embed
readme #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* 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/
 
*/
ibackpack_lite.css #
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
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;
}
 
 
ibackpack_micro.css #
1
2
3
4
5
6
7
8
/* 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;
}