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

Sitemap #310

Closed
wants to merge 3 commits into from
Closed
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
206 changes: 115 additions & 91 deletions css/sitemapStyles.css
Original file line number Diff line number Diff line change
@@ -1,115 +1,138 @@
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,700;0,900;1,900&display=swap");

*{
box-sizing:border-box;
margin: 0;
padding : 0;
font-family: Poppins;
}

body{
background:#001d1a;
max-width:980px;
margin:0 auto;
padding:5px;
font: 14px "Arial", Tahoma, sans-serif;
background:#47d0d4;
tier3guy marked this conversation as resolved.
Show resolved Hide resolved
}

.heading{
display: flex;
align-items: center;
padding: 15px 12px 0px 12px;
font-size: 2.5rem;
box-shadow: 0 8px 6px -6px rgb(106, 188, 202);
margin-bottom: 20px;
}

h1 {
text-align:center;
font-size: 26px;
color: #42AEA3;
}
div.section {
overflow:hidden;
width:100%;
-moz-column-count:3;
column-count:3;
padding-top:50px;
}
div.section div {
display:inline-block;
border:#ccc solid 1px;
border-radius:5px;
width:30%;
min-width:300px;
max-width:99%;
margin:16px 1%;
padding:12px;
background: #263836;
box-shadow:0 3px 3px #666;
}
div.section div:before {
display:block;
content: "";
position:relative;
left:50%;
top: 0;
width:1px;
height:32px;
margin:-44px 0 12px 4px;
background:#ccc;
}
div.section div:hover {
box-shadow:0px 3px 3px 1px #666;
}
div.section p {
font-weight:bold;
text-align:center;
overflow:hidden;
position:absolute;
width:100%;
left:0;
margin-top:-50px;
}
div.section p:after {
display:block;
content: "";
position:relative;
width:67.5%;
max-width:656px;
height:1px;
box-sizing:border-box;
margin:-14px auto 0 auto;
background:#ccc;
}
div.section p a {
color: #fff ;
font-weight: bolder ;
text-decoration: none ;
margin:0 auto;
float:none;
}
div.section p a:hover{
color: #42AEA3;
}
div.section p a:after {
display: block;
content: "";
position:relative;
left:50%;
width:1px;
height:32px;
background:#ccc;
color: #015c53;
margin-left: 12px;
}

.section{
margin: auto;
width : 70%;
}

.section p a{
font-size:2.2rem;
display: block;
text-align: center;
}

.section .links a{
font-size:1.2rem;
}

.pages , .features , .contact {
display: flex;
flex-direction:column;
margin : 0 2.5rem 0 0;
align-items: center;
}

.links{
display: flex;
flex-direction: row;
justify-content: center;
}

.section p a::after{
content: "";
display: block;
width: 5px;
background: teal;
height: 3rem;
margin-left : 475px;
border-radius: 5px 5px 0 0;
}

.links a::before{
content: "";
display: block;
width: 5px;
background: teal;
height: 3rem;
margin:auto;
border-radius: 0 0 5px 5px ;
margin-bottom: 10px;
margin-top: 0%;
}

.section p::after{
content: "";
display: block;
width: 335px;
background: teal;
height: 5px;
margin:auto;
margin-bottom: 0;
}

.main{
padding-left: 44px;
}

.links a{
padding: 0;
}

.footer{
margin-top: 90px;
padding-top: 20px;
display: flex;
align-items: center;
justify-content:center;
color: #015c53;
box-shadow: 0 -8px 6px -6px rgb(106, 188, 202);
}

.footer span {
margin: 0 12px;
color: #015c53;
}

a{
color: #fff;
color: #015c53;
font-weight: bolder;
text-decoration: none;
transition: all;
transition-duration: .3s;
}

a:hover{
color: #42AEA3;
}
div.footerinfo {
position: fixed;
bottom: 20px;
right: 30px;
margin-top:16px;
color:#666;
font-size:12px;
text-align:right;
color: #2b2e2e;
}
div.footerinfo * {
font-size:12px;

.note{
margin-left: 55rem;
font-size: 2.2rem;
}

@media only screen and (max-width:900px) {
div.section div {
min-width:250px;
}
}

@media only screen and (max-width:800px) {
div.section div {
width:50%;
Expand All @@ -119,6 +142,7 @@ div.footerinfo * {
column-count:2;
}
}

@media only screen and (max-width:500px) {
div.section div {
width:100%;
Expand Down
92 changes: 52 additions & 40 deletions sitemap.html
Original file line number Diff line number Diff line change
@@ -1,40 +1,52 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Sitemap</title>
<meta name="description" content="Sitemap" />
<meta name="keywords" content="Sitemap" />
<meta name="generator" content="Mystemapgenerator.com HTML Sitemap" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes" />
<link rel="stylesheet" href="css/sitemapStyles.css">

<link rel="apple-touch-icon" sizes="180x180" href="favicon_package\apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon_package\favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon_package\favicon-16x16.png">
<link rel="manifest" href="favicon_package\site.webmanifest">
<link rel="mask-icon" href="favicon_package\safari-pinned-tab.svg" color="#3caea3">
<meta name="msapplication-TileColor" content="#2b5797">
<meta name="theme-color" content="#ffffff">

</head>
<body>
<h1>Sitemap</h1>
<div class="section">
<p><a href="https://algo-phantoms.github.io/Algo-Phantoms-Frontend/">Home page</a></p>
<div><a href="https://algo-phantoms.github.io/Algo-Phantoms-Frontend/#about">About Page</a></div>

<div><a href="https://algo-phantoms.github.io/Algo-Phantoms-Frontend/team.html">Teams Page</a></div>
<div><a href="https://algo-phantoms.github.io/Algo-Phantoms-Frontend/#footer">Contact Page</a></div>
<div><a href="https://www.codechef.com/ide">Code Editor</a></div>
<div><a href="https://www.geeksforgeeks.org/data-structure-gq/">Quizes</a></div>
<div><a href="https://github.com/Algo-Phantoms/Algo-Tree">DSA Guidance</a></div>
<div><a href="https://github.com/Algo-Phantoms">GitHub</a></div>

<!-- For new link just add anchor tag within the div tag -->
</div>
<div class="footerinfo">Created by
<a href="https://www.cratonik.com/" target="_blank">Chaitanya Shimpi</a>
</div>
</body>
</html>
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>Sitemap | Algo-Phantoms</title>
<meta name="description" content="Sitemap" />
<meta name="keywords" content="Sitemap" />
<meta name="generator" content="Mystemapgenerator.com HTML Sitemap" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes" />
<link rel="stylesheet" href="css/sitemapStyles.css">
<link rel="shortcut icon" href="images/icon.png" type="images/icon.png" />
</head>
<body>
<!--======================= Header starts here =========================-->
<div class="heading">
<a class="navbar-brand" href="index.html"><img src="images/icon.png" alt="Algo Phantoms" width="60px"
height="60px"><span class="brand1"></a>
<h1>Algo-Phantoms</h1>
<h1 class="note">Sitemap</h1>
</div>
<!--========================= Site Map Tree ============================-->
<div class="section">
<p><a href="https://algo-phantoms.github.io/Algo-Phantoms-Frontend/">Home page</a></p>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of hardcoding the links use dynamic links like index.html

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sir I changed the link format for the home-page but how I can achieve dynamic links for a section like how can i do it for about us section ??
I tried by calling ID but since it was a part for other page , it didnt worked .
please help me .

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can give like index.html#about this it will work. Check the team.html navbar the links over there are present like that only.

<div class="main">
<div class="links">
<div class="pages">
<a href="https://algo-phantoms.github.io/Algo-Phantoms-Frontend/#about">About Page</a>
<a href="https://algo-phantoms.github.io/Algo-Phantoms-Frontend/team.html">Teams Page</a>
<a href="https://algo-phantoms.github.io/Algo-Phantoms-Frontend/#footer">Contact Page</a>
</div>

<div class="features">
<a href="https://www.codechef.com/ide">Code Editor</a>
<a href="https://www.geeksforgeeks.org/data-structure-gq/">Quizes</a>
</div>

<div class="contact">
<a href="DSA.html">DSA Guidance</a>
<a href="https://github.com/Algo-Phantoms">GitHub</a>
</div>

<!-- For new link just add anchor tag within the div tag -->
</div>
</div>
</div>
<!--============================= Footer starts here ============================-->
<div class="footer">
Copyright &copy; 2021 <a href="#" style="color: #3caea3; text-decoration: none;" target="_blank"><span
class="font-weight-bold">AlgoPhantoms.</span></a> All Rights Reserved</div>
</div>
</body>
</html>