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 animations to all the buttons and minor bug fixes #49

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
52 changes: 44 additions & 8 deletions about hacktoberfest/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,56 @@
<a href="../index.html" >
<img src="logo.png" id="logo" alt="" />
</a>

<!-- </li> -->
<!-- <li class="topNav-right"> -->

<a target="_blank" href="https://linktr.ee/dsc128">CONTACT US</a>
<!-- </li> -->
<!-- <li class="topNav-right"> -->
<a href="#">FAQs</a>

<!-- </li> -->
<!-- <li class="topNav-right"> -->
<a href="../rules/index.html">RULES</a>
<!-- </li> -->
<!-- <li class="topNav-right"> -->
<a href="../hactober/index.html">GOODIES</a>
<!-- </li> -->
<!-- </ul> -->

</div>
<ul class='navbar'>
<li><a href="https://linktr.ee/dsc128">CONTACT US</a></li>

<li><a href="../faq/index.html">FAQ's</a></li>

<li><a href="../rules/index.html">RULES</a></li>
<li><a href="../hactober/index.html">GOODIES</a></li>

</ul>
<div class="toggle">
<span class="bar"></span>
<span class="bar"></span>
<span class="bar"></span>

<div class="row flex">

<div class="imageClass">
<img src="hacktoberfest-image.png" class="comingSoonImg" />
</div>
<div class="aboutHacktoberfest">

<p class="heading">ABOUT HACKTOBERFEST</p>

<p>
Hacktoberfest is a month-long, community-wide celebration of open
source software. It was started in 2013 and in this first year,
nearly 700 contributors participated. Over the years it has grown to
a community of nearly 150,000 participants in 135 countries, who
participate by sharing their projects, making pull requests,
attending events, donating and showing their support of open source.
It is run by DigitalOcean alongside partners like GitHub and Twilio.
<br /><br />

To participate, one must make four valid pull requests submitted to
public GitHub repositories. On top of a boost to your open-source
cred, participants are rewarded with prizes, like stickers,
T-shirts, or a new plant-a-tree alternative.
</p>

</div>

</div>
Expand Down
136 changes: 53 additions & 83 deletions about hacktoberfest/styles.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500&family=Merriweather:wght@300&family=Montserrat:wght@500&family=Raleway:wght@500&family=Roboto&display=swap');

* {
margin: 0;
padding: 0;
Expand All @@ -8,6 +9,11 @@
}


body {

background: #379ac496;

}

/*.navbar
{
Expand Down Expand Up @@ -59,7 +65,9 @@ ul.topNav li a{
padding: 30px;
margin-right: 20px;
overflow: hidden;

margin-bottom: 1.2rem;

/* align-items: center; */
/* }

Expand All @@ -73,6 +81,11 @@ ul.topNav li a{
font-size: 25px;
font-weight: bolder;
}

.nav a:hover {
color: #8cddff;
}

.nav a.logo-left {
float: left;
margin-left: 35px;
Expand Down Expand Up @@ -153,109 +166,56 @@ ul.topNav li a{
.row::after {
display: table;
clear: both;
content: ' ';
}

.flex {
display: flex;
flex-direction: column;
/* flex-direction: row; */
align-items: center;
content: " ";
}

/* .imageClass {
position: relative;
z-index: 3;

.imageClass {
width: 50%;
/* float: left; */
/* align-items: center;
display: flex;
justify-content: center;
margin: 1rem;
} */
float: left;
align-items: center;
}

.comingSoonImg {
width: 80%;
width: 90%;
margin-left: 8%;
/* border-radius: 344px; */
border-radius: 10%;
}
border-radius: 344px;


.aboutHacktoberfest {
margin-top: 50px;
/* margin-top: 50px; */


width: 70%;
font-family: Poly;
font-style: normal;
font-weight: normal;
font-size: 20px;

line-height: 35px;
}

.aboutHacktoberfest p {
/* padding-right: 8%;
padding-left: 2%; */

padding-right: 8%;
padding-left: 2%;
color: #2b3531;
padding-bottom: 3%;
text-align: center;

/* text-shadow: 2px 5px 4px rgba(0, 0, 0, 0.25); */
}

.aboutHacktoberfest p.heading {
/* font-size: 50px; */
font-size: 3rem;
font-family: Verdana, Geneva, Tahoma, sans-serif;

font-weight: 550;
text-align: center;
color: #2e2c2c;
padding-bottom: 3%;
position: relative;
/* text-shadow: 2px 5px 4px rgba(0, 0, 0, 0.25); */
}

.aboutHacktoberfest p.heading:before {
content: '';
position: absolute;
top: 3.3rem;
/* margin-bottom: 1rem; */
width: 33rem;
height: 3px;
background: rgb(219, 87, 11);
animation: animate 1s ease-in;
}
.aboutHacktoberfest p.heading:after {
content: '';
position: absolute;
top: 3.6rem;
width: 33rem;
height: 3px;
background: black;
right: 12.5rem;
animation: animate2 1s ease-in;
}

@keyframes animate {
from {
width: 2rem;
}
to {
width: 33rem;
}
}
@keyframes animate2 {
from {
width: 2rem;
}
to {
width: 33rem;
}
}
.orange {
color: rgb(255, 94, 0);
font-size: 50px;
line-height: 57px;
font-weight: 600;
}
.makeBold {
color: #000;
color: #212121;

padding-bottom: 3%;
/* text-shadow: 2px 5px 4px rgba(0, 0, 0, 0.25); */
}

button.happyHacking {
Expand All @@ -264,12 +224,11 @@ button.happyHacking {
font-size: 20px;
padding: 18px 25px;
/* background : rgb(149, 203, 221); */
/* background-color: #dd3c0b; */
background: rgb(236, 101, 11);
background-color: #017fb5;
border-radius: 10px;
overflow: hidden;
outline: none;
border: 1px solid #e06703;
border: 1px solid #004c99;
z-index: 1;
}

Expand All @@ -282,21 +241,32 @@ button.happyHacking {
font-weight: bolder;
}

.happyHacking:hover {
background: linear-gradient(to left, #1c6a8b 50%, #017fb5 50%);
background-size: 200% 100%;
background-position: left bottom;
transition: all 0.3s ease-out;
}


.happyHacking span {
width: 0%;
height: 100%;
position: absolute;
left: 0;
top: 0;
/* background: rgba(236, 127, 24, 0.5); */
background-color: #dd3c0b;

background: rgba(48, 141, 233, 0.5);
border-radius: 10px;
transition: 0.5s ease-in-out;
transition: 0.3s ease-in-out;

z-index: -1;
}

button.happyHacking:hover a {

color: rgb(233, 232, 232);

font-weight: 600;
}

Expand Down
Binary file modified dsc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 32 additions & 26 deletions hactober/index.html
Original file line number Diff line number Diff line change
@@ -1,59 +1,65 @@
<html lang="en">

<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Yatra+One&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Yatra+One&display=swap"
rel="stylesheet"
/>

<title>Document</title>
<link rel="icon" href="./images/logo.png">
<link rel="icon" href="./images/logo.png" />
</head>

<body>
<div class="container">
<div class="nav">
<div class="img">
<a href="../index.html" class="logo-left"><img src="./images/logo.png" id="logo" alt="" /></a>
</div>
<div class="links">
<a href="../about hacktoberfest/index.html">ABOUT</a>
<a href="https://linktr.ee/dsc128">CONTACT US</a>
<a href="../rules/index.html">RULES</a>
<a href="#">FAQs</a>
</div>
<a href="../index.html" class="logo-left"
><img src="./images/logo.png" id="logo" alt=""
/></a>
<a target="_blank" href="https://linktr.ee/dsc128">CONTACT US</a>
<a href="#">FAQs</a>
<a href="../rules/index.html">RULES</a>
<a href="../about hacktoberfest/index.html">ABOUT</a>
</div>


<div class="content">
<h1 class="animate__animated animate__lightSpeedInLeft">GOODIES</h1>
<h1>GOODIES</h1>
<div class="photos">
<div class="shirt">
<img src="./images/shirt.jpg" class="animate__animated animate__rollIn" alt="" /> <br />
<p class="animate__animated animate__flipInX">Hactoberfest Tshirts</p>
<img src="./images/shirt.jpg" alt="" /> <br />
<p>Hactoberfest Tshirts</p>
</div>

<div class="prize">
<img src="./images/prize.jpg" class="animate__animated animate__rollIn" alt="" /> <br />
<p class="animate__animated animate__flipInX">High Tier Prizes</p>
<img src="./images/prize.jpg" alt="" /> <br />
<p>High Tier Prizes</p>
</div>

<div class="stickers">
<img src="./images/stickers.jpg" class="animate__animated animate__rollIn" alt="" /> <br />
<p class="animate__animated animate__flipInX">Cool Stickers for your PC</p>
<img src="./images/stickers.jpg" alt="" /> <br />
<p>Cool Stickers for your PC</p>
</div>
</div><br>
</div>
<br />

<div class="free">
<button>
<a href="https://www.youtube.com/watch?v=d1YBv2mWll0" target="blank"
>GET FREE GOODIES</a
>
</button>

<button class="animate__animated animate__zoomIn"> <a href="https://www.youtube.com/watch?v=d1YBv2mWll0"
target="blank">GET FREE GOODIES</a> </button>
</div>
</div>
</body>
</div>

</html>
</body>
</html>

Loading