Merge lp:~dooferlad/ubuntu-community-webthemes/linaro-small-theme into lp:~linaro-connect-theme-devs/ubuntu-community-webthemes/light-django-linaro-theme

Proposed by Chris Johnston
Status: Merged
Approved by: Chris Johnston
Approved revision: 49
Merged at revision: 45
Proposed branch: lp:~dooferlad/ubuntu-community-webthemes/linaro-small-theme
Merge into: lp:~linaro-connect-theme-devs/ubuntu-community-webthemes/light-django-linaro-theme
Diff against target: 247 lines (+116/-31) (has conflicts)
5 files modified
media/css/core-grid.css (+73/-28)
media/css/core.css (+3/-0)
media/css/extra_styles.css (+33/-1)
media/css/old/default.css (+2/-2)
templates/website_base.html (+5/-0)
Text conflict in templates/website_base.html
To merge this branch: bzr merge lp:~dooferlad/ubuntu-community-webthemes/linaro-small-theme
Reviewer Review Type Date Requested Status
Linaro Infrastructure Pending
Review via email: mp+103028@code.launchpad.net
To post a comment you must log in.
48. By James Tunnicliffe

More changes to make the site look nice at all screen widths

49. By James Tunnicliffe

Collapse padding on .row elements when screen width small

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'media/css/core-grid.css'
2--- media/css/core-grid.css 2012-03-23 22:38:31 +0000
3+++ media/css/core-grid.css 2012-04-24 17:01:23 +0000
4@@ -42,25 +42,56 @@
5 .wrapper {
6 margin: 0 auto;
7 text-align: left;
8- padding:0 60px;
9- width: 65.333em; /* 980px / 15px (baseline font); 980px + (60px x 2) = 1100px */
10-}
11-
12-.inner-wrapper {
13- background: #fff;
14- clear: both;
15- display: inline; /* HACK_IE_LTE_6: To fix IE 6 double margin bug. */
16- float: left;
17- padding: 0 1.333em; /* 20px / 15px */
18- position: relative;
19- width: 62.667em; /* 940px / 15px */
20-}
21-
22-.row { /** Clear entire row. */
23- clear: both;
24- float: left;
25- margin: 0;
26- width: 100%;
27+ max-width: 65.333em; /* 980px / 15px (baseline font); 980px + (60px x 2) = 1100px */
28+}
29+
30+@media screen and (min-width: 481px) {
31+ .inner-wrapper {
32+ background: #fff;
33+ clear: both;
34+ display: inline; /* HACK_IE_LTE_6: To fix IE 6 double margin bug. */
35+ float: left;
36+ position: relative;
37+ }
38+}
39+
40+@media screen and (max-width: 481px) {
41+ .inner-wrapper {
42+ background: #fff;
43+ clear: both;
44+ display: inline; /* HACK_IE_LTE_6: To fix IE 6 double margin bug. */
45+ float: left;
46+ padding: 0 0 0 0;
47+ position: relative;
48+ }
49+}
50+
51+.inner-wrapper-full-width {
52+ background: #fff;
53+ clear: both;
54+ display: inline; /* HACK_IE_LTE_6: To fix IE 6 double margin bug. */
55+ float: left;
56+ padding: 0 0 0 0;
57+ position: relative;
58+ width: 100%;
59+}
60+
61+@media screen and (min-width: 481px) {
62+ .row { /** Clear entire row. */
63+ clear: both;
64+ float: left;
65+ margin: 0 20px;
66+ width: 100%;
67+ }
68+}
69+
70+@media screen and (max-width: 481px) {
71+ .row { /** Clear entire row. */
72+ clear: both;
73+ float: left;
74+ margin: 0;
75+ width: 100%;
76+ }
77 }
78
79 /**
80@@ -69,13 +100,27 @@
81 * @section columns
82 */
83
84-.span-3, .span-4, .span-6, .span-5, .span-7, .span-8, .span-9, .span-12 {
85- clear: none;
86- display: inline; /* HACK_IE_LTE_6: To fix IE 6 double margin bug. */
87- float: left;
88- margin: 0 1.333em 1.333em 0;
89- padding: 0;
90- position: relative;
91+@media screen and (min-width: 481px) {
92+ .span-3, .span-4, .span-6, .span-5, .span-7, .span-8, .span-9, .span-12 {
93+ clear: none;
94+ display: inline; /* HACK_IE_LTE_6: To fix IE 6 double margin bug. */
95+ float: left;
96+ margin: 0 1.333em 1.333em 0;
97+ padding: 0;
98+ position: relative;
99+ }
100+}
101+
102+
103+@media screen and (max-width: 481px) {
104+ .span-3, .span-4, .span-6, .span-5, .span-7, .span-8, .span-9, .span-12 {
105+ clear: none;
106+ display: inline; /* HACK_IE_LTE_6: To fix IE 6 double margin bug. */
107+ float: left;
108+ margin: 0 0.5em 0.5em 0;
109+ padding: 0;
110+ position: relative;
111+ }
112 }
113
114 .span-3 {
115@@ -94,7 +139,7 @@
116 width: 36em; /* 540px / 15px */
117 }
118 .span-8 {
119- width: 41.333em; /* 620px / 15px */
120+ max-width: 41.333em; /* 620px / 15px */
121 }
122 .span-9 {
123 width: 46.666em; /* 700px / 15px */
124@@ -282,4 +327,4 @@
125 }
126 .clearfix {
127 display: block;
128-}
129\ No newline at end of file
130+}
131
132=== modified file 'media/css/core.css'
133--- media/css/core.css 2012-03-24 23:52:17 +0000
134+++ media/css/core.css 2012-04-24 17:01:23 +0000
135@@ -143,6 +143,7 @@
136 -webkit-border-radius: 0 0 4px 4px;
137 border-radius: 0 0 4px 4px;
138 overflow: hidden;
139+ margin: 0 20px;
140 }
141
142 header .nav-secondary li {
143@@ -234,6 +235,7 @@
144 -moz-border-radius: 0 0 4px 4px;
145 -webkit-border-radius: 0 0 4px 4px;
146 border-radius: 0 0 4px 4px;
147+ margin: 0 20px;
148 }
149
150 .nav-secondary ul {
151@@ -267,6 +269,7 @@
152 box-shadow: 0 2px 3px #c9c9c9;
153 position: relative;
154 z-index: 1;
155+ width: 100%;
156 }
157
158 .inner-wrapper div.row:first-child {
159
160=== modified file 'media/css/extra_styles.css'
161--- media/css/extra_styles.css 2012-03-25 15:38:13 +0000
162+++ media/css/extra_styles.css 2012-04-24 17:01:23 +0000
163@@ -79,7 +79,7 @@
164 }
165
166 table.basic {
167- width:542px;
168+ max-width:542px;
169 text-align:left;
170 padding:0 8px;
171 margin:20px auto;
172@@ -309,6 +309,38 @@
173 color: #dd4814;
174 }
175
176+/* Reset default unordered list display style to remove bulleting/spacing */
177+#column-schedule ul {
178+ list-style: none;
179+}
180+/* Stack LI elements horizontally instead of the default vertical orientation */
181+#column-schedule li {
182+ float: left;
183+ margin-right: 1em;
184+}
185+
186+/* Reset default unordered list display style to remove bulleting/spacing */
187+#column-schedule-inner ul {
188+ list-style: disc;
189+ /*border-right: dotted;
190+ border-right-width: 1px;*/
191+}
192+/* Stack LI elements horizontally instead of the default vertical orientation */
193+#column-schedule-inner li {
194+ float: none;
195+ margin-right: 1em;
196+ padding: 0em;
197+ line-height: 1.5em;
198+ margin-bottom: 0px;
199+ margin-top: 0px;
200+}
201+
202+/* Social widgets */
203+.social-widget {
204+ float: left;
205+ display: inline-block;
206+ margin-right: 2px;
207+}
208
209 /*
210 *
211
212=== modified file 'media/css/old/default.css'
213--- media/css/old/default.css 2012-03-25 15:38:13 +0000
214+++ media/css/old/default.css 2012-04-24 17:01:23 +0000
215@@ -773,9 +773,9 @@
216 }
217
218 #the-logo {
219- background: url("../images/linaro-connect-logo.png");
220+ background: url("../images/linaro-connect-logo-small.png");
221 width: 118px;
222- height: 50px;
223+ height: 48px;
224 float: right;
225 }
226
227
228=== added file 'media/images/linaro-connect-logo-small.png'
229Binary files media/images/linaro-connect-logo-small.png 1970-01-01 00:00:00 +0000 and media/images/linaro-connect-logo-small.png 2012-04-24 17:01:23 +0000 differ
230=== modified file 'media/images/linaro-connect-logo.png'
231Binary files media/images/linaro-connect-logo.png 2011-09-12 19:49:06 +0000 and media/images/linaro-connect-logo.png 2012-04-24 17:01:23 +0000 differ
232=== modified file 'templates/website_base.html'
233--- templates/website_base.html 2012-04-17 20:44:26 +0000
234+++ templates/website_base.html 2012-04-24 17:01:23 +0000
235@@ -64,8 +64,13 @@
236 </ul>
237 {% endblock %}
238 </nav>
239+<<<<<<< TREE
240 <a class="logo-ubuntu" href="/">
241 <img width="108" height="50" src="{{ubuntu_website_media}}/images/linaro-connect-logo.png" alt="Linaro Connect Logo"/>
242+=======
243+ <a class="logo-ubuntu" href="http://connect.linaro.org/events/event/linaro-connect-q2-12/">
244+ <img src="{{ubuntu_website_media}}/images/linaro-connect-logo-small.png" alt="Linaro Connect Logo"/>
245+>>>>>>> MERGE-SOURCE
246 <h2 class="header-text"><a href="/">{% block logo_text %}Country Loco Team{% endblock %}</a></h2>
247 </a>
248

Subscribers

People subscribed via source and target branches