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

add some adjustment to the home page #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
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
33 changes: 17 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -202,24 +202,25 @@
</div>

<main>
<div class="height-100vh"></div>
<div class="front-cover">
<img id="backdrop" style="transition: background 0.5s ease-in; background: url(media/activities/024-mask-distribution/05.jpg)"/>
<div class="backdrop-text">
First Human Rights Foundation
<br />
<br />
<span style="font-size: 18px"
>Everyone's right is our mission!</span
>
<br />
<br />
<br />
<span style="font-size: 14px">Registered With Central Government of India (Reg-No.166151/16)</span>
<div class="warp-coper min-30">
<div class="front-cover">
<img id="backdrop" style="transition: background 0.5s ease-in; background: url(media/activities/024-mask-distribution/05.jpg)"/>
<div class="backdrop-text">
First Human Rights Foundation
<br />
<br />
<span style="font-size: 18px"
>Everyone's right is our mission!</span
>
<br />
<br />
<br />
<span style="font-size: 14px">Registered With Central Government of India (Reg-No.166151/16)</span>
</div>
</div>
</div>

<div class="row info-cards">
<div class="row info-cards min-30">
<div class="container">
<div class="card">
<a href="/about.html">
Expand Down
28 changes: 23 additions & 5 deletions styles/config.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ body {

/* INFO CARDS */
.info-cards {
margin-top: 40px;
background-color: #ffd000;
}

Expand Down Expand Up @@ -87,9 +86,9 @@ body {

padding: 50px 0;

-webkit-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.3);
/* -webkit-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.3);
-moz-box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.3);
box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.3);
box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.3); */
}

.info-cards .card a {
Expand All @@ -98,7 +97,7 @@ body {

.info-cards .card i {
font-size: 54px;
color: grey;
color:#1da1f2;

margin-bottom: 16px;
}
Expand All @@ -114,9 +113,24 @@ body {
text-decoration: none;
}

.warp-coper{
cTxplorer marked this conversation as resolved.
Show resolved Hide resolved
height: 100vh;
position: relative;
}

.min-30{
margin-left: -30px;
margin-right: -30px;
}

@media only screen and (max-width: 768px) {
.min-30{
margin-left: -16px;
margin-right: -16px;
}
.info-cards .card {
width: 100%;
margin-bottom: 20px;
}
}

Expand All @@ -125,7 +139,7 @@ body {
display: none;

z-index: 99;
position: sticky;
position: fixed;

align-items: center;
justify-content: center;
Expand Down Expand Up @@ -289,6 +303,10 @@ body {

/* FOOTER */

footer {
padding-bottom: 20px;
}

footer .fab {
font-size: 24px;
}
Expand Down