forked from mozilla/bedrock
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #243 from craigcook/responsify-mozorg
Responsify mozorg pages, now from a cleaner, up-to-date base branch
- Loading branch information
Showing
18 changed files
with
523 additions
and
161 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{% extends "mozorg/base.html" %} | ||
{% extends "mozorg/base-resp.html" %} | ||
|
||
{% block content %} | ||
|
||
|
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,56 @@ | ||
@import "sandstone/variables.less"; | ||
@import "sandstone/mixins.less"; | ||
@import "sandstone/variables-resp.less"; | ||
@import "sandstone/mixins-resp.less"; | ||
@import "contribute-form.less"; | ||
|
||
#contribute-page { | ||
#main-feature { | ||
padding-top: @baseLine; | ||
padding-bottom: @baseLine; | ||
padding: @baseLine (@gridGutterWidth * 1.5); | ||
} | ||
#main-content p { | ||
.span(7); | ||
margin-left: 0; | ||
.span(8); | ||
clear: left; | ||
margin: 0 (@gridGutterWidth / 2) @baseLine; | ||
} | ||
} | ||
|
||
/* Tablet Layout: 760px */ | ||
@media only screen and (min-width: @breakTablet) and (max-width: @breakDesktop) { | ||
|
||
#contribute-page { | ||
#main-content p { | ||
.span_narrow(10); | ||
margin: 0 (@gridGutterWidth / 2) @baseLine; | ||
} | ||
} | ||
|
||
} | ||
|
||
/* Mobile layout: 320px */ | ||
@media only screen and (max-width: @breakTablet) { | ||
|
||
#contribute-page { | ||
#main-feature { | ||
padding: @baseLine @gridGutterWidth; | ||
} | ||
#main-content p { | ||
width: auto; | ||
margin: 0 (@gridGutterWidth / 2) @baseLine; | ||
} | ||
} | ||
|
||
} | ||
|
||
/* Wide Mobile Layout: 480px */ | ||
@media only screen and (min-width: @breakMobileLandscape) and (max-width: @breakTablet) { | ||
|
||
#contribute-page { | ||
#main-feature { | ||
padding: @baseLine 0; | ||
} | ||
#main-content p { | ||
width: auto; | ||
margin: 0 0 @baseLine; | ||
} | ||
} | ||
|
||
} |
Oops, something went wrong.