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

Redesign the complete page #7

Open
wants to merge 7 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
172 changes: 170 additions & 2 deletions css/main.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@


/*
body, html {
height:fit-content;
font-family: 'Montserrat', sans-serif;
Expand Down Expand Up @@ -120,4 +119,173 @@ a{
font-size: 1.4rem;
border: 1px solid white;
border-radius: 50%;
} */

* {
margin: 0;
padding: 0;
font-family: 'Montserrat', sans-serif;
box-sizing: border-box;
}

body {
background-color: #f2f1f1;
}

.flex {
display: flex;
justify-content: center;
align-items: center;
}

/* Styling Logo Section Start */
.logo {
padding: 2.5rem 1rem 1rem;
flex-direction: column;
}

.logo img {
width: 53px;
animation: animateLogo 10s linear infinite;
}

@keyframes animateLogo {
from {
transform: rotateY(0deg);
}

to {
transform: rotateY(360deg);
}
}

.logo h2 {
font-size: 30px;
margin-top: 15px;
}

/* Styling Logo Section End */

/* Styling Subtitle Start */
.subtitle p {
font-size: 14px;
}

/* Styling Subtitle End */

/* Styling link-tree Start */
.link-tree {
flex-direction: column;
padding: 45px 30px 23px;
width: 470px;
margin: 0 auto;
}

.link-tree a {
text-decoration: none;
display: flex;
justify-content: center;
align-items: center;
padding: 1em 6em;
border: none;
outline: none;
border-radius: 3px;
color: #55009E;
background-color: #fff;
transition: 0.3s ease;
margin-bottom: 1.2em;
width: 100%;
position: relative;
overflow: hidden;
}

.link-tree a:last-child {
margin-bottom: 0;
}

.link-tree a:hover {
box-shadow: 0px 0px 5px 1px #00000014;
scale: 1.01;
}

.link-tree a img {
position: absolute;
transform: translateX(-17rem);
height: 25px;
width: 25px;
margin-right: 10px;
transition: 0.7s ease;
}

.link-tree a:hover .link-img {
transform: translateX(0rem);
}

.link-label {
transition: 0.7s ease;
}

.link-tree a:hover .link-label {
transform: translateX(30rem);
}

/* Styling link-tree End */

/* Styling Footer Start */
.footer {
padding: 1rem;
flex-direction: column;
}

.footer p a {
text-decoration: none;
color: #935633;
font-size: 15px;
transition: 0.3s ease;
}

.footer p a:hover {
color: #55009E;
}

.footer #copyright {
margin-top: 15px;
font-size: 14px;
}

/* Styling Footer End */


/* Responiveness */

@media only screen and (max-width: 475px) {
.link-tree {
width: 400px;
}

.link-tree a {
padding: 1em;
}

.footer p {
text-align: center;
}
}

@media only screen and (max-width: 400px) {
.link-tree {
width: 300px;
}

.link-tree a {
font-size: 14px;
}

.footer p a {
font-size: 14px;
}

.footer p span {
font-size: 14px;
}
}
61 changes: 60 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<img src="./Assets/logowhite.svg" alt="Logo" width="140" height="140" id="logo" />
<!-- <img src="./Assets/logowhite.svg" alt="Logo" width="140" height="140" id="logo" />
<div>

<div class="container">
Expand Down Expand Up @@ -57,6 +57,65 @@
<p class="contact"><span id="con">Contact Us:</span> <a href="mailto:[email protected]">[email protected]</a> </p>
<p class="copyright">Copyright &copy; <span id="year"></span> All Rights Reserved.</p>
</div>
</div> -->

<div class="logo flex">
<img src="Assets/logo11.ico" alt="Logo">
<h2>DEVs Dungeon</h2>
</div>

<div class="subtitle flex">
<p>Connect &nbsp;<span>•</span>&nbsp; Collaborate &nbsp;<span>•</span>&nbsp; Create </p>
</div>

<div class="link-tree flex">
<!-- Discord -->
<a href="https://discord.com/invite/ceMXzhfaka" target="_blank" rel="noopener noreferrer">
<img src="./Assets/Discord.png" class="link-img"/>
<span class="link-label">Discord Community</span>
</a>

<!-- Whatsapp -->
<a href="https://chat.whatsapp.com/Cr0Yy2gWtGxFCDYIRh1iuZ" target="_blank" rel="noopener noreferrer">
<img src="./Assets/whatsapp.png" class="link-img"/>
<span class="link-label">WhatsApp Community</span>
</a>

<!-- LinkedIn -->
<a href="https://www.linkedin.com/company/devs-dungeon/" target="_blank" rel="noopener noreferrer">
<img src="./Assets/LinkedIn.png" class="link-img"/>
<span class="link-label">LinkedIn</span>
</a>

<!-- GitHub -->
<a href="https://github.com/Devs-Dungeon" target="_blank" rel="noopener noreferrer">
<img src="./Assets/Github.png" class="link-img"/>
<span class="link-label">GitHub</span>
</a>

<!-- Twitter -->
<a href="https://twitter.com/devs_dungeon" target="_blank" rel="noopener noreferrer">
<img src="./Assets/Twitter.png" class="link-img"/>
<span class="link-label">Twitter</span>
</a>

<!-- Instagram -->
<a href="https://www.instagram.com/devs.dungeon" target="_blank" rel="noopener noreferrer">
<img src="./Assets/Instagram.png" class="link-img"/>
<span class="link-label">Instagram</span>
</a>

<!-- Facebook -->
<a href="https://www.facebook.com/devs.dungeon/" target="_blank" rel="noopener noreferrer">
<img src="./Assets/Facebook.png" class="link-img"/>
<span class="link-label">Facebook</span>
</a>
</div>

<div class="footer flex">
<p><span>Contact Us:</span> <a href="mailto:[email protected]">[email protected]</a></p>
<p id="copyright">Copyright &copy; All Rights Reserved.</p>
</div>

</body>
</html>