Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/ecasogp 10366 #169

Open
wants to merge 8 commits into
base: staging
Choose a base branch
from
6 changes: 3 additions & 3 deletions _pages/learn-about-federal-privacy.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,16 @@

<section class=" grid-container">

<div class="grid-row grid-gap">
<div class="grid-row grid-gap space-between">
{% for icon in page.priority_icons %}
<div class="tablet:grid-col-3 learn-about text-center margin-y-2 bg-white padding-2 margin-1 shadow-5 members-hover radius-lg ">
<div class="tablet:grid-col-3 learn-about text-center margin-y-2 bg-white padding-2 margin-05 shadow-5 members-hover radius-lg ">
{% if icon.url %}
<a href="{{ site.baseurl }}{{ icon.url }}" class="text-no-underline text-gray-70" style="display: inline-block;">
{% else %}
<a href="{{ icon.link }}" class="text-no-underline" style="display: inline-block;">
{% endif %}
<div >
<img style="width:210px;height:150px;object-fit:cover; border: 1px solid #555;" alt="{{ icon.alt-text }}" src="{{site.baseurl}}{{ icon.logo }}" alt="{{ icon.name }} image" />
<img style="width:190px;height:150px;object-fit:cover; border: 1px solid #555;" alt="{{ icon.alt-text }}" src="{{site.baseurl}}{{ icon.logo }}" alt="{{ icon.name }} image" />
</div>
<p class="font-sans-sm text-gray-70 text-left text-no-underline">{{ icon.time }}</p>
<p class="font-heading-md text-gray-70 text-left text-no-underline">{{ icon.name }}</p>
Expand Down
12 changes: 8 additions & 4 deletions assets/css/main-page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -493,12 +493,12 @@ abbr{
background-size: cover ;
}

.learn-about {
width: 23%;
@media only screen and (min-width: 700px) {
.learn-about {
width: 23%;
}
}



@media only screen and (min-width: 1200px){
.abstract-background2 {
background-image: url(../assets/img/fcp-hero-2.png);
Expand Down Expand Up @@ -693,3 +693,7 @@ abbr{
.font-size-145rem{
font-size: 1.45rem;
}

.space-between{
justify-content: space-between;
}