-
-
Notifications
You must be signed in to change notification settings - Fork 99
Add of partner page #53
Changes from 5 commits
3f9bf27
5e4889b
4fe4648
79c98c9
fb7594c
b2ad507
818e3ef
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<div style="text-align:center" class='each-partner'> | ||
<div class="partner-post"> | ||
<img src="../img/cure-logo.png" alt="Cure International logo" class="partner-logo"> | ||
</div> | ||
<h3 class="partner-name">Cure International</h3> | ||
</div> | ||
<div style="text-align:center" class='each-partner'> | ||
<div class="partner-post"> | ||
<img src="../img/eHealth.png" alt="eHealthAfrica logo" class="partner-logo" > | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ...same here. Needs width attribute. |
||
</div> | ||
<h3 class="partner-name">eHealthAfrica</h3> | ||
</div> | ||
<div style="text-align:center" class='each-partner'> | ||
<div class="partner-post"> | ||
<img src="../img/msbp.png" alt="Microsoft's Bizspark logo" class="partner-logo" > | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ...same here. Needs width attribute. |
||
</div> | ||
<h3 class="partner-name">Microsoft's Bizspark</h3> | ||
</div> | ||
<div style="text-align:center" class='each-partner center'> | ||
<div class="partner-post"> | ||
<img src="../img/newrelic.png" alt="New Relic logo" class="partner-logo" > | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ...same here. Needs width attribute. |
||
</div> | ||
<h3 class="partner-name">New Relic</h3> | ||
</div> | ||
<div style="text-align:center" class='each-partner center'> | ||
<div class="partner-post"> | ||
<img src="../img/ember.svg" alt="Ember Sherpa logo" class="partner-logo" > | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ...same here. Needs width attribute. |
||
</div> | ||
<h3 class="partner-name">Ember Sherpa</h3> | ||
</div> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
layout: default | ||
--- | ||
<div style="text-align:center" class="partner-heading"> | ||
<h1>Our Partners</h1> | ||
</div> | ||
|
||
<section class='partners'> | ||
{% include partners-list.html %} | ||
</section> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
@media screen and (min-width: 280px) { | ||
.each-partner { | ||
width: 100%; | ||
background-color: #ffffff; | ||
} | ||
.partner-logo{ | ||
width: 200px; | ||
height: 100px; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please remove the height attribute from this line, and set the width in the line above to |
||
padding: 1%; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd prefer to stick with consistent units in our CSS, so for |
||
} | ||
.partner-post{ | ||
padding-top: 5px; | ||
padding-bottom: 5px; | ||
} | ||
.each-partner { | ||
display: inline-block; | ||
margin-right: 40px; | ||
margin-bottom: 40px; | ||
border-radius: 10px; | ||
} | ||
} | ||
@media screen and (min-width: 480px) { | ||
section.partners { | ||
margin-right: -10%; | ||
} | ||
.each-partner { | ||
width: 39%; | ||
background-color: #ffffff; | ||
border-radius: 10px; | ||
} | ||
.partner-logo{ | ||
width:155px; | ||
} | ||
} | ||
@media screen and (min-width: 730px) { | ||
section.partners { | ||
margin-right: -10%; | ||
} | ||
.each-partner { | ||
width: 39%; | ||
background-color: #ffffff; | ||
border-radius: 10px; | ||
} | ||
.partner-logo{ | ||
width:275px; | ||
} | ||
} | ||
@media screen and (min-width: 980px) { | ||
.each-partner { | ||
width: 28%; | ||
background-color: #ffffff; | ||
border-radius: 10px; | ||
} | ||
.partner-logo{ | ||
width:250px; | ||
} | ||
} | ||
@media screen and (min-width: 1310px) { | ||
.partners{ | ||
margin: 0 -15% 0 -5%; | ||
} | ||
.each-partner { | ||
width: 28%; | ||
background-color: #ffffff; | ||
border-radius: 10px; | ||
} | ||
.partner-logo{ | ||
width:250px; | ||
} | ||
} | ||
@media screen and (min-width: 1610px) { | ||
|
||
section.partners { | ||
margin-left: -20%; | ||
margin-right: -30%; | ||
} | ||
|
||
.each-partner { | ||
width: 28%; | ||
background-color: #ffffff; | ||
border-radius: 10px; | ||
} | ||
.partner-logo{ | ||
width:400px; | ||
} | ||
} | ||
|
||
.partner-name { | ||
text-align: center; | ||
margin: 10px 0; | ||
font-size: 18px; | ||
color: #000000; | ||
font-weight: bold; | ||
} | ||
.partner-heading{ | ||
text-align: center; | ||
margin-bottom: 50px; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,3 +17,6 @@ | |
|
||
// Blog | ||
@import "blog"; | ||
|
||
//partners | ||
@import "partners"; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
title: HospitalRun Partners | ||
layout: partners | ||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These image tags are still missing an inline width attribute.