Skip to content
This repository was archived by the owner on Mar 1, 2021. It is now read-only.

changed styling #57

Open
wants to merge 1 commit into
base: master
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
35 changes: 26 additions & 9 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ body {
font-family: Montserrat, Helvetica Neue, sans-serif;
line-height: 2em;
box-sizing: border-box;
color: #333333b3;
color: #9ce8ff;
background: #394852;
/* background: linear-gradient(to bottom right, #ffded1 0%,#ffded1 50%,#ffc5af 50%,#ffc5af 100%); */
background-image: linear-gradient(to right, #ffecd2 0%, #fcb69f 100%);
/* background-image: linear-gradient(to right, #ffecd2 0%, #fcb69f 100%); */
}

html, body {
Expand All @@ -14,12 +15,11 @@ html, body {

a {
text-decoration: none;
color: #1b6568;
color: #9ce7ff;
transition-duration: 100ms;
}
.github {
float: right;
fill: #445978;
fill: #9ce7ff;
padding-top: 5px;
}

Expand All @@ -28,6 +28,18 @@ p {
font-weight: 300;
font-size: 23px;
text-align: center;
color: black;
}

.btn-primary {
color: #fff;
background-color: #000000;
border-color: #3c3c3c;
}

hr {
border: 0;
border-top: 1px solid rgb(0, 0, 0);
}

.name {
Expand All @@ -46,8 +58,13 @@ p {
padding: 12px;
line-height: normal;
text-align: center;
border: 4px solid #445978;
color: #445978;
}

.jumbotron {
padding: 2rem 1rem;
margin-bottom: 2rem;
background-color: #ffffff00;
border-radius: .3rem;
}

main {
Expand All @@ -58,7 +75,7 @@ main::after {
position: relative;
top: 40px;
left: 300px;
color: #445978;
color: #9ce7ff;
font-size: 44px;
}

Expand All @@ -74,7 +91,7 @@ div.grid-item {
}

.language-name:hover{
border-bottom: 3px solid #1b6568;
border-bottom: 3px solid #9ce7ff;
transition-duration: 100ms;
}

23 changes: 15 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,30 @@
<head>
<meta charset="utf-8">
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700,900|Roboto:300" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="icon" href="./images/favicon.png" type="image/x-icon">
<title>The Algorithms</title>
</head>
<body>
<div class="container">
<header>
<h1 class="name">The Algorithms</h1>
<a class="github" href="https://github.com/TheAlgorithms" target="_blank">
<svg width="30" height="30" viewBox="0 0 16 16" version="1.1"><path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path></svg>
</a>
<div class="jumbotron">
<img src="./images/favicon.png" >
<hr class="my-4">
<div class="intro">
<p>We are an <a href="http://en.wikipedia.org/wiki/Open-source_software" target="_blank">open source</a> community established to help people find all the algorithms and data structures for every popular language at a single place.</p>
</div>
<p>Explore Algorithms Implementation in the following Programming Languages</p>
<a class="btn btn-primary btn-lg github" href="https://github.com/TheAlgorithms" target="_blank" role="button">
<svg width="30" height="30" viewBox="0 0 16 16" version="1.1"><path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path></svg>
</a>
</div>

</header>
<main>
<div class="intro">
<p>We are an <a href="http://en.wikipedia.org/wiki/Open-source_software" target="_blank">open source</a> community established to help people find all the algorithms and data structures for every popular language at a single place.</p>
</div>
<p>Explore Algorithms Implementation in the following Programming Languages</p>

<div class="grid">
<div class="grid-item"><a target="_blank" href="https://github.com/TheAlgorithms/C-Plus-Plus"><img src="./images/svg/cpp-lang.svg" height="50px" alt="C-Plus-Plus Logo"/><br><span class="language-name">C++</span></a></div>
<div class="grid-item"><a target="_blank" href="https://github.com/TheAlgorithms/C"><img src="./images/svg/c-lang.svg" height="50px" alt="C Logo"/><br><span class="language-name">C</span></a></div>
Expand Down