Skip to content
Snippets Groups Projects
Commit 9c3f772b authored by Fredrik Jonsson's avatar Fredrik Jonsson
Browse files

CSS minor changes to header margins.

parent a91b4f92
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
{{ field }} {{ field }}
{% endfor %} {% endfor %}
<div class="form-actions form-wrapper"> <div class="form-actions form-wrapper">
<input type="submit" value="Sign up" class="form-submit link link--button-transparent link--footer-signup"> <input type="submit" value="Sign up" class="form-submit button button--transparent--wide link--footer-signup">
</div> </div>
</div> </div>
</form> </form>
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<a class="card-slim" href="{% pageurl subpage %}"> <a class="card-slim" href="{% pageurl subpage %}">
<div class="card-slim__contents"> <div class="card-slim__contents">
<div> <div>
<h3 class="heading heading--no-margin">{{ subpage.listing_title|default:subpage.title }}</h3> <h3 class="heading heading--small-margin">{{ subpage.listing_title|default:subpage.title }}</h3>
{% if subpage.listing_summary or subpage.introduction %} {% if subpage.listing_summary or subpage.introduction %}
<p class="card-slim__summary">{{ subpage.listing_summary|default:subpage.introduction }}</p> <p class="card-slim__summary">{{ subpage.listing_summary|default:subpage.introduction }}</p>
{% endif %} {% endif %}
......
...@@ -22,9 +22,9 @@ ...@@ -22,9 +22,9 @@
} }
} }
&--transparent { &--transparent,
&--transparent--wide {
@include button(transparent, $color--white); @include button(transparent, $color--white);
@include button--narrow;
.header--light-bg & { .header--light-bg & {
@include button(transparent, $color--black); @include button(transparent, $color--black);
...@@ -42,6 +42,10 @@ ...@@ -42,6 +42,10 @@
} }
} }
&--transparent {
@include button--narrow;
}
// cannot conform to BEM here in order to be able to override google button styles // cannot conform to BEM here in order to be able to override google button styles
&--google-translate { &--google-translate {
width: 160px; width: 160px;
......
...@@ -15,6 +15,11 @@ ...@@ -15,6 +15,11 @@
line-height: 1; line-height: 1;
} }
&--small-margin {
margin: 0;
line-height: 1.2;
}
&--regular { &--regular {
font-weight: $weight--normal; font-weight: $weight--normal;
} }
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
&__title { &__title {
margin-bottom: 5px; margin-bottom: 5px;
line-height: 1; line-height: 1.2;
transition: color $transition; transition: color $transition;
#{$root}:hover & { #{$root}:hover & {
......
...@@ -182,7 +182,7 @@ ...@@ -182,7 +182,7 @@
<p>Test the OTF website for censorship</p> <p>Test the OTF website for censorship</p>
<a class="link link--button link--button-transparent" href="https://run.ooni.io/nettest?tn=web_connectivity&ta=%7B%22urls%22%3A%5B%22https%3A%2F%2Fwww.opentech.fund%2F%22%5D%7D&mv=1.2.0">Run OONI!</a> <a class="button button--transparent--wide" href="https://run.ooni.io/nettest?tn=web_connectivity&ta=%7B%22urls%22%3A%5B%22https%3A%2F%2Fwww.opentech.fund%2F%22%5D%7D&mv=1.2.0">Run OONI!</a>
<div class="footer__credits"> <div class="footer__credits">
<a href="https://www.bbg.gov/" aria-label="Link to the Broadcasting Board of Governors website"> <a href="https://www.bbg.gov/" aria-label="Link to the Broadcasting Board of Governors website">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment