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

feat: add hero section of website #2

Merged
merged 2 commits into from Oct 8, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
45 changes: 44 additions & 1 deletion css/style.css
Expand Up @@ -138,4 +138,47 @@ header {

#logo img{
width: 100px;
}
}

.hero{
text-align: center;
color: #dbc169;
background-image: url(../images/banner.svg);
background-repeat: no-repeat;
opacity: 1;

}

#main{
margin-top: 1.5em;
font-size: 30px;
}

#description{
font-size: 20px;
line-height: 40px;
}

.button{
border: 1px solid #d9cda3;
background: none;
padding: 10px 20px;
font-size: 20px;
color: #d9cda3;
cursor: pointer;
margin: 10px;
transition: 0.8s;
position: relative;
overflow: hidden;
}

.button:hover{
color: #fff;
}

.button:before{
bottom: 0;
border-radius: 50% 50% 0 0;
height: 180%;
}

20 changes: 20 additions & 0 deletions index.html
Expand Up @@ -33,6 +33,26 @@
</div>
</section>

<section class="wrapper">
<div id="stars"></div>
<div id="stars2"></div>
<div id="stars3"></div>
</section>

<section class="hero">
<div id="main">
<h1>Mantra Bot</h1>
</div>
<br>
<div id="description">
<p>A powerful general purpose bot for your discord server </p>
</div>
<br>
<div id="invite-button">
<a href="#"></a><button class="button">Add to Discord</button>
thestuti marked this conversation as resolved.
Show resolved Hide resolved
</div>
</section>

<script type="text/javascript" src="js/responsive.js"></script>
</body>
</html>