Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 9 additions & 13 deletions layouts/contact/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,19 @@
<container>
<form action="https://formspree.io/{{ .Site.Params.groupinfo.contactEmail }}"
method="POST">
<p>{{ .Site.Params.contactform.senderName }}:</p>
<input type="text" name="name">
<label for="name">{{ .Site.Params.contactform.senderName }}:</label>
<input type="text" name="name" id="name">

<br><br>
<p>{{ .Site.Params.contactform.senderEmail }}:</p>
<input type="email" name="_replyto">
<label for="email">{{ .Site.Params.contactform.senderEmail }}:</label>
<input type="email" name="_replyto" id="email">

<br><br>
<p>{{ .Site.Params.contactform.emailSubject }}:</p>
<input type="text" name="_subject"/>
<label for="subject">{{ .Site.Params.contactform.emailSubject }}:</label>
<input type="text" name="_subject" id="subject">

<br><br>
<p>{{ .Site.Params.contactform.emailMessage }}:</p>
<textarea rows=10 columns=30 name="_message"></textarea>
<label for="message">{{ .Site.Params.contactform.emailMessage }}:</label>
<textarea rows=10 columns=30 name="_message" id="message"></textarea>

<br>
<input type="submit" value="{{ .Site.Params.contactform.send }}">
<input type="submit" class="btn btn-default" value="{{ .Site.Params.contactform.send }}">
</form>
</container>
</div>
Expand Down
4 changes: 1 addition & 3 deletions layouts/effective-altruism/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
</div>

<div class="container text-banner">
<div class="row">
{{ .Content }}ßß
</div>
{{ .Content }}
</div>

{{ partial "footer.html" . }}
16 changes: 14 additions & 2 deletions static/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -2486,6 +2486,18 @@ fieldset[disabled] a.btn {
pointer-events: none;
}

.btn-default {
color: #333;
background-color: #fff;
border-color: #ccc;
}

.btn-default:hover {
color: #333;
background-color: #e6e6e6;
border-color: #adadad;
}

.btn-primary {
color: #fff;
background-color: #4582EC;
Expand Down Expand Up @@ -8817,7 +8829,7 @@ a.text-dark:focus, a.text-dark:hover {
border-width: 1px 0 0 0;
}

.btn {
.jumbotron .btn {
border-radius: 17.25px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 14px;
Expand Down Expand Up @@ -8962,4 +8974,4 @@ table-success, table-info, table-warning, table-danger,

.list-group {
font-size: 14px;
}
}
33 changes: 33 additions & 0 deletions static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,36 @@ textarea {
font-size: 0.75em;
line-height: 0.5em;
}

ul.nav {
margin-left: auto;
}

ul.navbar-nav.mr-auto > li:not(:last-child), ul.navbar-nav.mr-auto > div {
margin-right: 1em;
}

.dropdown-menu>li>a {
display: block;
padding: 8px 20px;
clear: both;
font-weight: 400;
line-height: 1.42857143;
color: rgba(0, 0, 0, 0.5);
white-space: nowrap;
}

.dropdown-menu>li>a:hover {
color: #343a40;
text-decoration: none;
}

label {
display: block;
margin-top: 1.5rem;
}

input[type=submit] {
margin-top: 2rem;
}