Merge lp:~sil/summit/redo-mobile-summit into lp:~cjohnston/summit/action-item-links

Proposed by Stuart Langridge
Status: Needs review
Proposed branch: lp:~sil/summit/redo-mobile-summit
Merge into: lp:~cjohnston/summit/action-item-links
Diff against target: 81 lines (+17/-6)
3 files modified
summit/common/templates/common/index.html (+1/-1)
summit/schedule/templates/schedule/daily.html (+4/-1)
summit/schedule/templates/schedule/summit.html (+12/-4)
To merge this branch: bzr merge lp:~sil/summit/redo-mobile-summit
Reviewer Review Type Date Requested Status
Chris Johnston Pending
Review via email: mp+99138@code.launchpad.net

Description of the change

Reapply mobile changes after ubuntu_website theme change.

The "developer summit" header is weird; can't seem to get it to work right. Still, this is an improvement, it's mostly back to where it was.

Test by making your browser narrower than 480px.

To post a comment you must log in.

Unmerged revisions

329. By Stuart Langridge

re-apply mobile changes. developer summit header is still weird; can't fix it

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'summit/common/templates/common/index.html'
--- summit/common/templates/common/index.html 2012-03-18 19:53:58 +0000
+++ summit/common/templates/common/index.html 2012-03-23 23:54:19 +0000
@@ -8,7 +8,7 @@
8<style>8<style>
9/* Mobile-friendly styles */9/* Mobile-friendly styles */
10@media screen and (max-width: 481px) {10@media screen and (max-width: 481px) {
11 aside#top-nav, header#page-header, aside#page-related, footer#page-footer, section#main-section .container, article.main-content, .container, #main-nav, .minor-content, #page-footer div.container { 11 aside#top-nav, header#page-header, aside#page-related, footer#page-footer, section#main-section .container, article.main-content, .container, #main-nav, .minor-content, #page-footer div.container, .wrapper, .inner-wrapper {
12 width: auto;12 width: auto;
13 margin: 0; padding: 0;13 margin: 0; padding: 0;
14 }14 }
1515
=== modified file 'summit/schedule/templates/schedule/daily.html'
--- summit/schedule/templates/schedule/daily.html 2012-03-18 15:48:27 +0000
+++ summit/schedule/templates/schedule/daily.html 2012-03-23 23:54:19 +0000
@@ -87,7 +87,7 @@
87@media screen and (max-width: 481px) {87@media screen and (max-width: 481px) {
88 /* turn off a bunch of stuff */88 /* turn off a bunch of stuff */
89 nav#top-related, header#page-header, aside#page-related, footer#page-footer { display: none; }89 nav#top-related, header#page-header, aside#page-related, footer#page-footer { display: none; }
90 section#main-section .container, article.main-content, aside#top-nav, aside#top-nav .container { 90 section#main-section .container, article.main-content, aside#top-nav, aside#top-nav .container, .wrapper, .inner-wrapper, .span-9 {
91 width: auto; 91 width: auto;
92 margin: 0; padding: 0;92 margin: 0; padding: 0;
93 }93 }
@@ -151,6 +151,9 @@
151 float: left;151 float: left;
152 margin-right: 4px;152 margin-right: 4px;
153 }153 }
154
155 header a.logo-ubuntu img { display: none; }
156
154}157}
155158
156</style>159</style>
157160
=== modified file 'summit/schedule/templates/schedule/summit.html'
--- summit/schedule/templates/schedule/summit.html 2012-03-23 16:28:03 +0000
+++ summit/schedule/templates/schedule/summit.html 2012-03-23 23:54:19 +0000
@@ -31,17 +31,19 @@
31<style>31<style>
32/* Mobile-friendly styles */32/* Mobile-friendly styles */
33@media screen and (max-width: 481px) {33@media screen and (max-width: 481px) {
34 aside#top-nav, header#page-header, aside#page-related, footer#page-footer, section#main-section .container, article.main-content, .container, #main-nav, .double-side-content, #page-footer div.container, #sub-nav-container, .side-content { 34 aside#top-nav, header#page-header, aside#page-related, footer#page-footer, section#main-section .container, article.main-content, .container, #main-nav, .double-side-content, #page-footer div.container, #sub-nav-container, .side-content, .wrapper, .inner-wrapper, .span-9, article {
35 width: auto;35 width: 100%;
36 margin: 0; padding: 0;36 margin: 0; padding: 0;
37 }37 }
38 #page-header { text-align: center; }38 #page-header { text-align: center; }
39 #page-header a { height: 24px; line-height: 1; float: none; display: inline; }39 #page-header a { height: 24px; line-height: 1; float: none; display: inline; }
40 #top-logo { display: none; }40 #top-logo { display: none; }
41 table.column { width: 100%; }41 table.column { width: 100%; margin: 0; padding: 0; border-width: 0; }
42 table.column td { display: block; width: 100%; }42 table.column td { display: block; width: 100%; margin: 0; padding: 0; border-width: 0; }
43 table.column td ul {43 table.column td ul {
44 width: 100%;44 width: 100%;
45 margin: 0;
46 padding: 0;
45 }47 }
46 article.main-content { width: 100%; }48 article.main-content { width: 100%; }
47 table.column td ul li {49 table.column td ul li {
@@ -55,11 +57,17 @@
55 width: 100%;57 width: 100%;
56 display: block;58 display: block;
57 padding: 4px 0;59 padding: 4px 0;
60 margin: 0;
58 }61 }
59 .double-side-content {62 .double-side-content {
60 text-align: center;63 text-align: center;
61 }64 }
62 .side-content { display: none; }65 .side-content { display: none; }
66 #fb-root * { width: auto; }
67 header h2 a {
68 max-width: 85px;
69 margin-top: -10px;
70 }
63}71}
64</style>72</style>
65{% endblock %}73{% endblock %}

Subscribers

People subscribed via source and target branches