Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: pages/committee/apply.md

Issue 29438582: Issue 5135 - Reduce font size and padding on smaller screens on acceptableads.com (Closed) Base URL: https://hg.adblockplus.org/web.acceptableads.com
Patch Set: Handle responsive styling Created June 22, 2017, 3:27 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pages/committee/apply.md
===================================================================
--- a/pages/committee/apply.md
+++ b/pages/committee/apply.md
@@ -7,16 +7,39 @@
{
display: none;
}
.success #success-msg, .error-response #error-msg
{
display: block;
}
+
+ .join-committee-paragraph
juliandoucette 2017/06/26 10:31:21 Does this apply to more than one element (use ID i
ire 2017/06/27 08:36:30 I went with a container class
+ {
+ margin-bottom: 32px;
+ }
+
+ .application-form-btns
juliandoucette 2017/06/26 10:31:21 See comment in about/style.
ire 2017/06/27 08:36:29 Done.
+ {
+ margin-top: 32px;
+ }
+
+ @media(min-width: 768px)
+ {
+ .join-committee-paragraph
+ {
+ margin-bottom: 64px;
+ }
+
+ .application-form-btns
+ {
+ margin-top: 64px;
+ }
+ }
</style>
<script type="text/javascript">
function addListener(obj, type, listener, useCapture)
{
if ("addEventListener" in obj)
{
obj.addEventListener(type, function(ev)
@@ -95,17 +118,17 @@
<div class="col-6 expand-on-tablet" markdown="1">
<form id="application-form" class="section" method="POST" markdown="1">
# {{join-committee-heading[Headline text] Apply to join the committee}}
---
{{join-committee-paragraph[Join committee paragraph] Do you want to help create a new standard of advertising and improve the ad experience for millions of ad-blocking users? If so, fill out the form below!}}
-{: .m-b-lg }
+{: .join-committee-paragraph }
<label for="name">
{{name[Field label text] Name}}
</label>
<input id="name" type="text" name="name" required />
<label for="title">
{{title[Field label text] Title}}
@@ -145,17 +168,17 @@
<label for="motivation">
{{motivation[Field label text] Motivation}}
</label>
<textarea id="motivation" placeholder="{{text-area-placeholder[Placeholder text inside textarea] Please provide in 100 words or less a short description of why you would be a good fit}}" rows="14" name="motivation" required></textarea>
<input id="clear" class="btn-outline-primary" type="reset" name="reset" value="{{submit Clear}}" />
<input id="submit" class="btn-primary" type="submit" name="Submit" value="{{submit Submit}}" />
- {: .eol .m-t-lg }
+ {: .eol .application-form-btns }
{{submition-success[Text to be shown after successfull submition] Your entry has been successfully submitted. Someone will reach out to you within 10 working days.}}
{ #success-msg .bg-accent .p-a-sm .m-y-sm }
error
{: #error-msg .bg-error .p-a-sm .m-y-sm }
</form>

Powered by Google App Engine
This is Rietveld