Skip to content

Commit

Permalink
Adicionando um index.html global básico
Browse files Browse the repository at this point in the history
  • Loading branch information
alpe12 committed Oct 7, 2023
1 parent ee6018b commit a223935
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 0 deletions.
28 changes: 28 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DevQuest - Quests</title>
<link rel="stylesheet" href="./src/css/style.css">
</head>

<body>
<main>
<h1>DevQuest - Quests</h1>
<div class="quests">
<a href="./1-huddle-landing-page-with-single-introductory-section/" class="quest">
<h3 class="titulo">1. HTML/CSS - huddle landing page with single introductory section</h3>
<img class="imagem" src="./src/images/1.png" alt="">
<span class="descricao"></span>
</a>
<a href="./2-formulario-com-validacao/" class="quest">
<h3 class="titulo">2. HTML/CSS/JS - Formulário com validação</h3>
<img class="imagem" src="./src/images/2.png" alt="">
<span class="descricao"></span>
</a>
</div>
</main>
</body>
</html>
59 changes: 59 additions & 0 deletions src/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
* {
box-sizing: border-box;
}

html, body {
margin: 0;
padding: 0;
}

body {
background-color: rgb(181, 212, 247);
background-image: url('../images/circuit-board.svg');
}

main h1 {
text-align: center;
}

main .quests {
display: grid;
grid-template-columns: repeat(auto-fit, 500px);
justify-content: center;
}

main .quests .quest {
margin: 1em;
outline: thin solid #c0c0c0;
display: flex;
flex-direction: column;
padding: 5px;
background-color: rgba(0,0,0,0.2);
text-decoration: none;
color: white;
border-radius: 1em;
}


main .quests .quest:hover,
main .quests .quest:focus {
outline: 2px solid white;
}

main .quests .quest .titulo {
margin: 0;
min-height: 2.4em;
text-align: center;
}

main .quests .quest .imagem {
object-fit: contain;
max-width: 100%;
border-bottom-left-radius: 1em;
border-bottom-right-radius: 1em;
}

main .quests .quest .descricao {
color: black;
text-align: justify;
}
Binary file added src/images/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/images/circuit-board.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a223935

Please sign in to comment.