Skip to content

Commit 0854d4e

Browse files
committed
Fluid layout for mobile support.
1 parent c277499 commit 0854d4e

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

public/css/style.css

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -238,41 +238,30 @@ ul {
238238
background:
239239
url('../img/pixel-borders-left.gif') no-repeat left -36px,
240240
url('../img/pixel-borders-right.gif') no-repeat right -36px;
241-
display:block;
242-
height: 36px;
243-
position: relative;
244-
top: -34px;
245-
}
246-
247-
#content:after {
248-
content: '';
249-
background:
250-
url('../img/pixel-borders-left.gif') no-repeat left 0,
251-
url('../img/pixel-borders-right.gif') no-repeat right 0;
252-
display:block;
241+
display: block;
253242
height: 36px;
254243
position: relative;
255-
top: 34px;
244+
top: -18px;
256245
}
257246

258247
/* ---- Main ---- */
259248

260249
#main {
261-
width: 960px;
250+
max-width: 960px;
262251
margin: 0 auto;
263252
}
264253

265254
#content {
266255
display: inline-block;
267256
background-color: #fafafa;
268257
max-width: 720px;
269-
padding: 1em 0;
258+
padding: 0;
270259
}
271260

272261
/* ---- Article ---- */
273262

274263
article {
275-
padding: 1em 2em;
264+
padding: 1em 1em;
276265
border-bottom: solid 3px #e6e6e6;
277266
}
278267

@@ -397,7 +386,7 @@ article > footer {
397386
display: inline-block;
398387
vertical-align: top;
399388
width: 190px;
400-
margin: 1em 0 1em 46px;
389+
margin: 0 0 0 46px;
401390
}
402391

403392
#main aside section {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy