Skip to content

Commit

Permalink
Merge pull request #12 from openpermissions/css_namespace
Browse files Browse the repository at this point in the history
Updates to make compatible with wordpress theme
  • Loading branch information
mattijohn authored Jul 8, 2016
2 parents 09b646d + 7b00e9f commit a2951fa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/swiper.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ module.exports = {
}
}

var container = document.getElementById('container');
var container = document.getElementById('opp_container');
var slides = document.getElementsByClassName('swiper-slide');
var usages = document.getElementsByClassName('usage');
var usages = document.getElementsByClassName('opp_usage');

var height = window.innerHeight;

Expand Down
10 changes: 7 additions & 3 deletions src/templates/cards.tag
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,20 @@

.swiper-slide h1 {
margin: 0;
padding:0 0 10px 0;
padding:10px 10px 0;
height: 10%;
text-align:center;
font-family: 'Lato', sans-serif; font-weight: 400; line-height: 58px;
font-family: 'Lato', sans-serif;
font-weight: 400;
line-height: 1em;
}
.opp_name{
font-size:20px;
position: relative;
margin-left: 10px;
margin-top:15px;
font-family: 'Signika', sans-serif; line-height: 35px;
font-family: 'Signika', sans-serif;
line-height: 1em;
}

.opp_usage{
Expand All @@ -103,6 +106,7 @@
font-size: 14px;
padding:0 20px;
height:48%;
line-height:normal;
}

.opp_details {
Expand Down

0 comments on commit a2951fa

Please sign in to comment.